Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package nix for openSUSE:Factory checked in at 2025-07-10 22:11:34 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/nix (Old) and /work/SRC/openSUSE:Factory/.nix.new.7373 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "nix" Thu Jul 10 22:11:34 2025 rev:4 rq:1291337 version:2.30.0 Changes: -------- --- /work/SRC/openSUSE:Factory/nix/nix.changes 2025-06-26 11:38:22.507424895 +0200 +++ /work/SRC/openSUSE:Factory/.nix.new.7373/nix.changes 2025-07-10 22:11:35.798338082 +0200 @@ -1,0 +2,135 @@ +Tue Jul 8 16:14:34 UTC 2025 - Marcus Rueckert <mrueck...@suse.de> + +- Update to 2.30.0: + ## Backward-incompatible changes and deprecations + + - build-dir longer defaults to $TMPDIR The directory in which + temporary build directories are created no longer defaults to + TMPDIR or /tmp , to avoid builders making their directories + world-accessible. This behavior allowed escaping the build + sandbox and can cause build impurities even when not used + maliciously. We now default to builds in NIX_STATE_DIR (which + is /nix/var/nix/builds in the default configuration). + - Deprecate manually making structured attrs using the __json + attribute #13220 https://github.com/NixOS/nix/pull/13220The + proper way to create a derivation using structured attrs in the + Nix language is by using __structuredAttrs = true with + builtins. derivation + + However, by exploiting how structured attrs are implementated, + it has also been possible to create them by setting the __json + environment variable to a serialized JSON string. This sneaky + alternative method is now deprecated, and may be disallowed in + future versions of Nix. + - Rename nix profile install to nix profile add #13224 + https://github.com/NixOS/nix/pull/13224 The command nix + profile install has been renamed to nix profile add (though + the former is still available as an alias). This is because the + verb "add" is a better antonym for the verb "remove" (i.e. nix + profile remove ). Nix also does not have install hooks or + general behavior often associated with "installing". + + ## Performance improvements + + This release has a number performance improvements, in particular: + + - Reduce the size of value from 24 to 16 bytes #13407 + https://github. com/NixOS/nix/pull/13407 This shaves off a very + significant amount of memory used for evaluation (~20% percent + reduction in maximum heap size and ~17% in total bytes). + + ## Features + + - Add stack sampling evaluation profiler #13220 https://github. + com/NixOS/nix/pull/13220 The Nix evaluator now supports stack + sampling evaluation profiling via the --eval-profiler + flamegraph setting. It outputs collapsed call stack information + to the file specified by --eval-profile-file ( nix. profile by + default) in a format directly consumable by flamegraph.pl and + compatible tools like speedscope https://speedscope. app/. + Sampling frequency can be configured via + --eval-profiler-frequency (99 Hz by default).Unlike the + existing --trace-function-calls this profiler includes the + name of the function being called when it's available. + - nix repl + prints which variables were loaded #11406 + https://github.com/NixOS/nix/pull/11406Instead of Added <n> + variables it now prints the first 10 variables that were added + to the global scope. + - nix flake archive : Add --no-check-sigs + option #13277 https://github.com/NixOS/nix/pull/13277This is + useful when using nix flake archive with the destination set + to a remote store. + - Emit warnings for IFDs with trace-import-from-derivation + option #13279 https://github.com/NixOS/nix/pull/13279While we + have the setting allow-import-from-derivation + to deny import-from-derivation (IFD), sometimes users would + like to observe IFDs during CI processes to gradually phase out + the idiom. The new setting trace-import-from-derivation , when + set, logs a simple warning to the console. + - json-log-path setting #13003 + https://github.com/NixOS/nix/pull/13003New setting + json-log-path that sends a copy of all Nix log messages (in + JSON format) to a file or Unix domain socket. + - Non-flake inputs now contain a sourceInfo attribute #13164 + https://github.com/NixOS/nix/issues/13164 #13170 + https://github. com/NixOS/nix/pull/13170Flakes have always had + a sourceInfo attribute which describes the source of the + flake. The sourceInfo.outPath is often identical to the + flake's outPath . However, it can differ when the flake is + located in a subdirectory of its source.Non-flake inputs (i.e. + inputs with flake = false inputs) can also be located at some + path within a wider source. This usually happens when defining + a relative path input within the same source as the parent + flake, e.g. inputs.foo.url = ./some-file.nix . Such relative + inputs will now inherit their parent's sourceInfo .This also + means it is now possible to use ?dir=subdir on non-flake + inputs.This iterates on the work done in 2.26 to improve + relative path support (#10089 + https://github.com/NixOS/nix/pull/10089), and resolves a + regression introduced in 2.28 relating to nested relative path + inputs (#13164 https://github.com/NixOS/nix/issues/13164). + + ## Miscellaneous changes + + - builtins.sort uses PeekSort #12623 + https://github.com/NixOS/nix/pull/12623Previously it used + libstdc++'s std::stable_sort() . However, that implementation + is not reliable if the user-supplied comparison function is not + a strict weak ordering. + - Revert incomplete closure mixed download and build feature #77 + https://github.com/NixOS/nix/issues/77 #12628 https://github. + com/NixOS/nix/issues/12628 #13176 https://github. + com/NixOS/nix/pull/13176 Since Nix 1.3 (commit 299141e in + 2013) Nix has attempted to mix together upstream fresh + builds and downstream substitutions when remote substuters + contain an "incomplete closure" (have some store objects, but + not the store objects they reference). This feature is now + removed.In the worst case, removing this feature could cause + more building downstream, but it should not cause outright + failures, since this is not happening for opaque store objects + that we don't know how to build if we decide not to substitute. + In practice, however, we doubt even more building is very + likely to happen. Remote stores that are missing dependencies + in arbitrary ways (e.g. corruption) don't seem to be very + common.On the contrary, when remote stores fail to implement + the closure property it is usually an intentional choice on the + part of the remote store, because it wishes to serve as an + "overlay" store over another store, such as + https://cache.nixos. org . If an "incomplete closure" is + encountered in that situation, the right fix is not to do some + sort of "franken-building" as this feature implemented, but + instead to make sure both substituters are enabled in the + settings.(In the future, we should make it easier for remote + stores to indicate this to clients, to catch settings that + won't work in general before a missing dependency is actually + encountered.) +- refresh 0001-port-option-to-disable-functional-tests-to-meson.patch + +------------------------------------------------------------------- +Tue Jul 1 15:08:17 UTC 2025 - Marcus Rueckert <mrueck...@suse.de> + +- Fix some BuildRequires to make it more friendly towards building + on SLE 15 + +------------------------------------------------------------------- Old: ---- nix-2.29.1.tar.gz New: ---- nix-2.30.0.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ nix.spec ++++++ --- /var/tmp/diff_new_pack.twOEr2/_old 2025-07-10 22:11:36.478366366 +0200 +++ /var/tmp/diff_new_pack.twOEr2/_new 2025-07-10 22:11:36.478366366 +0200 @@ -21,13 +21,21 @@ %ifarch aarch64 x86_64 # only build docs on aarch64 and x86_64 (we need mdbook) + %if 0%{?suse_version} >= 1600 %bcond_without docs + %else + %bcond_with docs + %endif %else %bcond_with docs %endif +%if 0%{?suse_version} == 1500 +%global force_boost_version 1_75_0 +%endif + Name: nix -Version: 2.29.1 +Version: 2.30.0 Release: 0 Summary: The purely functional package manager License: LGPL-2.1-only @@ -46,10 +54,10 @@ BuildRequires: flex BuildRequires: gcc-c++ BuildRequires: jq -BuildRequires: libboost_container-devel -BuildRequires: libboost_context-devel -BuildRequires: libboost_coroutine-devel -BuildRequires: libboost_iostreams-devel +BuildRequires: libboost_container%{?force_boost_version}-devel +BuildRequires: libboost_context%{?force_boost_version}-devel +BuildRequires: libboost_coroutine%{?force_boost_version}-devel +BuildRequires: libboost_iostreams%{?force_boost_version}-devel BuildRequires: libtool BuildRequires: lowdown BuildRequires: lsof @@ -73,7 +81,7 @@ BuildRequires: pkgconfig(lowdown) BuildRequires: pkgconfig(nlohmann_json) BuildRequires: pkgconfig(openssl) -BuildRequires: pkgconfig(readline) +BuildRequires: (pkgconfig(readline) or readline-devel) BuildRequires: pkgconfig(sqlite3) BuildRequires: pkgconfig(systemd) # Needed by -Dembedded-sandbox-shell ++++++ 0001-port-option-to-disable-functional-tests-to-meson.patch ++++++ --- /var/tmp/diff_new_pack.twOEr2/_old 2025-07-10 22:11:36.502367364 +0200 +++ /var/tmp/diff_new_pack.twOEr2/_new 2025-07-10 22:11:36.506367531 +0200 @@ -9,23 +9,23 @@ 2 files changed, 14 insertions(+) create mode 100644 meson_options.txt -Index: nix-2.26.1/meson.build +Index: nix-2.30.0/meson.build =================================================================== ---- nix-2.26.1.orig/meson.build -+++ nix-2.26.1/meson.build -@@ -53,4 +53,6 @@ if get_option('unit-tests') +--- nix-2.30.0.orig/meson.build ++++ nix-2.30.0/meson.build +@@ -58,4 +58,6 @@ if get_option('unit-tests') subproject('libexpr-tests') subproject('libflake-tests') endif +if get_option('functional-tests').enabled() subproject('nix-functional-tests') +endif -Index: nix-2.26.1/meson.options +Index: nix-2.30.0/meson.options =================================================================== ---- nix-2.26.1.orig/meson.options -+++ nix-2.26.1/meson.options -@@ -11,3 +11,9 @@ option('unit-tests', type : 'boolean', v - option('bindings', type : 'boolean', value : true, +--- nix-2.30.0.orig/meson.options ++++ nix-2.30.0/meson.options +@@ -20,3 +20,9 @@ option( + value : true, description : 'Build language bindings (e.g. Perl)', ) + ++++++ nix-2.29.1.tar.gz -> nix-2.30.0.tar.gz ++++++ ++++ 22278 lines of diff (skipped)