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-09-05 21:43:48 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/nix (Old) and /work/SRC/openSUSE:Factory/.nix.new.1977 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "nix" Fri Sep 5 21:43:48 2025 rev:7 rq:1302792 version:2.31.1 Changes: -------- --- /work/SRC/openSUSE:Factory/nix/nix.changes 2025-08-12 17:06:32.120175118 +0200 +++ /work/SRC/openSUSE:Factory/.nix.new.1977/nix.changes 2025-09-05 21:44:16.579080774 +0200 @@ -1,0 +2,111 @@ +Tue Sep 2 09:38:03 UTC 2025 - Marcus Rueckert <[email protected]> + +- Update to 2.31.1: + - libexpr: Canonicalize TOML timestamps for toml11 > 4.0 + - libexpr: Use table.size() instead of unnecessary loop + - nix/develop: Fix misleading ignored error when run with + --arg/--argstr + - Handle empty ports + - SQLite: fsync db.sqlite-shm before opening the database + +------------------------------------------------------------------- +Mon Aug 25 08:58:05 UTC 2025 - Marcus Rueckert <[email protected]> + +- Update to 2.31.0: + - `build-cores = 0` now auto-detects CPU cores + [#13402](https://github.com/NixOS/nix/pull/13402) When + `build-cores` is set to `0`, Nix now automatically detects the + number of available CPU cores and passes this value via + `NIX_BUILD_CORES`, instead of passing `0` directly. This + matches the behavior when `build-cores` is unset. This prevents + the builder from having to detect the number of cores. + - Fix Git LFS SSH issues + [#13337](https://github.com/NixOS/nix/issues/13337) + [#13743](https://github.com/NixOS/nix/pull/13743) Fixed some + outstanding issues with Git LFS and SSH. + - Added support for `NIX_SSHOPTS`. + - Properly use the parsed port from URL. + - Better use of the response of `git-lfs-authenticate` to + determine API endpoint when the API is not exposed on port + 443. + - Add support for `user@address:port` syntax in store URIs + [#7044](https://github.com/NixOS/nix/issues/7044) + [#3425](https://github.com/NixOS/nix/pull/3425) It's now + possible to specify the port used for SSH stores directly in + the store URL in accordance with + [RFC3986](https://datatracker.ietf.org/doc/html/rfc3986). + Previously the only way to specify custom ports was via + `ssh_config` or the `NIX_SSHOPTS` environment variable, because + Nix incorrectly passed the port number together with the host + name to the SSH executable. This change affects [store + references](@docroot@/store/types/index.md#store-url-format) + passed via the `--store` and similar flags in CLI as well as in + the configuration for [remote + builders](@docroot@/command-ref/conf-file.md#conf-builders). + For example, the following store URIs now work: + - `ssh://127.0.0.1:2222` + - `ssh://[b573:6a48:e224:840b:6007:6275:f8f7:ebf3]:22` + - `ssh-ng://[b573:6a48:e224:840b:6007:6275:f8f7:ebf3]:22` + - Represent IPv6 RFC4007 ZoneId literals in conformance with + RFC6874 [#13445](https://github.com/NixOS/nix/pull/13445) Prior + versions of Nix since + [#4646](https://github.com/NixOS/nix/pull/4646) accepted [IPv6 + scoped + addresses](https://datatracker.ietf.org/doc/html/rfc4007) in + URIs like [store + references](@docroot@/store/types/index.md#store-url-format) in + the textual representation with a literal percent character: + `[fe80::1%18]`. This was ambiguous, because the the percent + literal `%` is reserved by + [RFC3986](https://datatracker.ietf.org/doc/html/rfc3986), since + it's used to indicate percent encoding. Nix now requires that + the percent `%` symbol is percent-encoded as `%25`. This + implements + [RFC6874](https://datatracker.ietf.org/doc/html/rfc6874), which + defines the representation of zone identifiers in URIs. The + example from above now has to be specified as `[fe80::1%2518]`. + - Use WAL mode for SQLite cache databases + [#13800](https://github.com/NixOS/nix/pull/13800) Previously, + Nix used SQLite's "truncate" mode for caches. However, this + could cause a Nix process to block if another process was + updating the cache. This was a problem for the flake evaluation + cache in particular, since it uses long-running transactions. + Thus, concurrent Nix commands operating on the same flake could + be blocked for an unbounded amount of time. WAL mode avoids + this problem. This change required updating the versions of the + SQLite caches. For instance, `eval-cache-v5.sqlite` is now + `eval-cache-v6.sqlite`. + - Enable parallel marking in bdwgc + [#13708](https://github.com/NixOS/nix/pull/13708) Previously + marking was done by only one thread, which takes a long time if + the heap gets big. Enabling parallel marking speeds up + evaluation a lot, for example (on a Ryzen 9 5900X 12-Core): + - `nix search nixpkgs` from 24.3s to 18.9s. + - Evaluating the `NixOS/nix/2.21.2` flake regression test from + 86.1s to 71.2s. + - New command `nix flake prefetch-inputs` + [#13565](https://github.com/NixOS/nix/pull/13565) This command + fetches all inputs of a flake in parallel. This can be a lot + faster than the serialized on-demand fetching during regular + flake evaluation. The downside is that it may fetch inputs that + aren't normally used. + - Add `warn-short-path-literals` setting + [#13489](https://github.com/NixOS/nix/pull/13489) This setting, + when enabled, causes Nix to emit warnings when encountering + relative path literals that don't start with `.` or `/`, for + instance suggesting that `foo/bar` should be rewritten to + `./foo/bar`. + - When updating a lock, respect the input's lock file + [#13437](https://github.com/NixOS/nix/pull/13437) For example, + if a flake has a lock for `a` and `a/b`, and we change the + flakeref for `a`, previously Nix would fetch the latest version + of `b` rather than using the lock for `b` from `a`. + - Implement support for Git hashing with SHA-256 + [#13543](https://github.com/NixOS/nix/pull/13543) The + experimental support for + [Git-hashing](@docroot@/development/experimental-features.md#xp-feature-git-hashing) + store objects now also includes support for SHA-256, not just + SHA-1, in line with upstream Git. +- refresh 0001-port-option-to-disable-functional-tests-to-meson.patch + +------------------------------------------------------------------- Old: ---- nix-2.30.2.tar.gz New: ---- nix-2.31.1.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ nix.spec ++++++ --- /var/tmp/diff_new_pack.p7KDCU/_old 2025-09-05 21:44:18.539163248 +0200 +++ /var/tmp/diff_new_pack.p7KDCU/_new 2025-09-05 21:44:18.563164257 +0200 @@ -35,7 +35,7 @@ %endif Name: nix -Version: 2.30.2 +Version: 2.31.1 Release: 0 Summary: The purely functional package manager License: LGPL-2.1-only @@ -59,6 +59,7 @@ BuildRequires: libboost_context%{?force_boost_version}-devel BuildRequires: libboost_coroutine%{?force_boost_version}-devel BuildRequires: libboost_iostreams%{?force_boost_version}-devel +BuildRequires: libboost_url%{?force_boost_version}-devel BuildRequires: libtool BuildRequires: lowdown BuildRequires: lsof ++++++ 0001-port-option-to-disable-functional-tests-to-meson.patch ++++++ --- /var/tmp/diff_new_pack.p7KDCU/_old 2025-09-05 21:44:18.875177386 +0200 +++ /var/tmp/diff_new_pack.p7KDCU/_new 2025-09-05 21:44:18.915179069 +0200 @@ -9,24 +9,24 @@ 2 files changed, 14 insertions(+) create mode 100644 meson_options.txt -Index: nix-2.30.0/meson.build +Index: nix/meson.build =================================================================== ---- nix-2.30.0.orig/meson.build -+++ nix-2.30.0/meson.build -@@ -58,4 +58,6 @@ if get_option('unit-tests') +--- nix.orig/meson.build ++++ nix/meson.build +@@ -57,4 +57,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.30.0/meson.options +Index: nix/meson.options =================================================================== ---- 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.orig/meson.options ++++ nix/meson.options +@@ -27,3 +27,9 @@ option( + value : false, + description : 'Build benchmarks (requires gbenchmark)', ) + +option( ++++++ nix-2.30.2.tar.gz -> nix-2.31.1.tar.gz ++++++ ++++ 26631 lines of diff (skipped)
