From 8e212992875c6081a9a9eb4b121827f184aa344f Mon Sep 17 00:00:00 2001 From: Arnout Engelen Date: Wed, 21 Jan 2026 16:00:24 +0100 Subject: [PATCH 0001/2378] autogen: use Guile 3 The patch to make autogen work with Guile 3 was already added in #139361, but back then Guile 2 was still the default, and this 2.2 dependency was made explicit in #247013 . --- pkgs/by-name/au/autogen/package.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/by-name/au/autogen/package.nix b/pkgs/by-name/au/autogen/package.nix index e0559379ce25..49ef29559f6f 100644 --- a/pkgs/by-name/au/autogen/package.nix +++ b/pkgs/by-name/au/autogen/package.nix @@ -8,7 +8,7 @@ which, pkg-config, perl, - guile_2_2, + guile, libxml2, }: @@ -101,7 +101,7 @@ stdenv.mkDerivation rec { buildPackages.texinfo ]; buildInputs = [ - guile_2_2 + guile libxml2 ]; From 5563d930fa96ac6091c28db524e466816717bac9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sandro=20J=C3=A4ckel?= Date: Sun, 4 May 2025 18:33:48 +0200 Subject: [PATCH 0002/2378] nixos-enter: unset HOSTNAME and NIX_REMOTE to not confuse system or use the ISOs nix daemon This is necessary when executing nixos-enter from the root user. --- pkgs/by-name/ni/nixos-enter/nixos-enter.sh | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/pkgs/by-name/ni/nixos-enter/nixos-enter.sh b/pkgs/by-name/ni/nixos-enter/nixos-enter.sh index c57a7858110a..df9fc3681349 100755 --- a/pkgs/by-name/ni/nixos-enter/nixos-enter.sh +++ b/pkgs/by-name/ni/nixos-enter/nixos-enter.sh @@ -108,6 +108,8 @@ chroot_add_resolv_conf "$mountPoint" || echo "$0: failed to set up resolv.conf" chroot "$mountPoint" "$system/sw/bin/systemd-tmpfiles" --create --remove -E 2> /dev/null || true ) -unset TMPDIR +# HOSTNAME is unset to not accidentally build a nixos configuration named like the ISO. +# NIX_REMOTE is unset to not use the ISOs nix daemon by accident. +unset HOSTNAME NIX_REMOTE TMPDIR exec chroot "$mountPoint" "${command[@]}" From da4fd48cc475a95ffb9fc9ad14b637862b81f73b Mon Sep 17 00:00:00 2001 From: 2kybe3 Date: Sat, 13 Jun 2026 16:22:35 +0200 Subject: [PATCH 0003/2378] installShellFiles: correct comment for installShellCompletion signature --- pkgs/by-name/in/installShellFiles/setup-hook.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkgs/by-name/in/installShellFiles/setup-hook.sh b/pkgs/by-name/in/installShellFiles/setup-hook.sh index 7835e320b6cb..92c50204077b 100644 --- a/pkgs/by-name/in/installShellFiles/setup-hook.sh +++ b/pkgs/by-name/in/installShellFiles/setup-hook.sh @@ -100,7 +100,7 @@ installManPage() { done } -# installShellCompletion [--cmd ] ([--bash|--fish|--zsh] [--name ] )... +# installShellCompletion [--cmd ] ([--bash|--fish|--zsh|--nushell] [--name ] )... # # Each path is installed into the appropriate directory for shell completions for the given shell. # If one of `--bash`, `--fish`, `--zsh`, or `--nushell` is given the path is assumed to belong to From 09079d2c90500c01198c4f9e98fb46a5ed84f8bb Mon Sep 17 00:00:00 2001 From: "R. Ryantm" Date: Wed, 24 Jun 2026 07:46:55 +0000 Subject: [PATCH 0004/2378] libass: 0.17.4 -> 0.17.5 --- pkgs/by-name/li/libass/package.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/by-name/li/libass/package.nix b/pkgs/by-name/li/libass/package.nix index 61b8611327f0..8aed3b8c3823 100644 --- a/pkgs/by-name/li/libass/package.nix +++ b/pkgs/by-name/li/libass/package.nix @@ -17,11 +17,11 @@ assert fontconfigSupport -> fontconfig != null; stdenv.mkDerivation (finalAttrs: { pname = "libass"; - version = "0.17.4"; + version = "0.17.5"; src = fetchurl { url = "https://github.com/libass/libass/releases/download/${finalAttrs.version}/libass-${finalAttrs.version}.tar.xz"; - hash = "sha256-ePEXm4ONAl6cJuj+8z+AkvZWEURP+hv8DPrGozURoFo="; + hash = "sha256-LcolwODIN93wC1IBGz+CysHk3dOtAYIngGsMIoiGSsw="; }; outputs = [ From a08c7e290dfee5bc8623192615d8c975186386aa Mon Sep 17 00:00:00 2001 From: TomaSajt <62384384+TomaSajt@users.noreply.github.com> Date: Sat, 8 Aug 2026 03:12:35 +0200 Subject: [PATCH 0005/2378] libxml2: replace misuses of lib.optional with lib.optionalString --- pkgs/development/libraries/libxml2/common.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/libraries/libxml2/common.nix b/pkgs/development/libraries/libxml2/common.nix index 61c40a95ffe3..032c1b316114 100644 --- a/pkgs/development/libraries/libxml2/common.nix +++ b/pkgs/development/libraries/libxml2/common.nix @@ -104,11 +104,11 @@ stdenv'.mkDerivation (finalAttrs: { doCheck = (stdenv.hostPlatform == stdenv.buildPlatform) && stdenv.hostPlatform.libc != "musl"; preCheck = - lib.optional stdenv.hostPlatform.isDarwin '' + lib.optionalString stdenv.hostPlatform.isDarwin '' export DYLD_LIBRARY_PATH="$PWD/.libs:$DYLD_LIBRARY_PATH" '' # cyg prefix doesn't work for python modules - ++ lib.optional (stdenv.hostPlatform.isCygwin && pythonSupport) '' + + lib.optionalString (stdenv.hostPlatform.isCygwin && pythonSupport) '' ln -s cygxml2mod.dll python/.libs/libxml2mod.dll ''; From 2b528eba78e4fbbdb4bd79f0dd088a9dada9a3bc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sandro=20J=C3=A4ckel?= Date: Sat, 15 Aug 2026 18:52:47 +0200 Subject: [PATCH 0006/2378] rustPlatform: be explicit when cargoDeps is not set instead of failing to unpack --- pkgs/build-support/rust/hooks/cargo-setup-hook.sh | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/pkgs/build-support/rust/hooks/cargo-setup-hook.sh b/pkgs/build-support/rust/hooks/cargo-setup-hook.sh index 4ba6760a1a23..fff863d9ae63 100644 --- a/pkgs/build-support/rust/hooks/cargo-setup-hook.sh +++ b/pkgs/build-support/rust/hooks/cargo-setup-hook.sh @@ -8,6 +8,11 @@ cargoSetupPostUnpackHook() { # it writable. If we're using a tarball, the unpackFile hook already handles # this for us automatically. if [ -z $cargoVendorDir ]; then + if [ -z "$cargoDeps" ]; then + echo "ERROR: Missing cargoDeps" + exit 1 + fi + if [ -d "$cargoDeps" ]; then local dest=$(stripHash "$cargoDeps") cp -Lr --reflink=auto -- "$cargoDeps" "$dest" From 3e730c954500dfa76fd308987ec43e25686e47ff Mon Sep 17 00:00:00 2001 From: Harinn Date: Fri, 24 Jul 2026 11:20:46 +0700 Subject: [PATCH 0007/2378] python3Packages.u-msgpack-python: migrate to pyproject As part of https://github.com/NixOS/nixpkgs/issues/515974 --- pkgs/development/python-modules/u-msgpack-python/default.nix | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/pkgs/development/python-modules/u-msgpack-python/default.nix b/pkgs/development/python-modules/u-msgpack-python/default.nix index 3e1935cfd1dd..97f810c7aab3 100644 --- a/pkgs/development/python-modules/u-msgpack-python/default.nix +++ b/pkgs/development/python-modules/u-msgpack-python/default.nix @@ -2,6 +2,7 @@ buildPythonPackage, lib, fetchPypi, + setuptools, glibcLocales, unittestCheckHook, }: @@ -9,13 +10,15 @@ buildPythonPackage rec { pname = "u-msgpack-python"; version = "2.8.0"; - format = "setuptools"; + pyproject = true; src = fetchPypi { inherit pname version; hash = "sha256-uAGoPW7XXm30HkRRi08qnCIdwtpLzVOA46D+2lILxho="; }; + build-system = [ setuptools ]; + env.LC_ALL = "en_US.UTF-8"; buildInputs = [ glibcLocales ]; From 8da43b829af9afcdbcaca9d0ddb79235319134fd Mon Sep 17 00:00:00 2001 From: Harinn Date: Fri, 24 Jul 2026 11:26:14 +0700 Subject: [PATCH 0008/2378] python3Packages.u-msgpack-python: modernize --- .../python-modules/u-msgpack-python/default.nix | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/pkgs/development/python-modules/u-msgpack-python/default.nix b/pkgs/development/python-modules/u-msgpack-python/default.nix index 97f810c7aab3..4aca2aee4f57 100644 --- a/pkgs/development/python-modules/u-msgpack-python/default.nix +++ b/pkgs/development/python-modules/u-msgpack-python/default.nix @@ -7,13 +7,15 @@ unittestCheckHook, }: -buildPythonPackage rec { +buildPythonPackage (finalAttrs: { pname = "u-msgpack-python"; version = "2.8.0"; pyproject = true; + __structuredAttrs = true; + src = fetchPypi { - inherit pname version; + inherit (finalAttrs) pname version; hash = "sha256-uAGoPW7XXm30HkRRi08qnCIdwtpLzVOA46D+2lILxho="; }; @@ -25,10 +27,12 @@ buildPythonPackage rec { nativeCheckInputs = [ unittestCheckHook ]; + pythonImportsCheck = [ "umsgpack" ]; + meta = { description = "Portable, lightweight MessagePack serializer and deserializer written in pure Python"; homepage = "https://github.com/vsergeev/u-msgpack-python"; - changelog = "https://github.com/vsergeev/u-msgpack-python/blob/v${version}/CHANGELOG.md"; + changelog = "https://github.com/vsergeev/u-msgpack-python/blob/v${finalAttrs.version}/CHANGELOG.md"; license = lib.licenses.mit; }; -} +}) From fdac96840e4e3f9dedaaeb389be508a83a07547a Mon Sep 17 00:00:00 2001 From: Harinn Date: Fri, 31 Jul 2026 21:13:56 +0700 Subject: [PATCH 0009/2378] python3Packages.u-msgpack-python: move glibcLocales to nativeCheckInputs --- .../python-modules/u-msgpack-python/default.nix | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/pkgs/development/python-modules/u-msgpack-python/default.nix b/pkgs/development/python-modules/u-msgpack-python/default.nix index 4aca2aee4f57..0d0d8d7a090b 100644 --- a/pkgs/development/python-modules/u-msgpack-python/default.nix +++ b/pkgs/development/python-modules/u-msgpack-python/default.nix @@ -23,9 +23,10 @@ buildPythonPackage (finalAttrs: { env.LC_ALL = "en_US.UTF-8"; - buildInputs = [ glibcLocales ]; - - nativeCheckInputs = [ unittestCheckHook ]; + nativeCheckInputs = [ + glibcLocales + unittestCheckHook + ]; pythonImportsCheck = [ "umsgpack" ]; From 7e993338b40d4f62664bf39e9fae0f0ad252325b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Robert=20Sch=C3=BCtz?= Date: Wed, 2 Sep 2026 16:04:47 -0700 Subject: [PATCH 0010/2378] python3Packages.google-auth: 2.50.0 -> 2.57.0 Diff: https://github.com/googleapis/google-cloud-python/compare/google-auth-v2.50.0...google-auth-v2.57.0 Changelog: https://github.com/googleapis/google-cloud-python/blob/google-auth-v2.57.0/packages/google-auth/CHANGELOG.md --- pkgs/development/python-modules/google-auth/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/google-auth/default.nix b/pkgs/development/python-modules/google-auth/default.nix index 229941de5daf..789eabfa6cc0 100644 --- a/pkgs/development/python-modules/google-auth/default.nix +++ b/pkgs/development/python-modules/google-auth/default.nix @@ -27,14 +27,14 @@ buildPythonPackage rec { pname = "google-auth"; - version = "2.50.0"; + version = "2.57.0"; pyproject = true; src = fetchFromGitHub { owner = "googleapis"; repo = "google-cloud-python"; tag = "google-auth-v${version}"; - hash = "sha256-Z3TsDEtDDfXO23gOlmEM5O4a9qS2+fTB7g0vJ4dOFH4="; + hash = "sha256-0g0uTpt03BrFLJ7vGptrUy3pVx8EAOKYV+uB2bJTJNQ="; }; sourceRoot = "${src.name}/packages/google-auth"; From 3fce3bda9b45667a9fd2361ed7af3c4329be4e14 Mon Sep 17 00:00:00 2001 From: whispers Date: Fri, 4 Sep 2026 23:11:34 -0400 Subject: [PATCH 0011/2378] json_c: 0.18 -> 0.19 changelog: https://github.com/json-c/json-c/blob/json-c-0.19-20260627/ChangeLog diff: https://github.com/json-c/json-c/compare/json-c-0.18-20240915...json-c-0.19-20260627 --- pkgs/by-name/js/json_c/package.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pkgs/by-name/js/json_c/package.nix b/pkgs/by-name/js/json_c/package.nix index b84b4e89f7d3..725ee97e1937 100644 --- a/pkgs/by-name/js/json_c/package.nix +++ b/pkgs/by-name/js/json_c/package.nix @@ -7,13 +7,13 @@ stdenv.mkDerivation (finalAttrs: { pname = "json-c"; - version = "0.18"; + version = "0.19"; src = fetchFromGitHub { owner = "json-c"; repo = "json-c"; - tag = "json-c-0.18-20240915"; - hash = "sha256-UyMXr8Vc6kDOx1/lD2YKPiHdaTotXAF9ak0yQuwrSUA="; + tag = "json-c-0.19-20260627"; + hash = "sha256-ZfwVOU6PJKHSj7XVZh5BUb3VJ+lHXZVMPdHh5fgrock="; }; outputs = [ From e25057c06c8c7626c019b179614675e945d6c8f2 Mon Sep 17 00:00:00 2001 From: whispers Date: Fri, 4 Sep 2026 23:02:41 -0400 Subject: [PATCH 0012/2378] jansson: 2.15.0 -> 2.15.1 changelog: https://github.com/akheron/jansson/blob/v2.15.1/CHANGES diff: https://github.com/akheron/jansson/compare/v2.15.0..v2.15.1 --- pkgs/by-name/ja/jansson/package.nix | 12 +++--------- 1 file changed, 3 insertions(+), 9 deletions(-) diff --git a/pkgs/by-name/ja/jansson/package.nix b/pkgs/by-name/ja/jansson/package.nix index 41ed3cfde9c7..78847091d09d 100644 --- a/pkgs/by-name/ja/jansson/package.nix +++ b/pkgs/by-name/ja/jansson/package.nix @@ -10,7 +10,7 @@ stdenv.mkDerivation (finalAttrs: { pname = "jansson"; - version = "2.15.0"; + version = "2.15.1"; outputs = [ "dev" @@ -21,7 +21,7 @@ stdenv.mkDerivation (finalAttrs: { owner = "akheron"; repo = "jansson"; tag = "v${finalAttrs.version}"; - hash = "sha256-s7g1QvJjl9LsWw+VZsTQHCoEgw2Ad9+8V0b2NFml5rw="; + hash = "sha256-iOOZyrNlCbibT7qozH7B2RjAgG9yv+B2ldAaz8U6IhQ="; }; nativeBuildInputs = [ @@ -34,13 +34,7 @@ stdenv.mkDerivation (finalAttrs: { cmakeFlags = [ # networkmanager relies on libjansson.so: # https://github.com/NixOS/nixpkgs/pull/176302#issuecomment-1150239453 - "-DJANSSON_BUILD_SHARED_LIBS=${if stdenv.hostPlatform.isStatic then "OFF" else "ON"}" - - # Fix the build with CMake 4. - # - # Remove on next release; upstream fix is coupled with additional - # changes in . - "-DCMAKE_POLICY_VERSION_MINIMUM=3.10" + (lib.cmakeBool "JANSSON_BUILD_SHARED_LIBS" (!stdenv.hostPlatform.isStatic)) ]; postFixup = '' From f6615ba84fa00d4eab1efc453255fbc847b65c50 Mon Sep 17 00:00:00 2001 From: "R. Ryantm" Date: Mon, 14 Sep 2026 15:02:57 +0000 Subject: [PATCH 0013/2378] libde265: 1.1.2 -> 1.1.3 --- pkgs/by-name/li/libde265/package.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/by-name/li/libde265/package.nix b/pkgs/by-name/li/libde265/package.nix index dca0f96860c0..f2acd36086bf 100644 --- a/pkgs/by-name/li/libde265/package.nix +++ b/pkgs/by-name/li/libde265/package.nix @@ -15,14 +15,14 @@ }: stdenv.mkDerivation (finalAttrs: { - version = "1.1.2"; + version = "1.1.3"; pname = "libde265"; src = fetchFromGitHub { owner = "strukturag"; repo = "libde265"; tag = "v${finalAttrs.version}"; - hash = "sha256-dXUkSGviRfQkWacxMpH2vyLiSMvsetFw6ncrTW1SZaQ="; + hash = "sha256-3bU0xevUSCkyzQUed9PS9p5hXb689Hr9acCAdeWfk0g="; }; nativeBuildInputs = [ From 43e45601c19708944a73f0a37aa9aa6f09875b5f Mon Sep 17 00:00:00 2001 From: Bram Duvigneau Date: Tue, 21 Jul 2026 22:22:59 +0200 Subject: [PATCH 0014/2378] brltty: add polkit support BRLTTY enables Polkit support by default (--enable-polkit), but detects it solely via `pkg-config --exists polkit-gobject-1`. Since polkit was not in buildInputs, detection silently failed and BRLTTY was built without it, while still installing its Polkit policy (org.a11y.brlapi.policy). Without Polkit support, BrlAPI clients such as Orca cannot authorize against BRLTTY, so a braille display is unusable from the desktop. Polkit is Linux-only, so this follows the existing alsaSupport/systemdSupport pattern and gates on lib.meta.availableOn. The configure flag is passed explicitly rather than relying on pkg-config detection, so the feature can no longer be dropped silently. Fixes #540757 Assisted-by: Claude Code (Claude Opus 4.8, claude-opus-4-8) --- pkgs/by-name/br/brltty/package.nix | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/pkgs/by-name/br/brltty/package.nix b/pkgs/by-name/br/brltty/package.nix index 58e67756ba8f..a66caaf297d9 100644 --- a/pkgs/by-name/br/brltty/package.nix +++ b/pkgs/by-name/br/brltty/package.nix @@ -7,6 +7,8 @@ bluez, tcl, acl, + polkitSupport ? lib.meta.availableOn stdenv.hostPlatform polkit, + polkit, kmod, coreutils, shadow, @@ -42,6 +44,7 @@ stdenv.mkDerivation (finalAttrs: { tcl # For TCL bindings ] ++ lib.optional alsaSupport alsa-lib + ++ lib.optional polkitSupport polkit ++ lib.optional systemdSupport systemdMinimal; doInstallCheck = true; @@ -76,6 +79,7 @@ stdenv.mkDerivation (finalAttrs: { "--with-writable-directory=/run/brltty" "--with-updatable-directory=/var/lib/brltty" "--with-api-socket-path=/var/lib/BrlAPI" + (lib.enableFeature polkitSupport "polkit") ]; installFlags = [ "install-systemd" From 661c60e4dd1b2a1c66a1816f65f55791adb4d7b8 Mon Sep 17 00:00:00 2001 From: Peter Bynum Date: Tue, 15 Sep 2026 17:05:39 -0400 Subject: [PATCH 0015/2378] tests.importCargoLock.gitDependencyCargoConfig: init Assisted-by: GPT 5.6 Sol --- .../rust/test/import-cargo-lock/default.nix | 1 + .../git-dependency-cargo-config/Cargo.lock | 13 +++++++++++++ .../git-dependency-cargo-config/default.nix | 8 ++++++++ 3 files changed, 22 insertions(+) create mode 100644 pkgs/build-support/rust/test/import-cargo-lock/git-dependency-cargo-config/Cargo.lock create mode 100644 pkgs/build-support/rust/test/import-cargo-lock/git-dependency-cargo-config/default.nix diff --git a/pkgs/build-support/rust/test/import-cargo-lock/default.nix b/pkgs/build-support/rust/test/import-cargo-lock/default.nix index c9d93892cc2b..b646585592b9 100644 --- a/pkgs/build-support/rust/test/import-cargo-lock/default.nix +++ b/pkgs/build-support/rust/test/import-cargo-lock/default.nix @@ -17,6 +17,7 @@ { }; gitDependencyTag = callPackage ./git-dependency-tag { }; gitDependencyBranch = callPackage ./git-dependency-branch { }; + gitDependencyCargoConfig = callPackage ./git-dependency-cargo-config { }; maturin = maturin.tests.pyo3; v1 = callPackage ./v1 { }; gitDependencyWorkspaceInheritance = callPackage ./git-dependency-workspace-inheritance { diff --git a/pkgs/build-support/rust/test/import-cargo-lock/git-dependency-cargo-config/Cargo.lock b/pkgs/build-support/rust/test/import-cargo-lock/git-dependency-cargo-config/Cargo.lock new file mode 100644 index 000000000000..df02f05299c3 --- /dev/null +++ b/pkgs/build-support/rust/test/import-cargo-lock/git-dependency-cargo-config/Cargo.lock @@ -0,0 +1,13 @@ +version = 3 + +[[package]] +name = "fixture" +version = "0.1.0" +dependencies = [ + "bootloader", +] + +[[package]] +name = "bootloader" +version = "0.11.17" +source = "git+https://github.com/rust-osdev/bootloader.git?rev=3d7f72e36d4101ecf78b70cef2475d700bb01721#3d7f72e36d4101ecf78b70cef2475d700bb01721" diff --git a/pkgs/build-support/rust/test/import-cargo-lock/git-dependency-cargo-config/default.nix b/pkgs/build-support/rust/test/import-cargo-lock/git-dependency-cargo-config/default.nix new file mode 100644 index 000000000000..524344de7be0 --- /dev/null +++ b/pkgs/build-support/rust/test/import-cargo-lock/git-dependency-cargo-config/default.nix @@ -0,0 +1,8 @@ +{ rustPlatform }: +rustPlatform.importCargoLock { + lockFile = ./Cargo.lock; + outputHashes = { + # Bootloader's .cargo/config.toml enables bindeps, which are required to parse its manifest. + "bootloader-0.11.17" = "sha256-mLm5M1HLipN1EzS1zbDgMxMOqNySivGsK8+i0uOmoFM="; + }; +} From ca70089b9751e173d073162d80184ca25a0ac5eb Mon Sep 17 00:00:00 2001 From: Peter Bynum Date: Tue, 15 Sep 2026 17:07:02 -0400 Subject: [PATCH 0016/2378] tests.fetchCargoVendor.gitDependencyCargoConfig: init Assisted-by: GPT 5.6 Sol --- pkgs/build-support/rust/test/fetch-cargo-vendor/default.nix | 4 ++++ .../git-dependency-cargo-config/default.nix | 6 ++++++ pkgs/test/default.nix | 1 + 3 files changed, 11 insertions(+) create mode 100644 pkgs/build-support/rust/test/fetch-cargo-vendor/default.nix create mode 100644 pkgs/build-support/rust/test/fetch-cargo-vendor/git-dependency-cargo-config/default.nix diff --git a/pkgs/build-support/rust/test/fetch-cargo-vendor/default.nix b/pkgs/build-support/rust/test/fetch-cargo-vendor/default.nix new file mode 100644 index 000000000000..71a8e6e4056f --- /dev/null +++ b/pkgs/build-support/rust/test/fetch-cargo-vendor/default.nix @@ -0,0 +1,4 @@ +{ callPackage }: +{ + gitDependencyCargoConfig = callPackage ./git-dependency-cargo-config { }; +} diff --git a/pkgs/build-support/rust/test/fetch-cargo-vendor/git-dependency-cargo-config/default.nix b/pkgs/build-support/rust/test/fetch-cargo-vendor/git-dependency-cargo-config/default.nix new file mode 100644 index 000000000000..9e3bd0396924 --- /dev/null +++ b/pkgs/build-support/rust/test/fetch-cargo-vendor/git-dependency-cargo-config/default.nix @@ -0,0 +1,6 @@ +{ rustPlatform }: +rustPlatform.fetchCargoVendor { + name = "git-dependency-cargo-config"; + src = ../../import-cargo-lock/git-dependency-cargo-config; + hash = "sha256-rUQQ4Xrk+rW5Vgm7GK8xrK9zcwazsmBO6Q6qTCUniWc="; +} diff --git a/pkgs/test/default.nix b/pkgs/test/default.nix index d872ec067a7c..b9fd3f829db9 100644 --- a/pkgs/test/default.nix +++ b/pkgs/test/default.nix @@ -183,6 +183,7 @@ in buildRustCrate = recurseIntoAttrs (callPackage ../build-support/rust/build-rust-crate/test { }); importCargoLock = recurseIntoAttrs (callPackage ../build-support/rust/test/import-cargo-lock { }); + fetchCargoVendor = recurseIntoAttrs (callPackage ../build-support/rust/test/fetch-cargo-vendor { }); vim = callPackage ./vim { }; From 33286fd648a84317d0eed0fb5486479135af319b Mon Sep 17 00:00:00 2001 From: Peter Bynum Date: Tue, 15 Sep 2026 17:26:24 -0400 Subject: [PATCH 0017/2378] rustPlatform: Fix cargo metadata calls in dependencies with a cargo config --- pkgs/build-support/rust/fetch-cargo-vendor-util.py | 2 +- pkgs/build-support/rust/import-cargo-lock.nix | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/pkgs/build-support/rust/fetch-cargo-vendor-util.py b/pkgs/build-support/rust/fetch-cargo-vendor-util.py index 825f07b175ee..ad6a4f35b29d 100644 --- a/pkgs/build-support/rust/fetch-cargo-vendor-util.py +++ b/pkgs/build-support/rust/fetch-cargo-vendor-util.py @@ -172,7 +172,7 @@ def create_vendor_staging(lockfile_path: Path, out_dir: Path) -> None: def get_manifest_metadata(manifest_path: Path) -> dict[str, Any]: cmd = ["cargo", "metadata", "--format-version", "1", "--no-deps", "--manifest-path", str(manifest_path)] - output = subprocess.check_output(cmd) + output = subprocess.check_output(cmd, cwd=manifest_path.parent) return json.loads(output) diff --git a/pkgs/build-support/rust/import-cargo-lock.nix b/pkgs/build-support/rust/import-cargo-lock.nix index 28588cd54ed0..0c140d3235a7 100644 --- a/pkgs/build-support/rust/import-cargo-lock.nix +++ b/pkgs/build-support/rust/import-cargo-lock.nix @@ -233,7 +233,7 @@ let # but only in nested directories. # Only check the top-level Cargo.toml, if it actually exists if [[ -f $tree/Cargo.toml ]]; then - crateCargoTOML=$(${cargo}/bin/cargo metadata --format-version 1 --no-deps --manifest-path $tree/Cargo.toml | \ + crateCargoTOML=$(cd "$tree" && ${cargo}/bin/cargo metadata --format-version 1 --no-deps --manifest-path $tree/Cargo.toml | \ ${jq}/bin/jq -r '.packages[] | select(.name == "${pkg.name}") | .manifest_path') fi @@ -241,7 +241,7 @@ let if [[ -z $crateCargoTOML ]]; then for manifest in $(find $tree -name "Cargo.toml"); do echo Looking at $manifest - crateCargoTOML=$(${cargo}/bin/cargo metadata --format-version 1 --no-deps --manifest-path "$manifest" | ${jq}/bin/jq -r '.packages[] | select(.name == "${pkg.name}") | .manifest_path' || :) + crateCargoTOML=$(cd "$(dirname "$manifest")" && ${cargo}/bin/cargo metadata --format-version 1 --no-deps --manifest-path "$manifest" | ${jq}/bin/jq -r '.packages[] | select(.name == "${pkg.name}") | .manifest_path' || :) if [[ ! -z $crateCargoTOML ]]; then break fi @@ -261,7 +261,7 @@ let if grep -q workspace "$out/Cargo.toml"; then chmod u+w "$out/Cargo.toml" - ${replaceWorkspaceValues} "$out/Cargo.toml" "$(${cargo}/bin/cargo metadata --format-version 1 --no-deps --manifest-path $crateCargoTOML | ${jq}/bin/jq -r .workspace_root)/Cargo.toml" + ${replaceWorkspaceValues} "$out/Cargo.toml" "$(cd "$tree" && ${cargo}/bin/cargo metadata --format-version 1 --no-deps --manifest-path $crateCargoTOML | ${jq}/bin/jq -r .workspace_root)/Cargo.toml" fi # Cargo is happy with empty metadata. From 2ac6bb3f1b745d874d0b6dbefb999eb8e932ac9a Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Fri, 18 Sep 2026 22:24:19 +0200 Subject: [PATCH 0018/2378] llvmPackages.libc: fix build This needs the same patch as compiler-rt because it contains compiler-rt source. --- .../compilers/llvm/common/libc/default.nix | 14 ++++++++++++-- 1 file changed, 12 insertions(+), 2 deletions(-) diff --git a/pkgs/development/compilers/llvm/common/libc/default.nix b/pkgs/development/compilers/llvm/common/libc/default.nix index 462ad355317e..8ca32ce10079 100644 --- a/pkgs/development/compilers/llvm/common/libc/default.nix +++ b/pkgs/development/compilers/llvm/common/libc/default.nix @@ -6,6 +6,7 @@ monorepoSrc ? null, version, release_version, + fetchpatch, runCommand, python3, python3Packages, @@ -41,12 +42,20 @@ let needHdrGen = isFullBuild || lib.versionAtLeast release_version "22"; in stdenv.mkDerivation (finalAttrs: { - inherit pname version patches; + inherit pname version; src = src'; sourceRoot = "${finalAttrs.src.name}/runtimes"; + # Linux removed `linux/scc.h`, which breaks building compiler-rt. Upstream LLVM has fixed it in LLVM 22 and 23. + patches = + patches + ++ lib.optional (lib.strings.versionOlder version "22.1.5") (fetchpatch { + url = "https://github.com/llvm/llvm-project/commit/3dc4fd6dd41100f051a63642f449b16324389c96.patch?full_index=1"; + hash = "sha256-BJwFPeYCBO+PnUMMC/3GSYPgn0vczkkbdw5qcnURPbI="; + }); + nativeBuildInputs = [ cmake python3 @@ -69,10 +78,11 @@ stdenv.mkDerivation (finalAttrs: { prePatch = '' cd ../${finalAttrs.pname} chmod -R u+w ../ + cd .. ''; postPatch = '' - cd ../runtimes + cd runtimes ''; postInstall = From 83e65837c5cc949d1bb6f07259e9374e57040300 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Stanis=C5=82aw=20Pitucha?= Date: Sat, 19 Sep 2026 23:49:02 +1000 Subject: [PATCH 0019/2378] sigtool: move to an updated nix-community fork Move sigtool source to nix-community/sigtool Add support for options required by swift-build Add support for nested bundle signing (used by lots of real software) --- .../si/sigtool/0001-fix-build-with-gcc.patch | 24 ------------------- .../darwin/by-name/si/sigtool/package.nix | 18 +++++++------- 2 files changed, 9 insertions(+), 33 deletions(-) delete mode 100644 pkgs/os-specific/darwin/by-name/si/sigtool/0001-fix-build-with-gcc.patch diff --git a/pkgs/os-specific/darwin/by-name/si/sigtool/0001-fix-build-with-gcc.patch b/pkgs/os-specific/darwin/by-name/si/sigtool/0001-fix-build-with-gcc.patch deleted file mode 100644 index dfebbdfb566e..000000000000 --- a/pkgs/os-specific/darwin/by-name/si/sigtool/0001-fix-build-with-gcc.patch +++ /dev/null @@ -1,24 +0,0 @@ -From b18ae56b1bee86808d40f89900f999e835a7e1e9 Mon Sep 17 00:00:00 2001 -From: Randy Eckenrode -Date: Fri, 13 Feb 2026 19:05:02 -0500 -Subject: [PATCH] fix-build-with-gcc - ---- - emit.h | 1 + - 1 file changed, 1 insertion(+) - -diff --git a/emit.h b/emit.h -index 340f314..a8a6d3b 100644 ---- a/emit.h -+++ b/emit.h -@@ -6,6 +6,7 @@ - #include - #include - #include -+#include - - namespace SigTool { - --- -2.51.2 - diff --git a/pkgs/os-specific/darwin/by-name/si/sigtool/package.nix b/pkgs/os-specific/darwin/by-name/si/sigtool/package.nix index d565bd4fb8c8..6c12ad7d93a2 100644 --- a/pkgs/os-specific/darwin/by-name/si/sigtool/package.nix +++ b/pkgs/os-specific/darwin/by-name/si/sigtool/package.nix @@ -4,26 +4,25 @@ fetchFromGitHub, pkg-config, openssl, + libplist, }: stdenv.mkDerivation rec { pname = "sigtool"; - version = "0.1.3"; + version = "0.2.2"; src = fetchFromGitHub { - owner = "thefloweringash"; + owner = "nix-community"; repo = "sigtool"; rev = "v${version}"; - sha256 = "sha256-K3VSFaqcZEomF7kROJz+AwxdW1MmxxEFDaRnWnzcw54="; + sha256 = "sha256-czprDpXy+wflnzqIeCIqxwPewYIYv8xlKzRp6eEhcqw="; }; - patches = [ - # Fix missing `UINT64_C` when building with GCC on Linux - ./0001-fix-build-with-gcc.patch - ]; - nativeBuildInputs = [ pkg-config ]; - buildInputs = [ openssl ]; + buildInputs = [ + openssl + libplist + ]; installFlags = [ "PREFIX=$(out)" ]; @@ -33,5 +32,6 @@ stdenv.mkDerivation rec { license = lib.licenses.mit; platforms = lib.platforms.unix; mainProgram = "sigtool"; + maintainers = [ lib.maintainers.viraptor ]; }; } From eb75e144e488bff04ff8448ad2f4b4711dc6bc76 Mon Sep 17 00:00:00 2001 From: "R. Ryantm" Date: Tue, 22 Sep 2026 00:41:45 +0000 Subject: [PATCH 0020/2378] cairo: 1.18.4 -> 1.18.6 --- pkgs/by-name/ca/cairo/package.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/by-name/ca/cairo/package.nix b/pkgs/by-name/ca/cairo/package.nix index 172deabc7149..8c83fcb8aa70 100644 --- a/pkgs/by-name/ca/cairo/package.nix +++ b/pkgs/by-name/ca/cairo/package.nix @@ -34,13 +34,13 @@ stdenv.mkDerivation ( in { pname = "cairo"; - version = "1.18.4"; + version = "1.18.6"; src = fetchurl { url = "https://cairographics.org/${ if lib.mod (builtins.fromJSON (lib.versions.minor version)) 2 == 0 then "releases" else "snapshots" }/${pname}-${version}.tar.xz"; - hash = "sha256-RF7YIIpuSCPeEianTKMZ02AOg/Y2n5mxQmUAZZnDLMs="; + hash = "sha256-HHZzCBdDN6dGlNoPPsBpwnFFIWOh70VAlkxQwwHxV9Q="; }; outputs = [ From c4d8a2c27cb0e5e58c31d482d5ce781a799f4d96 Mon Sep 17 00:00:00 2001 From: "R. Ryantm" Date: Tue, 22 Sep 2026 15:25:15 +0000 Subject: [PATCH 0021/2378] bubblewrap: 0.12.0 -> 0.13.0 --- pkgs/by-name/bu/bubblewrap/package.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/by-name/bu/bubblewrap/package.nix b/pkgs/by-name/bu/bubblewrap/package.nix index 542cf9db780e..c0d9a67901e2 100644 --- a/pkgs/by-name/bu/bubblewrap/package.nix +++ b/pkgs/by-name/bu/bubblewrap/package.nix @@ -14,13 +14,13 @@ stdenv.mkDerivation (finalAttrs: { pname = "bubblewrap"; - version = "0.12.0"; + version = "0.13.0"; src = fetchFromGitHub { owner = "containers"; repo = "bubblewrap"; rev = "v${finalAttrs.version}"; - hash = "sha256-VnhJ5bej3/GTHcU8+AkyR7f3J0KKDuoc94SFxo4grhk="; + hash = "sha256-lR9ii3Dhwpy/s7RZglbJkHyfhzZNEl3t0tXf03YGBfI="; }; outputs = [ From 083c930c9d699bb81c95f331092e3c634a319801 Mon Sep 17 00:00:00 2001 From: "R. Ryantm" Date: Sat, 26 Sep 2026 01:29:25 +0000 Subject: [PATCH 0022/2378] pcsclite: 2.4.1 -> 2.5.2 --- pkgs/by-name/pc/pcsclite/package.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/by-name/pc/pcsclite/package.nix b/pkgs/by-name/pc/pcsclite/package.nix index 271bf0fdd121..fd8d28f58e6f 100644 --- a/pkgs/by-name/pc/pcsclite/package.nix +++ b/pkgs/by-name/pc/pcsclite/package.nix @@ -25,7 +25,7 @@ stdenv.mkDerivation (finalAttrs: { inherit pname; - version = "2.4.1"; + version = "2.5.2"; outputs = [ "out" @@ -40,7 +40,7 @@ stdenv.mkDerivation (finalAttrs: { owner = "rousseau"; repo = "PCSC"; tag = finalAttrs.version; - hash = "sha256-I4kWToLixfkP0XaONiWqNLXXmz+3n+LafbITfZOxLZw="; + hash = "sha256-7C710Z44tySox3aJ14EZWYT9ITdqMJtVCZFqN0FHvuk="; }; mesonFlags = [ From 86107809b6ad91013a57df7e9045c3254bd40938 Mon Sep 17 00:00:00 2001 From: Arnout Engelen Date: Sat, 26 Sep 2026 13:10:27 +0200 Subject: [PATCH 0023/2378] gdb: make sure python modules are precompiled Before, only the pyc's for the python files that happened to be included in the check phase were included in the cache. This makes sure they're all cached. Having the cache files be introduced as a side effect of the check phase also has the problem that their timestamps are not stripped, since that happens in the fixup phase. Fixes #467130 --- pkgs/by-name/gd/gdb/package.nix | 3 +++ 1 file changed, 3 insertions(+) diff --git a/pkgs/by-name/gd/gdb/package.nix b/pkgs/by-name/gd/gdb/package.nix index 9fab3131d76e..430f861c6d42 100644 --- a/pkgs/by-name/gd/gdb/package.nix +++ b/pkgs/by-name/gd/gdb/package.nix @@ -198,6 +198,9 @@ stdenv.mkDerivation (finalAttrs: { postInstall = '' # Remove Info files already provided by Binutils and other packages. rm -v $out/share/info/bfd.info + + # Make sure pyc files are generated before fixup + python3 -m compileall $out/share/gdb/python/gdb ''; doInstallCheck = true; From 2cf1ddaeb1caf7ada1af06bec32ae355a06d4aab Mon Sep 17 00:00:00 2001 From: Jonas Rembser Date: Wed, 30 Sep 2026 21:29:42 +0000 Subject: [PATCH 0024/2378] python3Packages.libcst: 1.8.6 -> 1.9.0 --- pkgs/development/python-modules/libcst/default.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pkgs/development/python-modules/libcst/default.nix b/pkgs/development/python-modules/libcst/default.nix index de50526c0ae0..09d38f8071e2 100644 --- a/pkgs/development/python-modules/libcst/default.nix +++ b/pkgs/development/python-modules/libcst/default.nix @@ -20,14 +20,14 @@ buildPythonPackage rec { pname = "libcst"; - version = "1.8.6"; + version = "1.9.0"; pyproject = true; src = fetchFromGitHub { owner = "Instagram"; repo = "LibCST"; tag = "v${version}"; - hash = "sha256-AJm3grS+I/NXZ8ame4rmHPOxRHGO0Ofo35RtSDO2tyI="; + hash = "sha256-f3PtOTxf8AN55OF/M8QGv+ld0s+myOcLKQLVzl+6ONI="; }; cargoDeps = rustPlatform.fetchCargoVendor { @@ -37,7 +37,7 @@ buildPythonPackage rec { src cargoRoot ; - hash = "sha256-7/Yf2yn7wjW0CDG1Ha3SsvOIytbU1bJCpR9WFAFiPEA="; + hash = "sha256-juw/HILGZcGoicqzPXxliMGSGno5iBnYf5/9lgnc4rQ="; }; cargoRoot = "native"; From 78a6ad66ec69cf0ac8135f46e7afb4110dd0db0f Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Thu, 24 Sep 2026 19:13:08 +0200 Subject: [PATCH 0025/2378] cpio: enable strictDeps --- pkgs/by-name/cp/cpio/package.nix | 2 ++ 1 file changed, 2 insertions(+) diff --git a/pkgs/by-name/cp/cpio/package.nix b/pkgs/by-name/cp/cpio/package.nix index e8d8c6221980..1a36998b05e7 100644 --- a/pkgs/by-name/cp/cpio/package.nix +++ b/pkgs/by-name/cp/cpio/package.nix @@ -53,6 +53,8 @@ stdenv.mkDerivation (finalAttrs: { texinfo # for makeinfo ]; + strictDeps = true; + separateDebugInfo = true; # The code won't compile in c23 mode. From 27648ad174e25b538698ed91ebefc31d28d2629b Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Thu, 24 Sep 2026 19:13:18 +0200 Subject: [PATCH 0026/2378] cpio: enable structuredAttrs --- pkgs/by-name/cp/cpio/package.nix | 2 ++ 1 file changed, 2 insertions(+) diff --git a/pkgs/by-name/cp/cpio/package.nix b/pkgs/by-name/cp/cpio/package.nix index 1a36998b05e7..8de02529f8e8 100644 --- a/pkgs/by-name/cp/cpio/package.nix +++ b/pkgs/by-name/cp/cpio/package.nix @@ -75,6 +75,8 @@ stdenv.mkDerivation (finalAttrs: { initrd = nixosTests.systemd-initrd-simple; }; + __structuredAttrs = true; + meta = { homepage = "https://www.gnu.org/software/cpio/"; description = "Program to create or extract from cpio archives"; From 891ec54c9a7293c88f91c975585750660a606a68 Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sat, 26 Sep 2026 23:36:50 +0200 Subject: [PATCH 0027/2378] netpbm: enable structuredAttrs, use --replace-fail, hash --- pkgs/by-name/ne/netpbm/package.nix | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/pkgs/by-name/ne/netpbm/package.nix b/pkgs/by-name/ne/netpbm/package.nix index 99e5e3b373ed..abe9e3a07801 100644 --- a/pkgs/by-name/ne/netpbm/package.nix +++ b/pkgs/by-name/ne/netpbm/package.nix @@ -32,7 +32,7 @@ stdenv.mkDerivation (finalAttrs: { src = fetchsvn { url = "https://svn.code.sf.net/p/netpbm/code/advanced"; rev = "5264"; - sha256 = "sha256-5G2OitW25ZNsdBcVkKfLpFJWjTm9VcB3ca0QllOSugI="; + hash = "sha256-5G2OitW25ZNsdBcVkKfLpFJWjTm9VcB3ca0QllOSugI="; }; nativeBuildInputs = [ @@ -59,7 +59,7 @@ stdenv.mkDerivation (finalAttrs: { postPatch = '' # Install libnetpbm.so symlink to correct destination substituteInPlace lib/Makefile \ - --replace '/sharedlink' '/lib' + --replace-fail '/sharedlink' '/lib' ''; configurePhase = '' @@ -128,6 +128,8 @@ stdenv.mkDerivation (finalAttrs: { passthru.updateScript = ./update.sh; + __structuredAttrs = true; + meta = { changelog = "https://sourceforge.net/p/netpbm/code/${finalAttrs.src.rev}/tree/advanced/doc/HISTORY"; homepage = "https://netpbm.sourceforge.net/"; From 1d905655d6da72c4f30ca4ac4d5ee686016bd23b Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sat, 3 Oct 2026 21:04:46 +0200 Subject: [PATCH 0028/2378] libbsd: enable strictDeps --- pkgs/by-name/li/libbsd/package.nix | 2 ++ 1 file changed, 2 insertions(+) diff --git a/pkgs/by-name/li/libbsd/package.nix b/pkgs/by-name/li/libbsd/package.nix index e4e7af96ce99..a8b37e3aa285 100644 --- a/pkgs/by-name/li/libbsd/package.nix +++ b/pkgs/by-name/li/libbsd/package.nix @@ -29,6 +29,8 @@ stdenv.mkDerivation (finalAttrs: { nativeBuildInputs = [ autoreconfHook ]; propagatedBuildInputs = [ libmd ]; + strictDeps = true; + patches = [ # `strtonum(3)` is not available on our default SDK version. # https://gitlab.freedesktop.org/libbsd/libbsd/-/issues/30 From 4814d97bf5adb675614f0c53a348f9069960885f Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sat, 3 Oct 2026 21:04:57 +0200 Subject: [PATCH 0029/2378] libbsd: enable structuredAttrs --- pkgs/by-name/li/libbsd/package.nix | 2 ++ 1 file changed, 2 insertions(+) diff --git a/pkgs/by-name/li/libbsd/package.nix b/pkgs/by-name/li/libbsd/package.nix index a8b37e3aa285..d9deb23b871f 100644 --- a/pkgs/by-name/li/libbsd/package.nix +++ b/pkgs/by-name/li/libbsd/package.nix @@ -47,6 +47,8 @@ stdenv.mkDerivation (finalAttrs: { stdenv.cc.bintools.isLLVM && lib.versionAtLeast stdenv.cc.bintools.version "17" ) [ "LDFLAGS=-Wl,--undefined-version" ]; + __structuredAttrs = true; + meta = { description = "Common functions found on BSD systems"; homepage = "https://libbsd.freedesktop.org/"; From c9a47569680c907e704df6f0dcdc0b978617462c Mon Sep 17 00:00:00 2001 From: Michael Daniels Date: Sun, 4 Oct 2026 09:20:29 -0400 Subject: [PATCH 0030/2378] python3Packages.tzdata: 2026.4 -> 2026.5 Changelog: https://github.com/python/tzdata/blob/2026.5/NEWS.md --- pkgs/development/python-modules/tzdata/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/tzdata/default.nix b/pkgs/development/python-modules/tzdata/default.nix index ef00269e5b5a..e5927eacb5ba 100644 --- a/pkgs/development/python-modules/tzdata/default.nix +++ b/pkgs/development/python-modules/tzdata/default.nix @@ -8,12 +8,12 @@ buildPythonPackage rec { pname = "tzdata"; - version = "2026.4"; + version = "2026.5"; pyproject = true; src = fetchPypi { inherit pname version; - hash = "sha256-8bi9Nl2NIQxVNT9Nf41thWHAulDXBLcA0ZWpQku6DXk="; + hash = "sha256-jMc8Cgv8p9v6WSNdYLLv+CIx3uM/U9IG2xrNkXPPwKc="; }; nativeBuildInputs = [ setuptools ]; From 41b6feced827adcf4ce4312b18b9638da75e5ec5 Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Mon, 31 Aug 2026 19:23:42 +0200 Subject: [PATCH 0031/2378] python3.buildEnv: enable strictDeps, enable structuredAttrs buildEnv already sets __structuredAttrs. --- .../development/interpreters/python/wrapper.nix | 17 ++++++++++++++--- 1 file changed, 14 insertions(+), 3 deletions(-) diff --git a/pkgs/development/interpreters/python/wrapper.nix b/pkgs/development/interpreters/python/wrapper.nix index 9ec9440bb69f..3656e129780e 100644 --- a/pkgs/development/interpreters/python/wrapper.nix +++ b/pkgs/development/interpreters/python/wrapper.nix @@ -24,9 +24,15 @@ let env = let paths = requiredPythonModules extraLibs ++ [ - (runCommand "bin" { } '' - mkdir -p $out/bin - '') + (runCommand "bin" + { + strictDeps = true; + __structuredAttrs = true; + } + '' + mkdir -p $out/bin + '' + ) ]; pythonPath = "${placeholder "out"}/${python.sitePackages}"; pythonExecutable = "${placeholder "out"}/bin/${python.executable}"; @@ -70,6 +76,8 @@ let '' + postBuild; + derivationArgs.strictDeps = true; + inherit (python) meta; passthru = python.passthru // { @@ -78,6 +86,7 @@ let env = stdenv.mkDerivation { name = "interactive-${python.name}-environment"; nativeBuildInputs = [ env ]; + strictDeps = true; buildCommand = '' echo >&2 "" @@ -85,6 +94,8 @@ let echo >&2 "" exit 1 ''; + + __structuredAttrs = true; }; }; }; From e4cc69af65e892afcf6405cc90dc367853018a5a Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Mon, 31 Aug 2026 19:59:29 +0200 Subject: [PATCH 0032/2378] python3.buildEnv: give derivation for bin dir a nicer name This makes it easier to identify what kind of thing this derivation represents, rather than "bin". --- pkgs/development/interpreters/python/wrapper.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkgs/development/interpreters/python/wrapper.nix b/pkgs/development/interpreters/python/wrapper.nix index 3656e129780e..7aa8bae3cacb 100644 --- a/pkgs/development/interpreters/python/wrapper.nix +++ b/pkgs/development/interpreters/python/wrapper.nix @@ -24,7 +24,7 @@ let env = let paths = requiredPythonModules extraLibs ++ [ - (runCommand "bin" + (runCommand "${python.name}-env-bin" { strictDeps = true; __structuredAttrs = true; From a50091a3dc5f8b8926eade96d0befc5d106840d2 Mon Sep 17 00:00:00 2001 From: Sarah Clark Date: Thu, 17 Sep 2026 14:21:07 -0700 Subject: [PATCH 0033/2378] python3Packages.jiter: 0.12.0 -> 0.17.0 --- .../python-modules/jiter/Cargo.lock | 714 ++++++++++-------- .../python-modules/jiter/default.nix | 10 +- 2 files changed, 427 insertions(+), 297 deletions(-) diff --git a/pkgs/development/python-modules/jiter/Cargo.lock b/pkgs/development/python-modules/jiter/Cargo.lock index b2a86580589f..6847248d23b0 100644 --- a/pkgs/development/python-modules/jiter/Cargo.lock +++ b/pkgs/development/python-modules/jiter/Cargo.lock @@ -1,6 +1,6 @@ # This file is automatically @generated by Cargo. # It is not intended for manual editing. -version = 3 +version = 4 [[package]] name = "ahash" @@ -9,7 +9,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "5a15f179cd60c4584b8a8c596927aadc462e27f2ca70c04e0071964a73ba7a75" dependencies = [ "cfg-if", - "getrandom", + "getrandom 0.3.4", "once_cell", "version_check", "zerocopy", @@ -17,9 +17,9 @@ dependencies = [ [[package]] name = "aho-corasick" -version = "1.1.4" +version = "1.1.5" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ddd31a130427c27518df266943a5308ed92d4b226cc639f5a8f1002816174301" +checksum = "c982642fa9e8606056828ee9a8505737230110bb1099153c79efe865c59d12ba" dependencies = [ "memchr", ] @@ -32,27 +32,57 @@ checksum = "4b46cbb362ab8752921c97e041f5e366ee6297bd428a31275b9fcf1e380f7299" [[package]] name = "anstyle" -version = "1.0.13" +version = "1.0.14" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5192cca8006f1fd4f7237516f40fa183bb07f8fbdfedaa0036de5ea9b0b45e78" +checksum = "940b3a0ca603d1eade50a4846a2afffd5ef57a9feac2c0e2ec2e14f9ead76000" [[package]] -name = "arbitrary" -version = "1.4.2" +name = "anyhow" +version = "1.0.104" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c3d036a3c4ab069c7b410a2ce876bd74808d2d0888a82667669f8e783a898bf1" +checksum = "330a5ed07fa54e4702c9d6c4174f74427fc0ef6e214bbd677ae50a5099946470" + +[[package]] +name = "approx" +version = "0.5.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "cab112f0a86d568ea0e627cc1d6be74a1e9cd55214684db5561995f6dad897c6" +dependencies = [ + "num-traits", +] [[package]] name = "autocfg" -version = "1.5.0" +version = "1.5.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c08606f8c3cbf4ce6ec8e28fb0014a2c086708fe954eaa885384a6165172e7e8" +checksum = "f2032f911046de80f0a198e0901378627c33f59ea0ac00e363d481118bd70a53" + +[[package]] +name = "bit-set" +version = "0.8.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "08807e080ed7f9d5433fa9b275196cfc35414f66a0c79d864dc51a0d825231a3" +dependencies = [ + "bit-vec", +] + +[[package]] +name = "bit-vec" +version = "0.8.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "5e764a1d40d510daf35e07be9eb06e75770908c27d411ee6c92109c9840eaaf7" + +[[package]] +name = "bitflags" +version = "2.13.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "3ded4057c258ba199e2d26386d3af3780957ecaee6c4ef4041c6b4b8b97c0b06" [[package]] name = "bitvec" -version = "1.0.1" +version = "1.1.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1bc2832c24239b0141d5674bb9174f9d68a8b5b3f2753311927c172ca46f7e9c" +checksum = "ddcec3d12c579d40898fe0a9a358a803c23e9c52ca3c425707f81c9436211837" dependencies = [ "funty", "radium", @@ -62,9 +92,9 @@ dependencies = [ [[package]] name = "bumpalo" -version = "3.19.0" +version = "3.20.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "46c5e41b57b8bba42a04676d81cb89e9ee8e859a1a66f80a5a72e1cb76b34d43" +checksum = "72f5acc6cb2ba439de613abc23857ec3d78374d8ed5ac84e9d11336e87da8649" [[package]] name = "cast" @@ -74,21 +104,25 @@ checksum = "37b2a672a2cb129a2e41c10b1224bb368f9f37a2b16b612598138befd7b37eb5" [[package]] name = "cc" -version = "1.2.45" +version = "1.4.6" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "35900b6c8d709fb1d854671ae27aeaa9eec2f8b01b364e1619a40da3e6fe2afe" +checksum = "a3eb0f42d6c360dc3f8a821f6bf2fdea7f72bfd36b3076eb0e6d1e9e0752fff4" dependencies = [ "find-msvc-tools", - "jobserver", - "libc", "shlex", ] [[package]] name = "cfg-if" -version = "1.0.4" +version = "1.0.5" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9330f8b2ff13f34540b44e946ef35111825727b38d33286ef986142615121801" +checksum = "4e7648175b45a9a48536d676f68d918270699102aa8dab5496df06904c914600" + +[[package]] +name = "cfg_aliases" +version = "0.2.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f079e83a288787bcd14a6aea84cee5c87a67c5a3e660c30f557a3d24761b3527" [[package]] name = "ciborium" @@ -119,18 +153,18 @@ dependencies = [ [[package]] name = "clap" -version = "4.5.51" +version = "4.6.7" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4c26d721170e0295f191a69bd9a1f93efcdb0aff38684b61ab5750468972e5f5" +checksum = "aa8876b300ab35ba921adea3dfd70157a46249b33f95c9084ae5709785478946" dependencies = [ "clap_builder", ] [[package]] name = "clap_builder" -version = "4.5.51" +version = "4.6.7" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "75835f0c7bf681bfd05abe44e965760fea999a5286c6eb2d59883634fd02011a" +checksum = "ec0797fb7aeb1406c84efac526901f7ec3ead2124f946b494e72879d4b54704d" dependencies = [ "anstyle", "clap_lex", @@ -138,39 +172,46 @@ dependencies = [ [[package]] name = "clap_lex" -version = "0.7.6" +version = "1.1.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a1d728cc89cf3aee9ff92b05e62b19ee65a02b5702cff7d5a377e32c6ae29d8d" +checksum = "1c133bc6a41be0d194c306b5506d15e6feeea7b1d6604bd3f8310dfb2ca96486" [[package]] name = "codspeed" -version = "2.10.1" +version = "5.0.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "93f4cce9c27c49c4f101fffeebb1826f41a9df2e7498b7cd4d95c0658b796c6c" +checksum = "c0379da47d0de730b2f7900e3f2d9c3b5efc21b46875282305300b4851f03e70" dependencies = [ + "anyhow", + "cc", "colored", + "getrandom 0.4.3", + "glob", "libc", + "nix", "serde", "serde_json", - "uuid", + "statrs", ] [[package]] name = "codspeed-criterion-compat" -version = "2.10.1" +version = "5.0.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c3c23d880a28a2aab52d38ca8481dd7a3187157d0a952196b6db1db3c8499725" +checksum = "65f64942456bd4514b06ba4c72623bf197931d05d3d1db61b8a0c6289b30b2c7" dependencies = [ + "clap", "codspeed", "codspeed-criterion-compat-walltime", "colored", + "regex", ] [[package]] name = "codspeed-criterion-compat-walltime" -version = "2.10.1" +version = "5.0.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7b0a2f7365e347f4f22a67e9ea689bf7bc89900a354e22e26cf8a531a42c8fbb" +checksum = "e86691354129085562c025293f9e8b35bf9054813bb9981be3a96aa8490c07d1" dependencies = [ "anes", "cast", @@ -195,12 +236,11 @@ dependencies = [ [[package]] name = "colored" -version = "2.2.0" +version = "3.1.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "117725a109d387c937a1533ce01b450cbde6b88abceea8473c4d7a85853cda3c" +checksum = "faf9468729b8cbcea668e36183cb69d317348c2e08e994829fb56ebfdfbaac34" dependencies = [ - "lazy_static", - "windows-sys 0.59.0", + "windows-sys", ] [[package]] @@ -215,9 +255,9 @@ dependencies = [ [[package]] name = "crossbeam-deque" -version = "0.8.6" +version = "0.8.8" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9dd111b7b7f7d55b72c0a6ae361660ee5853c9af73f70c3c2ef6858b950e2e51" +checksum = "622f3fc73690be383c7214310406f28a90e6edeadc3cea882f9d71e495b9711a" dependencies = [ "crossbeam-epoch", "crossbeam-utils", @@ -225,18 +265,18 @@ dependencies = [ [[package]] name = "crossbeam-epoch" -version = "0.9.18" +version = "0.9.21" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5b82ac4a3c2ca9c3460964f020e1402edd5753411d7737aa39c3714ad1b5420e" +checksum = "dc74980687109a3b14c72fd458107bf0baa1da1a1a805e178d15501ba9b86d9d" dependencies = [ "crossbeam-utils", ] [[package]] name = "crossbeam-utils" -version = "0.8.21" +version = "0.8.23" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d0a5c400df2834b80a4c3327b3aad3a4c4cd4de0629063962b03235697506a28" +checksum = "a31eee39dddec8330830986fcd7625edb5a24ec90ea038215273bbc3adb08ac6" [[package]] name = "crunchy" @@ -246,9 +286,9 @@ checksum = "460fbee9c2c2f33933d720630a6a0bac33ba7053db5344fac858d4b8952d77d5" [[package]] name = "either" -version = "1.15.0" +version = "1.18.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "48c757948c5ede0e46177b7add2e67155f70e33c07fea8284df6576da70b3719" +checksum = "252afb9ae5eaa683babdc6a068b3f5726eb19e05070c731f9b2a23a7c3e8ed34" [[package]] name = "equivalent" @@ -257,10 +297,32 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "877a4ace8713b0bcf2a4e7eec82529c029f1d0619886d18145fea96c3ffe5c0f" [[package]] -name = "find-msvc-tools" -version = "0.1.4" +name = "errno" +version = "0.3.14" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "52051878f80a721bb68ebfbc930e07b65ba72f2da88968ea5c06fd6ca3d3a127" +checksum = "39cab71617ae0d63f51a36d69f866391735b51691dbda63cf6f96d042b63efeb" +dependencies = [ + "libc", + "windows-sys", +] + +[[package]] +name = "fastrand" +version = "2.5.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "da7c62ceae207dd37ea5b845da6a0696c799f85e97da1ab5b7910be3c1c80223" + +[[package]] +name = "find-msvc-tools" +version = "0.1.12" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "3e0f1c7c3a72c66fd80abe965175f7523475c0489a87d3ff9d6e8c87d87a9d2d" + +[[package]] +name = "fnv" +version = "1.0.7" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "3f9eec918d3f24069decb9af1554cad7c880e2da24a9afd88aca000531ab82c1" [[package]] name = "funty" @@ -269,16 +331,27 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "e6d5a32815ae3f33302d95fdcb2ce17862f8c65363dcfd29360480ba1001fc9c" [[package]] -name = "fuzz" -version = "0.12.0" +name = "futures-core" +version = "0.3.34" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "92d699e522242e69e3003b94ecc1f960f3a5e015aa7c5d7486e65ad01dd94f5e" + +[[package]] +name = "futures-task" +version = "0.3.34" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "cd417de3d1d015fc3bfd2b1ea46dfc7bab72ef86f1cc7cc9c78e728b34a6d1fd" + +[[package]] +name = "futures-util" +version = "0.3.34" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "0d50a92467f8ba5dd6e3ee5d4bd04d73ab2e4e1c44474a0674821dfce14b79bc" dependencies = [ - "indexmap", - "jiter", - "libfuzzer-sys", - "num-bigint", - "num-traits", - "serde", - "serde_json", + "futures-core", + "futures-task", + "pin-project-lite", + "slab", ] [[package]] @@ -289,10 +362,27 @@ checksum = "899def5c37c4fd7b2664648c28120ecec138e4d395b459e5ca34f9cce2dd77fd" dependencies = [ "cfg-if", "libc", - "r-efi", + "r-efi 5.3.0", "wasip2", ] +[[package]] +name = "getrandom" +version = "0.4.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "300e883d756b2e4ec94e02791f39b04b522276138852cfc41d9fb7e904106099" +dependencies = [ + "cfg-if", + "libc", + "r-efi 6.0.0", +] + +[[package]] +name = "glob" +version = "0.3.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "e4eba85ea1d0a966a983acd07deee566e67395d2d96b6fb39e62b5a833f1eb0b" + [[package]] name = "half" version = "2.7.1" @@ -306,9 +396,9 @@ dependencies = [ [[package]] name = "hashbrown" -version = "0.16.0" +version = "0.17.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5419bdc4f6a9207fbeba6d11b604d481addf78ecd10c11ad51e76c2f6482748d" +checksum = "ed5909b6e89a2db4456e54cd5f673791d7eca6732202bbf2a9cc504fe2f9b84a" [[package]] name = "heck" @@ -318,29 +408,20 @@ checksum = "2304e00983f87ffb38b55b444b5e3b60a884b5d30c0fca7d82fe33449bbe55ea" [[package]] name = "hermit-abi" -version = "0.5.2" +version = "0.5.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "fc0fef456e4baa96da950455cd02c081ca953b141298e41db3fc7e36b1da849c" +checksum = "e17592d60ebacc7d5e169f4663c5f84f9161cc90328abcfe8456f41e4dfcb284" [[package]] name = "indexmap" -version = "2.12.0" +version = "2.14.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6717a8d2a5a929a1a2eb43a12812498ed141a0bcfb7e8f7844fbdbe4303bba9f" +checksum = "cc4e190f5d26ca7051642629da2c52fc03bde85a03197c99408dcd291734c855" dependencies = [ "equivalent", "hashbrown", ] -[[package]] -name = "indoc" -version = "2.0.7" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "79cf5c93f93228cf8efb3ba362535fb11199ac548a09ce117c9b1adc3030d706" -dependencies = [ - "rustversion", -] - [[package]] name = "is-terminal" version = "0.4.17" @@ -349,7 +430,7 @@ checksum = "3640c1c38b8e4e43584d8df18be5fc6b0aa314ce6ebf51b53313d4306cca8e46" dependencies = [ "hermit-abi", "libc", - "windows-sys 0.61.2", + "windows-sys", ] [[package]] @@ -363,13 +444,13 @@ dependencies = [ [[package]] name = "itoa" -version = "1.0.15" +version = "1.0.18" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4a5f13b858c8d314ee3e8f639011f7ccefe71f97f96e50151fb991f267928e2c" +checksum = "8f42a60cbdf9a97f5d2305f08a87dc4e09308d1276d28c869c684d7777685682" [[package]] name = "jiter" -version = "0.12.0" +version = "0.17.0" dependencies = [ "ahash", "bitvec", @@ -378,6 +459,7 @@ dependencies = [ "num-bigint", "num-traits", "paste", + "proptest", "pyo3", "pyo3-build-config", "serde", @@ -387,38 +469,23 @@ dependencies = [ [[package]] name = "jiter-python" -version = "0.12.0" +version = "0.17.0" dependencies = [ "jiter", "pyo3", ] -[[package]] -name = "jobserver" -version = "0.1.34" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9afb3de4395d6b3e67a780b6de64b51c978ecf11cb9a462c66be7d4ca9039d33" -dependencies = [ - "getrandom", - "libc", -] - [[package]] name = "js-sys" -version = "0.3.82" +version = "0.3.105" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b011eec8cc36da2aab2d5cff675ec18454fad408585853910a202391cf9f8e65" +checksum = "ce57d20d1ea864ce2ac172ab472d409214f4fd359f0b2a2775abdf522e2af99e" dependencies = [ - "once_cell", + "cfg-if", + "futures-util", "wasm-bindgen", ] -[[package]] -name = "lazy_static" -version = "1.5.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "bbd2bcb4c963f2ddae06a2efc7e9f3591312473c50c6685e1f298068316e66fe" - [[package]] name = "lexical-parse-float" version = "1.0.6" @@ -446,40 +513,39 @@ checksum = "2604dd126bb14f13fb5d1bd6a66155079cb9fa655b37f875b3a742c705dbed17" [[package]] name = "libc" -version = "0.2.177" +version = "0.2.189" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2874a2af47a2325c2001a6e6fad9b16a53b802102b528163885171cf92b15976" +checksum = "3eaf3ede3fee6db1a4c2ee091bf8a8b4dccdc6d17f656fb07896ee72867612f2" [[package]] -name = "libfuzzer-sys" -version = "0.4.10" +name = "linux-raw-sys" +version = "0.12.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5037190e1f70cbeef565bd267599242926f724d3b8a9f510fd7e0b540cfa4404" -dependencies = [ - "arbitrary", - "cc", -] +checksum = "32a66949e030da00e8c7d4434b251670a91556f4144941d37452769c25d58a53" [[package]] name = "memchr" -version = "2.7.6" +version = "2.8.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f52b00d39961fc5b2736ea853c9cc86238e165017a493d1d5c8eac6bdc4cc273" +checksum = "cf8baf1c55e62ffcace7a9f06f4bd9cd3f0c4beb022d3b367256b91b87513d98" [[package]] -name = "memoffset" -version = "0.9.1" +name = "nix" +version = "0.31.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "488016bfae457b036d996092f6cb448677611ce4449e970ceaf42695203f218a" +checksum = "cf20d2fde8ff38632c426f1165ed7436270b44f199fc55284c38276f9db47c3d" dependencies = [ - "autocfg", + "bitflags", + "cfg-if", + "cfg_aliases", + "libc", ] [[package]] name = "num-bigint" -version = "0.4.6" +version = "0.4.8" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a5e44f723f1133c9deac646763579fdb3ac745e418f2a7af9cd0c431da1f20b9" +checksum = "c89e69e7e0f03bea5ef08013795c25018e101932225a656383bd384495ecc367" dependencies = [ "num-integer", "num-traits", @@ -487,9 +553,9 @@ dependencies = [ [[package]] name = "num-integer" -version = "0.1.46" +version = "0.1.47" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7969661fd2958a5cb096e56c8e1ad0444ac2bbcd0061bd28660485a44879858f" +checksum = "7ce2d95d4b3734dc35aa2f45e1aa22cd416814592a4f9d9205e11affd5b8e10b" dependencies = [ "num-traits", ] @@ -505,9 +571,9 @@ dependencies = [ [[package]] name = "once_cell" -version = "1.21.3" +version = "1.21.4" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "42f5e15c9953c5e4ccceeb2e7382a716482c34515315f7b03532b8b4e8393d2d" +checksum = "9f7c3e4beb33f85d45ae3e3a1792185706c8e16d043238c593331cc7cd313b50" [[package]] name = "oorandom" @@ -521,6 +587,12 @@ version = "1.0.15" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "57c0d7b74b563b49d38dae00a0c37d4d6de9b432382b2892f0574ddcae73fd0a" +[[package]] +name = "pin-project-lite" +version = "0.2.17" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "a89322df9ebe1c1578d689c92318e070967d1042b512afbe49518723f4e6d5cd" + [[package]] name = "plotters" version = "0.3.7" @@ -551,28 +623,54 @@ dependencies = [ [[package]] name = "portable-atomic" -version = "1.11.1" +version = "1.15.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f84267b20a16ea918e43c6a88433c2d54fa145c92a811b5b047ccbe153674483" +checksum = "05c8b63e8d9609db387f0324918f81d68fe27748f084ef092fb35954d0539a85" + +[[package]] +name = "ppv-lite86" +version = "0.2.21" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "85eae3c4ed2f50dcfe72643da4befc30deadb458a9b590d720cde2f2b1e97da9" +dependencies = [ + "zerocopy", +] [[package]] name = "proc-macro2" -version = "1.0.103" +version = "1.0.107" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5ee95bc4ef87b8d5ba32e8b7714ccc834865276eab0aed5c9958d00ec45f49e8" +checksum = "985e7ec9bb745e6ce6535b544d84d6cd6f7ad8bd711c398938ae983b91a766d9" dependencies = [ "unicode-ident", ] [[package]] -name = "pyo3" -version = "0.27.1" +name = "proptest" +version = "1.11.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "37a6df7eab65fc7bee654a421404947e10a0f7085b6951bf2ea395f4659fb0cf" +checksum = "4b45fcc2344c680f5025fe57779faef368840d0bd1f42f216291f0dc4ace4744" +dependencies = [ + "bit-set", + "bit-vec", + "bitflags", + "num-traits", + "rand", + "rand_chacha", + "rand_xorshift", + "regex-syntax", + "rusty-fork", + "tempfile", + "unarray", +] + +[[package]] +name = "pyo3" +version = "0.29.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "4688ddedf473e32662b9b067670129a8afb8c18e351482c70d62ba4a88171e8b" dependencies = [ - "indoc", "libc", - "memoffset", "num-bigint", "num-traits", "once_cell", @@ -580,24 +678,22 @@ dependencies = [ "pyo3-build-config", "pyo3-ffi", "pyo3-macros", - "unindent", ] [[package]] name = "pyo3-build-config" -version = "0.27.1" +version = "0.29.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f77d387774f6f6eec64a004eac0ed525aab7fa1966d94b42f743797b3e395afb" +checksum = "f41027e41b4bd03f6e60f9f417fe24a6341a6bb744edd62b6f709f2a52ea30e9" dependencies = [ - "python3-dll-a", "target-lexicon", ] [[package]] name = "pyo3-ffi" -version = "0.27.1" +version = "0.29.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2dd13844a4242793e02df3e2ec093f540d948299a6a77ea9ce7afd8623f542be" +checksum = "e591a95526fead067432c3b3a33fc74770b87b1e04e73671090d9c2055a2b327" dependencies = [ "libc", "pyo3-build-config", @@ -605,43 +701,39 @@ dependencies = [ [[package]] name = "pyo3-macros" -version = "0.27.1" +version = "0.29.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "eaf8f9f1108270b90d3676b8679586385430e5c0bb78bb5f043f95499c821a71" +checksum = "73225868fc1cd84eef2c3c230ddb91273bf1de46aeb8a4248da76d32a0924a1c" dependencies = [ "proc-macro2", "pyo3-macros-backend", "quote", - "syn", + "syn 2.0.119", ] [[package]] name = "pyo3-macros-backend" -version = "0.27.1" +version = "0.29.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "70a3b2274450ba5288bc9b8c1b69ff569d1d61189d4bff38f8d22e03d17f932b" +checksum = "571575aa3749fa6216757dd47d2a3e7ef360f329a40f0666a9fbd14889024952" dependencies = [ "heck", "proc-macro2", - "pyo3-build-config", "quote", - "syn", + "syn 2.0.119", ] [[package]] -name = "python3-dll-a" -version = "0.2.14" +name = "quick-error" +version = "1.2.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d381ef313ae70b4da5f95f8a4de773c6aa5cd28f73adec4b4a31df70b66780d8" -dependencies = [ - "cc", -] +checksum = "a1d01941d82fa2ab50be1e79e6714289dd7cde78eba4c074bc5a4374f650dfe0" [[package]] name = "quote" -version = "1.0.42" +version = "1.0.47" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a338cc41d27e6cc6dce6cefc13a0729dfbb81c262b1f519331575dd80ef3067f" +checksum = "1fbf4db142a473a8d80c26bbf18454ed458bf8d26c8219c331daecfdbd079001" dependencies = [ "proc-macro2", ] @@ -652,6 +744,12 @@ version = "5.3.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "69cdb34c158ceb288df11e18b4bd39de994f6657d83847bdffdbd7f346754b0f" +[[package]] +name = "r-efi" +version = "6.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f8dcc9c7d52a811697d2151c701e0d08956f92b0e24136cf4cf27b57a6a0d9bf" + [[package]] name = "radium" version = "0.7.0" @@ -659,10 +757,48 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "dc33ff2d4973d518d823d61aa239014831e521c75da58e3df4840d3f47749d09" [[package]] -name = "rayon" -version = "1.11.0" +name = "rand" +version = "0.9.5" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "368f01d005bf8fd9b1206fb6fa653e6c4a81ceb1466406b81792d87c5677a58f" +checksum = "b9ef1d0d795eb7d84685bca4f72f3649f064e6641543d3a8c415898726a57b41" +dependencies = [ + "rand_chacha", + "rand_core", +] + +[[package]] +name = "rand_chacha" +version = "0.9.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d3022b5f1df60f26e1ffddd6c66e8aa15de382ae63b3a0c1bfc0e4d3e3f325cb" +dependencies = [ + "ppv-lite86", + "rand_core", +] + +[[package]] +name = "rand_core" +version = "0.9.5" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "76afc826de14238e6e8c374ddcc1fa19e374fd8dd986b0d2af0d02377261d83c" +dependencies = [ + "getrandom 0.3.4", +] + +[[package]] +name = "rand_xorshift" +version = "0.4.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "513962919efc330f829edb2535844d1b912b0fbe2ca165d613e4e8788bb05a5a" +dependencies = [ + "rand_core", +] + +[[package]] +name = "rayon" +version = "1.12.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "fb39b166781f92d482534ef4b4b1b2568f42613b53e5b6c160e24cfbfa30926d" dependencies = [ "either", "rayon-core", @@ -680,9 +816,9 @@ dependencies = [ [[package]] name = "regex" -version = "1.12.2" +version = "1.13.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "843bc0191f75f3e22651ae5f1e72939ab2f72a4bc30fa80a066bd66edefc24d4" +checksum = "f020237b6c8eed93db2e2cb53c00c60a8e1bc73da7d073199a1180401450218d" dependencies = [ "aho-corasick", "memchr", @@ -692,9 +828,9 @@ dependencies = [ [[package]] name = "regex-automata" -version = "0.4.13" +version = "0.4.18" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5276caf25ac86c8d810222b3dbb938e512c55c6831a10f3e6ed1c93b84041f1c" +checksum = "ad8553b9b26413251cbf30e620595c7a41b3887f03da04579c0e6b0d6a06b4b2" dependencies = [ "aho-corasick", "memchr", @@ -703,21 +839,40 @@ dependencies = [ [[package]] name = "regex-syntax" -version = "0.8.8" +version = "0.8.11" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7a2d987857b319362043e95f5353c0535c1f58eec5336fdfcf626430af7def58" +checksum = "d6f6ff9a378485b298a5286656da665ba74413d36db0979633275d2e708145d4" + +[[package]] +name = "rustix" +version = "1.1.5" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "891efababe418670775f199f0d233d84843c227a0949a883ce15b37c78d6629d" +dependencies = [ + "bitflags", + "errno", + "libc", + "linux-raw-sys", + "windows-sys", +] [[package]] name = "rustversion" -version = "1.0.22" +version = "1.0.23" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b39cdef0fa800fc44525c84ccb54a029961a8215f9619753635a9c0d2538d46d" +checksum = "cf54715a573b99ac80df0bc206da022bcd442c974952c7b9720069370852e21f" [[package]] -name = "ryu" -version = "1.0.20" +name = "rusty-fork" +version = "0.3.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "28d3b2b1366ec20994f1fd18c3c594f05c5dd4bc44d8bb0c1c632c8d6829481f" +checksum = "cc6bf79ff24e648f6da1f8d1f011e9cac26491b619e6b9280f2b47f1774e6ee2" +dependencies = [ + "fnv", + "quick-error", + "tempfile", + "wait-timeout", +] [[package]] name = "same-file" @@ -730,9 +885,9 @@ dependencies = [ [[package]] name = "serde" -version = "1.0.228" +version = "1.0.229" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9a8e94ea7f378bd32cbbd37198a4a91436180c5bb472411e48b5ec2e2124ae9e" +checksum = "4148590afebada386688f18773da617792bf2ef03ffc1e4cbd2b1d45b023e0ba" dependencies = [ "serde_core", "serde_derive", @@ -740,55 +895,82 @@ dependencies = [ [[package]] name = "serde_core" -version = "1.0.228" +version = "1.0.229" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "41d385c7d4ca58e59fc732af25c3983b67ac852c1a25000afe1175de458b67ad" +checksum = "67dca2c9c51e58a4791a4b1ed58308b39c64224d349a935ab5039aa360942a48" dependencies = [ "serde_derive", ] [[package]] name = "serde_derive" -version = "1.0.228" +version = "1.0.229" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d540f220d3187173da220f885ab66608367b6574e925011a9353e4badda91d79" +checksum = "e7a5d71263a5a7d47b41f6b3f06ba276f10cc18b0931f1799f710578e2309348" dependencies = [ "proc-macro2", "quote", - "syn", + "syn 3.0.6", ] [[package]] name = "serde_json" -version = "1.0.145" +version = "1.0.151" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "402a6f66d8c709116cf22f558eab210f5a50187f702eb4d7e5ef38d9a7f1c79c" +checksum = "c841b55ecdae098c80dcae9cf767f6f8a0c2cdb3416bbef72181df4d0fe73f14" dependencies = [ "indexmap", "itoa", "memchr", - "ryu", "serde", "serde_core", + "zmij", ] [[package]] name = "shlex" -version = "1.3.0" +version = "2.0.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0fda2ff0d084019ba4d7c6f371c95d8fd75ce3524c3cb8fb653a3023f6323e64" +checksum = "f8fadd59c855ef2080decdef8ff161eb6661b86933c9d82e5ba29dc602a55aba" + +[[package]] +name = "slab" +version = "0.4.12" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "0c790de23124f9ab44544d7ac05d60440adc586479ce501c1d6d7da3cd8c9cf5" [[package]] name = "smallvec" -version = "1.15.1" +version = "1.16.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "67b1b7a3b5fe4f1376887184045fcf45c69e92af734b7aaddc05fb777b6fbd03" +checksum = "ba467056f1b547ed52077911161fc86985becbc60e8e1857c8a144dab0def891" + +[[package]] +name = "statrs" +version = "0.18.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "2a3fe7c28c6512e766b0874335db33c94ad7b8f9054228ae1c2abd47ce7d335e" +dependencies = [ + "approx", + "num-traits", +] [[package]] name = "syn" -version = "2.0.110" +version = "2.0.119" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a99801b5bd34ede4cf3fc688c5919368fea4e4814a4664359503e6015b280aea" +checksum = "872831b642d1a07999a962a351ed35b955ea2cfc8f3862091e2a240a84f17297" +dependencies = [ + "proc-macro2", + "quote", + "unicode-ident", +] + +[[package]] +name = "syn" +version = "3.0.6" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "8593e8e72159ed2257d083c7a454a85cbf854f37a0966d8d483aff8c8a3ebcee" dependencies = [ "proc-macro2", "quote", @@ -803,9 +985,22 @@ checksum = "55937e1799185b12863d447f42597ed69d9928686b8d88a1df17376a097d8369" [[package]] name = "target-lexicon" -version = "0.13.3" +version = "0.13.5" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "df7f62577c25e07834649fc3b39fafdc597c0a3527dc1c60129201ccfcbaa50c" +checksum = "adb6935a6f5c20170eeceb1a3835a49e12e19d792f6dd344ccc76a985ca5a6ca" + +[[package]] +name = "tempfile" +version = "3.27.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "32497e9a4c7b38532efcdebeef879707aa9f794296a4f0244f6f69e9bc8574bd" +dependencies = [ + "fastrand", + "getrandom 0.4.3", + "once_cell", + "rustix", + "windows-sys", +] [[package]] name = "tinytemplate" @@ -817,28 +1012,17 @@ dependencies = [ "serde_json", ] +[[package]] +name = "unarray" +version = "0.1.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "eaea85b334db583fe3274d12b4cd1880032beab409c0d774be044d4480ab9a94" + [[package]] name = "unicode-ident" -version = "1.0.22" +version = "1.0.26" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9312f7c4f6ff9069b165498234ce8be658059c6728633667c526e27dc2cf1df5" - -[[package]] -name = "unindent" -version = "0.2.4" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7264e107f553ccae879d21fbea1d6724ac785e8c3bfc762137959b5802826ef3" - -[[package]] -name = "uuid" -version = "1.18.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2f87b8aa10b915a06587d0dec516c282ff295b475d94abf425d62b57710070a2" -dependencies = [ - "getrandom", - "js-sys", - "wasm-bindgen", -] +checksum = "d245f478577f809a851594d02313b640fb437e0bb33866753cff937863096954" [[package]] name = "version_check" @@ -846,6 +1030,15 @@ version = "0.9.5" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "0b928f33d975fc6ad9f86c8f283853ad26bdd5b10b7f1542aa2fa15e2289105a" +[[package]] +name = "wait-timeout" +version = "0.2.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "09ac3b126d3914f9849036f826e054cbabdc8519970b8998ddaf3b5bd3c65f11" +dependencies = [ + "libc", +] + [[package]] name = "walkdir" version = "2.5.0" @@ -858,18 +1051,18 @@ dependencies = [ [[package]] name = "wasip2" -version = "1.0.1+wasi-0.2.4" +version = "1.0.4+wasi-0.2.12" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0562428422c63773dad2c345a1882263bbf4d65cf3f42e90921f787ef5ad58e7" +checksum = "b67efb37e106e55ce722a510d6b5f9c17f083e5fc79afc2badeb12cc313d9487" dependencies = [ "wit-bindgen", ] [[package]] name = "wasm-bindgen" -version = "0.2.105" +version = "0.2.128" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "da95793dfc411fbbd93f5be7715b0578ec61fe87cb1a42b12eb625caa5c5ea60" +checksum = "aecb87a33d3b0c5e3b7aa46336eaf486cffafbd281b195e4c8b80d50df2351bf" dependencies = [ "cfg-if", "once_cell", @@ -880,9 +1073,9 @@ dependencies = [ [[package]] name = "wasm-bindgen-macro" -version = "0.2.105" +version = "0.2.128" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "04264334509e04a7bf8690f2384ef5265f05143a4bff3889ab7a3269adab59c2" +checksum = "a690d511e3c1a8b3a55e33511e3c2c00c78415cd23650f32b808627f5696b9ed" dependencies = [ "quote", "wasm-bindgen-macro-support", @@ -890,31 +1083,31 @@ dependencies = [ [[package]] name = "wasm-bindgen-macro-support" -version = "0.2.105" +version = "0.2.128" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "420bc339d9f322e562942d52e115d57e950d12d88983a14c79b86859ee6c7ebc" +checksum = "411e4887f0071ef2d2164a9d5fdf2d20efbef78fccd3a78b0c10a1dc5295e48a" dependencies = [ "bumpalo", "proc-macro2", "quote", - "syn", + "syn 3.0.6", "wasm-bindgen-shared", ] [[package]] name = "wasm-bindgen-shared" -version = "0.2.105" +version = "0.2.128" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "76f218a38c84bcb33c25ec7059b07847d465ce0e0a76b995e134a45adcb6af76" +checksum = "81941cd78d0c92026c33e5e01312845a4cb1e9af3407f9134b100dd03144103e" dependencies = [ "unicode-ident", ] [[package]] name = "web-sys" -version = "0.3.82" +version = "0.3.105" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3a1f95c0d03a47f4ae1f7a64643a6bb97465d9b740f0fa8f90ea33915c99a9a1" +checksum = "9fbddc4a036f00ec4f18c83445bd3115cb306a91da554919a099d9222fe4a7f8" dependencies = [ "js-sys", "wasm-bindgen", @@ -926,7 +1119,7 @@ version = "0.1.11" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "c2a7b1c03c876122aa43f3020e6c3c3ee5c05081c9a00739faf7503aeba10d22" dependencies = [ - "windows-sys 0.61.2", + "windows-sys", ] [[package]] @@ -935,15 +1128,6 @@ version = "0.2.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "f0805222e57f7521d6a62e36fa9163bc891acd422f971defe97d64e70d0a4fe5" -[[package]] -name = "windows-sys" -version = "0.59.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1e38bc4d79ed67fd075bcc251a1c39b32a1776bbe92e5bef1f0bf1f8c531853b" -dependencies = [ - "windows-targets", -] - [[package]] name = "windows-sys" version = "0.61.2" @@ -953,75 +1137,11 @@ dependencies = [ "windows-link", ] -[[package]] -name = "windows-targets" -version = "0.52.6" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9b724f72796e036ab90c1021d4780d4d3d648aca59e491e6b98e725b84e99973" -dependencies = [ - "windows_aarch64_gnullvm", - "windows_aarch64_msvc", - "windows_i686_gnu", - "windows_i686_gnullvm", - "windows_i686_msvc", - "windows_x86_64_gnu", - "windows_x86_64_gnullvm", - "windows_x86_64_msvc", -] - -[[package]] -name = "windows_aarch64_gnullvm" -version = "0.52.6" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "32a4622180e7a0ec044bb555404c800bc9fd9ec262ec147edd5989ccd0c02cd3" - -[[package]] -name = "windows_aarch64_msvc" -version = "0.52.6" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "09ec2a7bb152e2252b53fa7803150007879548bc709c039df7627cabbd05d469" - -[[package]] -name = "windows_i686_gnu" -version = "0.52.6" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8e9b5ad5ab802e97eb8e295ac6720e509ee4c243f69d781394014ebfe8bbfa0b" - -[[package]] -name = "windows_i686_gnullvm" -version = "0.52.6" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0eee52d38c090b3caa76c563b86c3a4bd71ef1a819287c19d586d7334ae8ed66" - -[[package]] -name = "windows_i686_msvc" -version = "0.52.6" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "240948bc05c5e7c6dabba28bf89d89ffce3e303022809e73deaefe4f6ec56c66" - -[[package]] -name = "windows_x86_64_gnu" -version = "0.52.6" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "147a5c80aabfbf0c7d901cb5895d1de30ef2907eb21fbbab29ca94c5b08b1a78" - -[[package]] -name = "windows_x86_64_gnullvm" -version = "0.52.6" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "24d5b23dc417412679681396f2b49f3de8c1473deb516bd34410872eff51ed0d" - -[[package]] -name = "windows_x86_64_msvc" -version = "0.52.6" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "589f6da84c646204747d1270a2a5661ea66ed1cced2631d546fdfb155959f9ec" - [[package]] name = "wit-bindgen" -version = "0.46.0" +version = "0.57.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f17a85883d4e6d00e8a97c586de764dabcc06133f7f1d55dce5cdc070ad7fe59" +checksum = "1ebf944e87a7c253233ad6766e082e3cd714b5d03812acc24c318f549614536e" [[package]] name = "wyz" @@ -1034,20 +1154,26 @@ dependencies = [ [[package]] name = "zerocopy" -version = "0.8.27" +version = "0.8.57" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0894878a5fa3edfd6da3f88c4805f4c8558e2b996227a3d864f47fe11e38282c" +checksum = "d35102a9f36d089ccae9e4c6802bc118be4487b80aaffc0ab4e0cf5ce92d2873" dependencies = [ "zerocopy-derive", ] [[package]] name = "zerocopy-derive" -version = "0.8.27" +version = "0.8.57" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "88d2b8d9c68ad2b9e4340d7832716a4d21a22a1154777ad56ea55c51a9cf3831" +checksum = "146c01f5ab44258da43cf276c74a2763db2ff3969c9c652c3f2de07041d0b2bc" dependencies = [ "proc-macro2", "quote", - "syn", + "syn 2.0.119", ] + +[[package]] +name = "zmij" +version = "1.0.23" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "29666d0abbfad1e3dc4dcf6144730dd3a3ab225bbbdac83319345b1b44ccfc1b" diff --git a/pkgs/development/python-modules/jiter/default.nix b/pkgs/development/python-modules/jiter/default.nix index 5ee0d5846d89..77ec4c80dc14 100644 --- a/pkgs/development/python-modules/jiter/default.nix +++ b/pkgs/development/python-modules/jiter/default.nix @@ -11,14 +11,15 @@ buildPythonPackage rec { pname = "jiter"; - version = "0.12.0"; + version = "0.17.0"; pyproject = true; + __structuredAttrs = true; src = fetchFromGitHub { owner = "pydantic"; repo = "jiter"; tag = "v${version}"; - hash = "sha256-d87RUXKEmZXxVQZnAvjwRKSP6F3Z+kXxg/LdY2l9B+k="; + hash = "sha256-ZYLxywATUWU/KmzVyBBsGIqGuWWyQoQHIOXPxHGkk9E="; }; postPatch = '' @@ -49,6 +50,9 @@ buildPythonPackage rec { homepage = "https://github.com/pydantic/jiter/"; changelog = "https://github.com/pydantic/jiter/releases/tag/v${version}"; license = lib.licenses.mit; - maintainers = with lib.maintainers; [ natsukium ]; + maintainers = with lib.maintainers; [ + natsukium + sarahec + ]; }; } From 66cfabc46d2349292ff88a0fc05f663a5e874e21 Mon Sep 17 00:00:00 2001 From: Sarah Clark Date: Sat, 19 Sep 2026 12:47:17 -0700 Subject: [PATCH 0034/2378] python3Packages.httpx2-pytest: init at 2.0.0 --- .../python-modules/httpx2-pytest/default.nix | 59 +++++++++++++++++++ pkgs/top-level/python-packages.nix | 2 + 2 files changed, 61 insertions(+) create mode 100644 pkgs/development/python-modules/httpx2-pytest/default.nix diff --git a/pkgs/development/python-modules/httpx2-pytest/default.nix b/pkgs/development/python-modules/httpx2-pytest/default.nix new file mode 100644 index 000000000000..111f093e6be8 --- /dev/null +++ b/pkgs/development/python-modules/httpx2-pytest/default.nix @@ -0,0 +1,59 @@ +{ + lib, + buildPythonPackage, + fetchFromGitHub, + + # build-system + setuptools, + + # dependencies + httpx2, + pytest, + + # check inputs + pytestCheckHook, + pytest-asyncio, + pytest-cov-stub, +}: + +# CAUTION: There is also a `pytest-httpx2` repo that exposes a different API. +buildPythonPackage (finalAttrs: { + pname = "httpx2-pytest"; + version = "2.0.0"; + pyproject = true; + __structuredAttrs = true; + + src = fetchFromGitHub { + owner = "angryfoxx"; + repo = "httpx2-pytest"; + tag = "v${finalAttrs.version}"; + hash = "sha256-EWoigrWtUVTBePEDAeJjeWnD+afEGs0wdSSY1RW5Q1w="; + }; + + build-system = [ + setuptools + ]; + + dependencies = [ + httpx2 + pytest + ]; + + nativeCheckInputs = [ + pytestCheckHook + pytest-asyncio + pytest-cov-stub + ]; + + pythonImportsCheck = [ + "pytest_httpx2" + ]; + + meta = { + description = "Pytest-httpx fork for httpx2"; + homepage = "https://github.com/angryfoxx/httpx2-pytest"; + changelog = "https://github.com/angryfoxx/httpx2-pytest/blob/${finalAttrs.src.tag}/CHANGELOG.md"; + license = lib.licenses.mit; + maintainers = with lib.maintainers; [ sarahec ]; + }; +}) diff --git a/pkgs/top-level/python-packages.nix b/pkgs/top-level/python-packages.nix index 2b52530cc7c1..f2ed8baee6e8 100644 --- a/pkgs/top-level/python-packages.nix +++ b/pkgs/top-level/python-packages.nix @@ -7897,6 +7897,8 @@ self: super: with self; { httpx2 = callPackage ../development/python-modules/httpx2 { }; + httpx2-pytest = callPackage ../development/python-modules/httpx2-pytest { }; + huawei-lte-api = callPackage ../development/python-modules/huawei-lte-api { }; inherit (callPackage ../development/python-modules/huaweicloudsdk { }) From 8b1148c76c81081a4380927272475cbe1709ee35 Mon Sep 17 00:00:00 2001 From: Sarah Clark Date: Fri, 18 Sep 2026 10:35:54 -0700 Subject: [PATCH 0035/2378] python3Packages.llmx: fix dependencies, switch to finalAttrs --- .../python-modules/llmx/default.nix | 45 +++++++++++-------- 1 file changed, 26 insertions(+), 19 deletions(-) diff --git a/pkgs/development/python-modules/llmx/default.nix b/pkgs/development/python-modules/llmx/default.nix index 3a918568c958..fb3a93ca1674 100644 --- a/pkgs/development/python-modules/llmx/default.nix +++ b/pkgs/development/python-modules/llmx/default.nix @@ -2,29 +2,34 @@ lib, buildPythonPackage, fetchPypi, + setuptools-scm, setuptools, - pydantic, - openai, - tiktoken, - diskcache, - cohere, - google-auth, - typer, - pyyaml, - transformers, - fastapi, - uvicorn, + accelerate, + anthropic, + bitsandbytes, + cohere, + diskcache, + fastapi, + google-auth, + openai, + pydantic, + pyyaml, + tiktoken, + transformers, + typer, + uvicorn, }: -buildPythonPackage rec { +buildPythonPackage (finalAttrs: { pname = "llmx"; version = "0.0.21a0"; pyproject = true; + __structuredAttrs = true; src = fetchPypi { - inherit pname version; + inherit (finalAttrs) pname version; hash = "sha256-OEo6wIaDTktzAsP0rOmhxjFSHygTR/EpcRI6AXsu+6M="; }; @@ -34,14 +39,15 @@ buildPythonPackage rec { ]; dependencies = [ - pydantic - openai - tiktoken - diskcache + anthropic cohere + diskcache google-auth - typer + openai + pydantic pyyaml + tiktoken + typer ]; optional-dependencies = { @@ -51,6 +57,7 @@ buildPythonPackage rec { ]; transformers = [ accelerate + bitsandbytes transformers ] ++ transformers.optional-dependencies.torch; @@ -68,4 +75,4 @@ buildPythonPackage rec { license = lib.licenses.mit; maintainers = with lib.maintainers; [ moraxyc ]; }; -} +}) From ea469a4a56be6f97671e490d26519d58abc930c7 Mon Sep 17 00:00:00 2001 From: Sarah Clark Date: Thu, 17 Sep 2026 14:19:24 -0700 Subject: [PATCH 0036/2378] python3Packages.openai: 2.53.0 -> 3.14.1 --- .../python-modules/openai/default.nix | 79 ++++++++----------- 1 file changed, 33 insertions(+), 46 deletions(-) diff --git a/pkgs/development/python-modules/openai/default.nix b/pkgs/development/python-modules/openai/default.nix index 60af6eade212..9c17cc39c7ac 100644 --- a/pkgs/development/python-modules/openai/default.nix +++ b/pkgs/development/python-modules/openai/default.nix @@ -5,48 +5,32 @@ # build-system hatchling, - hatch-fancy-pypi-readme, + + # native build inputs + bash, # dependencies anyio, - distro, - httpx, + httpx2, jiter, pydantic, sniffio, - tqdm, typing-extensions, - # optional-dependencies (aiohttp) + # optional-dependencies aiohttp, - httpx-aiohttp, - - # optional-dependencies (bedock) botocore, - - # optional-dependencies (datalib) numpy, pandas, - pandas-stubs, - - # optional-dependencies (httpx2) - httpx2, - - # optional-dependencies (realtime) - websockets, - - # optional-dependencies (voice-helpers) sounddevice, + urllib3, + websockets, # check deps pytestCheckHook, - dirty-equals, inline-snapshot, - jsonschema, pytest-asyncio, - pytest-mock, pytest-xdist, - respx, # optional-dependencies toggle withAiohttp ? false, @@ -57,31 +41,36 @@ buildPythonPackage (finalAttrs: { pname = "openai"; - version = "2.53.0"; + version = "3.14.1"; pyproject = true; + __structuredAttrs = true; src = fetchFromGitHub { owner = "openai"; repo = "openai-python"; tag = "v${finalAttrs.version}"; - hash = "sha256-XwiSIKjYD07zhx8uIO8wsPWdAASBCJ5KqFUgdk+uaUU="; + hash = "sha256-7oFIiENP5d/TAVbkjtsjcsuin+qJ/tmjSdzXgu/qsCE="; }; - postPatch = ''substituteInPlace pyproject.toml --replace-fail "hatchling==1.26.3" "hatchling"''; + postPatch = '' + substituteInPlace pyproject.toml --replace-fail "hatchling==1.27.0" "hatchling" + substituteInPlace tests/test_uv_workflows.py --replace-fail "/bin/bash" "${lib.getExe bash}" + ''; build-system = [ hatchling - hatch-fancy-pypi-readme + ]; + + nativeBuildInputs = [ + bash ]; dependencies = [ anyio - distro - httpx + httpx2 jiter pydantic sniffio - tqdm typing-extensions ] ++ lib.optionals withAiohttp finalAttrs.passthru.optional-dependencies.aiohttp @@ -92,20 +81,14 @@ buildPythonPackage (finalAttrs: { optional-dependencies = { aiohttp = [ aiohttp - httpx-aiohttp ]; bedrock = [ botocore + urllib3 ]; datalib = [ numpy pandas - pandas-stubs - ]; - httpx2 = [ - anyio - httpx - httpx2 ]; realtime = [ websockets @@ -120,23 +103,24 @@ buildPythonPackage (finalAttrs: { nativeCheckInputs = [ pytestCheckHook - dirty-equals inline-snapshot - jsonschema pytest-asyncio - pytest-mock pytest-xdist - respx ] # including pandas-stubs would cause infinite recursion ++ lib.concatAttrValues (lib.removeAttrs finalAttrs.passthru.optional-dependencies [ "datalib" ]); disabledTestPaths = [ - # Test makes network requests + # tests makes network requests "tests/api_resources" - # E TypeError: Unexpected type for 'content', - # This seems to be due to `inline-snapshot` being disabled when `pytest-xdist` is used. - "tests/lib/chat/test_completions_streaming.py" + "tests/lib/test_fine_tuning_positional_arguments.py" + "tests/test_tls_hostname.py" + + # Tests the pypi build system (not relevant in Nix build environment) + "tests/test_uv_workflows.py" + + # flaky + "tests/lib/test_azure_redirects.py::test_sync_redirect_origin" ]; meta = { @@ -144,6 +128,9 @@ buildPythonPackage (finalAttrs: { homepage = "https://github.com/openai/openai-python"; changelog = "https://github.com/openai/openai-python/blob/${finalAttrs.src.tag}/CHANGELOG.md"; license = lib.licenses.asl20; - maintainers = [ lib.maintainers.malo ]; + maintainers = with lib.maintainers; [ + malo + sarahec + ]; }; }) From 97fbbb128d6e4633878eb1c01741a206e9ce48f2 Mon Sep 17 00:00:00 2001 From: Sarah Clark Date: Thu, 17 Sep 2026 14:09:07 -0700 Subject: [PATCH 0037/2378] python3Packages.llm: 0.31.1 -> 0.35 --- .../python-modules/llm/default.nix | 21 ++---- ...ommit-inside-content_hash-embeddings.patch | 66 ------------------- 2 files changed, 6 insertions(+), 81 deletions(-) delete mode 100644 pkgs/development/python-modules/llm/do-not-commit-inside-content_hash-embeddings.patch diff --git a/pkgs/development/python-modules/llm/default.nix b/pkgs/development/python-modules/llm/default.nix index eeb9194dbafb..b42444064c50 100644 --- a/pkgs/development/python-modules/llm/default.nix +++ b/pkgs/development/python-modules/llm/default.nix @@ -4,13 +4,13 @@ callPackage, buildPythonPackage, fetchFromGitHub, - fetchpatch2, pytestCheckHook, - replaceVars, setuptools, click-default-group, condense-json, + httpx2, numpy, + httpx2-pytest, openai, pip, pluggy, @@ -22,9 +22,7 @@ sqlite-migrate, cogapp, pytest-asyncio, - pytest-httpx, pytest-recording, - sqlite, sqlite-utils, syrupy, llm-echo, @@ -166,7 +164,7 @@ let ); llm = buildPythonPackage (finalAttrs: { pname = "llm"; - version = "0.31.1"; + version = "0.35"; pyproject = true; __structuredAttrs = true; @@ -176,17 +174,11 @@ let owner = "simonw"; repo = "llm"; tag = finalAttrs.version; - hash = "sha256-XxQ6IQyuO1rxQtiyb4VGrM7uGoffuNN5BhyI4YDxnZg="; + hash = "sha256-vaoNxU1KIuT7EV9uiCAA7JamtwExONPlnmjioDE3wH8="; }; patches = [ ./001-disable-install-uninstall-commands.patch - # Remove when https://github.com/simonw/llm/pull/1525 gets merged. - ./do-not-commit-inside-content_hash-embeddings.patch - (fetchpatch2 { - url = "https://github.com/simonw/llm/commit/67adad2c10be5c1898e3e1a664adb573f5d032cf.patch"; - hash = "sha256-7+sBQvef94ZTUrqNKVzHzjFADNj1KNzA2tbGs5btwNA="; - }) ]; postPatch = '' @@ -197,7 +189,7 @@ let dependencies = [ click-default-group condense-json - numpy + httpx2 openai pip pluggy @@ -206,7 +198,6 @@ let python-ulid pyyaml setuptools # for pkg_resources - sqlite-migrate sqlite-utils ]; @@ -214,7 +205,7 @@ let cogapp numpy pytest-asyncio - pytest-httpx + httpx2-pytest pytest-recording syrupy pytestCheckHook diff --git a/pkgs/development/python-modules/llm/do-not-commit-inside-content_hash-embeddings.patch b/pkgs/development/python-modules/llm/do-not-commit-inside-content_hash-embeddings.patch deleted file mode 100644 index 003786de207a..000000000000 --- a/pkgs/development/python-modules/llm/do-not-commit-inside-content_hash-embeddings.patch +++ /dev/null @@ -1,66 +0,0 @@ -From db03b44068e71f5266b720eb68ecae50e3e14303 Mon Sep 17 00:00:00 2001 -From: Ewerton Silva -Date: Sat, 11 Jul 2026 23:50:58 -0300 -Subject: [PATCH] fix: do not commit inside the content_hash embeddings - migration - ---- - llm/embeddings_migrations.py | 21 ++++++++++----------- - tests/test_migrate.py | 12 ++++++++++++ - 2 files changed, 22 insertions(+), 11 deletions(-) - -diff --git a/llm/embeddings_migrations.py b/llm/embeddings_migrations.py -index 96444bd65..595a692d9 100644 ---- a/llm/embeddings_migrations.py -+++ b/llm/embeddings_migrations.py -@@ -62,17 +62,16 @@ def random_md5(): - db.conn.create_function("temp_md5", 1, md5) - db.conn.create_function("temp_random_md5", 0, random_md5) - -- with db.conn: -- db.execute(""" -- update embeddings -- set content_hash = temp_md5(content) -- where content is not null -- """) -- db.execute(""" -- update embeddings -- set content_hash = temp_random_md5() -- where content is null -- """) -+ db.execute(""" -+ update embeddings -+ set content_hash = temp_md5(content) -+ where content is not null -+ """) -+ db.execute(""" -+ update embeddings -+ set content_hash = temp_random_md5() -+ where content is null -+ """) - - db["embeddings"].create_index(["content_hash"]) - -diff --git a/tests/test_migrate.py b/tests/test_migrate.py -index 705021100..e74b1554b 100644 ---- a/tests/test_migrate.py -+++ b/tests/test_migrate.py -@@ -117,6 +117,18 @@ def test_migrations_for_embeddings(): - assert db["embeddings"].foreign_keys[0].other_table == "collections" - - -+@pytest.mark.skipif( -+ not hasattr(sqlite_utils.Database, "atomic"), -+ reason="sqlite-utils 4 and higher run each migration inside a transaction", -+) -+def test_embeddings_migrations_do_not_commit(): -+ # https://github.com/simonw/llm/issues/1523 -+ db = sqlite_utils.Database(memory=True) -+ for migration in embeddings_migrations.pending(db): -+ with db.atomic(): -+ migration.fn(db) -+ -+ - def test_backfill_content_hash(): - db = sqlite_utils.Database(memory=True) - # Run migrations up to but not including m004_store_content_hash From fd7250584377f8a8278f22661a52c6808a39204f Mon Sep 17 00:00:00 2001 From: Sarah Clark Date: Wed, 16 Sep 2026 21:05:04 +0000 Subject: [PATCH 0038/2378] python3Packages.llm-anthropic: 0.25.1 -> 0.28 --- .../development/python-modules/llm-anthropic/default.nix | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/pkgs/development/python-modules/llm-anthropic/default.nix b/pkgs/development/python-modules/llm-anthropic/default.nix index 16bac373b596..06484e65aec6 100644 --- a/pkgs/development/python-modules/llm-anthropic/default.nix +++ b/pkgs/development/python-modules/llm-anthropic/default.nix @@ -3,10 +3,10 @@ buildPythonPackage, fetchFromGitHub, setuptools, - json-schema-to-pydantic, llm, llm-anthropic, anthropic, + inline-snapshot, pytestCheckHook, pytest-asyncio, pytest-recording, @@ -15,14 +15,15 @@ buildPythonPackage (finalAttrs: { pname = "llm-anthropic"; - version = "0.25.1"; + version = "0.28"; pyproject = true; + __structuredAttrs = true; src = fetchFromGitHub { owner = "simonw"; repo = "llm-anthropic"; tag = finalAttrs.version; - hash = "sha256-b9XnPxKDGsiy20Me70sYrkMVO36OF3EwWOHLyEd5z4E="; + hash = "sha256-VfolA3CLil50Cad7DzLlr2LbpI8W4YJ502YoWeqbsW4="; }; build-system = [ @@ -31,11 +32,11 @@ buildPythonPackage (finalAttrs: { dependencies = [ anthropic - json-schema-to-pydantic llm ]; nativeCheckInputs = [ + inline-snapshot pytestCheckHook pytest-asyncio pytest-recording From fd9ee1b17b4fcd1e002addb76c3132f3cd0dd233 Mon Sep 17 00:00:00 2001 From: Sarah Clark Date: Sun, 20 Sep 2026 09:21:54 -0700 Subject: [PATCH 0039/2378] python3Packages.type-infer: relax pandas dependency --- pkgs/development/python-modules/type-infer/default.nix | 3 +++ 1 file changed, 3 insertions(+) diff --git a/pkgs/development/python-modules/type-infer/default.nix b/pkgs/development/python-modules/type-infer/default.nix index 51b629f98c70..d580a7d7e320 100644 --- a/pkgs/development/python-modules/type-infer/default.nix +++ b/pkgs/development/python-modules/type-infer/default.nix @@ -49,6 +49,7 @@ buildPythonPackage { ]; pythonRelaxDeps = [ + "pandas" "psutil" "py3langid" "numpy" @@ -78,6 +79,8 @@ buildPythonPackage { disabledTests = [ # test hangs "test_1_stack_overflow_survey" + # TypeError: Invalid value 'random string' for dtype 'float64' + "test_2_simple" ]; # Package import requires NLTK data to be downloaded From 0b862efe118fd674515aee34cf3442d595055d9e Mon Sep 17 00:00:00 2001 From: Sarah Clark Date: Sun, 20 Sep 2026 10:28:53 -0700 Subject: [PATCH 0040/2378] python3Packages.mlxtend: disable tests that fail due to a rounding difference --- pkgs/development/python-modules/mlxtend/default.nix | 3 +++ 1 file changed, 3 insertions(+) diff --git a/pkgs/development/python-modules/mlxtend/default.nix b/pkgs/development/python-modules/mlxtend/default.nix index 5c07d3d086bd..3158bb91ff36 100644 --- a/pkgs/development/python-modules/mlxtend/default.nix +++ b/pkgs/development/python-modules/mlxtend/default.nix @@ -52,6 +52,9 @@ buildPythonPackage rec { "test_progress_3" "test_score_function" "test_nonstandardized_iris_data" + # test_sample_weight fails due to numeric precision differences + "test_sample_weight" + "test_fit_params" ]; disabledTestPaths = [ From 90a00913eadc338ff0a2eb180674b8b033593731 Mon Sep 17 00:00:00 2001 From: Sarah Clark Date: Sun, 20 Sep 2026 10:34:56 -0700 Subject: [PATCH 0041/2378] python3Packages.llm-echo: disable broken test --- pkgs/development/python-modules/llm-echo/default.nix | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/pkgs/development/python-modules/llm-echo/default.nix b/pkgs/development/python-modules/llm-echo/default.nix index 3205ca8bb8a3..04441294e9a0 100644 --- a/pkgs/development/python-modules/llm-echo/default.nix +++ b/pkgs/development/python-modules/llm-echo/default.nix @@ -32,6 +32,12 @@ buildPythonPackage rec { writableTmpDirAsHomeHook ]; + disabledTests = [ + # AssertionError: assert [ToolCall(nam...406gay3qev4')] == [ToolCall(nam...ca... + # (output differs due to version changes) + "test_prompt_with_tool_calls" + ]; + pythonImportsCheck = [ "llm_echo" ]; passthru.tests = llm.mkPluginTest llm-echo; From 2510983f43776869c2c15b5cd39c94d4302cf367 Mon Sep 17 00:00:00 2001 From: Sarah Clark Date: Sun, 20 Sep 2026 14:41:37 -0700 Subject: [PATCH 0042/2378] python3Packages.dataprep-ml: allow pandas 3 --- pkgs/development/python-modules/dataprep-ml/default.nix | 1 + 1 file changed, 1 insertion(+) diff --git a/pkgs/development/python-modules/dataprep-ml/default.nix b/pkgs/development/python-modules/dataprep-ml/default.nix index 1fef0c21b590..e00f4d86271f 100644 --- a/pkgs/development/python-modules/dataprep-ml/default.nix +++ b/pkgs/development/python-modules/dataprep-ml/default.nix @@ -37,6 +37,7 @@ buildPythonPackage rec { }; pythonRelaxDeps = [ + "pandas" "pydantic" "numpy" ]; From 874c8429fdc06db7b1465cc89521732f22cc2644 Mon Sep 17 00:00:00 2001 From: Sarah Clark Date: Sun, 20 Sep 2026 15:28:13 -0700 Subject: [PATCH 0043/2378] python3Packages.llama-index-llms-openai: allow openai 3 --- .../python-modules/llama-index-llms-openai/default.nix | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/pkgs/development/python-modules/llama-index-llms-openai/default.nix b/pkgs/development/python-modules/llama-index-llms-openai/default.nix index c1d6bfd544fe..ecbadc7dc7ce 100644 --- a/pkgs/development/python-modules/llama-index-llms-openai/default.nix +++ b/pkgs/development/python-modules/llama-index-llms-openai/default.nix @@ -20,6 +20,10 @@ buildPythonPackage (finalAttrs: { build-system = [ hatchling ]; + pythonRelaxDeps = [ + "openai" + ]; + dependencies = [ llama-index-core openai From 690b7b0f6fd975fd192d5a74356b90505521f944 Mon Sep 17 00:00:00 2001 From: Sarah Clark Date: Sun, 20 Sep 2026 14:48:51 -0700 Subject: [PATCH 0044/2378] python3Packages.llama-index-llms-openai-like: relax deps to allow openai 3 --- .../python-modules/llama-index-llms-openai-like/default.nix | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/pkgs/development/python-modules/llama-index-llms-openai-like/default.nix b/pkgs/development/python-modules/llama-index-llms-openai-like/default.nix index f5af62230172..5810723af8b7 100644 --- a/pkgs/development/python-modules/llama-index-llms-openai-like/default.nix +++ b/pkgs/development/python-modules/llama-index-llms-openai-like/default.nix @@ -20,6 +20,10 @@ buildPythonPackage (finalAttrs: { build-system = [ hatchling ]; + pythonRelaxDeps = [ + "openai" + ]; + dependencies = [ llama-index-core llama-index-llms-openai From aa612825e10d7f5d0f82d53eed01d417f6a24b43 Mon Sep 17 00:00:00 2001 From: Sarah Clark Date: Sun, 20 Sep 2026 20:29:07 -0700 Subject: [PATCH 0045/2378] agentsploit: disable test that requires network access --- pkgs/by-name/ag/agentsploit/package.nix | 1 + 1 file changed, 1 insertion(+) diff --git a/pkgs/by-name/ag/agentsploit/package.nix b/pkgs/by-name/ag/agentsploit/package.nix index 07a01380434c..5da55e273677 100644 --- a/pkgs/by-name/ag/agentsploit/package.nix +++ b/pkgs/by-name/ag/agentsploit/package.nix @@ -52,6 +52,7 @@ python3Packages.buildPythonApplication (finalAttrs: { disabledTestPaths = [ # Tests need network access + "tests/unit/test_openai_adapter.py" "tests/integration/" ]; From 065752ffb4b3477387a02d6040f7ed36ad282cef Mon Sep 17 00:00:00 2001 From: Sarah Clark Date: Sun, 20 Sep 2026 20:32:34 -0700 Subject: [PATCH 0046/2378] python3Packages.openinference-instrumentation-openai: disable test requiring API access --- .../openinference-instrumentation-openai/default.nix | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/pkgs/development/python-modules/openinference-instrumentation-openai/default.nix b/pkgs/development/python-modules/openinference-instrumentation-openai/default.nix index 60e327ed4294..bb9bf89224ee 100644 --- a/pkgs/development/python-modules/openinference-instrumentation-openai/default.nix +++ b/pkgs/development/python-modules/openinference-instrumentation-openai/default.nix @@ -72,6 +72,11 @@ buildPythonPackage (finalAttrs: { "test_tool_calls" ]; + disabledTestPaths = [ + # want to connect to OpenAI's API + "tests/openinference/instrumentation/openai/test_instrumentor.py" + ]; + passthru.updateScript = nix-update-script { }; meta = { From 40205324a5ef5dc58bf29a22dc4f879075062ee1 Mon Sep 17 00:00:00 2001 From: Sarah Clark Date: Sun, 20 Sep 2026 21:02:25 -0700 Subject: [PATCH 0047/2378] python3Packages.datashader: ignore pytest deprecation warning that triggers an error --- .../python-modules/datashader/default.nix | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/pkgs/development/python-modules/datashader/default.nix b/pkgs/development/python-modules/datashader/default.nix index 74c5e8f9c24e..37a7f7fdcf24 100644 --- a/pkgs/development/python-modules/datashader/default.nix +++ b/pkgs/development/python-modules/datashader/default.nix @@ -22,7 +22,7 @@ writableTmpDirAsHomeHook, }: -buildPythonPackage rec { +buildPythonPackage (finalAttrs: { pname = "datashader"; version = "0.19.1"; pyproject = true; @@ -30,7 +30,7 @@ buildPythonPackage rec { src = fetchFromGitHub { owner = "holoviz"; repo = "datashader"; - tag = "v${version}"; + tag = "v${finalAttrs.version}"; hash = "sha256-jP6e7YmLyg3wd8QQZ4Vzr7vRFsRmttjIrEgIFqd6+hQ="; }; @@ -54,6 +54,10 @@ buildPythonPackage rec { xarray ]; + pytestFlags = [ + "-W ignore::pytest.PytestRemovedIn10Warning" + ]; + nativeCheckInputs = [ pytestCheckHook pytest-xdist @@ -71,11 +75,11 @@ buildPythonPackage rec { description = "Data visualization toolchain based on aggregating into a grid"; mainProgram = "datashader"; homepage = "https://datashader.org"; - changelog = "https://github.com/holoviz/datashader/blob/${src.tag}/CHANGELOG.md"; + changelog = "https://github.com/holoviz/datashader/blob/${finalAttrs.src.tag}/CHANGELOG.md"; license = lib.licenses.bsd3; maintainers = with lib.maintainers; [ nickcao locnide ]; }; -} +}) From e2b100d9a4b672fc7e8653d16f77ad0feae8e71a Mon Sep 17 00:00:00 2001 From: Sarah Clark Date: Sun, 20 Sep 2026 21:08:32 -0700 Subject: [PATCH 0048/2378] python3Packages.fastcan: disable tests that fail due to Fortran compatibility --- pkgs/development/python-modules/fastcan/default.nix | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/pkgs/development/python-modules/fastcan/default.nix b/pkgs/development/python-modules/fastcan/default.nix index 72fead1ef8af..c2ce30210138 100644 --- a/pkgs/development/python-modules/fastcan/default.nix +++ b/pkgs/development/python-modules/fastcan/default.nix @@ -52,6 +52,13 @@ buildPythonPackage rec { pytestCheckHook ]; + disabledTestPaths = [ + # ValueError: ndarray is not Fortran contiguous + "fastcan/tests/test_fastcan.py::test_indices_include_exclude" + "fastcan/tests/test_fastcan.py::test_ssc_consistent_with_cca" + "fastcan/tests/test_fastcan.py::test_h_eta_consistency" + ]; + pythonImportsCheck = [ "fastcan" ]; meta = { From b571d4c99f64b88e213b3ef53705d220fedc3373 Mon Sep 17 00:00:00 2001 From: Sarah Clark Date: Tue, 22 Sep 2026 15:28:44 -0700 Subject: [PATCH 0049/2378] python3Packages.qudida: pin setuptools to fix missing pkg_resources --- pkgs/development/python-modules/qudida/default.nix | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/qudida/default.nix b/pkgs/development/python-modules/qudida/default.nix index fbb3edc7cdaa..3367f48a6a89 100644 --- a/pkgs/development/python-modules/qudida/default.nix +++ b/pkgs/development/python-modules/qudida/default.nix @@ -5,20 +5,23 @@ numpy, opencv-python, scikit-learn, + setuptools_80, typing-extensions, }: buildPythonPackage rec { pname = "qudida"; version = "0.0.4"; - format = "setuptools"; + pyproject = true; src = fetchPypi { inherit pname version; hash = "sha256-2xmOKIerDJqgAj5WWvv/Qd+3azYfhf1eE/eA11uhjMg="; }; - propagatedBuildInputs = [ + build-system = [ setuptools_80 ]; + + dependencies = [ numpy opencv-python scikit-learn From 5e244f0bdae05482a016992beb9f6dd3a40a59cc Mon Sep 17 00:00:00 2001 From: Sarah Clark Date: Wed, 23 Sep 2026 09:46:26 -0700 Subject: [PATCH 0050/2378] python3Packages.tsfresh: 0.21.1 -> 0.21.2 --- .../python-modules/tsfresh/default.nix | 98 +++++++++++-------- 1 file changed, 58 insertions(+), 40 deletions(-) diff --git a/pkgs/development/python-modules/tsfresh/default.nix b/pkgs/development/python-modules/tsfresh/default.nix index fd4763090c48..52fbd4235f6f 100644 --- a/pkgs/development/python-modules/tsfresh/default.nix +++ b/pkgs/development/python-modules/tsfresh/default.nix @@ -3,41 +3,47 @@ buildPythonPackage, fetchFromGitHub, stdenv, - requests, - numpy, - pandas, - scipy, - statsmodels, - patsy, - scikit-learn, - tqdm, + + # build-system + setuptools, + + # dependencies + cloudpickle, dask, distributed, + numpy, + pandas, + patsy, + pywavelets, + requests, + scikit-learn, + scipy, + statsmodels, stumpy, - cloudpickle, - pytestCheckHook, - pytest-cov-stub, - pytest-xdist, - mock, - matplotlib, - seaborn, + tqdm, + + # testing ipython, + matplotlib, + mock, notebook, pandas-datareader, - setuptools, - pywavelets, + pytest-cov-stub, + pytest-xdist, + pytestCheckHook, + seaborn, }: -buildPythonPackage rec { +buildPythonPackage (finalAttrs: { pname = "tsfresh"; - version = "0.21.1"; + version = "0.21.2"; pyproject = true; src = fetchFromGitHub { owner = "blue-yonder"; repo = "tsfresh"; - tag = "v${version}"; - hash = "sha256-KwUI33t5KFcTUWdSDg81OPbNn5SYv4Gw/0dPjCB502w="; + tag = "v${finalAttrs.version}"; + hash = "sha256-rOEzcAQ2kiskHsFezPee+GNI0IuuZomqtMB6ev0uop8="; }; patches = [ @@ -45,21 +51,33 @@ buildPythonPackage rec { ./remove-pyscaffold.patch ]; - dependencies = [ + postPatch = '' + substituteInPlace pyproject.toml \ + --replace-fail "requires = [\"setuptools<70\", \"wheel\", \"pyscaffold>=3.3a0,<4\"]" \ + "requires = [\"setuptools\", \"wheel\"]" \ + ''; + + build-system = [ setuptools - requests - numpy - pandas - scipy - statsmodels - patsy - scikit-learn - tqdm + ]; + + # Upstream doesn't supply a version field anywhere, so patching it is out of the question. + dontCheckPythonMetadata = true; + + dependencies = [ + cloudpickle dask distributed - stumpy - cloudpickle + numpy + pandas + patsy pywavelets + requests + scikit-learn + scipy + statsmodels + stumpy + tqdm ] ++ dask.optional-dependencies.dataframe; @@ -67,15 +85,15 @@ buildPythonPackage rec { doCheck = !pandas-datareader.disabled; nativeCheckInputs = [ - pytestCheckHook - pytest-cov-stub - pytest-xdist - mock - matplotlib - seaborn ipython + matplotlib + mock notebook pandas-datareader + pytest-cov-stub + pytest-xdist + pytestCheckHook + seaborn ]; disabledTests = [ @@ -103,8 +121,8 @@ buildPythonPackage rec { description = "Automatic extraction of relevant features from time series"; mainProgram = "run_tsfresh"; homepage = "https://github.com/blue-yonder/tsfresh"; - changelog = "https://github.com/blue-yonder/tsfresh/blob/${src.tag}/CHANGES.rst"; + changelog = "https://github.com/blue-yonder/tsfresh/blob/${finalAttrs.src.tag}/CHANGES.rst"; license = lib.licenses.mit; maintainers = [ ]; }; -} +}) From 987a944a9fce8db78f8e6b29bd6acfe519c0fde7 Mon Sep 17 00:00:00 2001 From: Sarah Clark Date: Tue, 22 Sep 2026 16:28:37 -0700 Subject: [PATCH 0051/2378] python3Packages.recordlinkage: relax pandas dependency, modernize --- .../python-modules/recordlinkage/default.nix | 17 +++++++++++------ 1 file changed, 11 insertions(+), 6 deletions(-) diff --git a/pkgs/development/python-modules/recordlinkage/default.nix b/pkgs/development/python-modules/recordlinkage/default.nix index 2264fcec82f3..33986bb4e4d5 100644 --- a/pkgs/development/python-modules/recordlinkage/default.nix +++ b/pkgs/development/python-modules/recordlinkage/default.nix @@ -18,23 +18,28 @@ wheel, }: -buildPythonPackage rec { +buildPythonPackage (finalAttrs: { pname = "recordlinkage"; version = "0.16"; pyproject = true; + __structuredAttrs = true; src = fetchPypi { - inherit pname version; + inherit (finalAttrs) pname version; hash = "sha256-7NoMEN/xOLFwaBXeMysShfZwrn6MzpJZYhNQHVieaqQ="; }; - nativeBuildInputs = [ + build-system = [ setuptools setuptools-scm wheel ]; - propagatedBuildInputs = [ + pythonRelaxDeps = [ + "pandas" + ]; + + dependencies = [ pyarrow jellyfish numpy @@ -56,8 +61,8 @@ buildPythonPackage rec { meta = { description = "Library to link records in or between data sources"; homepage = "https://recordlinkage.readthedocs.io/"; - changelog = "https://github.com/J535D165/recordlinkage/releases/tag/v${version}"; + changelog = "https://github.com/J535D165/recordlinkage/releases/tag/v${finalAttrs.version}"; license = lib.licenses.bsd3; maintainers = [ ]; }; -} +}) From ac414bc6e47ae3a510a143b748cb9c62ab62a068 Mon Sep 17 00:00:00 2001 From: Sarah Clark Date: Tue, 22 Sep 2026 16:32:08 -0700 Subject: [PATCH 0052/2378] python3Packages.mindsdb-evaluator: relax pandas requirement --- .../python-modules/mindsdb-evaluator/default.nix | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/pkgs/development/python-modules/mindsdb-evaluator/default.nix b/pkgs/development/python-modules/mindsdb-evaluator/default.nix index b31f3bd509be..a62b762aea9e 100644 --- a/pkgs/development/python-modules/mindsdb-evaluator/default.nix +++ b/pkgs/development/python-modules/mindsdb-evaluator/default.nix @@ -11,15 +11,16 @@ pytestCheckHook, }: -buildPythonPackage rec { +buildPythonPackage (finalAttrs: { pname = "mindsdb-evaluator"; version = "0.0.21"; pyproject = true; + __structuredAttrs = true; src = fetchFromGitHub { owner = "mindsdb"; repo = "mindsdb_evaluator"; - tag = "v${version}"; + tag = "v${finalAttrs.version}"; hash = "sha256-eUdGtHLbI6T7HsUqkVkTp040pbq7qVzgaldQxPAzjTc="; }; @@ -28,6 +29,7 @@ buildPythonPackage rec { pythonRelaxDeps = [ "dataprep-ml" "numpy" + "pandas" "scikit-learn" ]; @@ -46,10 +48,10 @@ buildPythonPackage rec { ]; meta = { - changelog = "https://github.com/mindsdb/mindsdb_evaluator/releases/tag/${src.tag}"; + changelog = "https://github.com/mindsdb/mindsdb_evaluator/releases/tag/${finalAttrs.src.tag}"; description = "Model evaluation for Machine Learning pipelines"; homepage = "https://github.com/mindsdb/mindsdb_evaluator"; license = lib.licenses.gpl3Only; maintainers = [ ]; }; -} +}) From bdc88da4244cadf3dac560e084d66d2927d7ae19 Mon Sep 17 00:00:00 2001 From: Sarah Clark Date: Tue, 22 Sep 2026 16:35:10 -0700 Subject: [PATCH 0053/2378] python3Packages.niaarm: fixes --- .../python-modules/niaarm/default.nix | 19 +++++++++++++++---- 1 file changed, 15 insertions(+), 4 deletions(-) diff --git a/pkgs/development/python-modules/niaarm/default.nix b/pkgs/development/python-modules/niaarm/default.nix index 541553419422..01a2f2000af4 100644 --- a/pkgs/development/python-modules/niaarm/default.nix +++ b/pkgs/development/python-modules/niaarm/default.nix @@ -6,6 +6,7 @@ # build-system poetry-core, + pyprojectVersionPatchHook, # dependencies niapy, @@ -19,27 +20,34 @@ pytestCheckHook, }: -buildPythonPackage rec { +buildPythonPackage (finalAttrs: { pname = "niaarm"; # nixpkgs-update: no auto update version = "0.13.4"; pyproject = true; + __structuredAttrs = true; src = fetchFromGitHub { owner = "firefly-cpp"; repo = "NiaARM"; - tag = version; + tag = finalAttrs.version; hash = "sha256-524rJ5b9e0U1rqu1iCGMA3Tgnn9bO4biCC1FMoGNqms="; }; pythonRelaxDeps = [ "numpy" + "pandas" "plotly" "scikit-learn" ]; build-system = [ poetry-core ]; + # Fix upstream version typo + nativeBuildInputs = [ + pyprojectVersionPatchHook + ]; + dependencies = [ niapy nltk @@ -57,6 +65,9 @@ buildPythonPackage rec { disabledTests = [ # Test requires extra nltk data dependency "test_text_mining" + + # AttributeError: 'Poly3DCollection' object has no attribute '_vec' + "test_hill_slopes" ]; nativeCheckInputs = [ pytestCheckHook ]; @@ -67,8 +78,8 @@ buildPythonPackage rec { description = "Minimalistic framework for Numerical Association Rule Mining"; mainProgram = "niaarm"; homepage = "https://github.com/firefly-cpp/NiaARM"; - changelog = "https://github.com/firefly-cpp/NiaARM/releases/tag/${src.tag}"; + changelog = "https://github.com/firefly-cpp/NiaARM/releases/tag/${finalAttrs.src.tag}"; license = lib.licenses.mit; maintainers = with lib.maintainers; [ firefly-cpp ]; }; -} +}) From c2c6006670602cc7cc46bd912888cff6cf8d5103 Mon Sep 17 00:00:00 2001 From: Sarah Clark Date: Wed, 23 Sep 2026 11:03:31 -0700 Subject: [PATCH 0054/2378] python3Packages.hmmlearn: ignore numpy deprecation warnings --- pkgs/development/python-modules/hmmlearn/default.nix | 2 ++ 1 file changed, 2 insertions(+) diff --git a/pkgs/development/python-modules/hmmlearn/default.nix b/pkgs/development/python-modules/hmmlearn/default.nix index 2ab1afc02de0..657556bcfe0d 100644 --- a/pkgs/development/python-modules/hmmlearn/default.nix +++ b/pkgs/development/python-modules/hmmlearn/default.nix @@ -50,6 +50,8 @@ buildPythonPackage (finalAttrs: { pytestFlags = [ "--pyargs" "hmmlearn" + # DeprecationWarning: Setting the shape on a NumPy array has been deprecated + "-Wignore::DeprecationWarning" ]; meta = { From a95bb0615ce34eba1d89db9cdd3fc8f457773532 Mon Sep 17 00:00:00 2001 From: Sarah Clark Date: Wed, 23 Sep 2026 11:32:24 -0700 Subject: [PATCH 0055/2378] python3Packages.category-encoders: disable broken tests --- .../python-modules/category-encoders/default.nix | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/pkgs/development/python-modules/category-encoders/default.nix b/pkgs/development/python-modules/category-encoders/default.nix index 75de0a2cc65a..86ff25157404 100644 --- a/pkgs/development/python-modules/category-encoders/default.nix +++ b/pkgs/development/python-modules/category-encoders/default.nix @@ -50,6 +50,21 @@ buildPythonPackage rec { pytestCheckHook ]; + disabledTests = [ + # AssertionError: Lists differ: [0.5, 0.5, 0.25, 0.5, 0.75, nan, nan, nan] !=... + "test_cat_boost_missing" + # AssertionError: False is not true + "test_ignored_columns_are_untouched" + # AssertionError: DataFrame.iloc[:, 0] (column name="0") are different + "test_missing_values" + # sklearn.exceptions.NotFittedError: Estimator has to be fitted to return featureS... + "test_feature_names_out" + "test_hierarchy_with_scikit_learn_column_transformer" + "test_sklearn_pandas_out_refit" + # AssertionError + "test_unknown_value" + ]; + pythonImportsCheck = [ "category_encoders" ]; From d7018db1e4e0e5974a535265bc6d1b91eac569ed Mon Sep 17 00:00:00 2001 From: Sarah Clark Date: Wed, 23 Sep 2026 11:39:03 -0700 Subject: [PATCH 0056/2378] python3Packages.vega: disable broken tests due to newer dependencies --- pkgs/development/python-modules/vega/default.nix | 3 +++ 1 file changed, 3 insertions(+) diff --git a/pkgs/development/python-modules/vega/default.nix b/pkgs/development/python-modules/vega/default.nix index c9b90e76c2d5..26db754f0965 100644 --- a/pkgs/development/python-modules/vega/default.nix +++ b/pkgs/development/python-modules/vega/default.nix @@ -49,6 +49,9 @@ buildPythonPackage rec { disabledTestPaths = [ # these tests are broken with jupyter-notebook >= 7 "vega/tests/test_entrypoint.py" + + # (from pandas) ValueError("Invalid frequency: H. Failed to parse with error message: KeyError('H'). Did you mean h?") + "vega/tests/test_utils.py::test_sanitize_dataframe" ]; pythonImportsCheck = [ "vega" ]; From f175f66fa57e4518195d9efd9b223f9630c6d6a7 Mon Sep 17 00:00:00 2001 From: Sarah Clark Date: Wed, 23 Sep 2026 11:43:30 -0700 Subject: [PATCH 0057/2378] python3Packages.pmdarima: disable broken tests --- pkgs/development/python-modules/pmdarima/default.nix | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/pkgs/development/python-modules/pmdarima/default.nix b/pkgs/development/python-modules/pmdarima/default.nix index a81237d371a3..478a3527cac7 100644 --- a/pkgs/development/python-modules/pmdarima/default.nix +++ b/pkgs/development/python-modules/pmdarima/default.nix @@ -70,6 +70,13 @@ buildPythonPackage rec { disabledTests = [ # touches internet "test_load_from_web" + + # Failed: DID NOT WARN. No warnings of type (,) were emitted + "test_max_dur" + "test_subsequent_contexts" + + # ValueError: assignment destination is read-only + "test_pipeline_predict_inverse_transform" ]; pythonImportsCheck = [ "pmdarima" ]; From 0a04627554c31451cedc5c31ee0281a47e45ae50 Mon Sep 17 00:00:00 2001 From: Sarah Clark Date: Wed, 23 Sep 2026 11:46:25 -0700 Subject: [PATCH 0058/2378] python3Packages.kotsu: disable broken tests --- pkgs/development/python-modules/kotsu/default.nix | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/pkgs/development/python-modules/kotsu/default.nix b/pkgs/development/python-modules/kotsu/default.nix index 794d4f6e2998..754a703ae6d0 100644 --- a/pkgs/development/python-modules/kotsu/default.nix +++ b/pkgs/development/python-modules/kotsu/default.nix @@ -33,6 +33,13 @@ buildPythonPackage rec { pytest-mock scikit-learn ]; + + disabledTests = [ + # AssertionError: Attributes of DataFrame.iloc[:, 0] (column name="validation_id") are different + "test_form_results" + "test_force_rerun" + ]; + pythonImportsCheck = [ "kotsu" ]; meta = { From 38246f04ae0e1f2ea67d08ffcb806cf61da07545 Mon Sep 17 00:00:00 2001 From: Sarah Clark Date: Wed, 23 Sep 2026 11:48:34 -0700 Subject: [PATCH 0059/2378] python3Packages.linearmodels: disable tests with duplicate parameterization IDs --- pkgs/development/python-modules/linearmodels/default.nix | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/pkgs/development/python-modules/linearmodels/default.nix b/pkgs/development/python-modules/linearmodels/default.nix index 5e5bceb6daf8..603818e79e8e 100644 --- a/pkgs/development/python-modules/linearmodels/default.nix +++ b/pkgs/development/python-modules/linearmodels/default.nix @@ -74,6 +74,10 @@ buildPythonPackage (finalAttrs: { disabledTestPaths = [ # Skip long-running tests "linearmodels/tests/panel/test_panel_ols.py" + + # Duplicate parametrization IDs detected, but strict_parametrization_ids is set + "linearmodels/tests/system" + "linearmodels/tests/panel" ]; meta = { From 36c9e60742769059aa0bb595c103199d6cf328e6 Mon Sep 17 00:00:00 2001 From: Sarah Clark Date: Wed, 23 Sep 2026 12:00:31 -0700 Subject: [PATCH 0060/2378] python3Packages.ppscore: disable broken tests due to newer dependencies --- .../python-modules/ppscore/default.nix | 21 ++++++++++++------- 1 file changed, 14 insertions(+), 7 deletions(-) diff --git a/pkgs/development/python-modules/ppscore/default.nix b/pkgs/development/python-modules/ppscore/default.nix index 7f949bfd6bb4..9e1c9f5d1621 100644 --- a/pkgs/development/python-modules/ppscore/default.nix +++ b/pkgs/development/python-modules/ppscore/default.nix @@ -8,38 +8,45 @@ scikit-learn, }: -buildPythonPackage rec { +buildPythonPackage (finalAttrs: { pname = "ppscore"; version = "1.3.1"; pyproject = true; + __structuredAttrs = true; src = fetchFromGitHub { owner = "8080labs"; repo = "ppscore"; - tag = version; + tag = finalAttrs.version; hash = "sha256-GhmyVWNWpEMNqXW808UhBHk1r6vOVibxKHVv5wWshLE="; }; - nativeBuildInputs = [ + build-system = [ setuptools ]; - propagatedBuildInputs = [ + pythonRelaxDeps = [ "pandas" ]; + + dependencies = [ pandas scikit-learn ]; nativeCheckInputs = [ pytestCheckHook ]; - pythonRelaxDeps = [ "pandas" ]; + disabledTests = [ + # TypeError: to_datetime() got an unexpected keyword argument 'infer_datetime... + "test__determine_case_and_prepare_df" + "test_matrix" + ]; pythonImportsCheck = [ "ppscore" ]; meta = { description = "Python implementation of the Predictive Power Score (PPS)"; homepage = "https://github.com/8080labs/ppscore/"; - changelog = "https://github.com/8080labs/ppscore/blob/${src.rev}/CHANGELOG.md"; + changelog = "https://github.com/8080labs/ppscore/blob/${finalAttrs.src.rev}/CHANGELOG.md"; license = lib.licenses.mit; maintainers = with lib.maintainers; [ evax ]; }; -} +}) From d57903c115d9d5140bbf1daada776d6b92e8ec4d Mon Sep 17 00:00:00 2001 From: Sarah Clark Date: Wed, 23 Sep 2026 12:04:21 -0700 Subject: [PATCH 0061/2378] python3Packages.iplotx: disable broken tests due to newer dependencies --- pkgs/development/python-modules/iplotx/default.nix | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/pkgs/development/python-modules/iplotx/default.nix b/pkgs/development/python-modules/iplotx/default.nix index 8f0ca468ca46..9ddfeabd4444 100644 --- a/pkgs/development/python-modules/iplotx/default.nix +++ b/pkgs/development/python-modules/iplotx/default.nix @@ -55,6 +55,15 @@ buildPythonPackage (finalAttrs: { "test_labels" "test_labels_and_colors" "test_vertex_labels" + + # AttributeError: module 'matplotlib.cm' has no attribute '_ensure_cmap' + "test_undirected" + "test_directed" + "test_build_cmap_fun" + "test_simple_graph" + "test_edges_cmap" + "test_leafedges_cmap" + "test_init_cmap" ]; nativeCheckInputs = [ From 1eec0b040a4ab2ef6b96fd4da901e40fbadd2a15 Mon Sep 17 00:00:00 2001 From: Sarah Clark Date: Wed, 23 Sep 2026 12:41:57 -0700 Subject: [PATCH 0062/2378] python3Packages.llm-tools-sqlite: disable the only test due to a broken comparison --- pkgs/development/python-modules/llm-tools-sqlite/default.nix | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/pkgs/development/python-modules/llm-tools-sqlite/default.nix b/pkgs/development/python-modules/llm-tools-sqlite/default.nix index 11ae7b29cb1f..a573c10eb54f 100644 --- a/pkgs/development/python-modules/llm-tools-sqlite/default.nix +++ b/pkgs/development/python-modules/llm-tools-sqlite/default.nix @@ -37,6 +37,10 @@ buildPythonPackage (finalAttrs: { writableTmpDirAsHomeHook ]; + # There's only one test and it's failing due to a bad comparison + # https://github.com/simonw/llm-tools-sqlite/issues/4 + doCheck = false; + pythonImportsCheck = [ "llm_tools_sqlite" ]; passthru.tests = llm.mkPluginTest llm-tools-sqlite; From 121ce9fcc2a528965cbec85d84f95a044f405d6f Mon Sep 17 00:00:00 2001 From: Sarah Clark Date: Wed, 23 Sep 2026 13:00:14 -0700 Subject: [PATCH 0063/2378] python3Packages.llm-tools-quickjs: disable tests due to a broken comparison --- pkgs/development/python-modules/llm-tools-quickjs/default.nix | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/pkgs/development/python-modules/llm-tools-quickjs/default.nix b/pkgs/development/python-modules/llm-tools-quickjs/default.nix index ad447a01ade1..7363f1ef55d3 100644 --- a/pkgs/development/python-modules/llm-tools-quickjs/default.nix +++ b/pkgs/development/python-modules/llm-tools-quickjs/default.nix @@ -38,6 +38,10 @@ buildPythonPackage rec { pythonImportsCheck = [ "llm_tools_quickjs" ]; + # both tests expect a tool_call_id==None but get an actual value + # https://github.com/simonw/llm-tools-sqlite/issues/4 covers this repo as well + doCheck = false; + passthru.tests = llm.mkPluginTest llm-tools-quickjs; meta = { From cf255461fb3c2af898d980d8ee2474b81064c46c Mon Sep 17 00:00:00 2001 From: Sarah Clark Date: Wed, 23 Sep 2026 13:10:29 -0700 Subject: [PATCH 0064/2378] python3Packages.imagededup: fix version typo --- pkgs/development/python-modules/imagededup/default.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkgs/development/python-modules/imagededup/default.nix b/pkgs/development/python-modules/imagededup/default.nix index 715c42c2170d..f9a760729abe 100644 --- a/pkgs/development/python-modules/imagededup/default.nix +++ b/pkgs/development/python-modules/imagededup/default.nix @@ -31,7 +31,7 @@ let in buildPythonPackage rec { pname = "imagededup"; - version = "03.3"; + version = "0.3.3"; pyproject = true; src = fetchFromGitHub { From aee70e87ff0a11706330c67c661cb155a746bb18 Mon Sep 17 00:00:00 2001 From: Sarah Clark Date: Wed, 23 Sep 2026 13:27:06 -0700 Subject: [PATCH 0065/2378] python3Packages.imbalanced-learn: fix version --- pkgs/development/python-modules/imbalanced-learn/default.nix | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/pkgs/development/python-modules/imbalanced-learn/default.nix b/pkgs/development/python-modules/imbalanced-learn/default.nix index f4e92b53fada..048c12b9bc34 100644 --- a/pkgs/development/python-modules/imbalanced-learn/default.nix +++ b/pkgs/development/python-modules/imbalanced-learn/default.nix @@ -29,6 +29,10 @@ buildPythonPackage rec { hash = "sha256-uWln6+r9QsGnH4I4JQm2/y80zTQkAflVPlIN9KQNzy0="; }; + postPatch = '' + echo '${version}' > imblearn/VERSION.txt + ''; + build-system = [ setuptools setuptools-scm From e7d9e0c47c29333ce14aa6327914719f40a39738 Mon Sep 17 00:00:00 2001 From: Sarah Clark Date: Wed, 23 Sep 2026 13:47:17 -0700 Subject: [PATCH 0066/2378] python3Packages.quantulum3: fetch from tag, minor modernization --- pkgs/development/python-modules/quantulum3/default.nix | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/pkgs/development/python-modules/quantulum3/default.nix b/pkgs/development/python-modules/quantulum3/default.nix index 912aaa82c3d4..c33df965ed7d 100644 --- a/pkgs/development/python-modules/quantulum3/default.nix +++ b/pkgs/development/python-modules/quantulum3/default.nix @@ -20,16 +20,16 @@ in buildPythonPackage { inherit version pname; pyproject = true; + __structuredAttrs = true; - # Pypi source package doesn't contain tests src = fetchFromGitHub { owner = "nielstron"; repo = "quantulum3"; - rev = "9dafd76d3586aa5ea1b96164d86c73037e827294"; - hash = "sha256-fHztPeTbMp1aYsj+STYWzHgwdY0Q9078qXpXxtA8pPs="; + tag = version; + hash = "sha256-gE5JNUkIa+x/ottgXEf1WlieUG9mEcKjl3GSC2fWATY="; }; - propagatedBuildInputs = [ + dependencies = [ inflect num2words numpy From 1f49b102cfc777657b4addf7d58ef5bccd4f597f Mon Sep 17 00:00:00 2001 From: Sarah Clark Date: Wed, 23 Sep 2026 14:05:53 -0700 Subject: [PATCH 0067/2378] python3Packages.mrsqm: fix build and use latest release --- .../python-modules/mrsqm/default.nix | 50 ++++++++----------- 1 file changed, 21 insertions(+), 29 deletions(-) diff --git a/pkgs/development/python-modules/mrsqm/default.nix b/pkgs/development/python-modules/mrsqm/default.nix index e1c70f23bc72..0b56a937e5a5 100644 --- a/pkgs/development/python-modules/mrsqm/default.nix +++ b/pkgs/development/python-modules/mrsqm/default.nix @@ -10,28 +10,34 @@ pip, setuptools, pytestCheckHook, - nix-update-script, + writableTmpDirAsHomeHook, }: -buildPythonPackage rec { +buildPythonPackage (finalAttrs: { pname = "mrsqm"; - version = "4"; + version = "0.0.7"; pyproject = true; - - build-system = [ - setuptools - ]; + __structuredAttrs = true; src = fetchFromGitHub { owner = "mlgig"; repo = "mrsqm"; - tag = "r${version}"; - hash = "sha256-59f18zItV3K6tXcg1v1q2Z8HYrQB8T0ntaaqjxeAEbM="; + tag = "v.${finalAttrs.version}"; + hash = "sha256-5K6vCU0HExnmYNThZNDCbEtII9bUGauxDtKkJXe/85Q="; }; - buildInputs = [ fftw ]; + nativeBuildInputs = [ + writableTmpDirAsHomeHook + ]; - nativeBuildInputs = [ cython ]; + build-system = [ + setuptools + cython + ]; + + buildInputs = [ + fftw + ]; dependencies = [ pandas @@ -43,36 +49,22 @@ buildPythonPackage rec { postPatch = '' substituteInPlace setup.py \ --replace-fail "setup_requires=['pytest-runner']," "" - substituteInPlace pyproject.toml \ - --replace-fail "numpy==" "numpy>=" - ''; - - preBuild = '' - export HOME=$(mktemp -d) ''; nativeCheckInputs = [ pytestCheckHook ]; - enabledTestPaths = [ - "tests/mrsqm" - ]; + # all tests are broken + doCheck = false; pythonImportsCheck = [ "mrsqm" ]; - passthru.updateScript = nix-update-script { - extraArgs = [ - "--version-regex" - "v\\.(.*)" - ]; - }; - meta = { description = "MrSQM (Multiple Representations Sequence Miner) is a time series classifier"; homepage = "https://pypi.org/project/mrsqm"; - changelog = "https://github.com/mlgig/mrsqm/releases/tag/v.${src.tag}"; + changelog = "https://github.com/mlgig/mrsqm/releases/tag/${finalAttrs.src.tag}"; license = lib.licenses.gpl3Only; maintainers = [ ]; }; -} +}) From 2ac260f67ede202b6b2ad4c34fd7766b9ebfce0f Mon Sep 17 00:00:00 2001 From: Sarah Clark Date: Sun, 4 Oct 2026 13:39:33 -0700 Subject: [PATCH 0068/2378] python3Packages.llm-tools-datasette: disable only failing test --- .../python-modules/llm-tools-datasette/default.nix | 12 ++---------- 1 file changed, 2 insertions(+), 10 deletions(-) diff --git a/pkgs/development/python-modules/llm-tools-datasette/default.nix b/pkgs/development/python-modules/llm-tools-datasette/default.nix index 4320fa797a1e..f2987d2969b0 100644 --- a/pkgs/development/python-modules/llm-tools-datasette/default.nix +++ b/pkgs/development/python-modules/llm-tools-datasette/default.nix @@ -5,10 +5,6 @@ setuptools, llm, llm-tools-datasette, - llm-echo, - pytestCheckHook, - pytest-httpx, - writableTmpDirAsHomeHook, }: buildPythonPackage rec { @@ -27,12 +23,8 @@ buildPythonPackage rec { dependencies = [ llm ]; - nativeCheckInputs = [ - llm-echo - pytestCheckHook - pytest-httpx - writableTmpDirAsHomeHook - ]; + # there is only one test that asserts the exact tool output + doCheck = false; pythonImportsCheck = [ "llm_tools_datasette" ]; From b745875580cbd229360ec88e3eb946f25955e3f2 Mon Sep 17 00:00:00 2001 From: Sarah Clark Date: Tue, 22 Sep 2026 16:22:29 -0700 Subject: [PATCH 0069/2378] python3Packages.openai-agents: fix dependencies, relax openai dependency --- .../development/python-modules/openai-agents/default.nix | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/openai-agents/default.nix b/pkgs/development/python-modules/openai-agents/default.nix index 70b3155e7003..b4e1acbf7007 100644 --- a/pkgs/development/python-modules/openai-agents/default.nix +++ b/pkgs/development/python-modules/openai-agents/default.nix @@ -8,14 +8,15 @@ openai, pydantic, requests, - types-requests, typing-extensions, + websockets, }: buildPythonPackage (finalAttrs: { pname = "openai-agents"; version = "0.18.1"; pyproject = true; + __structuredAttrs = true; src = fetchPypi { inherit (finalAttrs) version; @@ -27,14 +28,18 @@ buildPythonPackage (finalAttrs: { hatchling ]; + pythonRelaxDeps = [ + "openai" + ]; + dependencies = [ griffelib mcp openai pydantic requests - types-requests typing-extensions + websockets ]; pythonImportsCheck = [ From 04b13f1267d52288a7e778710e32aae35a52005e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sandro=20J=C3=A4ckel?= Date: Thu, 8 Oct 2026 17:17:39 +0200 Subject: [PATCH 0070/2378] python3Packages.llama-index-core: fix dependencies --- .../llama-index-core/default.nix | 38 ++++++++++--------- 1 file changed, 20 insertions(+), 18 deletions(-) diff --git a/pkgs/development/python-modules/llama-index-core/default.nix b/pkgs/development/python-modules/llama-index-core/default.nix index 555b7b9d1967..cc0a0de38ada 100644 --- a/pkgs/development/python-modules/llama-index-core/default.nix +++ b/pkgs/development/python-modules/llama-index-core/default.nix @@ -11,29 +11,32 @@ filetype, fsspec, hatchling, - jsonpath-ng, + httpx, llama-index-workflows, nest-asyncio, networkx, - nltk-data, nltk, + nltk-data, numpy, openai, - pandas, pillow, + platformdirs, + pydantic, pytest-asyncio, pytest-mock, pytestCheckHook, - pyvis, pyyaml, requests, - spacy, + setuptools, sqlalchemy, tenacity, - tinytag, tiktoken, + tinytag, + tqdm, tree-sitter, + typing-extensions, typing-inspect, + wrapt, }: buildPythonPackage (finalAttrs: { @@ -64,11 +67,6 @@ buildPythonPackage (finalAttrs: { cp -r ${nltk-data.punkt}/tokenizers/punkt/* llama_index/core/_static/nltk_cache/tokenizers/punkt/ ''; - pythonRelaxDeps = [ - "setuptools" - "tenacity" - ]; - build-system = [ hatchling ]; dependencies = [ @@ -80,27 +78,31 @@ buildPythonPackage (finalAttrs: { dirtyjson filetype fsspec - jsonpath-ng + httpx llama-index-workflows nest-asyncio networkx nltk numpy - openai - pandas pillow - pyvis + platformdirs + pydantic pyyaml requests - spacy + setuptools sqlalchemy tenacity - tinytag tiktoken + tinytag + tqdm + typing-extensions typing-inspect - ]; + wrapt + ] + ++ sqlalchemy.optional-dependencies.asyncio; nativeCheckInputs = [ + openai tree-sitter pytest-asyncio pytest-mock From 99f10d2fe7579e18152525c7038f1964d5aec731 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sandro=20J=C3=A4ckel?= Date: Thu, 8 Oct 2026 17:27:11 +0200 Subject: [PATCH 0071/2378] python3Packages.langsmith: disable flaky test --- pkgs/development/python-modules/langsmith/default.nix | 2 ++ 1 file changed, 2 insertions(+) diff --git a/pkgs/development/python-modules/langsmith/default.nix b/pkgs/development/python-modules/langsmith/default.nix index af264722b262..01c34f11c11f 100644 --- a/pkgs/development/python-modules/langsmith/default.nix +++ b/pkgs/development/python-modules/langsmith/default.nix @@ -100,6 +100,8 @@ buildPythonPackage (finalAttrs: { "test_as_runnable_batch" "test_as_runnable_async" "test_as_runnable_async_batch" + # flaky + "test_admission_under_concurrency_never_mixes_destinations" ] ++ lib.optionals stdenv.hostPlatform.isDarwin [ # flaky (timing sensitive) From ea9d1fc1531f2c6d93a2d83a9a671fda4bfbc29e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sandro=20J=C3=A4ckel?= Date: Thu, 8 Oct 2026 18:20:36 +0200 Subject: [PATCH 0072/2378] python3Packages.scikit-learn: ignore failing test --- pkgs/development/python-modules/scikit-learn/default.nix | 3 +++ 1 file changed, 3 insertions(+) diff --git a/pkgs/development/python-modules/scikit-learn/default.nix b/pkgs/development/python-modules/scikit-learn/default.nix index e0991ae329e4..d49c0bd4029c 100644 --- a/pkgs/development/python-modules/scikit-learn/default.nix +++ b/pkgs/development/python-modules/scikit-learn/default.nix @@ -102,6 +102,9 @@ buildPythonPackage rec { "test_linalg_warning_with_newton_solver" "test_newton_cholesky_fallback_to_lbfgs" + # _pickle.PicklingError: Could not pickle the task to send it to the workers. + "test_function_no_callback_support" + # NuSVC memmap tests causes segmentation faults in certain environments # (e.g. Hydra Darwin machines) related to a long-standing joblib issue # (https://github.com/joblib/joblib/issues/563). See also: From d3c80d4f5752f9d3fd4cef792da9abc0b5b5076e Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Wed, 7 Oct 2026 01:12:19 +0200 Subject: [PATCH 0073/2378] faad2: enable strictDeps --- pkgs/by-name/fa/faad2/package.nix | 2 ++ 1 file changed, 2 insertions(+) diff --git a/pkgs/by-name/fa/faad2/package.nix b/pkgs/by-name/fa/faad2/package.nix index 5b84b12baba9..34fced08e741 100644 --- a/pkgs/by-name/fa/faad2/package.nix +++ b/pkgs/by-name/fa/faad2/package.nix @@ -30,6 +30,8 @@ stdenv.mkDerivation (finalAttrs: { nativeBuildInputs = [ cmake ]; + strictDeps = true; + passthru.tests = { inherit mpd vlc; inherit (gst_all_1) gst-plugins-bad; From e2cff35137bde2d229d2139d059a9ed287c93572 Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Wed, 7 Oct 2026 01:12:32 +0200 Subject: [PATCH 0074/2378] faad2: enable structuredAttrs, modernize --- pkgs/by-name/fa/faad2/package.nix | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/pkgs/by-name/fa/faad2/package.nix b/pkgs/by-name/fa/faad2/package.nix index 34fced08e741..e6b17601fe0a 100644 --- a/pkgs/by-name/fa/faad2/package.nix +++ b/pkgs/by-name/fa/faad2/package.nix @@ -18,7 +18,7 @@ stdenv.mkDerivation (finalAttrs: { src = fetchFromGitHub { owner = "knik0"; repo = "faad2"; - rev = finalAttrs.version; + tag = finalAttrs.version; hash = "sha256-luBimrRvTMb1yo9ZXka2n2YJqmDtymR7ImbEcXqs7dE="; }; @@ -38,6 +38,8 @@ stdenv.mkDerivation (finalAttrs: { ocaml-faad = ocamlPackages.faad; }; + __structuredAttrs = true; + meta = { description = "Open source MPEG-4 and MPEG-2 AAC decoder"; homepage = "https://sourceforge.net/projects/faac/"; From 55a275881fa0473db783d9e6309460212ece8733 Mon Sep 17 00:00:00 2001 From: "R. Ryantm" Date: Thu, 8 Oct 2026 18:53:14 +0000 Subject: [PATCH 0075/2378] catch2_3: 3.16.0 -> 3.16.1 --- pkgs/by-name/ca/catch2_3/package.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/by-name/ca/catch2_3/package.nix b/pkgs/by-name/ca/catch2_3/package.nix index 29d15bd0bfc7..dd996acbacb6 100644 --- a/pkgs/by-name/ca/catch2_3/package.nix +++ b/pkgs/by-name/ca/catch2_3/package.nix @@ -9,13 +9,13 @@ stdenv.mkDerivation (finalAttrs: { pname = "catch2"; - version = "3.16.0"; + version = "3.16.1"; src = fetchFromGitHub { owner = "catchorg"; repo = "Catch2"; tag = "v${finalAttrs.version}"; - hash = "sha256-vvPZTQzLNGIcdDbuo0w6sQvxzLdKFCl2LNwcHu0d5I8="; + hash = "sha256-T7Wd3Fq2YwjXU7hKm0ej/CIXQtrorPr6qALzfF4UwJU="; }; postPatch = '' From d6380b92481e72ce7bb93a2e6dee007c3b9c937d Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Thu, 8 Oct 2026 22:14:56 +0200 Subject: [PATCH 0076/2378] aclpubcheck: remove redundant __structuredAttrs --- pkgs/by-name/ac/aclpubcheck/package.nix | 2 -- 1 file changed, 2 deletions(-) diff --git a/pkgs/by-name/ac/aclpubcheck/package.nix b/pkgs/by-name/ac/aclpubcheck/package.nix index a7da380bbe13..a358aaefa490 100644 --- a/pkgs/by-name/ac/aclpubcheck/package.nix +++ b/pkgs/by-name/ac/aclpubcheck/package.nix @@ -17,8 +17,6 @@ python3Packages.buildPythonApplication { hash = "sha256-s9kegTZOZEgGx0Yj8jOfzAyjyy1EuabOybMDBoodRvo="; }; - __structuredAttrs = true; - build-system = with python3Packages; [ setuptools ]; From 527350d5977d9aca52f2e91566ff7516df2c5ef7 Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Thu, 8 Oct 2026 22:14:59 +0200 Subject: [PATCH 0077/2378] adpathfinder: remove redundant __structuredAttrs --- pkgs/by-name/ad/adpathfinder/package.nix | 2 -- 1 file changed, 2 deletions(-) diff --git a/pkgs/by-name/ad/adpathfinder/package.nix b/pkgs/by-name/ad/adpathfinder/package.nix index 223fcfafc5b6..97f6d093b074 100644 --- a/pkgs/by-name/ad/adpathfinder/package.nix +++ b/pkgs/by-name/ad/adpathfinder/package.nix @@ -10,8 +10,6 @@ python3Packages.buildPythonApplication (finalAttrs: { version = "1.2.0"; pyproject = true; - __structuredAttrs = true; - src = fetchFromGitHub { owner = "NetSPI"; repo = "AD-PathFinder"; From dfd6d9f87e5b6a7ef50389f9b3322885935fb9e4 Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Thu, 8 Oct 2026 22:14:59 +0200 Subject: [PATCH 0078/2378] adscan: remove redundant __structuredAttrs --- pkgs/by-name/ad/adscan/package.nix | 2 -- 1 file changed, 2 deletions(-) diff --git a/pkgs/by-name/ad/adscan/package.nix b/pkgs/by-name/ad/adscan/package.nix index bb3e2f517c52..f30a82801bff 100644 --- a/pkgs/by-name/ad/adscan/package.nix +++ b/pkgs/by-name/ad/adscan/package.nix @@ -10,8 +10,6 @@ python3Packages.buildPythonApplication (finalAttrs: { version = "13.1.0"; pyproject = true; - __structuredAttrs = true; - src = fetchFromGitHub { owner = "ADScanPro"; repo = "adscan"; From 7f84114caf2e25f8128768d684d40c63d27b9554 Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Thu, 8 Oct 2026 22:15:00 +0200 Subject: [PATCH 0079/2378] agentsploit: remove redundant __structuredAttrs --- pkgs/by-name/ag/agentsploit/package.nix | 2 -- 1 file changed, 2 deletions(-) diff --git a/pkgs/by-name/ag/agentsploit/package.nix b/pkgs/by-name/ag/agentsploit/package.nix index 07a01380434c..628d1c5c85e2 100644 --- a/pkgs/by-name/ag/agentsploit/package.nix +++ b/pkgs/by-name/ag/agentsploit/package.nix @@ -11,8 +11,6 @@ python3Packages.buildPythonApplication (finalAttrs: { version = "1.6.3"; pyproject = true; - __structuredAttrs = true; - src = fetchFromGitHub { owner = "agentsploit"; repo = "agentsploit"; From cbe10e95dd1cce4e9e324499936dcab0d7eb972d Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Thu, 8 Oct 2026 22:15:00 +0200 Subject: [PATCH 0080/2378] apache-airflow: remove redundant __structuredAttrs --- pkgs/by-name/ap/apache-airflow/python-package.nix | 2 -- 1 file changed, 2 deletions(-) diff --git a/pkgs/by-name/ap/apache-airflow/python-package.nix b/pkgs/by-name/ap/apache-airflow/python-package.nix index e5e5dc846bba..5079882c4b93 100644 --- a/pkgs/by-name/ap/apache-airflow/python-package.nix +++ b/pkgs/by-name/ap/apache-airflow/python-package.nix @@ -397,8 +397,6 @@ buildPythonPackage ( pname = "apache-airflow"; version = "3.3.2"; - __structuredAttrs = true; - src = fetchFromGitHub { owner = "apache"; repo = "airflow"; From 61c66b61ef1be0605583c127d08d700ab1653624 Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Thu, 8 Oct 2026 22:15:00 +0200 Subject: [PATCH 0081/2378] apm-cli: remove redundant __structuredAttrs --- pkgs/by-name/ap/apm-cli/package.nix | 2 -- 1 file changed, 2 deletions(-) diff --git a/pkgs/by-name/ap/apm-cli/package.nix b/pkgs/by-name/ap/apm-cli/package.nix index 06c22e565b03..b782180c5847 100644 --- a/pkgs/by-name/ap/apm-cli/package.nix +++ b/pkgs/by-name/ap/apm-cli/package.nix @@ -10,8 +10,6 @@ python3Packages.buildPythonApplication (finalAttrs: { version = "0.33.0"; pyproject = true; - __structuredAttrs = true; - src = fetchFromGitHub { owner = "microsoft"; repo = "apm"; From 044f5bebb894de3bd0b39d4687e307bc7c523465 Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Thu, 8 Oct 2026 22:15:00 +0200 Subject: [PATCH 0082/2378] aqtinstall: remove redundant __structuredAttrs --- pkgs/by-name/aq/aqtinstall/package.nix | 1 - 1 file changed, 1 deletion(-) diff --git a/pkgs/by-name/aq/aqtinstall/package.nix b/pkgs/by-name/aq/aqtinstall/package.nix index 978f4c5e48df..13fea465917d 100644 --- a/pkgs/by-name/aq/aqtinstall/package.nix +++ b/pkgs/by-name/aq/aqtinstall/package.nix @@ -9,7 +9,6 @@ python3Packages.buildPythonApplication (finalAttrs: { pname = "aqtinstall"; version = "3.3.0"; pyproject = true; - __structuredAttrs = true; src = fetchFromGitHub { owner = "miurahr"; From c900225eb09f2f5fa935385136c841fa4b0e75ed Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Thu, 8 Oct 2026 22:15:01 +0200 Subject: [PATCH 0083/2378] asciidoc: remove redundant __structuredAttrs --- pkgs/by-name/as/asciidoc/package.nix | 2 -- 1 file changed, 2 deletions(-) diff --git a/pkgs/by-name/as/asciidoc/package.nix b/pkgs/by-name/as/asciidoc/package.nix index 8ceb6a06a487..59207d51cc47 100644 --- a/pkgs/by-name/as/asciidoc/package.nix +++ b/pkgs/by-name/as/asciidoc/package.nix @@ -320,8 +320,6 @@ python3.pkgs.buildPythonApplication (finalAttrs: { runHook postCheck ''; - __structuredAttrs = true; - meta = { description = "Text-based document generation system"; longDescription = '' From 03ce717f1344f1d62936ec72d929617917f47fe9 Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Thu, 8 Oct 2026 22:15:01 +0200 Subject: [PATCH 0084/2378] asciimol: remove redundant __structuredAttrs --- pkgs/by-name/as/asciimol/package.nix | 2 -- 1 file changed, 2 deletions(-) diff --git a/pkgs/by-name/as/asciimol/package.nix b/pkgs/by-name/as/asciimol/package.nix index 07787916cb49..b2b77aa5a529 100644 --- a/pkgs/by-name/as/asciimol/package.nix +++ b/pkgs/by-name/as/asciimol/package.nix @@ -10,8 +10,6 @@ python3Packages.buildPythonApplication (finalAttrs: { version = "1.2.7"; pyproject = true; - __structuredAttrs = true; - src = fetchPypi { inherit (finalAttrs) pname version; hash = "sha256-SqwViOnVx1TcpY8Kd5VQCg1A8KQnBhL8aq9Gsrwer3k="; From f6ddb03c271efec597efe3fe5265b2240b6bc609 Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Thu, 8 Oct 2026 22:15:01 +0200 Subject: [PATCH 0085/2378] autopush-rs: remove redundant __structuredAttrs --- pkgs/by-name/au/autopush-rs/package.nix | 2 -- 1 file changed, 2 deletions(-) diff --git a/pkgs/by-name/au/autopush-rs/package.nix b/pkgs/by-name/au/autopush-rs/package.nix index 56f1a5cf2e9f..f0f4a5d7e6c9 100644 --- a/pkgs/by-name/au/autopush-rs/package.nix +++ b/pkgs/by-name/au/autopush-rs/package.nix @@ -24,8 +24,6 @@ let pname = "fernet_key"; inherit version src; - __structuredAttrs = true; - format = "other"; # this would run the upstream docker makefile From 4f9d3a932d9174f351a99277987887f14f02344f Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Thu, 8 Oct 2026 22:15:01 +0200 Subject: [PATCH 0086/2378] aw-watcher-steam: remove redundant __structuredAttrs --- pkgs/by-name/aw/aw-watcher-steam/package.nix | 1 - 1 file changed, 1 deletion(-) diff --git a/pkgs/by-name/aw/aw-watcher-steam/package.nix b/pkgs/by-name/aw/aw-watcher-steam/package.nix index 791bd9909a21..c3761b792fe4 100644 --- a/pkgs/by-name/aw/aw-watcher-steam/package.nix +++ b/pkgs/by-name/aw/aw-watcher-steam/package.nix @@ -9,7 +9,6 @@ python3Packages.buildPythonApplication (finalAttrs: { pname = "aw-watcher-steam"; version = "0-unstable-2025-06-16"; pyproject = true; - __structuredAttrs = true; src = fetchFromGitHub { owner = "Edwardsoen"; From 012758803b0bffd1ee42cb4aeee00f435253a771 Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Thu, 8 Oct 2026 22:15:02 +0200 Subject: [PATCH 0087/2378] awscurl: remove redundant __structuredAttrs --- pkgs/by-name/aw/awscurl/package.nix | 1 - 1 file changed, 1 deletion(-) diff --git a/pkgs/by-name/aw/awscurl/package.nix b/pkgs/by-name/aw/awscurl/package.nix index 353cc5b693b3..0e71f600d4e9 100644 --- a/pkgs/by-name/aw/awscurl/package.nix +++ b/pkgs/by-name/aw/awscurl/package.nix @@ -8,7 +8,6 @@ python3Packages.buildPythonApplication (finalAttrs: { pname = "awscurl"; version = "0.44"; pyproject = true; - __structuredAttrs = true; src = fetchFromGitHub { owner = "okigan"; From 91479257646fcfcb70adb1bec9c031b710ee125f Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Thu, 8 Oct 2026 22:15:02 +0200 Subject: [PATCH 0088/2378] azurefox: remove redundant __structuredAttrs --- pkgs/by-name/az/azurefox/package.nix | 2 -- 1 file changed, 2 deletions(-) diff --git a/pkgs/by-name/az/azurefox/package.nix b/pkgs/by-name/az/azurefox/package.nix index 4c46a8f7310b..9bc0abfb4d28 100644 --- a/pkgs/by-name/az/azurefox/package.nix +++ b/pkgs/by-name/az/azurefox/package.nix @@ -10,8 +10,6 @@ python3Packages.buildPythonApplication (finalAttrs: { version = "1.5.0"; pyproject = true; - __structuredAttrs = true; - src = fetchFromGitHub { owner = "TacoRocket"; repo = "AzureFox"; From 3720651b32f6a2287b31e33daab9333e9c1ae2f5 Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Thu, 8 Oct 2026 22:15:02 +0200 Subject: [PATCH 0089/2378] babeldoc: remove redundant __structuredAttrs --- pkgs/by-name/ba/babeldoc/package.nix | 1 - 1 file changed, 1 deletion(-) diff --git a/pkgs/by-name/ba/babeldoc/package.nix b/pkgs/by-name/ba/babeldoc/package.nix index 0d79adbe14cd..fc003ca6e1ba 100644 --- a/pkgs/by-name/ba/babeldoc/package.nix +++ b/pkgs/by-name/ba/babeldoc/package.nix @@ -12,7 +12,6 @@ python3Packages.buildPythonApplication (finalAttrs: { pname = "babeldoc"; version = "0.6.4"; pyproject = true; - __structuredAttrs = true; src = fetchFromGitHub { owner = "funstory-ai"; From 698f809c427f57ce496c74c9c810c44f6cb01351 Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Thu, 8 Oct 2026 22:15:02 +0200 Subject: [PATCH 0090/2378] bandcampsync: remove redundant __structuredAttrs --- pkgs/by-name/ba/bandcampsync/package.nix | 2 -- 1 file changed, 2 deletions(-) diff --git a/pkgs/by-name/ba/bandcampsync/package.nix b/pkgs/by-name/ba/bandcampsync/package.nix index 3a598bfd55bf..a14582fe0956 100644 --- a/pkgs/by-name/ba/bandcampsync/package.nix +++ b/pkgs/by-name/ba/bandcampsync/package.nix @@ -9,8 +9,6 @@ python3.pkgs.buildPythonApplication (finalAttrs: { version = "0.8.0"; pyproject = true; - __structuredAttrs = true; - src = fetchFromGitHub { owner = "meeb"; repo = "bandcampsync"; From 630bb40cfeeb8012eacbae69bb9bb0bf5ed08d7b Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Thu, 8 Oct 2026 22:15:03 +0200 Subject: [PATCH 0091/2378] bazarr: remove redundant __structuredAttrs --- pkgs/by-name/ba/bazarr/package.nix | 1 - 1 file changed, 1 deletion(-) diff --git a/pkgs/by-name/ba/bazarr/package.nix b/pkgs/by-name/ba/bazarr/package.nix index fa97f688597d..2c979a1ee3b8 100644 --- a/pkgs/by-name/ba/bazarr/package.nix +++ b/pkgs/by-name/ba/bazarr/package.nix @@ -30,7 +30,6 @@ python313Packages.buildPythonApplication (finalAttrs: { webrtcvad ]; - __structuredAttrs = true; dontBuild = true; dontWrapPythonPrograms = true; pyproject = false; From 8185cfedac58b92a58a04aed7ad912041bd830c1 Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Thu, 8 Oct 2026 22:15:03 +0200 Subject: [PATCH 0092/2378] bitbake-setup: remove redundant __structuredAttrs --- pkgs/by-name/bi/bitbake-setup/package.nix | 2 -- 1 file changed, 2 deletions(-) diff --git a/pkgs/by-name/bi/bitbake-setup/package.nix b/pkgs/by-name/bi/bitbake-setup/package.nix index d37b04d9cb41..aa2a9d47df4b 100644 --- a/pkgs/by-name/bi/bitbake-setup/package.nix +++ b/pkgs/by-name/bi/bitbake-setup/package.nix @@ -13,8 +13,6 @@ python3Packages.buildPythonApplication (finalAttrs: { version = "2.19.0"; format = "wheel"; - __structuredAttrs = true; - src = fetchPypi { pname = "bitbake_setup"; inherit (finalAttrs) version; From fcd17bb8442d88a61d3d19e1a44432855765986c Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Thu, 8 Oct 2026 22:15:03 +0200 Subject: [PATCH 0093/2378] borgmatic: remove redundant __structuredAttrs --- pkgs/by-name/bo/borgmatic/package.nix | 2 -- 1 file changed, 2 deletions(-) diff --git a/pkgs/by-name/bo/borgmatic/package.nix b/pkgs/by-name/bo/borgmatic/package.nix index 101922c56db6..07264a9ee779 100644 --- a/pkgs/by-name/bo/borgmatic/package.nix +++ b/pkgs/by-name/bo/borgmatic/package.nix @@ -18,8 +18,6 @@ python3Packages.buildPythonApplication (finalAttrs: { version = "2.1.7"; pyproject = true; - __structuredAttrs = true; - src = fetchPypi { inherit (finalAttrs) pname version; hash = "sha256-qsB8564wCWBemsxn7vIBmntdabzK1j7agP8ZK2nzdc8="; From c12e9071977c16e791a9907ad73f87b6bfae03cb Mon Sep 17 00:00:00 2001 From: r-vdp Date: Thu, 8 Oct 2026 14:27:10 +0200 Subject: [PATCH 0094/2378] stdenv: drop the msg about structuredAttrs being enabled With more and more packages enabling structuredAttrs, we get a lot of noise during builds with every drv that has it enabled printing a msg. --- pkgs/stdenv/generic/setup.sh | 1 - 1 file changed, 1 deletion(-) diff --git a/pkgs/stdenv/generic/setup.sh b/pkgs/stdenv/generic/setup.sh index 9daea9ca9fb4..eed3f63d6144 100644 --- a/pkgs/stdenv/generic/setup.sh +++ b/pkgs/stdenv/generic/setup.sh @@ -27,7 +27,6 @@ fi if [[ -n "${NIX_ATTRS_JSON_FILE:-}" ]]; then __structuredAttrs=1 - echo "structuredAttrs is enabled" _exportOutputsByName() { local outputName From e1fef8d0991be7a9047b2976699a9997e64f0d89 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sandro=20J=C3=A4ckel?= Date: Thu, 18 Dec 2025 15:02:30 +0100 Subject: [PATCH 0095/2378] python3Packages.pygobject3: add option to build without cairo See https://gitlab.gnome.org/GNOME/pygobject/-/blob/3.54.5/meson_options.txt?ref_type=tags#L2 --- pkgs/development/python-modules/pygobject/3.nix | 14 +++++++++++--- 1 file changed, 11 insertions(+), 3 deletions(-) diff --git a/pkgs/development/python-modules/pygobject/3.nix b/pkgs/development/python-modules/pygobject/3.nix index b912d6b04bb8..bd188603d0dd 100644 --- a/pkgs/development/python-modules/pygobject/3.nix +++ b/pkgs/development/python-modules/pygobject/3.nix @@ -13,6 +13,8 @@ ninja, gnome, python, + + withCairo ? true, }: buildPythonPackage rec { @@ -41,14 +43,18 @@ buildPythonPackage rec { ]; buildInputs = [ - cairo glib ] + ++ lib.optionals withCairo [ + cairo + ] ++ lib.optionals stdenv.hostPlatform.isDarwin [ ncurses ]; propagatedBuildInputs = [ - pycairo gobject-introspection # e.g. try building: python3Packages.urwid python3Packages.pydbus + ] + ++ lib.optionals withCairo [ + pycairo ]; # Fixes https://github.com/NixOS/nixpkgs/issues/378447 @@ -61,7 +67,9 @@ buildPythonPackage rec { # This is only used for figuring out what version of Python is in # use, and related stuff like figuring out what the install prefix # should be, but it does need to be able to execute Python code. - "-Dpython=${python.pythonOnBuildForHost.interpreter}" + (lib.mesonOption "python" python.pythonOnBuildForHost.interpreter) + + (lib.mesonEnable "pycairo" withCairo) ]; passthru = { From 8268a14c5c1610213af1eb84c1a46fd253184c49 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sandro=20J=C3=A4ckel?= Date: Thu, 18 Dec 2025 15:02:59 +0100 Subject: [PATCH 0096/2378] networkd-dispatcher: use pygobject3 without cairo This avoids GUI runtime dependencies --- pkgs/by-name/ne/networkd-dispatcher/package.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkgs/by-name/ne/networkd-dispatcher/package.nix b/pkgs/by-name/ne/networkd-dispatcher/package.nix index c7a8df5b73c3..d09a7561bd28 100644 --- a/pkgs/by-name/ne/networkd-dispatcher/package.nix +++ b/pkgs/by-name/ne/networkd-dispatcher/package.nix @@ -51,7 +51,7 @@ stdenv.mkDerivation (finalAttrs: { buildInputs = [ (python3.withPackages (ps: [ ps.dbus-python - ps.pygobject3 + (ps.pygobject3.override { withCairo = false; }) ])) ]; From 1574948e8d98d683fbfc555fe0845555773426d0 Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Thu, 8 Oct 2026 22:15:03 +0200 Subject: [PATCH 0097/2378] caelestia-cli: remove redundant __structuredAttrs, use finalAttrs --- pkgs/by-name/ca/caelestia-cli/package.nix | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/pkgs/by-name/ca/caelestia-cli/package.nix b/pkgs/by-name/ca/caelestia-cli/package.nix index 4b75723ab8fa..fa1810660d0c 100644 --- a/pkgs/by-name/ca/caelestia-cli/package.nix +++ b/pkgs/by-name/ca/caelestia-cli/package.nix @@ -17,15 +17,14 @@ killall, }: -python3.pkgs.buildPythonApplication rec { +python3.pkgs.buildPythonApplication (finalAttrs: { pname = "caelestia-cli"; - __structuredAttrs = true; version = "1.1.3"; src = fetchFromGitHub { owner = "caelestia-dots"; repo = "cli"; - tag = "v${version}"; + tag = "v${finalAttrs.version}"; hash = "sha256-71nGzEgBK7lZVjjKC9h1zmVlloZOmSlzn0Q4VoYo6gI="; }; @@ -64,10 +63,10 @@ python3.pkgs.buildPythonApplication rec { "--suffix" "PATH" ":" - "${lib.makeBinPath runtimeDeps}" + "${lib.makeBinPath finalAttrs.runtimeDeps}" ]; - env.SETUPTOOLS_SCM_PRETEND_VERSION = version; + env.SETUPTOOLS_SCM_PRETEND_VERSION = finalAttrs.version; postPatch = '' substituteInPlace src/caelestia/subcommands/{shell.py,screenshot.py} \ @@ -89,4 +88,4 @@ python3.pkgs.buildPythonApplication rec { maintainers = with lib.maintainers; [ rachalaraj ]; platforms = lib.platforms.linux; }; -} +}) From ddef23bb7195f4ac5515e022907d4a8965ba9dcf Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Thu, 8 Oct 2026 22:15:04 +0200 Subject: [PATCH 0098/2378] cai: remove redundant __structuredAttrs --- pkgs/by-name/ca/cai/package.nix | 2 -- 1 file changed, 2 deletions(-) diff --git a/pkgs/by-name/ca/cai/package.nix b/pkgs/by-name/ca/cai/package.nix index 2bc457a2ccfd..1cd531a8d803 100644 --- a/pkgs/by-name/ca/cai/package.nix +++ b/pkgs/by-name/ca/cai/package.nix @@ -11,8 +11,6 @@ python3Packages.buildPythonApplication (finalAttrs: { version = "1.1.5-unstable-2026-06-05"; pyproject = true; - __structuredAttrs = true; - src = fetchFromGitHub { owner = "aliasrobotics"; repo = "cai"; From 1f09fa8593b33cd2262fddbc43d6b6207970aa0b Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Thu, 8 Oct 2026 22:15:04 +0200 Subject: [PATCH 0099/2378] calibre-web: remove redundant __structuredAttrs --- pkgs/by-name/ca/calibre-web/package.nix | 1 - 1 file changed, 1 deletion(-) diff --git a/pkgs/by-name/ca/calibre-web/package.nix b/pkgs/by-name/ca/calibre-web/package.nix index f3dbabd0fe66..c9f21736cc63 100644 --- a/pkgs/by-name/ca/calibre-web/package.nix +++ b/pkgs/by-name/ca/calibre-web/package.nix @@ -10,7 +10,6 @@ python3Packages.buildPythonApplication (finalAttrs: { pname = "calibre-web"; version = "0.6.27"; pyproject = true; - __structuredAttrs = true; src = fetchFromGitHub { owner = "janeczku"; From 328113eaf7499577714e4fb315ac53479edeb21e Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Thu, 8 Oct 2026 22:15:04 +0200 Subject: [PATCH 0100/2378] catgirldownloader: remove redundant __structuredAttrs --- pkgs/by-name/ca/catgirldownloader/package.nix | 1 - 1 file changed, 1 deletion(-) diff --git a/pkgs/by-name/ca/catgirldownloader/package.nix b/pkgs/by-name/ca/catgirldownloader/package.nix index 9c9a542d9c5e..dee8faeabde2 100644 --- a/pkgs/by-name/ca/catgirldownloader/package.nix +++ b/pkgs/by-name/ca/catgirldownloader/package.nix @@ -16,7 +16,6 @@ python3Packages.buildPythonApplication (finalAttrs: { pname = "catgirldownloader"; version = "0.5"; - __structuredAttrs = true; pyproject = false; src = fetchFromGitHub { From 066f0730885a4230d3abb70862c9983d797cdf6d Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Thu, 8 Oct 2026 22:15:04 +0200 Subject: [PATCH 0101/2378] catt: remove redundant __structuredAttrs --- pkgs/by-name/ca/catt/package.nix | 1 - 1 file changed, 1 deletion(-) diff --git a/pkgs/by-name/ca/catt/package.nix b/pkgs/by-name/ca/catt/package.nix index 2298428dd0f7..88bff35b1931 100644 --- a/pkgs/by-name/ca/catt/package.nix +++ b/pkgs/by-name/ca/catt/package.nix @@ -9,7 +9,6 @@ python3Packages.buildPythonApplication (finalAttrs: { pname = "catt"; version = "0.13.3"; pyproject = true; - __structuredAttrs = true; src = fetchFromGitHub { owner = "skorokithakis"; From cb2c34b5df792bc5e95e9867a26e5b124aef5047 Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Thu, 8 Oct 2026 22:15:05 +0200 Subject: [PATCH 0102/2378] ceph: remove redundant __structuredAttrs --- pkgs/by-name/ce/ceph/python-common.nix | 1 - 1 file changed, 1 deletion(-) diff --git a/pkgs/by-name/ce/ceph/python-common.nix b/pkgs/by-name/ce/ceph/python-common.nix index 5782719df6b2..30b2e53f69ba 100644 --- a/pkgs/by-name/ce/ceph/python-common.nix +++ b/pkgs/by-name/ce/ceph/python-common.nix @@ -10,7 +10,6 @@ ceph-python.pkgs.buildPythonPackage (finalAttrs: { src = ceph-src; pyproject = true; - __structuredAttrs = true; sourceRoot = "${ceph-src.name}/src/python-common"; From 11a7efdff2d30068e7a65fb4289b18d341f49a57 Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Thu, 8 Oct 2026 22:15:05 +0200 Subject: [PATCH 0103/2378] clickable: remove redundant __structuredAttrs --- pkgs/by-name/cl/clickable/package.nix | 2 -- 1 file changed, 2 deletions(-) diff --git a/pkgs/by-name/cl/clickable/package.nix b/pkgs/by-name/cl/clickable/package.nix index f0b2f1cbc9fa..251160916c89 100644 --- a/pkgs/by-name/cl/clickable/package.nix +++ b/pkgs/by-name/cl/clickable/package.nix @@ -21,8 +21,6 @@ python3Packages.buildPythonApplication (finalAttrs: { hash = "sha256-OCwGaV4IsX2Tcd8vcCZ+hYrCHuq9ADm3O81UdH3roAA="; }; - __structuredAttrs = true; - build-system = [ python3Packages.setuptools ]; dependencies = with python3Packages; [ From 23a3a18f911b92280832da1a135958d83f8844f4 Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Thu, 8 Oct 2026 22:15:05 +0200 Subject: [PATCH 0104/2378] cloud-custodian: remove redundant __structuredAttrs --- pkgs/by-name/cl/cloud-custodian/package.nix | 2 -- 1 file changed, 2 deletions(-) diff --git a/pkgs/by-name/cl/cloud-custodian/package.nix b/pkgs/by-name/cl/cloud-custodian/package.nix index 0f238944b8f0..269ce329a418 100644 --- a/pkgs/by-name/cl/cloud-custodian/package.nix +++ b/pkgs/by-name/cl/cloud-custodian/package.nix @@ -10,8 +10,6 @@ python3.pkgs.buildPythonApplication (finalAttrs: { version = "0.9.52.0"; pyproject = true; - __structuredAttrs = true; - src = fetchFromGitHub { owner = "cloud-custodian"; repo = "cloud-custodian"; From 82d33a576e46966ef13ebdf10134d47843df983e Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Thu, 8 Oct 2026 22:15:05 +0200 Subject: [PATCH 0105/2378] codechecker: remove redundant __structuredAttrs --- pkgs/by-name/co/codechecker/package.nix | 2 -- 1 file changed, 2 deletions(-) diff --git a/pkgs/by-name/co/codechecker/package.nix b/pkgs/by-name/co/codechecker/package.nix index f4c5a44d4d8b..c8e40b39a97b 100644 --- a/pkgs/by-name/co/codechecker/package.nix +++ b/pkgs/by-name/co/codechecker/package.nix @@ -21,8 +21,6 @@ python313Packages.buildPythonApplication (finalAttrs: { version = "6.28.0"; pyproject = true; - __structuredAttrs = true; - src = fetchPypi { inherit (finalAttrs) pname version; hash = "sha256-wxV+/hzsk7RrzWTXNz5HyweYdFFI1upNS508QRPCefo="; From caf031099d0bd6f64844498361477bca50732768 Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Thu, 8 Oct 2026 22:15:06 +0200 Subject: [PATCH 0106/2378] credspy: remove redundant __structuredAttrs --- pkgs/by-name/cr/credspy/package.nix | 2 -- 1 file changed, 2 deletions(-) diff --git a/pkgs/by-name/cr/credspy/package.nix b/pkgs/by-name/cr/credspy/package.nix index f964103921ab..0b0e5319fe55 100644 --- a/pkgs/by-name/cr/credspy/package.nix +++ b/pkgs/by-name/cr/credspy/package.nix @@ -10,8 +10,6 @@ python3Packages.buildPythonApplication (finalAttrs: { version = "1.0.0-unstable-2026-06-22"; pyproject = true; - __structuredAttrs = true; - src = fetchFromGitHub { owner = "RedByte1337"; repo = "CredSpy"; From dcc94de414578b9b0d13c3581be5bc2dd52034d6 Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Thu, 8 Oct 2026 22:15:06 +0200 Subject: [PATCH 0107/2378] credwolf: remove redundant __structuredAttrs --- pkgs/by-name/cr/credwolf/package.nix | 2 -- 1 file changed, 2 deletions(-) diff --git a/pkgs/by-name/cr/credwolf/package.nix b/pkgs/by-name/cr/credwolf/package.nix index 76587c47b9b5..efa79cb8c55c 100644 --- a/pkgs/by-name/cr/credwolf/package.nix +++ b/pkgs/by-name/cr/credwolf/package.nix @@ -10,8 +10,6 @@ python3Packages.buildPythonApplication (finalAttrs: { version = "1.2.1"; pyproject = true; - __structuredAttrs = true; - src = fetchFromGitHub { owner = "StrongWind1"; repo = "CredWolf"; From 152eb6ca8abcee022c56c00c172cabd62eed2c7a Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Thu, 8 Oct 2026 22:15:06 +0200 Subject: [PATCH 0108/2378] cryptop: remove redundant __structuredAttrs --- pkgs/by-name/cr/cryptop/package.nix | 1 - 1 file changed, 1 deletion(-) diff --git a/pkgs/by-name/cr/cryptop/package.nix b/pkgs/by-name/cr/cryptop/package.nix index d752b34e6495..b7a4448556c0 100644 --- a/pkgs/by-name/cr/cryptop/package.nix +++ b/pkgs/by-name/cr/cryptop/package.nix @@ -7,7 +7,6 @@ python3Packages.buildPythonApplication (finalAttrs: { pname = "cryptop"; version = "0.2.0"; pyproject = true; - __structuredAttrs = true; src = fetchFromGitHub { owner = "huwwp"; From ace8094ae999d729c8ba55bd6353c9cb2fa1628e Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Thu, 8 Oct 2026 22:15:06 +0200 Subject: [PATCH 0109/2378] daktari: remove redundant __structuredAttrs --- pkgs/by-name/da/daktari/package.nix | 1 - 1 file changed, 1 deletion(-) diff --git a/pkgs/by-name/da/daktari/package.nix b/pkgs/by-name/da/daktari/package.nix index 683cac0b5007..144e4bf76952 100644 --- a/pkgs/by-name/da/daktari/package.nix +++ b/pkgs/by-name/da/daktari/package.nix @@ -9,7 +9,6 @@ python3Packages.buildPythonApplication (finalAttrs: { pname = "daktari"; version = "0.0.357"; pyproject = true; - __structuredAttrs = true; src = fetchFromGitHub { owner = "genio-learn"; From 9842a9d43d8995e7e73fd8faeafb8e7c85573013 Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Thu, 8 Oct 2026 22:15:06 +0200 Subject: [PATCH 0110/2378] deeptools: remove redundant __structuredAttrs --- pkgs/by-name/de/deeptools/package.nix | 1 - 1 file changed, 1 deletion(-) diff --git a/pkgs/by-name/de/deeptools/package.nix b/pkgs/by-name/de/deeptools/package.nix index 8f6d2e70001e..cf3c5ba3b220 100644 --- a/pkgs/by-name/de/deeptools/package.nix +++ b/pkgs/by-name/de/deeptools/package.nix @@ -12,7 +12,6 @@ python3Packages.buildPythonApplication (finalAttrs: { pname = "deeptools"; version = "3.5.6"; pyproject = true; - __structuredAttrs = true; src = fetchFromGitHub { owner = "deeptools"; From 63df0d640d0810dad86c12f7dc87d7bf01b59b0b Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Thu, 8 Oct 2026 22:15:07 +0200 Subject: [PATCH 0111/2378] depthcharge-tools: remove redundant __structuredAttrs --- pkgs/by-name/de/depthcharge-tools/package.nix | 2 -- 1 file changed, 2 deletions(-) diff --git a/pkgs/by-name/de/depthcharge-tools/package.nix b/pkgs/by-name/de/depthcharge-tools/package.nix index 9638e90c7949..5b4d42577a0c 100644 --- a/pkgs/by-name/de/depthcharge-tools/package.nix +++ b/pkgs/by-name/de/depthcharge-tools/package.nix @@ -54,8 +54,6 @@ python3Packages.buildPythonApplication (finalAttrs: { passthru.updateScript = nix-update-script { }; - __structuredAttrs = true; - meta = { description = "Tools to manage the Chrome OS bootloader"; homepage = "https://gitlab.postmarketos.org/postmarketOS/depthcharge-tools"; From 1844919c9263d1e82c9812d54ff2b832e42e2de7 Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Thu, 8 Oct 2026 22:15:07 +0200 Subject: [PATCH 0112/2378] doc2dash: remove redundant __structuredAttrs --- pkgs/by-name/do/doc2dash/package.nix | 1 - 1 file changed, 1 deletion(-) diff --git a/pkgs/by-name/do/doc2dash/package.nix b/pkgs/by-name/do/doc2dash/package.nix index fb5609690a05..d5804ef55157 100644 --- a/pkgs/by-name/do/doc2dash/package.nix +++ b/pkgs/by-name/do/doc2dash/package.nix @@ -8,7 +8,6 @@ python3Packages.buildPythonApplication (finalAttrs: { pname = "doc2dash"; version = "3.1.0"; pyproject = true; - __structuredAttrs = true; src = fetchFromGitHub { owner = "hynek"; From 7debe49a28f35662d01eaa519313b2f7ed33aa83 Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Thu, 8 Oct 2026 22:15:07 +0200 Subject: [PATCH 0113/2378] dr14_tmeter: remove redundant __structuredAttrs --- pkgs/by-name/dr/dr14_tmeter/package.nix | 1 - 1 file changed, 1 deletion(-) diff --git a/pkgs/by-name/dr/dr14_tmeter/package.nix b/pkgs/by-name/dr/dr14_tmeter/package.nix index 27696128cbec..2c1004258f79 100644 --- a/pkgs/by-name/dr/dr14_tmeter/package.nix +++ b/pkgs/by-name/dr/dr14_tmeter/package.nix @@ -13,7 +13,6 @@ python3Packages.buildPythonApplication { pname = "dr14_tmeter"; version = "1.0.16-unstable-2025-09-27"; pyproject = true; - __structuredAttrs = true; src = fetchFromGitHub { owner = "hboetes"; From 891e7f56bd7134249be42892932613350d18ac2a Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Thu, 8 Oct 2026 22:15:08 +0200 Subject: [PATCH 0114/2378] dumpyara: remove redundant __structuredAttrs --- pkgs/by-name/du/dumpyara/package.nix | 2 -- 1 file changed, 2 deletions(-) diff --git a/pkgs/by-name/du/dumpyara/package.nix b/pkgs/by-name/du/dumpyara/package.nix index e767ee2548f2..28745dbfbf18 100644 --- a/pkgs/by-name/du/dumpyara/package.nix +++ b/pkgs/by-name/du/dumpyara/package.nix @@ -71,8 +71,6 @@ python3Packages.buildPythonApplication (finalAttrs: { updateScript = nix-update-script { }; }; - __structuredAttrs = true; - meta = { description = "Android firmware dumper"; homepage = "https://github.com/sebaubuntu-python/dumpyara"; From 718ecd8d6b2850fb467067a0589800dd0c689152 Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Thu, 8 Oct 2026 22:15:08 +0200 Subject: [PATCH 0115/2378] durdraw: remove redundant __structuredAttrs, use finalAttrs --- pkgs/by-name/du/durdraw/package.nix | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/pkgs/by-name/du/durdraw/package.nix b/pkgs/by-name/du/durdraw/package.nix index 8e6dc24fe239..443a797b6b91 100644 --- a/pkgs/by-name/du/durdraw/package.nix +++ b/pkgs/by-name/du/durdraw/package.nix @@ -9,16 +9,15 @@ tzdata, }: -python3Packages.buildPythonApplication rec { +python3Packages.buildPythonApplication (finalAttrs: { pname = "durdraw"; version = "0.30.1"; pyproject = true; - __structuredAttrs = true; src = fetchFromGitHub { owner = "durdraw"; repo = "durdraw"; - tag = version; + tag = finalAttrs.version; hash = "sha256-kiSqjULJqpz4mGTXfvM0R4N/YNvnG8OPz83QJMqKSXQ="; }; @@ -66,10 +65,10 @@ python3Packages.buildPythonApplication rec { block characters, and PNG/GIF export via ansilove. ''; homepage = "https://durdraw.org"; - changelog = "https://github.com/durdraw/durdraw/releases/tag/${version}"; + changelog = "https://github.com/durdraw/durdraw/releases/tag/${finalAttrs.src.tag}"; license = lib.licenses.bsd3; maintainers = with lib.maintainers; [ tahuffman1s ]; mainProgram = "durdraw"; platforms = lib.platforms.unix; }; -} +}) From 7d8c579f179ab1c194f50a7755395997846ce555 Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Thu, 8 Oct 2026 22:15:08 +0200 Subject: [PATCH 0116/2378] dvr-scan: remove redundant __structuredAttrs, use finalAttrs --- pkgs/by-name/dv/dvr-scan/package.nix | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/pkgs/by-name/dv/dvr-scan/package.nix b/pkgs/by-name/dv/dvr-scan/package.nix index 5dde8095b105..b0399cd5f89e 100644 --- a/pkgs/by-name/dv/dvr-scan/package.nix +++ b/pkgs/by-name/dv/dvr-scan/package.nix @@ -4,17 +4,15 @@ fetchFromGitHub, writableTmpDirAsHomeHook, }: -python3Packages.buildPythonApplication rec { +python3Packages.buildPythonApplication (finalAttrs: { pname = "dvr-scan"; version = "1.8.2"; pyproject = true; - __structuredAttrs = true; - src = fetchFromGitHub { owner = "Breakthrough"; repo = "DVR-Scan"; - tag = "v${version}-release"; + tag = "v${finalAttrs.version}-release"; hash = "sha256-+1liOZu8360aQlNwWaJXJQS/0POT9bTcIUkDg/v4lxU="; }; @@ -62,9 +60,9 @@ python3Packages.buildPythonApplication rec { Command-line application that automatically detects motion events in video files (e.g. security camera footage). DVR-Scan looks for areas in footage containing motion, and saves each event to a separate video clip. DVR-Scan is free and open-source software, and works on Windows, Linux, and Mac. ''; homepage = "https://www.dvr-scan.com"; - changelog = "https://github.com/Breakthrough/DVR-Scan/releases/tag/v${version}-release"; + changelog = "https://github.com/Breakthrough/DVR-Scan/releases/tag/${finalAttrs.src.tag}"; mainProgram = "dvr-scan"; license = lib.licenses.bsd2; maintainers = with lib.maintainers; [ DataHearth ]; }; -} +}) From 3253928705470d6c2cf38e10e92269ce75daac09 Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Thu, 8 Oct 2026 22:15:08 +0200 Subject: [PATCH 0117/2378] embedxpl: remove redundant __structuredAttrs --- pkgs/by-name/em/embedxpl/package.nix | 2 -- 1 file changed, 2 deletions(-) diff --git a/pkgs/by-name/em/embedxpl/package.nix b/pkgs/by-name/em/embedxpl/package.nix index 143bf86d04de..814bfdfe58d1 100644 --- a/pkgs/by-name/em/embedxpl/package.nix +++ b/pkgs/by-name/em/embedxpl/package.nix @@ -16,8 +16,6 @@ python3.pkgs.buildPythonApplication (finalAttrs: { hash = "sha256-rBmjUY9t6oKGXMiO1ZauY1SuA1D/F0YNe6aJip7NdiM="; }; - __structuredAttrs = true; - build-system = with python3.pkgs; [ setuptools ]; dependencies = with python3.pkgs; [ From e62d506c9e60a3078c5a80481a25c87e02b81766 Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Thu, 8 Oct 2026 22:15:09 +0200 Subject: [PATCH 0118/2378] esphome-device-builder: remove redundant __structuredAttrs --- pkgs/by-name/es/esphome-device-builder/frontend.nix | 2 -- pkgs/by-name/es/esphome-device-builder/package.nix | 2 -- 2 files changed, 4 deletions(-) diff --git a/pkgs/by-name/es/esphome-device-builder/frontend.nix b/pkgs/by-name/es/esphome-device-builder/frontend.nix index 4cb5b98d240d..f4a79c89c179 100644 --- a/pkgs/by-name/es/esphome-device-builder/frontend.nix +++ b/pkgs/by-name/es/esphome-device-builder/frontend.nix @@ -17,8 +17,6 @@ buildPythonPackage (finalAttrs: { version = "0.1.329"; pyproject = true; - __structuredAttrs = true; - src = fetchFromGitHub { owner = "esphome"; repo = "device-builder-frontend"; diff --git a/pkgs/by-name/es/esphome-device-builder/package.nix b/pkgs/by-name/es/esphome-device-builder/package.nix index 2921b4a2ab5d..eada14e2fa04 100644 --- a/pkgs/by-name/es/esphome-device-builder/package.nix +++ b/pkgs/by-name/es/esphome-device-builder/package.nix @@ -43,8 +43,6 @@ pythonPackages.buildPythonApplication (finalAttrs: { hash = "sha256-G2zY0ilXCAFiSkQvaSN7rdlSBH8WkjKXkkDQqvTfvI0="; }; - __structuredAttrs = true; - nativeBuildInputs = with pythonPackages; [ pyprojectVersionPatchHook ]; From d412d20891a442621809766c46fc85f2b6a56f92 Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Thu, 8 Oct 2026 22:15:09 +0200 Subject: [PATCH 0119/2378] exegol: remove redundant __structuredAttrs --- pkgs/by-name/ex/exegol/package.nix | 1 - 1 file changed, 1 deletion(-) diff --git a/pkgs/by-name/ex/exegol/package.nix b/pkgs/by-name/ex/exegol/package.nix index 7d26bd1e9d6b..e300193ee766 100644 --- a/pkgs/by-name/ex/exegol/package.nix +++ b/pkgs/by-name/ex/exegol/package.nix @@ -8,7 +8,6 @@ python3Packages.buildPythonApplication (finalAttrs: { pname = "exegol"; version = "5.1.13"; pyproject = true; - __structuredAttrs = true; src = fetchFromGitHub { owner = "ThePorgs"; From cecefb691eab29594e79c05fa708a9e0c6b3367d Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Thu, 8 Oct 2026 22:15:09 +0200 Subject: [PATCH 0120/2378] exo: remove redundant __structuredAttrs --- pkgs/by-name/ex/exo/package.nix | 1 - 1 file changed, 1 deletion(-) diff --git a/pkgs/by-name/ex/exo/package.nix b/pkgs/by-name/ex/exo/package.nix index 852ef7cd1ba6..21ac190c99f0 100644 --- a/pkgs/by-name/ex/exo/package.nix +++ b/pkgs/by-name/ex/exo/package.nix @@ -34,7 +34,6 @@ let version = "0.2.1"; inherit src; pyproject = true; - __structuredAttrs = true; buildAndTestSubdir = "rust/exo_pyo3_bindings"; From 9fdde8499bcf6c29f9bd7a020a5105ba2a21d8ac Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Thu, 8 Oct 2026 22:15:09 +0200 Subject: [PATCH 0121/2378] fail2ban: remove redundant __structuredAttrs --- pkgs/by-name/fa/fail2ban/package.nix | 2 -- 1 file changed, 2 deletions(-) diff --git a/pkgs/by-name/fa/fail2ban/package.nix b/pkgs/by-name/fa/fail2ban/package.nix index a39b9a5662bc..6a06e853ff4f 100644 --- a/pkgs/by-name/fa/fail2ban/package.nix +++ b/pkgs/by-name/fa/fail2ban/package.nix @@ -13,8 +13,6 @@ python3.pkgs.buildPythonApplication (finalAttrs: { version = "1.1.1"; pyproject = true; - __structuredAttrs = true; - src = fetchFromGitHub { owner = "fail2ban"; repo = "fail2ban"; From 5f9a4ef3ca85311a66a3a80bfa2b239b55646fd3 Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Thu, 8 Oct 2026 22:15:10 +0200 Subject: [PATCH 0122/2378] fastflix: remove redundant __structuredAttrs, use finalAttrs --- pkgs/by-name/fa/fastflix/package.nix | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/pkgs/by-name/fa/fastflix/package.nix b/pkgs/by-name/fa/fastflix/package.nix index ed1d4964603d..13ea19c50c3c 100644 --- a/pkgs/by-name/fa/fastflix/package.nix +++ b/pkgs/by-name/fa/fastflix/package.nix @@ -8,17 +8,15 @@ tesseract, }: -python3Packages.buildPythonApplication rec { +python3Packages.buildPythonApplication (finalAttrs: { pname = "fastflix"; version = "6.2.1"; pyproject = true; - __structuredAttrs = true; - src = fetchFromGitHub { owner = "cdgriffith"; repo = "FastFlix"; - tag = version; + tag = finalAttrs.version; hash = "sha256-vlMS3Grqp6Ys1++711lwRuFC4LhcyrHtU/S3MGB4riY="; }; @@ -115,10 +113,10 @@ python3Packages.buildPythonApplication rec { meta = { description = "Simple and friendly GUI for encoding videos"; homepage = "https://github.com/cdgriffith/FastFlix"; - changelog = "https://github.com/cdgriffith/FastFlix/releases/tag/${version}"; + changelog = "https://github.com/cdgriffith/FastFlix/releases/tag/${finalAttrs.src.tag}"; license = lib.licenses.mit; maintainers = with lib.maintainers; [ sophronesis ]; platforms = lib.platforms.linux; mainProgram = "fastflix"; }; -} +}) From c2a8186518233bd7b5edaf93a03a461041dc1277 Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Thu, 8 Oct 2026 22:15:10 +0200 Subject: [PATCH 0123/2378] gdbgui: remove redundant __structuredAttrs --- pkgs/by-name/gd/gdbgui/package.nix | 2 -- 1 file changed, 2 deletions(-) diff --git a/pkgs/by-name/gd/gdbgui/package.nix b/pkgs/by-name/gd/gdbgui/package.nix index ae7e1b01cbe6..83caba33ede6 100644 --- a/pkgs/by-name/gd/gdbgui/package.nix +++ b/pkgs/by-name/gd/gdbgui/package.nix @@ -10,8 +10,6 @@ python3Packages.buildPythonApplication (finalAttrs: { version = "0.15.3.0"; pyproject = true; - __structuredAttrs = true; - src = fetchPypi { inherit (finalAttrs) pname version; hash = "sha256-/HyFE0JnoN03CDyCQCo/Y9RyH4YOMoeB7khReIb8t7Y="; From fba336125408eaadd43ed94b243d02354ecb7787 Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Thu, 8 Oct 2026 22:15:10 +0200 Subject: [PATCH 0124/2378] geobug: remove redundant __structuredAttrs --- pkgs/by-name/ge/geobug/package.nix | 2 -- 1 file changed, 2 deletions(-) diff --git a/pkgs/by-name/ge/geobug/package.nix b/pkgs/by-name/ge/geobug/package.nix index da3eac02e641..db3e5fa3e555 100644 --- a/pkgs/by-name/ge/geobug/package.nix +++ b/pkgs/by-name/ge/geobug/package.nix @@ -43,8 +43,6 @@ python3Packages.buildPythonApplication (finalAttrs: { "geobug" ]; - __structuredAttrs = true; - meta = { description = "Adaptive GeoClue client"; longDescription = '' From f4dc256d01a9de692f0c9182d15095acbec54fc2 Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Thu, 8 Oct 2026 22:15:10 +0200 Subject: [PATCH 0125/2378] getsploit: remove redundant __structuredAttrs --- pkgs/by-name/ge/getsploit/package.nix | 2 -- 1 file changed, 2 deletions(-) diff --git a/pkgs/by-name/ge/getsploit/package.nix b/pkgs/by-name/ge/getsploit/package.nix index ed0d86306dce..3a313b42c0bb 100644 --- a/pkgs/by-name/ge/getsploit/package.nix +++ b/pkgs/by-name/ge/getsploit/package.nix @@ -11,8 +11,6 @@ python3Packages.buildPythonApplication (finalAttrs: { version = "3.0.1"; pyproject = true; - __structuredAttrs = true; - src = fetchFromGitHub { owner = "vulnersCom"; repo = "getsploit"; From 8e6caaa9384471b045d976a1f320a34b6e89ce64 Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Thu, 8 Oct 2026 22:15:11 +0200 Subject: [PATCH 0126/2378] ghcherry: remove redundant __structuredAttrs --- pkgs/by-name/gh/ghcherry/package.nix | 1 - 1 file changed, 1 deletion(-) diff --git a/pkgs/by-name/gh/ghcherry/package.nix b/pkgs/by-name/gh/ghcherry/package.nix index ff15b24f600d..60054d85a586 100644 --- a/pkgs/by-name/gh/ghcherry/package.nix +++ b/pkgs/by-name/gh/ghcherry/package.nix @@ -7,7 +7,6 @@ python3Packages.buildPythonApplication (finalAttrs: { pname = "ghcherry"; version = "1.6.0"; pyproject = true; - __structuredAttrs = true; src = fetchFromGitHub { owner = "PerchunPak"; From ba4ee2bf5786b76bdf8f671e2a5a06e99118facf Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Thu, 8 Oct 2026 22:15:11 +0200 Subject: [PATCH 0127/2378] ghstack: remove redundant __structuredAttrs --- pkgs/by-name/gh/ghstack/package.nix | 2 -- 1 file changed, 2 deletions(-) diff --git a/pkgs/by-name/gh/ghstack/package.nix b/pkgs/by-name/gh/ghstack/package.nix index 6f89919c2bed..b8d8ef956ca1 100644 --- a/pkgs/by-name/gh/ghstack/package.nix +++ b/pkgs/by-name/gh/ghstack/package.nix @@ -11,8 +11,6 @@ python3Packages.buildPythonApplication (finalAttrs: { version = "0.13.0"; pyproject = true; - __structuredAttrs = true; - src = fetchFromGitHub { owner = "ezyang"; repo = "ghstack"; From 522b3db697f3eb7835f56773b5f67dbf6b0c240c Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Thu, 8 Oct 2026 22:15:11 +0200 Subject: [PATCH 0128/2378] gi-docgen: remove redundant __structuredAttrs, use finalAttrs --- pkgs/by-name/gi/gi-docgen/package.nix | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/pkgs/by-name/gi/gi-docgen/package.nix b/pkgs/by-name/gi/gi-docgen/package.nix index 3fbb9b0aae50..c8d63189d284 100644 --- a/pkgs/by-name/gi/gi-docgen/package.nix +++ b/pkgs/by-name/gi/gi-docgen/package.nix @@ -8,14 +8,14 @@ versionCheckHook, }: -python3.pkgs.buildPythonApplication rec { +python3.pkgs.buildPythonApplication (finalAttrs: { pname = "gi-docgen"; version = "2026.1"; pyproject = false; src = fetchurl { - url = "mirror://gnome/sources/gi-docgen/${lib.versions.major version}/gi-docgen-${version}.tar.xz"; + url = "mirror://gnome/sources/gi-docgen/${lib.versions.major finalAttrs.version}/gi-docgen-${finalAttrs.version}.tar.xz"; hash = "sha256-wxbWwEaZl2toI5Eqrh+ypqP/olU7Qivoj7VuuIGs9Hk="; }; @@ -42,8 +42,6 @@ python3.pkgs.buildPythonApplication rec { nativeCheckInputs = [ versionCheckHook ]; # doCheck = false; # no tests - restore this after versionCheckHook can be moved - __structuredAttrs = true; - postFixup = '' # Do not propagate Python substituteInPlace $out/nix-support/propagated-build-inputs \ @@ -63,4 +61,4 @@ python3.pkgs.buildPythonApplication rec { license = lib.licenses.asl20; # OR GPL-3.0-or-later teams = [ lib.teams.gnome ]; }; -} +}) From fc6c0d8c83e3f026450e5abcd557d33dada1115f Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Thu, 8 Oct 2026 22:15:11 +0200 Subject: [PATCH 0129/2378] git-dumper: remove redundant __structuredAttrs --- pkgs/by-name/gi/git-dumper/package.nix | 1 - 1 file changed, 1 deletion(-) diff --git a/pkgs/by-name/gi/git-dumper/package.nix b/pkgs/by-name/gi/git-dumper/package.nix index b360cfb9e80d..99457f84f859 100644 --- a/pkgs/by-name/gi/git-dumper/package.nix +++ b/pkgs/by-name/gi/git-dumper/package.nix @@ -8,7 +8,6 @@ python3Packages.buildPythonApplication (finalAttrs: { pname = "git-dumper"; version = "1.0.9"; pyproject = true; - __structuredAttrs = true; src = fetchFromGitHub { owner = "arthaud"; From 93ddcf7266d42f6617a89ed406262cb2d6c51f65 Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Thu, 8 Oct 2026 22:15:12 +0200 Subject: [PATCH 0130/2378] git-sim: remove redundant __structuredAttrs --- pkgs/by-name/gi/git-sim/package.nix | 1 - 1 file changed, 1 deletion(-) diff --git a/pkgs/by-name/gi/git-sim/package.nix b/pkgs/by-name/gi/git-sim/package.nix index bc6cd307f21e..63143c08cf37 100644 --- a/pkgs/by-name/gi/git-sim/package.nix +++ b/pkgs/by-name/gi/git-sim/package.nix @@ -10,7 +10,6 @@ python3Packages.buildPythonApplication (finalAttrs: { pname = "git-sim"; version = "0.3.5"; pyproject = true; - __structuredAttrs = true; src = fetchFromGitHub { owner = "initialcommit-com"; From 1de29f38e6125da8fba111fc4d22b7a051c6a7e9 Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Thu, 8 Oct 2026 22:15:12 +0200 Subject: [PATCH 0131/2378] gitfourchette: remove redundant __structuredAttrs --- pkgs/by-name/gi/gitfourchette/package.nix | 1 - 1 file changed, 1 deletion(-) diff --git a/pkgs/by-name/gi/gitfourchette/package.nix b/pkgs/by-name/gi/gitfourchette/package.nix index 829167668e3d..1dff0eaa5086 100644 --- a/pkgs/by-name/gi/gitfourchette/package.nix +++ b/pkgs/by-name/gi/gitfourchette/package.nix @@ -17,7 +17,6 @@ python3Packages.buildPythonApplication (finalAttrs: { pname = "gitfourchette"; version = "1.11.0"; pyproject = true; - __structuredAttrs = true; src = fetchFromGitHub { owner = "jorio"; From 4538d8e9c0f708b00a7075bde8233407fda739a8 Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Thu, 8 Oct 2026 22:15:12 +0200 Subject: [PATCH 0132/2378] glitchtip: remove redundant __structuredAttrs --- pkgs/by-name/gl/glitchtip/django-allauth-async.nix | 1 - 1 file changed, 1 deletion(-) diff --git a/pkgs/by-name/gl/glitchtip/django-allauth-async.nix b/pkgs/by-name/gl/glitchtip/django-allauth-async.nix index 41156cc792d1..13486dca5011 100644 --- a/pkgs/by-name/gl/glitchtip/django-allauth-async.nix +++ b/pkgs/by-name/gl/glitchtip/django-allauth-async.nix @@ -41,7 +41,6 @@ buildPythonPackage (finalAttrs: { pname = "django-allauth-async"; version = "65.16.1.7"; pyproject = true; - __structuredAttrs = true; src = fetchFromGitLab { owner = "glitchtip"; From 1d7838464e4a85d4791cfec117bd3464c04c25dc Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Thu, 8 Oct 2026 22:15:12 +0200 Subject: [PATCH 0133/2378] gpu-viewer: remove redundant __structuredAttrs --- pkgs/by-name/gp/gpu-viewer/package.nix | 1 - 1 file changed, 1 deletion(-) diff --git a/pkgs/by-name/gp/gpu-viewer/package.nix b/pkgs/by-name/gp/gpu-viewer/package.nix index 77a88315c418..563b748e8e5c 100644 --- a/pkgs/by-name/gp/gpu-viewer/package.nix +++ b/pkgs/by-name/gp/gpu-viewer/package.nix @@ -31,7 +31,6 @@ python3Packages.buildPythonApplication (finalAttrs: { pname = "gpu-viewer"; version = "4.02"; pyproject = false; - __structuredAttrs = true; src = fetchFromGitHub { owner = "arunsivaramanneo"; From 60988752e479721a6d06ac4b4a7bf2612f610b54 Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Thu, 8 Oct 2026 22:15:13 +0200 Subject: [PATCH 0134/2378] gradia: remove redundant __structuredAttrs --- pkgs/by-name/gr/gradia/package.nix | 2 -- 1 file changed, 2 deletions(-) diff --git a/pkgs/by-name/gr/gradia/package.nix b/pkgs/by-name/gr/gradia/package.nix index b4766d61f9e7..4b41f8ab1021 100644 --- a/pkgs/by-name/gr/gradia/package.nix +++ b/pkgs/by-name/gr/gradia/package.nix @@ -27,8 +27,6 @@ python3Packages.buildPythonApplication (finalAttrs: { version = "1.13.0"; pyproject = false; - __structuredAttrs = true; - src = fetchFromGitHub { owner = "AlexanderVanhee"; repo = "Gradia"; From ccdbcc0d87f9a947d35ba399d2689b3d78bc4cfe Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Thu, 8 Oct 2026 22:15:13 +0200 Subject: [PATCH 0135/2378] gradlew-fdroid: remove redundant __structuredAttrs --- pkgs/by-name/gr/gradlew-fdroid/package.nix | 1 - 1 file changed, 1 deletion(-) diff --git a/pkgs/by-name/gr/gradlew-fdroid/package.nix b/pkgs/by-name/gr/gradlew-fdroid/package.nix index 7318cdb15619..848431cf2fc9 100644 --- a/pkgs/by-name/gr/gradlew-fdroid/package.nix +++ b/pkgs/by-name/gr/gradlew-fdroid/package.nix @@ -9,7 +9,6 @@ python3Packages.buildPythonApplication (finalAttrs: { pname = "gradlew-fdroid"; version = "0-unstable-2026-06-06"; pyproject = true; - __structuredAttrs = true; src = fetchFromGitLab { owner = "fdroid"; From 5ed3bb9cc24ff596c453961fec2b68246a87178c Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Thu, 8 Oct 2026 22:15:13 +0200 Subject: [PATCH 0136/2378] graphify: remove redundant __structuredAttrs, use finalAttrs --- pkgs/by-name/gr/graphify/package.nix | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/pkgs/by-name/gr/graphify/package.nix b/pkgs/by-name/gr/graphify/package.nix index 3cd5ea217752..d2a1b193fba8 100644 --- a/pkgs/by-name/gr/graphify/package.nix +++ b/pkgs/by-name/gr/graphify/package.nix @@ -5,8 +5,7 @@ python3, }: -python3Packages.buildPythonApplication rec { - __structuredAttrs = true; +python3Packages.buildPythonApplication (finalAttrs: { pname = "graphify"; version = "0.9.74"; pyproject = true; @@ -14,7 +13,7 @@ python3Packages.buildPythonApplication rec { src = fetchFromGitHub { owner = "Graphify-Labs"; repo = "graphify"; - tag = "v${version}"; + tag = "v${finalAttrs.version}"; hash = "sha256-AdQhEYKDHc9oaE9tr/YNx6EMM552gb9PlO3TvlKWgog="; }; @@ -130,7 +129,7 @@ python3Packages.buildPythonApplication rec { meta = { description = "AI coding assistant skill. Turn any folder of code, docs, papers, images, or videos into a queryable knowledge graph."; homepage = "https://github.com/Graphify-Labs/graphify"; - changelog = "https://github.com/Graphify-Labs/graphify/blob/${src.tag}/CHANGELOG.md"; + changelog = "https://github.com/Graphify-Labs/graphify/blob/${finalAttrs.src.tag}/CHANGELOG.md"; license = with lib.licenses; [ asl20 mit @@ -138,4 +137,4 @@ python3Packages.buildPythonApplication rec { maintainers = with lib.maintainers; [ stunkymonkey ]; mainProgram = "graphify"; }; -} +}) From 855722a42ab9501ccdfe7983dcc7f1b94b447c03 Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Thu, 8 Oct 2026 22:15:13 +0200 Subject: [PATCH 0137/2378] graphlan: remove redundant __structuredAttrs --- pkgs/by-name/gr/graphlan/package.nix | 1 - 1 file changed, 1 deletion(-) diff --git a/pkgs/by-name/gr/graphlan/package.nix b/pkgs/by-name/gr/graphlan/package.nix index e49f5eb6f7f6..fc4d1c2dacfc 100644 --- a/pkgs/by-name/gr/graphlan/package.nix +++ b/pkgs/by-name/gr/graphlan/package.nix @@ -21,7 +21,6 @@ python3Packages.buildPythonApplication { sed -i 's|biopython==|biopython>=|' setup.py ''; - __structuredAttrs = true; build-system = with python3Packages; [ setuptools ]; dependencies = with python3Packages; [ biopython From 86ca8972031fe98e58e5999ca482805570d9401a Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Thu, 8 Oct 2026 22:15:14 +0200 Subject: [PATCH 0138/2378] harlequin: remove redundant __structuredAttrs --- pkgs/by-name/ha/harlequin/package.nix | 1 - 1 file changed, 1 deletion(-) diff --git a/pkgs/by-name/ha/harlequin/package.nix b/pkgs/by-name/ha/harlequin/package.nix index 406aec8e7876..22c9f2dea0c2 100644 --- a/pkgs/by-name/ha/harlequin/package.nix +++ b/pkgs/by-name/ha/harlequin/package.nix @@ -15,7 +15,6 @@ python3Packages.buildPythonApplication (finalAttrs: { pname = "harlequin"; version = "2.16.1"; pyproject = true; - __structuredAttrs = true; src = fetchFromGitHub { owner = "tconbeer"; From 574b44378e7a5b18982f2158ef2d078efc5d943c Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Thu, 8 Oct 2026 22:15:14 +0200 Subject: [PATCH 0139/2378] hexora: remove redundant __structuredAttrs --- pkgs/by-name/he/hexora/package.nix | 1 - 1 file changed, 1 deletion(-) diff --git a/pkgs/by-name/he/hexora/package.nix b/pkgs/by-name/he/hexora/package.nix index e4ad7d16238c..9c379ca15f77 100644 --- a/pkgs/by-name/he/hexora/package.nix +++ b/pkgs/by-name/he/hexora/package.nix @@ -14,7 +14,6 @@ python3Packages.buildPythonApplication (finalAttrs: { pname = "hexora"; version = "0.3.1"; pyproject = true; - __structuredAttrs = true; src = fetchFromGitHub { owner = "rushter"; From 870ec11298ef556621b87b8d24d8a80317664101 Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Thu, 8 Oct 2026 22:15:14 +0200 Subject: [PATCH 0140/2378] hyprmod: remove redundant __structuredAttrs --- pkgs/by-name/hy/hyprmod/package.nix | 2 -- 1 file changed, 2 deletions(-) diff --git a/pkgs/by-name/hy/hyprmod/package.nix b/pkgs/by-name/hy/hyprmod/package.nix index 8c5d67350faf..5ca4fa149e5f 100644 --- a/pkgs/by-name/hy/hyprmod/package.nix +++ b/pkgs/by-name/hy/hyprmod/package.nix @@ -16,8 +16,6 @@ python3Packages.buildPythonApplication (finalAttrs: { version = "0.4.0"; pyproject = true; - __structuredAttrs = true; - src = fetchFromGitHub { owner = "BlueManCZ"; repo = "hyprmod"; From c4697428f809182e7c0850197a342c44343fb211 Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Thu, 8 Oct 2026 22:15:14 +0200 Subject: [PATCH 0141/2378] i3altlayout: remove redundant __structuredAttrs --- pkgs/by-name/i3/i3altlayout/package.nix | 2 -- 1 file changed, 2 deletions(-) diff --git a/pkgs/by-name/i3/i3altlayout/package.nix b/pkgs/by-name/i3/i3altlayout/package.nix index ef080a0da547..752b3a6bd9f1 100644 --- a/pkgs/by-name/i3/i3altlayout/package.nix +++ b/pkgs/by-name/i3/i3altlayout/package.nix @@ -9,8 +9,6 @@ python3Packages.buildPythonApplication (finalAttrs: { version = "0.3"; pyproject = true; - __structuredAttrs = true; - src = fetchPypi { inherit (finalAttrs) pname version; hash = "sha256-DhOYeSCxKthr2fEMGMBXjUYeCJjj6AV4d05So4eDF8A="; From 96ffac38b0dca8772fde6ec09c63396948ef3214 Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Thu, 8 Oct 2026 22:15:15 +0200 Subject: [PATCH 0142/2378] imapdedup: remove redundant __structuredAttrs --- pkgs/by-name/im/imapdedup/package.nix | 2 -- 1 file changed, 2 deletions(-) diff --git a/pkgs/by-name/im/imapdedup/package.nix b/pkgs/by-name/im/imapdedup/package.nix index 5b0fc3e35304..34a3a01f5e96 100644 --- a/pkgs/by-name/im/imapdedup/package.nix +++ b/pkgs/by-name/im/imapdedup/package.nix @@ -8,8 +8,6 @@ python3Packages.buildPythonApplication (finalAttrs: { version = "1.5"; pyproject = true; - __structuredAttrs = true; - src = fetchFromGitHub { owner = "quentinsf"; repo = "IMAPdedup"; From cd22d27abdbbff7621f4857722d429c0d68408f2 Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Thu, 8 Oct 2026 22:15:15 +0200 Subject: [PATCH 0143/2378] interactive-html-bom-inti-cmnb: remove redundant __structuredAttrs --- pkgs/by-name/in/interactive-html-bom-inti-cmnb/package.nix | 2 -- 1 file changed, 2 deletions(-) diff --git a/pkgs/by-name/in/interactive-html-bom-inti-cmnb/package.nix b/pkgs/by-name/in/interactive-html-bom-inti-cmnb/package.nix index 96fcc2a244c4..18f3eb8b23da 100644 --- a/pkgs/by-name/in/interactive-html-bom-inti-cmnb/package.nix +++ b/pkgs/by-name/in/interactive-html-bom-inti-cmnb/package.nix @@ -51,8 +51,6 @@ python3Packages.buildPythonApplication (finalAttrs: { ln -s $out/bin/generate_interactive_bom $out/bin/generate_interactive_bom.py ''; - __structuredAttrs = true; - meta = { description = "Interactive HTML BOM generation for KiCad, EasyEDA, Eagle, Fusion360 and Allegro PCB designer"; homepage = "https://github.com/INTI-CMNB/InteractiveHtmlBom"; From 7fe3149d2f7dfcd53a2d24ddd46c0cb9647acfe5 Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Thu, 8 Oct 2026 22:15:15 +0200 Subject: [PATCH 0144/2378] inventree-part-import: remove redundant __structuredAttrs --- pkgs/by-name/in/inventree-part-import/package.nix | 1 - 1 file changed, 1 deletion(-) diff --git a/pkgs/by-name/in/inventree-part-import/package.nix b/pkgs/by-name/in/inventree-part-import/package.nix index d673e1d2bb95..b91b5c7fe2f5 100644 --- a/pkgs/by-name/in/inventree-part-import/package.nix +++ b/pkgs/by-name/in/inventree-part-import/package.nix @@ -11,7 +11,6 @@ python3Packages.buildPythonApplication (finalAttrs: { pname = "inventree-part-import"; version = "1.9.2"; pyproject = true; - __structuredAttrs = true; src = fetchFromGitHub { owner = "30350n"; From e5a4bbd98f1c8393ff3f64a57ab0549f0167e363 Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Thu, 8 Oct 2026 22:15:15 +0200 Subject: [PATCH 0145/2378] iredis: remove redundant __structuredAttrs --- pkgs/by-name/ir/iredis/package.nix | 1 - 1 file changed, 1 deletion(-) diff --git a/pkgs/by-name/ir/iredis/package.nix b/pkgs/by-name/ir/iredis/package.nix index bef043b7dcbd..698ae6d625c8 100644 --- a/pkgs/by-name/ir/iredis/package.nix +++ b/pkgs/by-name/ir/iredis/package.nix @@ -10,7 +10,6 @@ python3Packages.buildPythonApplication (finalAttrs: { pname = "iredis"; version = "1.16.1"; pyproject = true; - __structuredAttrs = true; src = fetchFromGitHub { owner = "laixintao"; From 9210ecc047b74bcac0afd8f069e0d119abde99b8 Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Thu, 8 Oct 2026 22:15:16 +0200 Subject: [PATCH 0146/2378] ironcalc: remove redundant __structuredAttrs --- pkgs/by-name/ir/ironcalc/python.nix | 2 -- 1 file changed, 2 deletions(-) diff --git a/pkgs/by-name/ir/ironcalc/python.nix b/pkgs/by-name/ir/ironcalc/python.nix index 1b96d2cd7c64..f2dd25148b2f 100644 --- a/pkgs/by-name/ir/ironcalc/python.nix +++ b/pkgs/by-name/ir/ironcalc/python.nix @@ -19,8 +19,6 @@ buildPythonPackage { cd bindings/python ''; - __structuredAttrs = true; - cargoDeps = rustPlatform.fetchCargoVendor { inherit (ironcalc) src; hash = ironcalc.cargoHash; From 598209e68068825e2b34f63499f8a715fe407ca9 Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Thu, 8 Oct 2026 22:15:16 +0200 Subject: [PATCH 0147/2378] jrl-cmakemodules-scripts: remove redundant __structuredAttrs --- pkgs/by-name/jr/jrl-cmakemodules-scripts/package.nix | 2 -- 1 file changed, 2 deletions(-) diff --git a/pkgs/by-name/jr/jrl-cmakemodules-scripts/package.nix b/pkgs/by-name/jr/jrl-cmakemodules-scripts/package.nix index 8745a63f2c92..5279410455f9 100644 --- a/pkgs/by-name/jr/jrl-cmakemodules-scripts/package.nix +++ b/pkgs/by-name/jr/jrl-cmakemodules-scripts/package.nix @@ -27,8 +27,6 @@ python3Packages.buildPythonApplication (finalAttrs: { python3Packages.pytestCheckHook ]; - __structuredAttrs = true; - meta = jrl-cmakemodules.meta // { description = "Release scripting tools for JRL CMake modules"; mainProgram = "jrl-release"; From 94c8bc82f99ed6c23856893cf70932c9ba942558 Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Thu, 8 Oct 2026 22:15:16 +0200 Subject: [PATCH 0148/2378] jwtcat: remove redundant __structuredAttrs --- pkgs/by-name/jw/jwtcat/package.nix | 2 -- 1 file changed, 2 deletions(-) diff --git a/pkgs/by-name/jw/jwtcat/package.nix b/pkgs/by-name/jw/jwtcat/package.nix index 33bacfa9b013..b5985e3454fb 100644 --- a/pkgs/by-name/jw/jwtcat/package.nix +++ b/pkgs/by-name/jw/jwtcat/package.nix @@ -9,8 +9,6 @@ python3Packages.buildPythonApplication { version = "0-unstable-2022-10-15"; pyproject = false; - __structuredAttrs = true; - src = fetchFromGitHub { owner = "aress31"; repo = "jwtcat"; From 714b1310bf72e27efda64baf2ac790e2c8020989 Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Thu, 8 Oct 2026 22:15:16 +0200 Subject: [PATCH 0149/2378] kalamine: remove redundant __structuredAttrs --- pkgs/by-name/ka/kalamine/package.nix | 2 -- 1 file changed, 2 deletions(-) diff --git a/pkgs/by-name/ka/kalamine/package.nix b/pkgs/by-name/ka/kalamine/package.nix index 5963e2cd1375..baf7be2fb888 100644 --- a/pkgs/by-name/ka/kalamine/package.nix +++ b/pkgs/by-name/ka/kalamine/package.nix @@ -11,8 +11,6 @@ python3Packages.buildPythonApplication (finalAttrs: { version = "0.40"; pyproject = true; - __structuredAttrs = true; - src = fetchFromGitHub { owner = "OneDeadKey"; repo = "kalamine"; From 2470a0680557f21e8c8b9866ad773ed94accc068 Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Thu, 8 Oct 2026 22:15:17 +0200 Subject: [PATCH 0150/2378] kerbwolf: remove redundant __structuredAttrs --- pkgs/by-name/ke/kerbwolf/package.nix | 2 -- 1 file changed, 2 deletions(-) diff --git a/pkgs/by-name/ke/kerbwolf/package.nix b/pkgs/by-name/ke/kerbwolf/package.nix index 1070d723b1bb..1615df373f9f 100644 --- a/pkgs/by-name/ke/kerbwolf/package.nix +++ b/pkgs/by-name/ke/kerbwolf/package.nix @@ -10,8 +10,6 @@ python3Packages.buildPythonApplication (finalAttrs: { version = "0.4.0"; pyproject = true; - __structuredAttrs = true; - src = fetchFromGitHub { owner = "StrongWind1"; repo = "KerbWolf"; From 4dc33c63732ce5c74a3a7ecd3447b7c3adfbc174 Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Thu, 8 Oct 2026 22:15:17 +0200 Subject: [PATCH 0151/2378] kibot: remove redundant __structuredAttrs --- pkgs/by-name/ki/kibot/package.nix | 2 -- 1 file changed, 2 deletions(-) diff --git a/pkgs/by-name/ki/kibot/package.nix b/pkgs/by-name/ki/kibot/package.nix index 7b642ff11caa..bef710fb8f50 100644 --- a/pkgs/by-name/ki/kibot/package.nix +++ b/pkgs/by-name/ki/kibot/package.nix @@ -76,8 +76,6 @@ python3Packages.buildPythonApplication (finalAttrs: { extraArgs = [ "--version-regex=v(\\d.\\d.\\d)" ]; }; - __structuredAttrs = true; - meta = { description = "Tool for generating fabrication and documentation files for KiCad"; homepage = "https://github.com/INTI-CMNB/KiBot"; From 4ca89416a750e5f9fba36fe3ef01719a79739b03 Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Thu, 8 Oct 2026 22:15:17 +0200 Subject: [PATCH 0152/2378] kotonoha: remove redundant __structuredAttrs --- pkgs/by-name/ko/kotonoha/package.nix | 1 - 1 file changed, 1 deletion(-) diff --git a/pkgs/by-name/ko/kotonoha/package.nix b/pkgs/by-name/ko/kotonoha/package.nix index a7f79bf5a000..610878b64358 100644 --- a/pkgs/by-name/ko/kotonoha/package.nix +++ b/pkgs/by-name/ko/kotonoha/package.nix @@ -16,7 +16,6 @@ python3Packages.buildPythonApplication (finalAttrs: { pname = "kotonoha"; version = "0.2.3"; pyproject = true; - __structuredAttrs = true; src = fetchFromGitHub { owner = "locez"; From 0d3c46d2e5d77ffd850c751086e1ba1eb3e49497 Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Thu, 8 Oct 2026 22:15:17 +0200 Subject: [PATCH 0153/2378] kubexhunt: remove redundant __structuredAttrs --- pkgs/by-name/ku/kubexhunt/package.nix | 2 -- 1 file changed, 2 deletions(-) diff --git a/pkgs/by-name/ku/kubexhunt/package.nix b/pkgs/by-name/ku/kubexhunt/package.nix index 700b99f407c2..32169ded49ad 100644 --- a/pkgs/by-name/ku/kubexhunt/package.nix +++ b/pkgs/by-name/ku/kubexhunt/package.nix @@ -11,8 +11,6 @@ python3Packages.buildPythonApplication (finalAttrs: { version = "2.1"; pyproject = true; - __structuredAttrs = true; - src = fetchFromGitHub { owner = "mr-xhunt"; repo = "kubeXhunt"; From c6f6f7ef0db942a5f4d2f3c0f3925308e6f9d516 Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Thu, 8 Oct 2026 22:15:18 +0200 Subject: [PATCH 0154/2378] lasuite-drive: remove redundant __structuredAttrs --- pkgs/by-name/la/lasuite-drive/package.nix | 2 -- 1 file changed, 2 deletions(-) diff --git a/pkgs/by-name/la/lasuite-drive/package.nix b/pkgs/by-name/la/lasuite-drive/package.nix index 59d643744213..a823705a76f3 100644 --- a/pkgs/by-name/la/lasuite-drive/package.nix +++ b/pkgs/by-name/la/lasuite-drive/package.nix @@ -148,8 +148,6 @@ python.pkgs.buildPythonApplication (finalAttrs: { }; }; - __structuredAttrs = true; - meta = meta // { description = "A collaborative file sharing and document management platform that scales. Built with Django and React. Opensource alternative to Sharepoint or Google Drive"; mainProgram = "drive"; From 8e9e3dc78c391171e30e388d5813e633dd545803 Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Thu, 8 Oct 2026 22:15:18 +0200 Subject: [PATCH 0155/2378] lean-lsp-mcp: remove redundant __structuredAttrs --- pkgs/by-name/le/lean-lsp-mcp/package.nix | 2 -- 1 file changed, 2 deletions(-) diff --git a/pkgs/by-name/le/lean-lsp-mcp/package.nix b/pkgs/by-name/le/lean-lsp-mcp/package.nix index 442a029b2495..1d7a2b4d58d7 100644 --- a/pkgs/by-name/le/lean-lsp-mcp/package.nix +++ b/pkgs/by-name/le/lean-lsp-mcp/package.nix @@ -9,8 +9,6 @@ python3Packages.buildPythonApplication (finalAttrs: { version = "0.28.1"; pyproject = true; - __structuredAttrs = true; - src = fetchFromGitHub { owner = "oOo0oOo"; repo = "lean-lsp-mcp"; From 97255993183917e68001b399dca3966d7aee40ce Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Thu, 8 Oct 2026 22:15:18 +0200 Subject: [PATCH 0156/2378] librelane: remove redundant __structuredAttrs --- pkgs/by-name/li/librelane/package.nix | 1 - 1 file changed, 1 deletion(-) diff --git a/pkgs/by-name/li/librelane/package.nix b/pkgs/by-name/li/librelane/package.nix index bcecb4b61386..16b65fc262a8 100644 --- a/pkgs/by-name/li/librelane/package.nix +++ b/pkgs/by-name/li/librelane/package.nix @@ -25,7 +25,6 @@ python3Packages.buildPythonApplication (finalAttrs: { pname = "librelane"; version = "3.0.14"; pyproject = true; - __structuredAttrs = true; src = fetchFromGitHub { owner = "librelane"; From 8f503cc46d482451b12cc620038eb50e2da0d971 Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Thu, 8 Oct 2026 22:15:18 +0200 Subject: [PATCH 0157/2378] lichess-external-engine: remove redundant __structuredAttrs --- pkgs/by-name/li/lichess-external-engine/package.nix | 2 -- 1 file changed, 2 deletions(-) diff --git a/pkgs/by-name/li/lichess-external-engine/package.nix b/pkgs/by-name/li/lichess-external-engine/package.nix index 5f4b459571c4..5bb1b00e08b3 100644 --- a/pkgs/by-name/li/lichess-external-engine/package.nix +++ b/pkgs/by-name/li/lichess-external-engine/package.nix @@ -16,8 +16,6 @@ python3Packages.buildPythonApplication (finalAttrs: { hash = "sha256-kelpSM7pfeIOXYOug/YkAgULYMyeDhm1fJX5v1n+vKE="; }; - __structuredAttrs = true; - dependencies = with python3Packages; [ requests ]; From baa64d89f05364530b979a11da818da87496e427 Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Thu, 8 Oct 2026 22:15:19 +0200 Subject: [PATCH 0158/2378] linecast: remove redundant __structuredAttrs --- pkgs/by-name/li/linecast/package.nix | 1 - 1 file changed, 1 deletion(-) diff --git a/pkgs/by-name/li/linecast/package.nix b/pkgs/by-name/li/linecast/package.nix index d8db8e609d4c..497acd864d87 100644 --- a/pkgs/by-name/li/linecast/package.nix +++ b/pkgs/by-name/li/linecast/package.nix @@ -11,7 +11,6 @@ python3Packages.buildPythonApplication (finalAttrs: { pname = "linecast"; version = "2.9.2"; pyproject = true; - __structuredAttrs = true; src = fetchFromGitHub { owner = "ashuttl"; From 750f5d453a6e896d362b607811668ec337468840 Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Thu, 8 Oct 2026 22:15:19 +0200 Subject: [PATCH 0159/2378] linkding: remove redundant __structuredAttrs --- pkgs/by-name/li/linkding/package.nix | 2 -- 1 file changed, 2 deletions(-) diff --git a/pkgs/by-name/li/linkding/package.nix b/pkgs/by-name/li/linkding/package.nix index f7ecd9dca089..20a9b9a3ba0a 100644 --- a/pkgs/by-name/li/linkding/package.nix +++ b/pkgs/by-name/li/linkding/package.nix @@ -80,8 +80,6 @@ python.pkgs.buildPythonApplication (finalAttrs: { hash = "sha256-TvcUD4GHQCjIk3nxGi/X82NECTsecUiK/axITrsNyVM="; }; - __structuredAttrs = true; - build-system = with python.pkgs; [ setuptools ]; From 626d06d5049910c086261c703a81f34c9295b032 Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Thu, 8 Oct 2026 22:15:19 +0200 Subject: [PATCH 0160/2378] lsplug: remove redundant __structuredAttrs --- pkgs/by-name/ls/lsplug/package.nix | 2 -- 1 file changed, 2 deletions(-) diff --git a/pkgs/by-name/ls/lsplug/package.nix b/pkgs/by-name/ls/lsplug/package.nix index 23ac2a7f9adc..d576dc4aceb8 100644 --- a/pkgs/by-name/ls/lsplug/package.nix +++ b/pkgs/by-name/ls/lsplug/package.nix @@ -24,8 +24,6 @@ python3Packages.buildPythonApplication (finalAttrs: { "lsplug" ]; - __structuredAttrs = true; - meta = { description = "Replacement for lsusb that shows more useful info and less useless info"; homepage = "https://git.sr.ht/~martijnbraam/lsplug"; From 92da598ec86d5f5e291575266846e4f9509b4fb3 Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Thu, 8 Oct 2026 22:15:19 +0200 Subject: [PATCH 0161/2378] lufus: remove redundant __structuredAttrs --- pkgs/by-name/lu/lufus/package.nix | 2 -- 1 file changed, 2 deletions(-) diff --git a/pkgs/by-name/lu/lufus/package.nix b/pkgs/by-name/lu/lufus/package.nix index 5bb509796517..7352d9514f60 100644 --- a/pkgs/by-name/lu/lufus/package.nix +++ b/pkgs/by-name/lu/lufus/package.nix @@ -37,8 +37,6 @@ python313Packages.buildPythonApplication (finalAttrs: { copyDesktopItems ]; - __structuredAttrs = true; - postInstall = '' makeWrapper ${python313Packages.python.interpreter} $out/bin/lufus \ --add-flags "-m lufus" \ From 832a22304687ee70683f6027df303b13e970bc95 Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Thu, 8 Oct 2026 22:15:20 +0200 Subject: [PATCH 0162/2378] maestral-gui: remove redundant __structuredAttrs --- pkgs/by-name/ma/maestral-gui/package.nix | 2 -- 1 file changed, 2 deletions(-) diff --git a/pkgs/by-name/ma/maestral-gui/package.nix b/pkgs/by-name/ma/maestral-gui/package.nix index 2fbe16bae18a..dca84019aeda 100644 --- a/pkgs/by-name/ma/maestral-gui/package.nix +++ b/pkgs/by-name/ma/maestral-gui/package.nix @@ -73,8 +73,6 @@ python3.pkgs.buildPythonApplication (finalAttrs: { tests.maestral = nixosTests.maestral; }; - __structuredAttrs = true; - meta = { description = "GUI front-end for maestral (an open-source Dropbox client) for Linux"; homepage = "https://maestral.app"; From 037c3c81e8d38f80cedd7ba9d3a296b519128f48 Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Thu, 8 Oct 2026 22:15:20 +0200 Subject: [PATCH 0163/2378] malwoverview: remove redundant __structuredAttrs --- pkgs/by-name/ma/malwoverview/package.nix | 2 -- 1 file changed, 2 deletions(-) diff --git a/pkgs/by-name/ma/malwoverview/package.nix b/pkgs/by-name/ma/malwoverview/package.nix index 589570230f39..3128f615fd62 100644 --- a/pkgs/by-name/ma/malwoverview/package.nix +++ b/pkgs/by-name/ma/malwoverview/package.nix @@ -9,8 +9,6 @@ python3Packages.buildPythonApplication (finalAttrs: { version = "8.2.0"; pyproject = true; - __structuredAttrs = true; - src = fetchFromGitHub { owner = "alexandreborges"; repo = "malwoverview"; From 3e15d01fee79795c72c83b06b29ce0c25bfe9ee6 Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Thu, 8 Oct 2026 22:15:20 +0200 Subject: [PATCH 0164/2378] mcp-reva: remove redundant __structuredAttrs --- pkgs/by-name/mc/mcp-reva/package.nix | 2 -- 1 file changed, 2 deletions(-) diff --git a/pkgs/by-name/mc/mcp-reva/package.nix b/pkgs/by-name/mc/mcp-reva/package.nix index c4d5d2a3c5e1..e50b0799860b 100644 --- a/pkgs/by-name/mc/mcp-reva/package.nix +++ b/pkgs/by-name/mc/mcp-reva/package.nix @@ -9,8 +9,6 @@ python3Packages.buildPythonApplication (finalAttrs: { version = "7.3.1"; pyproject = true; - __structuredAttrs = true; - src = fetchFromGitHub { owner = "cyberkaida"; repo = "reverse-engineering-assistant"; From ddefcc2303c3e81b2691162a4f1585665cfad7f3 Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Thu, 8 Oct 2026 22:15:20 +0200 Subject: [PATCH 0165/2378] mealie: remove redundant __structuredAttrs --- pkgs/by-name/me/mealie/package.nix | 2 -- 1 file changed, 2 deletions(-) diff --git a/pkgs/by-name/me/mealie/package.nix b/pkgs/by-name/me/mealie/package.nix index 9c4b2adc84fb..40f7b8f9181a 100644 --- a/pkgs/by-name/me/mealie/package.nix +++ b/pkgs/by-name/me/mealie/package.nix @@ -98,8 +98,6 @@ pythonpkgs.buildPythonApplication (finalAttrs: { inherit version src; pyproject = true; - __structuredAttrs = true; - build-system = with pythonpkgs; [ setuptools ]; nativeBuildInputs = [ makeWrapper ]; From 62c8dfe1e120746c75f7abe44f6b796e83a2de07 Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Thu, 8 Oct 2026 22:15:21 +0200 Subject: [PATCH 0166/2378] meson: remove redundant __structuredAttrs --- pkgs/by-name/me/meson/package.nix | 1 - 1 file changed, 1 deletion(-) diff --git a/pkgs/by-name/me/meson/package.nix b/pkgs/by-name/me/meson/package.nix index f472a97583b4..c80fd6c6b5f9 100644 --- a/pkgs/by-name/me/meson/package.nix +++ b/pkgs/by-name/me/meson/package.nix @@ -19,7 +19,6 @@ python3.pkgs.buildPythonApplication (finalAttrs: { pname = "meson"; version = "1.12.1"; pyproject = true; - __structuredAttrs = true; src = fetchFromGitHub { owner = "mesonbuild"; From 8fa344018ff3f71d566b8de1a834c95f20a7d1e5 Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Thu, 8 Oct 2026 22:15:21 +0200 Subject: [PATCH 0167/2378] mistral-vibe: remove redundant __structuredAttrs --- pkgs/by-name/mi/mistral-vibe/package.nix | 1 - 1 file changed, 1 deletion(-) diff --git a/pkgs/by-name/mi/mistral-vibe/package.nix b/pkgs/by-name/mi/mistral-vibe/package.nix index 7c315684372c..70ee1e006aff 100644 --- a/pkgs/by-name/mi/mistral-vibe/package.nix +++ b/pkgs/by-name/mi/mistral-vibe/package.nix @@ -15,7 +15,6 @@ python3Packages.buildPythonApplication (finalAttrs: { pname = "mistral-vibe"; version = "2.25.0"; pyproject = true; - __structuredAttrs = true; src = fetchFromGitHub { owner = "mistralai"; From c0fb62057e7418b1cb678eb1d1d82f7ee0d0c113 Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Thu, 8 Oct 2026 22:15:21 +0200 Subject: [PATCH 0168/2378] mobsf: remove redundant __structuredAttrs --- pkgs/by-name/mo/mobsf/package.nix | 1 - 1 file changed, 1 deletion(-) diff --git a/pkgs/by-name/mo/mobsf/package.nix b/pkgs/by-name/mo/mobsf/package.nix index 9a3c1476fc26..a0d892a33fb5 100644 --- a/pkgs/by-name/mo/mobsf/package.nix +++ b/pkgs/by-name/mo/mobsf/package.nix @@ -56,7 +56,6 @@ buildPythonApplication (finalAttrs: { pname = "mobsf"; version = "4.5.3"; pyproject = true; - __structuredAttrs = true; src = fetchFromGitHub { owner = "MobSF"; From 5ac51cc376918c0e92ccdbd3825047d4e4a3e477 Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Thu, 8 Oct 2026 22:15:21 +0200 Subject: [PATCH 0169/2378] mouser: remove redundant __structuredAttrs --- pkgs/by-name/mo/mouser/package.nix | 2 -- 1 file changed, 2 deletions(-) diff --git a/pkgs/by-name/mo/mouser/package.nix b/pkgs/by-name/mo/mouser/package.nix index fba60ae149c8..dc41cf75f2da 100644 --- a/pkgs/by-name/mo/mouser/package.nix +++ b/pkgs/by-name/mo/mouser/package.nix @@ -16,8 +16,6 @@ python3Packages.buildPythonApplication (finalAttrs: { version = "3.7.3"; pyproject = false; - __structuredAttrs = true; - src = fetchFromGitHub { owner = "TomBadash"; repo = "Mouser"; From f02c756e0a7576f119e5447e4430c36651537bb8 Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Thu, 8 Oct 2026 22:15:22 +0200 Subject: [PATCH 0170/2378] music-assistant: remove redundant __structuredAttrs --- pkgs/by-name/mu/music-assistant/package.nix | 1 - 1 file changed, 1 deletion(-) diff --git a/pkgs/by-name/mu/music-assistant/package.nix b/pkgs/by-name/mu/music-assistant/package.nix index 3b4f35f40b89..7fe15f3f2810 100644 --- a/pkgs/by-name/mu/music-assistant/package.nix +++ b/pkgs/by-name/mu/music-assistant/package.nix @@ -80,7 +80,6 @@ pythonPackages.buildPythonApplication (finalAttrs: { pname = "music-assistant"; version = "2.10.5"; pyproject = true; - __structuredAttrs = true; src = fetchFromGitHub { owner = "music-assistant"; From 9fd83c9a45a8c6cb7b8703cfa7fdc22731851029 Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Thu, 8 Oct 2026 22:15:22 +0200 Subject: [PATCH 0171/2378] nagstamon: remove redundant __structuredAttrs --- pkgs/by-name/na/nagstamon/package.nix | 2 -- 1 file changed, 2 deletions(-) diff --git a/pkgs/by-name/na/nagstamon/package.nix b/pkgs/by-name/na/nagstamon/package.nix index d7cf37dfea78..46d844f32c02 100644 --- a/pkgs/by-name/na/nagstamon/package.nix +++ b/pkgs/by-name/na/nagstamon/package.nix @@ -10,8 +10,6 @@ python3Packages.buildPythonApplication (finalAttrs: { version = "3.18.2"; pyproject = true; - __structuredAttrs = true; - src = fetchFromGitHub { owner = "HenriWahl"; repo = "Nagstamon"; From a9dd9c76a00ae7b72b37482ffd79bad04896d251 Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Thu, 8 Oct 2026 22:15:22 +0200 Subject: [PATCH 0172/2378] netbox: remove redundant __structuredAttrs --- pkgs/by-name/ne/netbox/package.nix | 2 -- pkgs/by-name/ne/netbox/plugins/netbox-attachments/package.nix | 2 -- pkgs/by-name/ne/netbox/plugins/netbox-bgp/package.nix | 2 -- pkgs/by-name/ne/netbox/plugins/netbox-cable-labels/package.nix | 1 - pkgs/by-name/ne/netbox/plugins/netbox-config-backup/package.nix | 2 -- pkgs/by-name/ne/netbox/plugins/netbox-contextmenus/package.nix | 2 -- pkgs/by-name/ne/netbox/plugins/netbox-contract/package.nix | 2 -- .../by-name/ne/netbox/plugins/netbox-custom-objects/package.nix | 2 -- pkgs/by-name/ne/netbox/plugins/netbox-data-flows/package.nix | 2 -- pkgs/by-name/ne/netbox/plugins/netbox-dns/package.nix | 2 -- pkgs/by-name/ne/netbox/plugins/netbox-documents/package.nix | 2 -- pkgs/by-name/ne/netbox/plugins/netbox-facts/package.nix | 1 - .../ne/netbox/plugins/netbox-floorplan-plugin/package.nix | 2 -- pkgs/by-name/ne/netbox/plugins/netbox-fms/package.nix | 1 - .../netbox/plugins/netbox-interface-synchronization/package.nix | 2 -- pkgs/by-name/ne/netbox/plugins/netbox-inventory/package.nix | 2 -- pkgs/by-name/ne/netbox/plugins/netbox-lifecycle/package.nix | 2 -- pkgs/by-name/ne/netbox/plugins/netbox-lists/package.nix | 2 -- pkgs/by-name/ne/netbox/plugins/netbox-napalm-plugin/package.nix | 2 -- pkgs/by-name/ne/netbox/plugins/netbox-notices/package.nix | 1 - .../ne/netbox/plugins/netbox-peering-manager/package.nix | 1 - .../ne/netbox/plugins/netbox-plugin-prometheus-sd/package.nix | 2 -- pkgs/by-name/ne/netbox/plugins/netbox-qrcode/package.nix | 2 -- pkgs/by-name/ne/netbox/plugins/netbox-reorder-rack/package.nix | 2 -- pkgs/by-name/ne/netbox/plugins/netbox-rir-manager/package.nix | 1 - pkgs/by-name/ne/netbox/plugins/netbox-routing/package.nix | 2 -- pkgs/by-name/ne/netbox/plugins/netbox-secrets/package.nix | 2 -- pkgs/by-name/ne/netbox/plugins/netbox-security/package.nix | 2 -- pkgs/by-name/ne/netbox/plugins/netbox-sqids/package.nix | 1 - .../by-name/ne/netbox/plugins/netbox-topology-views/package.nix | 2 -- pkgs/by-name/ne/netbox/plugins/netbox-wdm/package.nix | 1 - 31 files changed, 54 deletions(-) diff --git a/pkgs/by-name/ne/netbox/package.nix b/pkgs/by-name/ne/netbox/package.nix index 8239843cd53c..d9c3af22f56e 100644 --- a/pkgs/by-name/ne/netbox/package.nix +++ b/pkgs/by-name/ne/netbox/package.nix @@ -17,8 +17,6 @@ let extraBuildInputs = plugins py.pkgs; in py.pkgs.buildPythonApplication (finalAttrs: { - __structuredAttrs = true; - pname = "netbox"; version = "4.7.1"; pyproject = false; diff --git a/pkgs/by-name/ne/netbox/plugins/netbox-attachments/package.nix b/pkgs/by-name/ne/netbox/plugins/netbox-attachments/package.nix index bf16492b7369..a7fbcb1cbed5 100644 --- a/pkgs/by-name/ne/netbox/plugins/netbox-attachments/package.nix +++ b/pkgs/by-name/ne/netbox/plugins/netbox-attachments/package.nix @@ -9,8 +9,6 @@ netaddr, }: buildPythonPackage (finalAttrs: { - __structuredAttrs = true; - pname = "netbox-attachments"; version = "12.0.0"; pyproject = true; diff --git a/pkgs/by-name/ne/netbox/plugins/netbox-bgp/package.nix b/pkgs/by-name/ne/netbox/plugins/netbox-bgp/package.nix index 34623ed13d73..d48918b013cd 100644 --- a/pkgs/by-name/ne/netbox/plugins/netbox-bgp/package.nix +++ b/pkgs/by-name/ne/netbox/plugins/netbox-bgp/package.nix @@ -7,8 +7,6 @@ python, }: buildPythonPackage (finalAttrs: { - __structuredAttrs = true; - pname = "netbox-bgp"; version = "0.20.1"; pyproject = true; diff --git a/pkgs/by-name/ne/netbox/plugins/netbox-cable-labels/package.nix b/pkgs/by-name/ne/netbox/plugins/netbox-cable-labels/package.nix index 0df2c8b9bebb..7b78d2463245 100644 --- a/pkgs/by-name/ne/netbox/plugins/netbox-cable-labels/package.nix +++ b/pkgs/by-name/ne/netbox/plugins/netbox-cable-labels/package.nix @@ -10,7 +10,6 @@ buildPythonPackage (finalAttrs: { pname = "netbox-cable-labels"; version = "0.1.0"; pyproject = true; - __structuredAttrs = true; src = fetchFromGitHub { owner = "jsenecal"; diff --git a/pkgs/by-name/ne/netbox/plugins/netbox-config-backup/package.nix b/pkgs/by-name/ne/netbox/plugins/netbox-config-backup/package.nix index 426769e39710..4106502b5397 100644 --- a/pkgs/by-name/ne/netbox/plugins/netbox-config-backup/package.nix +++ b/pkgs/by-name/ne/netbox/plugins/netbox-config-backup/package.nix @@ -12,8 +12,6 @@ let inherit (netboxPlugins) netbox-napalm-plugin; in buildPythonPackage (finalAttrs: { - __structuredAttrs = true; - pname = "netbox-config-backup"; version = "2.2.2"; pyproject = true; diff --git a/pkgs/by-name/ne/netbox/plugins/netbox-contextmenus/package.nix b/pkgs/by-name/ne/netbox/plugins/netbox-contextmenus/package.nix index 8fb8565f6e3d..d36000b136ba 100644 --- a/pkgs/by-name/ne/netbox/plugins/netbox-contextmenus/package.nix +++ b/pkgs/by-name/ne/netbox/plugins/netbox-contextmenus/package.nix @@ -5,8 +5,6 @@ setuptools, }: buildPythonPackage (finalAttrs: { - __structuredAttrs = true; - pname = "netbox-contextmenus"; version = "1.4.14"; pyproject = true; diff --git a/pkgs/by-name/ne/netbox/plugins/netbox-contract/package.nix b/pkgs/by-name/ne/netbox/plugins/netbox-contract/package.nix index 0bdb29605ab3..a50e16fd4c74 100644 --- a/pkgs/by-name/ne/netbox/plugins/netbox-contract/package.nix +++ b/pkgs/by-name/ne/netbox/plugins/netbox-contract/package.nix @@ -10,8 +10,6 @@ netaddr, }: buildPythonPackage (finalAttrs: { - __structuredAttrs = true; - pname = "netbox-contract"; version = "2.5.0"; pyproject = true; diff --git a/pkgs/by-name/ne/netbox/plugins/netbox-custom-objects/package.nix b/pkgs/by-name/ne/netbox/plugins/netbox-custom-objects/package.nix index 02a4c217bdcd..ff9a37c25fe3 100644 --- a/pkgs/by-name/ne/netbox/plugins/netbox-custom-objects/package.nix +++ b/pkgs/by-name/ne/netbox/plugins/netbox-custom-objects/package.nix @@ -7,8 +7,6 @@ python, }: buildPythonPackage (finalAttrs: { - __structuredAttrs = true; - pname = "netbox-custom-objects"; version = "0.7.0"; pyproject = true; diff --git a/pkgs/by-name/ne/netbox/plugins/netbox-data-flows/package.nix b/pkgs/by-name/ne/netbox/plugins/netbox-data-flows/package.nix index 79e4bfadc6af..f9211aa2fe2e 100644 --- a/pkgs/by-name/ne/netbox/plugins/netbox-data-flows/package.nix +++ b/pkgs/by-name/ne/netbox/plugins/netbox-data-flows/package.nix @@ -7,8 +7,6 @@ python, }: buildPythonPackage (finalAttrs: { - __structuredAttrs = true; - pname = "netbox-data-flows"; version = "1.5.4"; pyproject = true; diff --git a/pkgs/by-name/ne/netbox/plugins/netbox-dns/package.nix b/pkgs/by-name/ne/netbox/plugins/netbox-dns/package.nix index cfc49a794839..f85a5a169ce4 100644 --- a/pkgs/by-name/ne/netbox/plugins/netbox-dns/package.nix +++ b/pkgs/by-name/ne/netbox/plugins/netbox-dns/package.nix @@ -6,8 +6,6 @@ dnspython, }: buildPythonPackage (finalAttrs: { - __structuredAttrs = true; - pname = "netbox-plugin-dns"; version = "1.7.3"; pyproject = true; diff --git a/pkgs/by-name/ne/netbox/plugins/netbox-documents/package.nix b/pkgs/by-name/ne/netbox/plugins/netbox-documents/package.nix index c57ff4dcaaa6..f78eaa71fe1f 100644 --- a/pkgs/by-name/ne/netbox/plugins/netbox-documents/package.nix +++ b/pkgs/by-name/ne/netbox/plugins/netbox-documents/package.nix @@ -8,8 +8,6 @@ netbox, }: buildPythonPackage (finalAttrs: { - __structuredAttrs = true; - pname = "netbox-documents"; version = "0.8.5"; pyproject = true; diff --git a/pkgs/by-name/ne/netbox/plugins/netbox-facts/package.nix b/pkgs/by-name/ne/netbox/plugins/netbox-facts/package.nix index 443cfcd8acd4..73621e7461da 100644 --- a/pkgs/by-name/ne/netbox/plugins/netbox-facts/package.nix +++ b/pkgs/by-name/ne/netbox/plugins/netbox-facts/package.nix @@ -11,7 +11,6 @@ buildPythonPackage (finalAttrs: { pname = "netbox-facts"; version = "0.1.1"; pyproject = true; - __structuredAttrs = true; src = fetchFromGitHub { owner = "jsenecal"; diff --git a/pkgs/by-name/ne/netbox/plugins/netbox-floorplan-plugin/package.nix b/pkgs/by-name/ne/netbox/plugins/netbox-floorplan-plugin/package.nix index ee15b3fe9501..25599b1b2703 100644 --- a/pkgs/by-name/ne/netbox/plugins/netbox-floorplan-plugin/package.nix +++ b/pkgs/by-name/ne/netbox/plugins/netbox-floorplan-plugin/package.nix @@ -9,8 +9,6 @@ python, }: buildPythonPackage (finalAttrs: { - __structuredAttrs = true; - pname = "netbox-floorplan-plugin"; version = "0.9.2"; pyproject = true; diff --git a/pkgs/by-name/ne/netbox/plugins/netbox-fms/package.nix b/pkgs/by-name/ne/netbox/plugins/netbox-fms/package.nix index 1272ea8dbadf..5f96b07fc843 100644 --- a/pkgs/by-name/ne/netbox/plugins/netbox-fms/package.nix +++ b/pkgs/by-name/ne/netbox/plugins/netbox-fms/package.nix @@ -10,7 +10,6 @@ buildPythonPackage (finalAttrs: { pname = "netbox-fms"; version = "0.5.1"; pyproject = true; - __structuredAttrs = true; src = fetchFromGitHub { owner = "jsenecal"; diff --git a/pkgs/by-name/ne/netbox/plugins/netbox-interface-synchronization/package.nix b/pkgs/by-name/ne/netbox/plugins/netbox-interface-synchronization/package.nix index c736e9605b24..e42bc91419da 100644 --- a/pkgs/by-name/ne/netbox/plugins/netbox-interface-synchronization/package.nix +++ b/pkgs/by-name/ne/netbox/plugins/netbox-interface-synchronization/package.nix @@ -19,8 +19,6 @@ }: buildPythonPackage (finalAttrs: { - __structuredAttrs = true; - pname = "netbox-interface-synchronization"; version = "4.5.8"; pyproject = true; diff --git a/pkgs/by-name/ne/netbox/plugins/netbox-inventory/package.nix b/pkgs/by-name/ne/netbox/plugins/netbox-inventory/package.nix index b1420d163cfd..14714ab6c651 100644 --- a/pkgs/by-name/ne/netbox/plugins/netbox-inventory/package.nix +++ b/pkgs/by-name/ne/netbox/plugins/netbox-inventory/package.nix @@ -7,8 +7,6 @@ python, }: buildPythonPackage (finalAttrs: { - __structuredAttrs = true; - pname = "netbox-inventory"; version = "2.6.1"; pyproject = true; diff --git a/pkgs/by-name/ne/netbox/plugins/netbox-lifecycle/package.nix b/pkgs/by-name/ne/netbox/plugins/netbox-lifecycle/package.nix index a2b9e442e78f..6aafccfea230 100644 --- a/pkgs/by-name/ne/netbox/plugins/netbox-lifecycle/package.nix +++ b/pkgs/by-name/ne/netbox/plugins/netbox-lifecycle/package.nix @@ -8,8 +8,6 @@ django-polymorphic, }: buildPythonPackage (finalAttrs: { - __structuredAttrs = true; - pname = "netbox-lifecycle"; version = "1.1.10"; pyproject = true; diff --git a/pkgs/by-name/ne/netbox/plugins/netbox-lists/package.nix b/pkgs/by-name/ne/netbox/plugins/netbox-lists/package.nix index 83d38b775256..2140f390b794 100644 --- a/pkgs/by-name/ne/netbox/plugins/netbox-lists/package.nix +++ b/pkgs/by-name/ne/netbox/plugins/netbox-lists/package.nix @@ -8,8 +8,6 @@ }: buildPythonPackage (finalAttrs: { - __structuredAttrs = true; - pname = "netbox-lists"; version = "4.0.4"; pyproject = true; diff --git a/pkgs/by-name/ne/netbox/plugins/netbox-napalm-plugin/package.nix b/pkgs/by-name/ne/netbox/plugins/netbox-napalm-plugin/package.nix index d40f09a9d3ba..78bef8de6823 100644 --- a/pkgs/by-name/ne/netbox/plugins/netbox-napalm-plugin/package.nix +++ b/pkgs/by-name/ne/netbox/plugins/netbox-napalm-plugin/package.nix @@ -9,8 +9,6 @@ django, }: buildPythonPackage (finalAttrs: { - __structuredAttrs = true; - pname = "netbox-napalm-plugin"; version = "0.3.7"; pyproject = true; diff --git a/pkgs/by-name/ne/netbox/plugins/netbox-notices/package.nix b/pkgs/by-name/ne/netbox/plugins/netbox-notices/package.nix index 076d06c227cb..202ac108aff2 100644 --- a/pkgs/by-name/ne/netbox/plugins/netbox-notices/package.nix +++ b/pkgs/by-name/ne/netbox/plugins/netbox-notices/package.nix @@ -11,7 +11,6 @@ buildPythonPackage (finalAttrs: { pname = "netbox-notices"; version = "1.3.0"; pyproject = true; - __structuredAttrs = true; src = fetchFromGitHub { owner = "jsenecal"; diff --git a/pkgs/by-name/ne/netbox/plugins/netbox-peering-manager/package.nix b/pkgs/by-name/ne/netbox/plugins/netbox-peering-manager/package.nix index 8248fa92c48b..a683de90302a 100644 --- a/pkgs/by-name/ne/netbox/plugins/netbox-peering-manager/package.nix +++ b/pkgs/by-name/ne/netbox/plugins/netbox-peering-manager/package.nix @@ -15,7 +15,6 @@ buildPythonPackage (finalAttrs: { pname = "netbox-peering-manager"; version = "0.3.1"; pyproject = true; - __structuredAttrs = true; src = fetchFromGitHub { owner = "jsenecal"; diff --git a/pkgs/by-name/ne/netbox/plugins/netbox-plugin-prometheus-sd/package.nix b/pkgs/by-name/ne/netbox/plugins/netbox-plugin-prometheus-sd/package.nix index fce72ae26d74..195edcba560b 100644 --- a/pkgs/by-name/ne/netbox/plugins/netbox-plugin-prometheus-sd/package.nix +++ b/pkgs/by-name/ne/netbox/plugins/netbox-plugin-prometheus-sd/package.nix @@ -14,8 +14,6 @@ }: buildPythonPackage (finalAttrs: { - __structuredAttrs = true; - pname = "netbox-plugin-prometheus-sd"; version = "2.2.0"; pyproject = true; diff --git a/pkgs/by-name/ne/netbox/plugins/netbox-qrcode/package.nix b/pkgs/by-name/ne/netbox/plugins/netbox-qrcode/package.nix index 440502ad97d9..062a00fcf044 100644 --- a/pkgs/by-name/ne/netbox/plugins/netbox-qrcode/package.nix +++ b/pkgs/by-name/ne/netbox/plugins/netbox-qrcode/package.nix @@ -19,8 +19,6 @@ }: buildPythonPackage (finalAttrs: { - __structuredAttrs = true; - pname = "netbox-qrcode"; version = "1.0.0"; pyproject = true; diff --git a/pkgs/by-name/ne/netbox/plugins/netbox-reorder-rack/package.nix b/pkgs/by-name/ne/netbox/plugins/netbox-reorder-rack/package.nix index a295074a8c30..54e6376a5b48 100644 --- a/pkgs/by-name/ne/netbox/plugins/netbox-reorder-rack/package.nix +++ b/pkgs/by-name/ne/netbox/plugins/netbox-reorder-rack/package.nix @@ -7,8 +7,6 @@ python, }: buildPythonPackage (finalAttrs: { - __structuredAttrs = true; - pname = "netbox-reorder-rack"; version = "1.1.5"; pyproject = true; diff --git a/pkgs/by-name/ne/netbox/plugins/netbox-rir-manager/package.nix b/pkgs/by-name/ne/netbox/plugins/netbox-rir-manager/package.nix index cc6905fb7457..44d599243377 100644 --- a/pkgs/by-name/ne/netbox/plugins/netbox-rir-manager/package.nix +++ b/pkgs/by-name/ne/netbox/plugins/netbox-rir-manager/package.nix @@ -14,7 +14,6 @@ buildPythonPackage (finalAttrs: { pname = "netbox-rir-manager"; version = "0.4.0"; pyproject = true; - __structuredAttrs = true; src = fetchFromGitHub { owner = "jsenecal"; diff --git a/pkgs/by-name/ne/netbox/plugins/netbox-routing/package.nix b/pkgs/by-name/ne/netbox/plugins/netbox-routing/package.nix index eff1373f69cb..f5e46c896847 100644 --- a/pkgs/by-name/ne/netbox/plugins/netbox-routing/package.nix +++ b/pkgs/by-name/ne/netbox/plugins/netbox-routing/package.nix @@ -8,8 +8,6 @@ django-polymorphic, }: buildPythonPackage (finalAttrs: { - __structuredAttrs = true; - pname = "netbox-routing"; version = "0.5.0"; pyproject = true; diff --git a/pkgs/by-name/ne/netbox/plugins/netbox-secrets/package.nix b/pkgs/by-name/ne/netbox/plugins/netbox-secrets/package.nix index afcc328a0efe..2be18dac2534 100644 --- a/pkgs/by-name/ne/netbox/plugins/netbox-secrets/package.nix +++ b/pkgs/by-name/ne/netbox/plugins/netbox-secrets/package.nix @@ -9,8 +9,6 @@ }: buildPythonPackage (finalAttrs: { - __structuredAttrs = true; - pname = "netbox-secrets"; version = "3.1.1"; pyproject = true; diff --git a/pkgs/by-name/ne/netbox/plugins/netbox-security/package.nix b/pkgs/by-name/ne/netbox/plugins/netbox-security/package.nix index 5cf75f551d28..7a279513835a 100644 --- a/pkgs/by-name/ne/netbox/plugins/netbox-security/package.nix +++ b/pkgs/by-name/ne/netbox/plugins/netbox-security/package.nix @@ -7,8 +7,6 @@ python, }: buildPythonPackage (finalAttrs: { - __structuredAttrs = true; - pname = "netbox-security"; version = "1.6.8"; pyproject = true; diff --git a/pkgs/by-name/ne/netbox/plugins/netbox-sqids/package.nix b/pkgs/by-name/ne/netbox/plugins/netbox-sqids/package.nix index 983d7d126ba9..10fbb11e9586 100644 --- a/pkgs/by-name/ne/netbox/plugins/netbox-sqids/package.nix +++ b/pkgs/by-name/ne/netbox/plugins/netbox-sqids/package.nix @@ -11,7 +11,6 @@ buildPythonPackage (finalAttrs: { pname = "netbox-sqids"; version = "0.3.0"; pyproject = true; - __structuredAttrs = true; src = fetchFromGitHub { owner = "jsenecal"; diff --git a/pkgs/by-name/ne/netbox/plugins/netbox-topology-views/package.nix b/pkgs/by-name/ne/netbox/plugins/netbox-topology-views/package.nix index e15f0e717493..225fa2530dfc 100644 --- a/pkgs/by-name/ne/netbox/plugins/netbox-topology-views/package.nix +++ b/pkgs/by-name/ne/netbox/plugins/netbox-topology-views/package.nix @@ -9,8 +9,6 @@ python, }: buildPythonPackage (finalAttrs: { - __structuredAttrs = true; - pname = "netbox-topology-views"; version = "4.7.0"; pyproject = true; diff --git a/pkgs/by-name/ne/netbox/plugins/netbox-wdm/package.nix b/pkgs/by-name/ne/netbox/plugins/netbox-wdm/package.nix index 640e2672a5bb..b0d54aefff8b 100644 --- a/pkgs/by-name/ne/netbox/plugins/netbox-wdm/package.nix +++ b/pkgs/by-name/ne/netbox/plugins/netbox-wdm/package.nix @@ -10,7 +10,6 @@ buildPythonPackage (finalAttrs: { pname = "netbox-wdm"; version = "0.2.2"; pyproject = true; - __structuredAttrs = true; src = fetchFromGitHub { owner = "jsenecal"; From 497a634eecfd26ac177b119fa6a109eab11554ee Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Thu, 8 Oct 2026 22:15:26 +0200 Subject: [PATCH 0173/2378] netpeek: remove redundant __structuredAttrs --- pkgs/by-name/ne/netpeek/package.nix | 2 -- 1 file changed, 2 deletions(-) diff --git a/pkgs/by-name/ne/netpeek/package.nix b/pkgs/by-name/ne/netpeek/package.nix index 4227685b95b3..c91de274131f 100644 --- a/pkgs/by-name/ne/netpeek/package.nix +++ b/pkgs/by-name/ne/netpeek/package.nix @@ -17,8 +17,6 @@ python3Packages.buildPythonApplication (finalAttrs: { version = "0.3.4"; pyproject = false; - __structuredAttrs = true; - src = fetchFromGitHub { owner = "ZingyTomato"; repo = "NetPeek"; From d0dd4b35d4e648cee2cad9d6a1ece4d88e69e558 Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Thu, 8 Oct 2026 22:15:26 +0200 Subject: [PATCH 0174/2378] nirimod: remove redundant __structuredAttrs --- pkgs/by-name/ni/nirimod/package.nix | 2 -- 1 file changed, 2 deletions(-) diff --git a/pkgs/by-name/ni/nirimod/package.nix b/pkgs/by-name/ni/nirimod/package.nix index 333c8660bf8a..3f408f3d186d 100644 --- a/pkgs/by-name/ni/nirimod/package.nix +++ b/pkgs/by-name/ni/nirimod/package.nix @@ -16,8 +16,6 @@ python3Packages.buildPythonApplication { version = "0-unstable-2026-09-19"; pyproject = true; - __structuredAttrs = true; - src = fetchFromGitHub { owner = "srinivasr"; repo = "nirimod"; From 48f64ac72756b4d7c72a7fa1c47de571ba01e700 Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Thu, 8 Oct 2026 22:15:27 +0200 Subject: [PATCH 0175/2378] nix-fast-build: remove redundant __structuredAttrs --- pkgs/by-name/ni/nix-fast-build/package.nix | 1 - 1 file changed, 1 deletion(-) diff --git a/pkgs/by-name/ni/nix-fast-build/package.nix b/pkgs/by-name/ni/nix-fast-build/package.nix index 9ae53f2d7346..d27f4f3b48e8 100644 --- a/pkgs/by-name/ni/nix-fast-build/package.nix +++ b/pkgs/by-name/ni/nix-fast-build/package.nix @@ -11,7 +11,6 @@ python3Packages.buildPythonApplication (finalAttrs: { pname = "nix-fast-build"; version = "2.0.4"; pyproject = true; - __structuredAttrs = true; src = fetchFromGitHub { owner = "Mic92"; From f876c731d3b434efdee262484a1674d1e662f8b5 Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Thu, 8 Oct 2026 22:15:27 +0200 Subject: [PATCH 0176/2378] nixpkgs-review: remove redundant __structuredAttrs --- pkgs/by-name/ni/nixpkgs-review/package.nix | 2 -- 1 file changed, 2 deletions(-) diff --git a/pkgs/by-name/ni/nixpkgs-review/package.nix b/pkgs/by-name/ni/nixpkgs-review/package.nix index f32a0d75cbfa..ecf85fbe6091 100644 --- a/pkgs/by-name/ni/nixpkgs-review/package.nix +++ b/pkgs/by-name/ni/nixpkgs-review/package.nix @@ -26,8 +26,6 @@ python3Packages.buildPythonApplication (finalAttrs: { version = "4.0.0"; pyproject = true; - __structuredAttrs = true; - src = fetchFromGitHub { owner = "Mic92"; repo = "nixpkgs-review"; From 736dd41b47f8e77c6bd4dbeb9b5e365fe7d8beb3 Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Thu, 8 Oct 2026 22:15:27 +0200 Subject: [PATCH 0177/2378] ntdswolf: remove redundant __structuredAttrs --- pkgs/by-name/nt/ntdswolf/package.nix | 2 -- 1 file changed, 2 deletions(-) diff --git a/pkgs/by-name/nt/ntdswolf/package.nix b/pkgs/by-name/nt/ntdswolf/package.nix index 68028d2fb608..c9317259f2da 100644 --- a/pkgs/by-name/nt/ntdswolf/package.nix +++ b/pkgs/by-name/nt/ntdswolf/package.nix @@ -10,8 +10,6 @@ python3Packages.buildPythonApplication (finalAttrs: { version = "0.6.1"; pyproject = true; - __structuredAttrs = true; - src = fetchFromGitHub { owner = "StrongWind1"; repo = "NTDSWolf"; From b309629f381a389361fca4913f27425a20248b28 Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Thu, 8 Oct 2026 22:15:27 +0200 Subject: [PATCH 0178/2378] ntlm_theft: remove redundant __structuredAttrs --- pkgs/by-name/nt/ntlm_theft/package.nix | 2 -- 1 file changed, 2 deletions(-) diff --git a/pkgs/by-name/nt/ntlm_theft/package.nix b/pkgs/by-name/nt/ntlm_theft/package.nix index 1cb1b3c42ee1..01cb12388f02 100644 --- a/pkgs/by-name/nt/ntlm_theft/package.nix +++ b/pkgs/by-name/nt/ntlm_theft/package.nix @@ -18,8 +18,6 @@ python3Packages.buildPythonApplication { hash = "sha256-va1qDfQ0s1/VsZc9xCIqGBfI3EGl+sfYTvYDnJqFe+0="; }; - __structuredAttrs = true; - build-system = with python3Packages; [ hatchling ]; From 16d6f24f2fa34aedbd1c0b0361e8fc075ebdbc66 Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Thu, 8 Oct 2026 22:15:28 +0200 Subject: [PATCH 0179/2378] nvitop: remove redundant __structuredAttrs --- pkgs/by-name/nv/nvitop/package.nix | 1 - 1 file changed, 1 deletion(-) diff --git a/pkgs/by-name/nv/nvitop/package.nix b/pkgs/by-name/nv/nvitop/package.nix index dffe1be4a05a..bec0baa9dd02 100644 --- a/pkgs/by-name/nv/nvitop/package.nix +++ b/pkgs/by-name/nv/nvitop/package.nix @@ -9,7 +9,6 @@ python3Packages.buildPythonApplication (finalAttrs: { pname = "nvitop"; version = "1.7.1"; pyproject = true; - __structuredAttrs = true; src = fetchFromGitHub { owner = "XuehaiPan"; From 2dcba1dc851fffa49535d08a56b86aa1951f60fd Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Thu, 8 Oct 2026 22:15:28 +0200 Subject: [PATCH 0180/2378] obliteratus: remove redundant __structuredAttrs --- pkgs/by-name/ob/obliteratus/package.nix | 2 -- 1 file changed, 2 deletions(-) diff --git a/pkgs/by-name/ob/obliteratus/package.nix b/pkgs/by-name/ob/obliteratus/package.nix index 3640e4482178..9183e025d2e3 100644 --- a/pkgs/by-name/ob/obliteratus/package.nix +++ b/pkgs/by-name/ob/obliteratus/package.nix @@ -11,8 +11,6 @@ python3Packages.buildPythonApplication (finalAttrs: { version = "0.1.3"; pyproject = true; - __structuredAttrs = true; - src = fetchFromGitHub { owner = "elder-plinius"; repo = "OBLITERATUS"; From f666e4425682ec8138862746f39453a2d1cb5fdb Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Thu, 8 Oct 2026 22:15:28 +0200 Subject: [PATCH 0181/2378] ocinferno: remove redundant __structuredAttrs --- pkgs/by-name/oc/ocinferno/package.nix | 2 -- 1 file changed, 2 deletions(-) diff --git a/pkgs/by-name/oc/ocinferno/package.nix b/pkgs/by-name/oc/ocinferno/package.nix index beaa2da565cf..0ee622ab5de1 100644 --- a/pkgs/by-name/oc/ocinferno/package.nix +++ b/pkgs/by-name/oc/ocinferno/package.nix @@ -10,8 +10,6 @@ python3Packages.buildPythonApplication (finalAttrs: { version = "0.6.2-unstable-2026-08-03"; pyproject = true; - __structuredAttrs = true; - src = fetchFromGitHub { owner = "NetSPI"; repo = "OCInferno"; From a23c135b60916f464d564a9b477fe899ee5da9c7 Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Thu, 8 Oct 2026 22:15:28 +0200 Subject: [PATCH 0182/2378] openhack: remove redundant __structuredAttrs --- pkgs/by-name/op/openhack/package.nix | 2 -- 1 file changed, 2 deletions(-) diff --git a/pkgs/by-name/op/openhack/package.nix b/pkgs/by-name/op/openhack/package.nix index e6674e07d6b6..e1d00ba8c1ac 100644 --- a/pkgs/by-name/op/openhack/package.nix +++ b/pkgs/by-name/op/openhack/package.nix @@ -11,8 +11,6 @@ python3Packages.buildPythonApplication (finalAttrs: { version = "0.2.4"; pyproject = true; - __structuredAttrs = true; - src = fetchFromGitHub { owner = "openhackai"; repo = "openhack"; From f30ad8d9a57ebf8bf854d39ad47681f89c63324d Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Thu, 8 Oct 2026 22:15:29 +0200 Subject: [PATCH 0183/2378] openttd-nml: remove redundant __structuredAttrs --- pkgs/by-name/op/openttd-nml/package.nix | 2 -- 1 file changed, 2 deletions(-) diff --git a/pkgs/by-name/op/openttd-nml/package.nix b/pkgs/by-name/op/openttd-nml/package.nix index 6d8d61d8f7cc..b614f309f622 100644 --- a/pkgs/by-name/op/openttd-nml/package.nix +++ b/pkgs/by-name/op/openttd-nml/package.nix @@ -10,8 +10,6 @@ python3Packages.buildPythonApplication (finalAttrs: { version = "0.9.0"; pyproject = true; - __structuredAttrs = true; - src = fetchFromGitHub { owner = "OpenTTD"; repo = "nml"; From e50406113a904d5cccd413bbf9c58076db457dd5 Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Thu, 8 Oct 2026 22:15:29 +0200 Subject: [PATCH 0184/2378] owocr: remove redundant __structuredAttrs --- pkgs/by-name/ow/owocr/package.nix | 1 - 1 file changed, 1 deletion(-) diff --git a/pkgs/by-name/ow/owocr/package.nix b/pkgs/by-name/ow/owocr/package.nix index 3f976a578e98..5098005954df 100644 --- a/pkgs/by-name/ow/owocr/package.nix +++ b/pkgs/by-name/ow/owocr/package.nix @@ -7,7 +7,6 @@ python3Packages.buildPythonApplication (finalAttrs: { pname = "owocr"; version = "1.26.8"; pyproject = true; - __structuredAttrs = true; src = fetchFromGitHub { owner = "AuroraWright"; From 8977dd3cf747b21512deae0f3f6b5760328f5e26 Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Thu, 8 Oct 2026 22:15:29 +0200 Subject: [PATCH 0185/2378] pa-dlna: remove redundant __structuredAttrs --- pkgs/by-name/pa/pa-dlna/package.nix | 2 -- 1 file changed, 2 deletions(-) diff --git a/pkgs/by-name/pa/pa-dlna/package.nix b/pkgs/by-name/pa/pa-dlna/package.nix index 25901a9ca3a6..1f6245431487 100644 --- a/pkgs/by-name/pa/pa-dlna/package.nix +++ b/pkgs/by-name/pa/pa-dlna/package.nix @@ -14,8 +14,6 @@ python3.pkgs.buildPythonApplication (finalAttrs: { version = "1.2.1"; pyproject = true; - __structuredAttrs = true; - src = fetchFromGitLab { owner = "xdegaye"; repo = "pa-dlna"; From 971064e83dd1bff3cb4f336f7225463760fc5601 Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Thu, 8 Oct 2026 22:15:29 +0200 Subject: [PATCH 0186/2378] pdf-mcp: remove redundant __structuredAttrs, use finalAttrs --- pkgs/by-name/pd/pdf-mcp/package.nix | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/pkgs/by-name/pd/pdf-mcp/package.nix b/pkgs/by-name/pd/pdf-mcp/package.nix index 676db4120888..0b99e0f3cb54 100644 --- a/pkgs/by-name/pd/pdf-mcp/package.nix +++ b/pkgs/by-name/pd/pdf-mcp/package.nix @@ -5,16 +5,15 @@ tesseract, }: -python3Packages.buildPythonApplication rec { +python3Packages.buildPythonApplication (finalAttrs: { pname = "pdf-mcp"; version = "1.21.0"; pyproject = true; - __structuredAttrs = true; src = fetchFromGitHub { owner = "jztan"; repo = "pdf-mcp"; - tag = "v${version}"; + tag = "v${finalAttrs.version}"; hash = "sha256-/CuVdfkJkc95JkZZZMA5euvdysdPObRcww+zImhCY5M="; }; @@ -82,10 +81,10 @@ python3Packages.buildPythonApplication rec { meta = { description = "MCP server that lets AI agents work through large PDFs without overflowing their context"; homepage = "https://github.com/jztan/pdf-mcp"; - changelog = "https://github.com/jztan/pdf-mcp/releases/tag/v${version}"; + changelog = "https://github.com/jztan/pdf-mcp/releases/tag/${finalAttrs.src.tag}"; license = lib.licenses.mit; maintainers = with lib.maintainers; [ derdennisop ]; mainProgram = "pdf-mcp"; platforms = lib.platforms.unix; }; -} +}) From 8127652b0c1c4f43dc348965acc55de81665ea96 Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Thu, 8 Oct 2026 22:15:30 +0200 Subject: [PATCH 0187/2378] pdfalyzer: remove redundant __structuredAttrs --- pkgs/by-name/pd/pdfalyzer/package.nix | 2 -- 1 file changed, 2 deletions(-) diff --git a/pkgs/by-name/pd/pdfalyzer/package.nix b/pkgs/by-name/pd/pdfalyzer/package.nix index 1c98d2a0b5a5..cf8568c2f768 100644 --- a/pkgs/by-name/pd/pdfalyzer/package.nix +++ b/pkgs/by-name/pd/pdfalyzer/package.nix @@ -11,8 +11,6 @@ python3Packages.buildPythonApplication (finalAttrs: { version = "1.19.6"; pyproject = true; - __structuredAttrs = true; - src = fetchFromGitHub { owner = "michelcrypt4d4mus"; repo = "pdfalyzer"; From b2491abcc060585ffa4674949bc57550f824d19e Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Thu, 8 Oct 2026 22:15:30 +0200 Subject: [PATCH 0188/2378] pdfding: remove redundant __structuredAttrs --- pkgs/by-name/pd/pdfding/package.nix | 2 -- 1 file changed, 2 deletions(-) diff --git a/pkgs/by-name/pd/pdfding/package.nix b/pkgs/by-name/pd/pdfding/package.nix index 35ed4d2a3921..e98ed12bbe93 100644 --- a/pkgs/by-name/pd/pdfding/package.nix +++ b/pkgs/by-name/pd/pdfding/package.nix @@ -21,8 +21,6 @@ python.pkgs.buildPythonPackage (finalAttrs: { }; pyproject = true; - __structuredAttrs = true; - # remove supervisor from dependencies, we use systemd postPatch = '' sed -i 's/supervisor.*$//' pyproject.toml From d588656e1bc7ef47ee4a798de56dccdbfe996d64 Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Thu, 8 Oct 2026 22:15:30 +0200 Subject: [PATCH 0189/2378] pdudaemon: remove redundant __structuredAttrs --- pkgs/by-name/pd/pdudaemon/package.nix | 2 -- 1 file changed, 2 deletions(-) diff --git a/pkgs/by-name/pd/pdudaemon/package.nix b/pkgs/by-name/pd/pdudaemon/package.nix index b39539ab89a9..50c7c557465f 100644 --- a/pkgs/by-name/pd/pdudaemon/package.nix +++ b/pkgs/by-name/pd/pdudaemon/package.nix @@ -42,8 +42,6 @@ python3Packages.buildPythonApplication (finalAttrs: { pytestCheckHook ]; - __structuredAttrs = true; - passthru.tests = { inherit (nixosTests) pdudaemon; }; From 9555dfdffcb98dcaf7b0739cf03e9aef34b6946f Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Thu, 8 Oct 2026 22:15:30 +0200 Subject: [PATCH 0190/2378] picard: remove redundant __structuredAttrs --- pkgs/by-name/pi/picard/package.nix | 1 - 1 file changed, 1 deletion(-) diff --git a/pkgs/by-name/pi/picard/package.nix b/pkgs/by-name/pi/picard/package.nix index 581ce38d5002..7fbfb69bfbf1 100644 --- a/pkgs/by-name/pi/picard/package.nix +++ b/pkgs/by-name/pi/picard/package.nix @@ -19,7 +19,6 @@ python3Packages.buildPythonApplication (finalAttrs: { pname = "picard"; version = "3.0"; pyproject = true; - __structuredAttrs = true; src = fetchFromGitHub { owner = "metabrainz"; From c5eea323c1453b87afe556bad6880f4ca8253955 Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Thu, 8 Oct 2026 22:15:31 +0200 Subject: [PATCH 0191/2378] pipewire-control-center: remove redundant __structuredAttrs --- pkgs/by-name/pi/pipewire-control-center/package.nix | 1 - 1 file changed, 1 deletion(-) diff --git a/pkgs/by-name/pi/pipewire-control-center/package.nix b/pkgs/by-name/pi/pipewire-control-center/package.nix index ff013589219a..cc319f29ed3c 100644 --- a/pkgs/by-name/pi/pipewire-control-center/package.nix +++ b/pkgs/by-name/pi/pipewire-control-center/package.nix @@ -15,7 +15,6 @@ python3Packages.buildPythonApplication (finalAttrs: { pname = "pipewire-control-center"; version = "0.6.0"; pyproject = true; - __structuredAttrs = true; src = fetchFromGitHub { owner = "knightinfected"; From f801877ec928c548e7c29d925cd413a69207a3f2 Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Thu, 8 Oct 2026 22:15:31 +0200 Subject: [PATCH 0192/2378] polysh: remove redundant __structuredAttrs --- pkgs/by-name/po/polysh/package.nix | 1 - 1 file changed, 1 deletion(-) diff --git a/pkgs/by-name/po/polysh/package.nix b/pkgs/by-name/po/polysh/package.nix index 53557cf57204..2c61958b5a3a 100644 --- a/pkgs/by-name/po/polysh/package.nix +++ b/pkgs/by-name/po/polysh/package.nix @@ -7,7 +7,6 @@ python3Packages.buildPythonApplication (finalAttrs: { pname = "polysh"; version = "1.0.6"; pyproject = true; - __structuredAttrs = true; src = fetchFromGitHub { owner = "innogames"; From a65dcb09c18d0b57a930e136dca94180c636f734 Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Thu, 8 Oct 2026 22:15:31 +0200 Subject: [PATCH 0193/2378] porting-advisor-for-graviton: remove redundant __structuredAttrs --- pkgs/by-name/po/porting-advisor-for-graviton/package.nix | 2 -- 1 file changed, 2 deletions(-) diff --git a/pkgs/by-name/po/porting-advisor-for-graviton/package.nix b/pkgs/by-name/po/porting-advisor-for-graviton/package.nix index c775017e9342..40438309f850 100644 --- a/pkgs/by-name/po/porting-advisor-for-graviton/package.nix +++ b/pkgs/by-name/po/porting-advisor-for-graviton/package.nix @@ -19,8 +19,6 @@ buildPythonApplication (finalAttrs: { version = "1.1.1"; format = "other"; # Only has a requirements.txt - __structuredAttrs = true; - src = fetchFromGitHub { owner = "aws"; repo = "porting-advisor-for-graviton"; From ab400b8165dcda876c172a739d006923c8c655ca Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Thu, 8 Oct 2026 22:15:31 +0200 Subject: [PATCH 0194/2378] pq-cli: remove redundant __structuredAttrs --- pkgs/by-name/pq/pq-cli/package.nix | 2 -- 1 file changed, 2 deletions(-) diff --git a/pkgs/by-name/pq/pq-cli/package.nix b/pkgs/by-name/pq/pq-cli/package.nix index dbe40cd0ccbe..df173f7d1684 100644 --- a/pkgs/by-name/pq/pq-cli/package.nix +++ b/pkgs/by-name/pq/pq-cli/package.nix @@ -10,8 +10,6 @@ python3Packages.buildPythonApplication (finalAttrs: { version = "1.0.4"; pyproject = true; - __structuredAttrs = true; - src = fetchFromGitHub { owner = "rr-"; repo = "pq-cli"; From 6c2f4ef94704fc3ea5df99fa1fb6744eaddac694 Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Thu, 8 Oct 2026 22:15:32 +0200 Subject: [PATCH 0195/2378] pqc-bench: remove redundant __structuredAttrs --- pkgs/by-name/pq/pqc-bench/package.nix | 2 -- 1 file changed, 2 deletions(-) diff --git a/pkgs/by-name/pq/pqc-bench/package.nix b/pkgs/by-name/pq/pqc-bench/package.nix index 014f2c1e2e5a..b51fc03b2974 100644 --- a/pkgs/by-name/pq/pqc-bench/package.nix +++ b/pkgs/by-name/pq/pqc-bench/package.nix @@ -11,8 +11,6 @@ python3Packages.buildPythonApplication (finalAttrs: { version = "0.3.0"; pyproject = true; - __structuredAttrs = true; - src = fetchFromGitHub { owner = "csnp"; repo = "pqc-bench"; From 97be511e21e7a719099ab53b04b80d909456c55f Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Thu, 8 Oct 2026 22:15:32 +0200 Subject: [PATCH 0196/2378] pretalx: remove redundant __structuredAttrs --- pkgs/by-name/pr/pretalx/package.nix | 2 -- 1 file changed, 2 deletions(-) diff --git a/pkgs/by-name/pr/pretalx/package.nix b/pkgs/by-name/pr/pretalx/package.nix index 4c5a53cb059f..b94cfecf64d7 100644 --- a/pkgs/by-name/pr/pretalx/package.nix +++ b/pkgs/by-name/pr/pretalx/package.nix @@ -36,8 +36,6 @@ python.pkgs.buildPythonApplication (finalAttrs: { version = "2026.2.1"; pyproject = true; - __structuredAttrs = true; - src = fetchFromGitHub { owner = "pretalx"; repo = "pretalx"; From 51f402240a1a77c86a54a2546ceb2a9f225a83ea Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Thu, 8 Oct 2026 22:15:32 +0200 Subject: [PATCH 0197/2378] pretix: remove redundant __structuredAttrs --- pkgs/by-name/pr/pretix/package.nix | 2 -- pkgs/by-name/pr/pretix/plugins/fontpack-free/package.nix | 1 - 2 files changed, 3 deletions(-) diff --git a/pkgs/by-name/pr/pretix/package.nix b/pkgs/by-name/pr/pretix/package.nix index 75f87f9ffc0a..614e1bb3cc58 100644 --- a/pkgs/by-name/pr/pretix/package.nix +++ b/pkgs/by-name/pr/pretix/package.nix @@ -314,8 +314,6 @@ pythonPackages.buildPythonApplication (finalAttrs: { }; }; - __structuredAttrs = true; - meta = { description = "Ticketing software that cares about your event—all the way"; homepage = "https://github.com/pretix/pretix"; diff --git a/pkgs/by-name/pr/pretix/plugins/fontpack-free/package.nix b/pkgs/by-name/pr/pretix/plugins/fontpack-free/package.nix index 5e445d42015b..e820355679aa 100644 --- a/pkgs/by-name/pr/pretix/plugins/fontpack-free/package.nix +++ b/pkgs/by-name/pr/pretix/plugins/fontpack-free/package.nix @@ -10,7 +10,6 @@ buildPythonPackage (finalAttrs: { pname = "pretix-fontpack-free"; version = "1.11.2"; pyproject = true; - __structuredAttrs = true; src = fetchFromGitHub { owner = "pretix"; From fe5d98c1d79ad6c53738d9aa4ccdad4e80ad2f83 Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Thu, 8 Oct 2026 22:15:32 +0200 Subject: [PATCH 0198/2378] probezen: remove redundant __structuredAttrs --- pkgs/by-name/pr/probezen/package.nix | 2 -- 1 file changed, 2 deletions(-) diff --git a/pkgs/by-name/pr/probezen/package.nix b/pkgs/by-name/pr/probezen/package.nix index 31719955cb1d..07206920f41c 100644 --- a/pkgs/by-name/pr/probezen/package.nix +++ b/pkgs/by-name/pr/probezen/package.nix @@ -10,8 +10,6 @@ python3Packages.buildPythonApplication (finalAttrs: { version = "1.2.0"; pyproject = true; - __structuredAttrs = true; - src = fetchFromGitHub { owner = "HemVadgama"; repo = "probezen"; From d69463ee53aa64eba30bf3de3dff65fd24d0f4e7 Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Thu, 8 Oct 2026 22:15:33 +0200 Subject: [PATCH 0199/2378] prometheus-borgmatic-exporter: remove redundant __structuredAttrs --- pkgs/by-name/pr/prometheus-borgmatic-exporter/package.nix | 2 -- 1 file changed, 2 deletions(-) diff --git a/pkgs/by-name/pr/prometheus-borgmatic-exporter/package.nix b/pkgs/by-name/pr/prometheus-borgmatic-exporter/package.nix index 6c5a0f00306d..d6e3844ebb28 100644 --- a/pkgs/by-name/pr/prometheus-borgmatic-exporter/package.nix +++ b/pkgs/by-name/pr/prometheus-borgmatic-exporter/package.nix @@ -11,8 +11,6 @@ python3Packages.buildPythonApplication (finallAttrs: { version = "0.5.0"; pyproject = true; - __structuredAttrs = true; - src = fetchFromGitHub { owner = "maxim-mityutko"; repo = "borgmatic-exporter"; From 661a8c289d2b6c06be85a43face5e4a74cc5c27a Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Thu, 8 Oct 2026 22:15:33 +0200 Subject: [PATCH 0200/2378] prowler: remove redundant __structuredAttrs --- pkgs/by-name/pr/prowler/package.nix | 2 -- 1 file changed, 2 deletions(-) diff --git a/pkgs/by-name/pr/prowler/package.nix b/pkgs/by-name/pr/prowler/package.nix index bb7dd54306dc..2db637f71b49 100644 --- a/pkgs/by-name/pr/prowler/package.nix +++ b/pkgs/by-name/pr/prowler/package.nix @@ -11,8 +11,6 @@ python3Packages.buildPythonApplication (finalAttrs: { version = "5.44.0"; pyproject = true; - __structuredAttrs = true; - src = fetchFromGitHub { owner = "prowler-cloud"; repo = "prowler"; From 834573c984a647340bc254aa904d73a534f74c14 Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Thu, 8 Oct 2026 22:15:33 +0200 Subject: [PATCH 0201/2378] pwneye: remove redundant __structuredAttrs --- pkgs/by-name/pw/pwneye/package.nix | 2 -- 1 file changed, 2 deletions(-) diff --git a/pkgs/by-name/pw/pwneye/package.nix b/pkgs/by-name/pw/pwneye/package.nix index e7f64617d048..651bfa304c28 100644 --- a/pkgs/by-name/pw/pwneye/package.nix +++ b/pkgs/by-name/pw/pwneye/package.nix @@ -11,8 +11,6 @@ python3Packages.buildPythonApplication (finalAttrs: { version = "1.3.2"; pyproject = true; - __structuredAttrs = true; - src = fetchFromGitHub { owner = "Hackerest"; repo = "pwneye"; From a131623a36fedd281ced4e05cda5bf78b41dd5ae Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Thu, 8 Oct 2026 22:15:33 +0200 Subject: [PATCH 0202/2378] pyp: remove redundant __structuredAttrs --- pkgs/by-name/py/pyp/package.nix | 1 - 1 file changed, 1 deletion(-) diff --git a/pkgs/by-name/py/pyp/package.nix b/pkgs/by-name/py/pyp/package.nix index 46ce80a0b503..0f27784d922e 100644 --- a/pkgs/by-name/py/pyp/package.nix +++ b/pkgs/by-name/py/pyp/package.nix @@ -14,7 +14,6 @@ python3Packages.buildPythonApplication (finalAttrs: { pname = "pyp"; version = "1.3.0"; pyproject = true; - __structuredAttrs = true; src = fetchFromGitHub { owner = "hauntsaninja"; From 1a83f1ef2c305e0367f8b102159c2f1d06fa11b0 Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Thu, 8 Oct 2026 22:15:34 +0200 Subject: [PATCH 0203/2378] pyscan: remove redundant __structuredAttrs --- pkgs/by-name/py/pyscan/package.nix | 2 -- 1 file changed, 2 deletions(-) diff --git a/pkgs/by-name/py/pyscan/package.nix b/pkgs/by-name/py/pyscan/package.nix index 1dde51029347..d3b30a701d5b 100644 --- a/pkgs/by-name/py/pyscan/package.nix +++ b/pkgs/by-name/py/pyscan/package.nix @@ -16,8 +16,6 @@ python3Packages.buildPythonApplication (finalAttrs: { version = "2.1.3"; pyproject = true; - __structuredAttrs = true; - src = fetchFromGitHub { owner = "ohaswin"; repo = "pyscan"; From fad439c0d34a7e293fc99cd6f5b22142ca186f31 Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Thu, 8 Oct 2026 22:15:34 +0200 Subject: [PATCH 0204/2378] pyspread: remove redundant __structuredAttrs --- pkgs/by-name/py/pyspread/package.nix | 1 - 1 file changed, 1 deletion(-) diff --git a/pkgs/by-name/py/pyspread/package.nix b/pkgs/by-name/py/pyspread/package.nix index 4f4a84c15157..30d60c6652f4 100644 --- a/pkgs/by-name/py/pyspread/package.nix +++ b/pkgs/by-name/py/pyspread/package.nix @@ -11,7 +11,6 @@ python3Packages.buildPythonApplication (finalAttrs: { pname = "pyspread"; version = "2.4.5"; pyproject = true; - __structuredAttrs = true; src = fetchFromGitLab { owner = "pyspread"; From 7691c779cd7dea2acc2ab83e34e29d0f7e8c01dd Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Thu, 8 Oct 2026 22:15:34 +0200 Subject: [PATCH 0205/2378] qcsuper: remove redundant __structuredAttrs --- pkgs/by-name/qc/qcsuper/package.nix | 1 - 1 file changed, 1 deletion(-) diff --git a/pkgs/by-name/qc/qcsuper/package.nix b/pkgs/by-name/qc/qcsuper/package.nix index ae973fd01d6f..ab736a0cc9de 100644 --- a/pkgs/by-name/qc/qcsuper/package.nix +++ b/pkgs/by-name/qc/qcsuper/package.nix @@ -17,7 +17,6 @@ python3Packages.buildPythonApplication (finalAttrs: { pname = "qcsuper"; version = "2.1.3"; pyproject = true; - __structuredAttrs = true; src = fetchFromGitHub { owner = "P1sec"; From fc5eee05fbbc14c2e8d6e2540cb13922b1a35cb9 Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Thu, 8 Oct 2026 22:15:34 +0200 Subject: [PATCH 0206/2378] qlever-control: remove redundant __structuredAttrs --- pkgs/by-name/ql/qlever-control/package.nix | 2 -- 1 file changed, 2 deletions(-) diff --git a/pkgs/by-name/ql/qlever-control/package.nix b/pkgs/by-name/ql/qlever-control/package.nix index b6610311a142..7b5ec1db58e1 100644 --- a/pkgs/by-name/ql/qlever-control/package.nix +++ b/pkgs/by-name/ql/qlever-control/package.nix @@ -38,8 +38,6 @@ python3Packages.buildPythonApplication (finalAttrs: { "qlever" ]; - __structuredAttrs = true; - meta = { description = "Command-line tool for controlling the QLever graph database"; homepage = "https://github.com/qlever-dev/qlever-control"; From 0a8717a52053588e38df6deafeb2a4eee0ebed05 Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Thu, 8 Oct 2026 22:15:35 +0200 Subject: [PATCH 0207/2378] qmk: remove redundant __structuredAttrs --- pkgs/by-name/qm/qmk/package.nix | 2 -- 1 file changed, 2 deletions(-) diff --git a/pkgs/by-name/qm/qmk/package.nix b/pkgs/by-name/qm/qmk/package.nix index bd78dbf345f9..a8e5036c4527 100644 --- a/pkgs/by-name/qm/qmk/package.nix +++ b/pkgs/by-name/qm/qmk/package.nix @@ -23,8 +23,6 @@ python3Packages.buildPythonApplication (finalAttrs: { hash = "sha256-FkvRbExAGyt2XuTwF7z6gUGULd82KWHEy6GXXYyyikg="; }; - __structuredAttrs = true; - build-system = with python3Packages; [ setuptools ]; From 202c9ab205068be310e45638d300704b4d15bb86 Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Thu, 8 Oct 2026 22:15:35 +0200 Subject: [PATCH 0208/2378] rayforge: remove redundant __structuredAttrs --- pkgs/by-name/ra/rayforge/package.nix | 2 -- 1 file changed, 2 deletions(-) diff --git a/pkgs/by-name/ra/rayforge/package.nix b/pkgs/by-name/ra/rayforge/package.nix index 3454bd240ac8..208573b005ee 100644 --- a/pkgs/by-name/ra/rayforge/package.nix +++ b/pkgs/by-name/ra/rayforge/package.nix @@ -19,8 +19,6 @@ python3Packages.buildPythonApplication (finalAttrs: { version = "1.11.2"; pyproject = true; - __structuredAttrs = true; - src = fetchFromGitHub { owner = "barebaric"; repo = "rayforge"; From fd8e503f5997fc9859372a0e59989d1c6afe69df Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Thu, 8 Oct 2026 22:15:35 +0200 Subject: [PATCH 0209/2378] rclip: remove redundant __structuredAttrs --- pkgs/by-name/rc/rclip/package.nix | 1 - 1 file changed, 1 deletion(-) diff --git a/pkgs/by-name/rc/rclip/package.nix b/pkgs/by-name/rc/rclip/package.nix index d56767ef1d84..b4ecba51a784 100644 --- a/pkgs/by-name/rc/rclip/package.nix +++ b/pkgs/by-name/rc/rclip/package.nix @@ -9,7 +9,6 @@ python3Packages.buildPythonApplication (finalAttrs: { pname = "rclip"; version = "4.0.1"; pyproject = true; - __structuredAttrs = true; src = fetchFromGitHub { owner = "yurijmikhalevich"; From 682c2330bfda6b1cd0efca99016f3411642de4c9 Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Thu, 8 Oct 2026 22:15:35 +0200 Subject: [PATCH 0210/2378] reticulated: remove redundant __structuredAttrs --- pkgs/by-name/re/reticulated/package.nix | 1 - 1 file changed, 1 deletion(-) diff --git a/pkgs/by-name/re/reticulated/package.nix b/pkgs/by-name/re/reticulated/package.nix index 417a86f40c50..134c0a9bb84d 100644 --- a/pkgs/by-name/re/reticulated/package.nix +++ b/pkgs/by-name/re/reticulated/package.nix @@ -9,7 +9,6 @@ python3Packages.buildPythonApplication (finalAttrs: { pname = "reticulated"; version = "1.0.3"; pyproject = true; - __structuredAttrs = true; src = fetchFromGitHub { owner = "RFnexus"; From c477bb182da1df1dec1db7ff44b0a4b5b6c0174f Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Thu, 8 Oct 2026 22:15:36 +0200 Subject: [PATCH 0211/2378] rnmon: remove redundant __structuredAttrs --- pkgs/by-name/rn/rnmon/package.nix | 1 - 1 file changed, 1 deletion(-) diff --git a/pkgs/by-name/rn/rnmon/package.nix b/pkgs/by-name/rn/rnmon/package.nix index 3d072b2984bd..92e068096b68 100644 --- a/pkgs/by-name/rn/rnmon/package.nix +++ b/pkgs/by-name/rn/rnmon/package.nix @@ -9,7 +9,6 @@ python3Packages.buildPythonApplication (finalAttrs: { pname = "rnmon"; version = "0.4.0"; pyproject = true; - __structuredAttrs = true; src = fetchFromGitHub { owner = "lbatalha"; From 0c319fc1a8b37587480bdf5e9432f6ffee189b9e Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Thu, 8 Oct 2026 22:15:36 +0200 Subject: [PATCH 0212/2378] rnsapi: remove redundant __structuredAttrs --- pkgs/by-name/rn/rnsapi/package.nix | 1 - 1 file changed, 1 deletion(-) diff --git a/pkgs/by-name/rn/rnsapi/package.nix b/pkgs/by-name/rn/rnsapi/package.nix index 2ec9227a63c3..29e2b040864e 100644 --- a/pkgs/by-name/rn/rnsapi/package.nix +++ b/pkgs/by-name/rn/rnsapi/package.nix @@ -9,7 +9,6 @@ python3Packages.buildPythonApplication (finalAttrs: { pname = "rnsapi"; version = "0-unstable-2026-07-09"; pyproject = true; - __structuredAttrs = true; src = fetchFromGitHub { owner = "attermann"; From e1a64f5558c7ea6f0c580d94524de4af6ad25439 Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Thu, 8 Oct 2026 22:15:36 +0200 Subject: [PATCH 0213/2378] rshell: remove redundant __structuredAttrs --- pkgs/by-name/rs/rshell/package.nix | 2 -- 1 file changed, 2 deletions(-) diff --git a/pkgs/by-name/rs/rshell/package.nix b/pkgs/by-name/rs/rshell/package.nix index 64b0d1122eda..53c7926a595b 100644 --- a/pkgs/by-name/rs/rshell/package.nix +++ b/pkgs/by-name/rs/rshell/package.nix @@ -10,8 +10,6 @@ python3Packages.buildPythonApplication (finalAttrs: { version = "0.0.36"; pyproject = true; - __structuredAttrs = true; - src = fetchPypi { inherit (finalAttrs) pname version; hash = "sha256-SmbYNSB0eVUOWdDdPoMAPQTE7KeKTkklD4h+0t1LC/U="; From 694893360161073c3647c6383d5c903b18ef501d Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Thu, 8 Oct 2026 22:15:36 +0200 Subject: [PATCH 0214/2378] runoff: remove redundant __structuredAttrs --- pkgs/by-name/ru/runoff/package.nix | 2 -- 1 file changed, 2 deletions(-) diff --git a/pkgs/by-name/ru/runoff/package.nix b/pkgs/by-name/ru/runoff/package.nix index 0efd1740398a..acaa8902a64f 100644 --- a/pkgs/by-name/ru/runoff/package.nix +++ b/pkgs/by-name/ru/runoff/package.nix @@ -16,8 +16,6 @@ python3.pkgs.buildPythonApplication (finalAttrs: { hash = "sha256-E5mMI5f9FS4zqiQrMQ5A8OHjhV6vCmH2ZNgjpMr9Z18="; }; - __structuredAttrs = true; - build-system = with python3.pkgs; [ setuptools ]; dependencies = with python3.pkgs; [ From c0f8669bdc1578f26d0dadd43228180dae08df82 Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Thu, 8 Oct 2026 22:15:37 +0200 Subject: [PATCH 0215/2378] rvgl-launcher: remove redundant __structuredAttrs --- pkgs/by-name/rv/rvgl-launcher/package.nix | 2 -- 1 file changed, 2 deletions(-) diff --git a/pkgs/by-name/rv/rvgl-launcher/package.nix b/pkgs/by-name/rv/rvgl-launcher/package.nix index 0c27808653ad..d9c90c5ebbdf 100644 --- a/pkgs/by-name/rv/rvgl-launcher/package.nix +++ b/pkgs/by-name/rv/rvgl-launcher/package.nix @@ -20,8 +20,6 @@ let hash = "sha256-Xq8gFE8rWMwufvZL5ZaWXbQ/Ls6nPGgmU3PjzFeQOuM="; }; - __structuredAttrs = true; - build-system = with python3Packages; [ setuptools ]; dependencies = with python3Packages; [ From ab8bbb287b92b0bccf7eadc53c04a19678ae19f3 Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Thu, 8 Oct 2026 22:15:37 +0200 Subject: [PATCH 0216/2378] s3cmd: remove redundant __structuredAttrs --- pkgs/by-name/s3/s3cmd/package.nix | 2 -- 1 file changed, 2 deletions(-) diff --git a/pkgs/by-name/s3/s3cmd/package.nix b/pkgs/by-name/s3/s3cmd/package.nix index 8e9b4f8cfcce..42a0a9d2b3aa 100644 --- a/pkgs/by-name/s3/s3cmd/package.nix +++ b/pkgs/by-name/s3/s3cmd/package.nix @@ -9,8 +9,6 @@ python3Packages.buildPythonApplication (finalAttrs: { version = "2.4.0"; pyproject = true; - __structuredAttrs = true; - src = fetchFromGitHub { owner = "s3tools"; repo = "s3cmd"; From bc6ec37bb5bb0bae3d68b93273e75ba3839e8aad Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Thu, 8 Oct 2026 22:15:37 +0200 Subject: [PATCH 0217/2378] sbom-compliance-tool: remove redundant __structuredAttrs --- pkgs/by-name/sb/sbom-compliance-tool/package.nix | 1 - 1 file changed, 1 deletion(-) diff --git a/pkgs/by-name/sb/sbom-compliance-tool/package.nix b/pkgs/by-name/sb/sbom-compliance-tool/package.nix index 94f7132da2c6..3b50d7b78d08 100644 --- a/pkgs/by-name/sb/sbom-compliance-tool/package.nix +++ b/pkgs/by-name/sb/sbom-compliance-tool/package.nix @@ -9,7 +9,6 @@ python3Packages.buildPythonApplication (finalAttrs: { pname = "sbom-compliance-tool"; version = "0.0.11"; pyproject = true; - __structuredAttrs = true; src = fetchFromCodeberg { owner = "software-compliance-org"; From 0b80aeae13ce0870661f5036f3527eb1bb26d750 Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Thu, 8 Oct 2026 22:15:37 +0200 Subject: [PATCH 0218/2378] sbom-cve-check: remove redundant __structuredAttrs --- pkgs/by-name/sb/sbom-cve-check/package.nix | 2 -- 1 file changed, 2 deletions(-) diff --git a/pkgs/by-name/sb/sbom-cve-check/package.nix b/pkgs/by-name/sb/sbom-cve-check/package.nix index 6131461d55ae..f5cc54d63a62 100644 --- a/pkgs/by-name/sb/sbom-cve-check/package.nix +++ b/pkgs/by-name/sb/sbom-cve-check/package.nix @@ -10,8 +10,6 @@ python3Packages.buildPythonApplication (finalAttrs: { version = "1.3.5"; pyproject = true; - __structuredAttrs = true; - src = fetchFromGitHub { owner = "bootlin"; repo = "sbom-cve-check"; From b71b5649db8352255b058309a779c0de8cbbf68d Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Thu, 8 Oct 2026 22:15:38 +0200 Subject: [PATCH 0219/2378] scantpaper: remove redundant __structuredAttrs --- pkgs/by-name/sc/scantpaper/package.nix | 2 -- 1 file changed, 2 deletions(-) diff --git a/pkgs/by-name/sc/scantpaper/package.nix b/pkgs/by-name/sc/scantpaper/package.nix index 082859afa152..ac26f8a5c81a 100644 --- a/pkgs/by-name/sc/scantpaper/package.nix +++ b/pkgs/by-name/sc/scantpaper/package.nix @@ -43,8 +43,6 @@ python3.pkgs.buildPythonApplication (finalAttrs: { hash = "sha256-6zjIEwDHdOIAIucV4T/zY10F80nQNOgnRkA+i2n7Sng="; }; - __structuredAttrs = true; - dontWrapGApps = true; preFixup = '' makeWrapperArgs+=("''${gappsWrapperArgs[@]}") From 633178c9aa65b3e1404cce33d490aa2bf212ad58 Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Thu, 8 Oct 2026 22:15:38 +0200 Subject: [PATCH 0220/2378] scoutsuite: remove redundant __structuredAttrs --- pkgs/by-name/sc/scoutsuite/package.nix | 2 -- 1 file changed, 2 deletions(-) diff --git a/pkgs/by-name/sc/scoutsuite/package.nix b/pkgs/by-name/sc/scoutsuite/package.nix index 662c670c27bf..9eb3b24a3a9c 100644 --- a/pkgs/by-name/sc/scoutsuite/package.nix +++ b/pkgs/by-name/sc/scoutsuite/package.nix @@ -10,8 +10,6 @@ python3Packages.buildPythonApplication (finalAttrs: { version = "5.14.0"; pyproject = true; - __structuredAttrs = true; - src = fetchFromGitHub { owner = "nccgroup"; repo = "scoutsuite"; From 912865b73929ca8f38b9f703f32e976952466aee Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Thu, 8 Oct 2026 22:15:38 +0200 Subject: [PATCH 0221/2378] seagoat: remove redundant __structuredAttrs --- pkgs/by-name/se/seagoat/package.nix | 1 - 1 file changed, 1 deletion(-) diff --git a/pkgs/by-name/se/seagoat/package.nix b/pkgs/by-name/se/seagoat/package.nix index 0b64bd03d2f6..e369915672d0 100644 --- a/pkgs/by-name/se/seagoat/package.nix +++ b/pkgs/by-name/se/seagoat/package.nix @@ -16,7 +16,6 @@ python3Packages.buildPythonApplication (finalAttrs: { pname = "seagoat"; version = "1.2.0"; pyproject = true; - __structuredAttrs = true; src = fetchFromGitHub { owner = "kantord"; From 113fd360290c6ace9cf120cda2d782da7a3b6bd7 Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Thu, 8 Oct 2026 22:15:38 +0200 Subject: [PATCH 0222/2378] shira: remove redundant __structuredAttrs --- pkgs/by-name/sh/shira/package.nix | 2 -- 1 file changed, 2 deletions(-) diff --git a/pkgs/by-name/sh/shira/package.nix b/pkgs/by-name/sh/shira/package.nix index 7de856149e98..de8c769183f9 100644 --- a/pkgs/by-name/sh/shira/package.nix +++ b/pkgs/by-name/sh/shira/package.nix @@ -10,8 +10,6 @@ python3Packages.buildPythonApplication (finalAttrs: { version = "1.8.5"; pyproject = true; - __structuredAttrs = true; - src = fetchFromGitHub { owner = "KraXen72"; repo = "shira"; From 448466eab2387522a005d75e6816f5f20b4ef6bf Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Thu, 8 Oct 2026 22:15:39 +0200 Subject: [PATCH 0223/2378] sideband: remove redundant __structuredAttrs --- pkgs/by-name/si/sideband/package.nix | 1 - 1 file changed, 1 deletion(-) diff --git a/pkgs/by-name/si/sideband/package.nix b/pkgs/by-name/si/sideband/package.nix index 009033f639bd..f4909436853a 100644 --- a/pkgs/by-name/si/sideband/package.nix +++ b/pkgs/by-name/si/sideband/package.nix @@ -9,7 +9,6 @@ python313Packages.buildPythonApplication (finalAttrs: { pname = "sideband"; version = "2.2.0"; pyproject = true; - __structuredAttrs = true; src = fetchFromGitHub { owner = "markqvist"; From d42782185c23d9fa088ba05c03c959abb88d1008 Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Thu, 8 Oct 2026 22:15:39 +0200 Subject: [PATCH 0224/2378] snakemake: remove redundant __structuredAttrs --- pkgs/by-name/sn/snakemake/package.nix | 1 - 1 file changed, 1 deletion(-) diff --git a/pkgs/by-name/sn/snakemake/package.nix b/pkgs/by-name/sn/snakemake/package.nix index dbad1dead0c6..8787edce8f3f 100644 --- a/pkgs/by-name/sn/snakemake/package.nix +++ b/pkgs/by-name/sn/snakemake/package.nix @@ -13,7 +13,6 @@ python3Packages.buildPythonApplication (finalAttrs: { pname = "snakemake"; version = "9.23.1"; pyproject = true; - __structuredAttrs = true; src = fetchFromGitHub { owner = "snakemake"; From 936ed616b02469a18794f48713e76e3fb37f6fbe Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Thu, 8 Oct 2026 22:15:39 +0200 Subject: [PATCH 0225/2378] solaar: remove redundant __structuredAttrs --- pkgs/by-name/so/solaar/package.nix | 2 -- 1 file changed, 2 deletions(-) diff --git a/pkgs/by-name/so/solaar/package.nix b/pkgs/by-name/so/solaar/package.nix index b61af821e2b5..fe037a56e2cd 100644 --- a/pkgs/by-name/so/solaar/package.nix +++ b/pkgs/by-name/so/solaar/package.nix @@ -30,8 +30,6 @@ python3Packages.buildPythonApplication (finalAttrs: { hash = "sha256-h/uiy0TtMicKch2cdXHur5DkvQun2sAw2HpFI7Qstqg="; }; - __structuredAttrs = true; - outputs = [ "out" "udev" From ecf24044e01975d700ed287c39211c6690dd89db Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Thu, 8 Oct 2026 22:15:39 +0200 Subject: [PATCH 0226/2378] speech-to-phrase: remove redundant __structuredAttrs --- pkgs/by-name/sp/speech-to-phrase/package.nix | 2 -- 1 file changed, 2 deletions(-) diff --git a/pkgs/by-name/sp/speech-to-phrase/package.nix b/pkgs/by-name/sp/speech-to-phrase/package.nix index b06aba166def..88aa95c81c6f 100644 --- a/pkgs/by-name/sp/speech-to-phrase/package.nix +++ b/pkgs/by-name/sp/speech-to-phrase/package.nix @@ -46,8 +46,6 @@ python3Packages.buildPythonApplication (finalAttrs: { inherit version src; pyproject = true; - __structuredAttrs = true; - patches = [ # ERROR: Fst::Write: Can't open file: - ./fix-stdout.diff From a0f05f9d73e8c0635b1477b83ab6e633d57b271f Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Thu, 8 Oct 2026 22:15:40 +0200 Subject: [PATCH 0227/2378] sqlit-tui: remove redundant __structuredAttrs --- pkgs/by-name/sq/sqlit-tui/package.nix | 1 - 1 file changed, 1 deletion(-) diff --git a/pkgs/by-name/sq/sqlit-tui/package.nix b/pkgs/by-name/sq/sqlit-tui/package.nix index 6fbc4d230f83..062750d0de21 100644 --- a/pkgs/by-name/sq/sqlit-tui/package.nix +++ b/pkgs/by-name/sq/sqlit-tui/package.nix @@ -10,7 +10,6 @@ python3Packages.buildPythonApplication (finalAttrs: { pname = "sqlit-tui"; version = "1.6.4"; pyproject = true; - __structuredAttrs = true; src = fetchFromGitHub { owner = "Maxteabag"; From c04b1c975ae7cfa055c1d59db3695aa2e55e149f Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Thu, 8 Oct 2026 22:15:40 +0200 Subject: [PATCH 0228/2378] stalwart_0_16: remove redundant __structuredAttrs --- pkgs/by-name/st/stalwart_0_16/package.nix | 1 - 1 file changed, 1 deletion(-) diff --git a/pkgs/by-name/st/stalwart_0_16/package.nix b/pkgs/by-name/st/stalwart_0_16/package.nix index 8762338145b9..4e760c1c5ab7 100644 --- a/pkgs/by-name/st/stalwart_0_16/package.nix +++ b/pkgs/by-name/st/stalwart_0_16/package.nix @@ -30,7 +30,6 @@ let python3Packages.buildPythonApplication { pname = "migrate_v016"; inherit src version; - __structuredAttrs = true; format = "other"; dontBuild = true; dependencies = [ From 654a9620e6dfc7e068d58b2f6cc69960c94a4df9 Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Thu, 8 Oct 2026 22:15:40 +0200 Subject: [PATCH 0229/2378] tauno-monitor: remove redundant __structuredAttrs --- pkgs/by-name/ta/tauno-monitor/package.nix | 2 -- 1 file changed, 2 deletions(-) diff --git a/pkgs/by-name/ta/tauno-monitor/package.nix b/pkgs/by-name/ta/tauno-monitor/package.nix index fe1a197a241b..a50fe94f78b1 100644 --- a/pkgs/by-name/ta/tauno-monitor/package.nix +++ b/pkgs/by-name/ta/tauno-monitor/package.nix @@ -17,8 +17,6 @@ python3Packages.buildPythonApplication (finalAttrs: { version = "0.3.0"; pyproject = false; - __structuredAttrs = true; - src = fetchFromGitHub { owner = "taunoe"; repo = "tauno-monitor"; From bcd9aca81d9235a977b44e6d809ae5ea4e8fdc2c Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Thu, 8 Oct 2026 22:15:40 +0200 Subject: [PATCH 0230/2378] tclint: remove redundant __structuredAttrs --- pkgs/by-name/tc/tclint/package.nix | 1 - 1 file changed, 1 deletion(-) diff --git a/pkgs/by-name/tc/tclint/package.nix b/pkgs/by-name/tc/tclint/package.nix index e8a00d71aa9a..42b9dbb07f1b 100644 --- a/pkgs/by-name/tc/tclint/package.nix +++ b/pkgs/by-name/tc/tclint/package.nix @@ -18,7 +18,6 @@ pythonPackages.buildPythonApplication (finalAttrs: { pname = "tclint"; version = "0.9.0"; pyproject = true; - __structuredAttrs = true; src = fetchFromGitHub { owner = "nmoroze"; From c74936e2d895ac9848439dc1204c60dd6c571415 Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Thu, 8 Oct 2026 22:15:41 +0200 Subject: [PATCH 0231/2378] terminal-rain-lightning: remove redundant __structuredAttrs --- pkgs/by-name/te/terminal-rain-lightning/package.nix | 1 - 1 file changed, 1 deletion(-) diff --git a/pkgs/by-name/te/terminal-rain-lightning/package.nix b/pkgs/by-name/te/terminal-rain-lightning/package.nix index 1aab2a10f52a..e4559074d40e 100644 --- a/pkgs/by-name/te/terminal-rain-lightning/package.nix +++ b/pkgs/by-name/te/terminal-rain-lightning/package.nix @@ -26,7 +26,6 @@ python3Packages.buildPythonApplication (finalAttrs: { makeWrapperArgs+=("--prefix" "PATH" ":" "${lib.makeBinPath [ ffmpeg ]}") ''; - __structuredAttrs = true; passthru.updateScript = nix-update-script { }; meta = { From 847293f88023f881a1812769094f4a0ebdfdac4b Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Thu, 8 Oct 2026 22:15:41 +0200 Subject: [PATCH 0232/2378] tft-cli: remove redundant __structuredAttrs --- pkgs/by-name/tf/tft-cli/package.nix | 2 -- 1 file changed, 2 deletions(-) diff --git a/pkgs/by-name/tf/tft-cli/package.nix b/pkgs/by-name/tf/tft-cli/package.nix index d821a0357625..45de959bac63 100644 --- a/pkgs/by-name/tf/tft-cli/package.nix +++ b/pkgs/by-name/tf/tft-cli/package.nix @@ -10,8 +10,6 @@ python3Packages.buildPythonApplication (finalAttrs: { version = "0.0.38"; pyproject = true; - __structuredAttrs = true; - src = fetchFromGitLab { owner = "testing-farm"; repo = "cli"; From dbc24efd946a320503a58b1a1abbceb4efdac53c Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Thu, 8 Oct 2026 22:15:41 +0200 Subject: [PATCH 0233/2378] tt-burnin: remove redundant __structuredAttrs --- pkgs/by-name/tt/tt-burnin/package.nix | 1 - 1 file changed, 1 deletion(-) diff --git a/pkgs/by-name/tt/tt-burnin/package.nix b/pkgs/by-name/tt/tt-burnin/package.nix index 087872cea41e..2ac71d534716 100644 --- a/pkgs/by-name/tt/tt-burnin/package.nix +++ b/pkgs/by-name/tt/tt-burnin/package.nix @@ -10,7 +10,6 @@ python313Packages.buildPythonApplication (finalAttrs: { pname = "tt-burnin"; version = "0.4.4"; pyproject = true; - __structuredAttrs = true; src = fetchFromGitHub { owner = "tenstorrent"; From 2aed7fa0a92c645cf830b721a1e26b8d3293cf48 Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Thu, 8 Oct 2026 22:15:41 +0200 Subject: [PATCH 0234/2378] tt-smi: remove redundant __structuredAttrs --- pkgs/by-name/tt/tt-smi/package.nix | 1 - 1 file changed, 1 deletion(-) diff --git a/pkgs/by-name/tt/tt-smi/package.nix b/pkgs/by-name/tt/tt-smi/package.nix index 98a7de43b4ce..deb37b047521 100644 --- a/pkgs/by-name/tt/tt-smi/package.nix +++ b/pkgs/by-name/tt/tt-smi/package.nix @@ -10,7 +10,6 @@ python3Packages.buildPythonApplication (finalAttrs: { pname = "tt-smi"; version = "6.6.0"; pyproject = true; - __structuredAttrs = true; src = fetchFromGitHub { owner = "tenstorrent"; From 48f0c1f8bb8798127aa70d390766655c24784af2 Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Thu, 8 Oct 2026 22:15:42 +0200 Subject: [PATCH 0235/2378] umap: remove redundant __structuredAttrs --- pkgs/by-name/um/umap/package.nix | 2 -- 1 file changed, 2 deletions(-) diff --git a/pkgs/by-name/um/umap/package.nix b/pkgs/by-name/um/umap/package.nix index ca8c897b3a8f..31d7fc52aa0e 100644 --- a/pkgs/by-name/um/umap/package.nix +++ b/pkgs/by-name/um/umap/package.nix @@ -22,8 +22,6 @@ python.pkgs.buildPythonApplication (finalAttrs: { version = "3.8.1"; pyproject = true; - __structuredAttrs = true; - src = fetchFromGitHub { owner = "umap-project"; repo = "umap"; From b971c6abef6b782549726a25928a79a3038a22a0 Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Thu, 8 Oct 2026 22:15:42 +0200 Subject: [PATCH 0236/2378] unrar-wrapper: remove redundant __structuredAttrs --- pkgs/by-name/un/unrar-wrapper/package.nix | 2 -- 1 file changed, 2 deletions(-) diff --git a/pkgs/by-name/un/unrar-wrapper/package.nix b/pkgs/by-name/un/unrar-wrapper/package.nix index ddec94f3711d..c9c1368a34a7 100644 --- a/pkgs/by-name/un/unrar-wrapper/package.nix +++ b/pkgs/by-name/un/unrar-wrapper/package.nix @@ -10,8 +10,6 @@ python3Packages.buildPythonApplication (finalAttrs: { version = "1.0.0"; pyproject = true; - __structuredAttrs = true; - src = fetchFromGitHub { owner = "openSUSE"; repo = "unrar_wrapper"; From 6c0c4f44e2b5ef1a9f13a3a25820afd6be0d106f Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Thu, 8 Oct 2026 22:15:42 +0200 Subject: [PATCH 0237/2378] user-scanner: remove redundant __structuredAttrs --- pkgs/by-name/us/user-scanner/package.nix | 2 -- 1 file changed, 2 deletions(-) diff --git a/pkgs/by-name/us/user-scanner/package.nix b/pkgs/by-name/us/user-scanner/package.nix index 3df38582d538..e51af15408a6 100644 --- a/pkgs/by-name/us/user-scanner/package.nix +++ b/pkgs/by-name/us/user-scanner/package.nix @@ -11,8 +11,6 @@ python3Packages.buildPythonApplication (finalAttrs: { version = "1.5.2"; pyproject = true; - __structuredAttrs = true; - src = fetchFromGitHub { owner = "kaifcodec"; repo = "user-scanner"; From a4968df897a06d587203e6ba8feb82c1be120e46 Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Thu, 8 Oct 2026 22:15:42 +0200 Subject: [PATCH 0238/2378] vastai: remove redundant __structuredAttrs --- pkgs/by-name/va/vastai/package.nix | 1 - 1 file changed, 1 deletion(-) diff --git a/pkgs/by-name/va/vastai/package.nix b/pkgs/by-name/va/vastai/package.nix index 0311046ab27b..b319ae684d52 100644 --- a/pkgs/by-name/va/vastai/package.nix +++ b/pkgs/by-name/va/vastai/package.nix @@ -20,7 +20,6 @@ python3Packages.buildPythonApplication (finalAttrs: { pname = "vastai"; version = "1.8.3"; pyproject = true; - __structuredAttrs = true; src = fetchFromGitHub { owner = "vast-ai"; From c61d467c73197ef1a847ce70daa6a37c7256b27b Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Thu, 8 Oct 2026 22:15:43 +0200 Subject: [PATCH 0239/2378] vimhjkl: remove redundant __structuredAttrs --- pkgs/by-name/vi/vimhjkl/package.nix | 1 - 1 file changed, 1 deletion(-) diff --git a/pkgs/by-name/vi/vimhjkl/package.nix b/pkgs/by-name/vi/vimhjkl/package.nix index 936c44520a87..977ab33f2604 100644 --- a/pkgs/by-name/vi/vimhjkl/package.nix +++ b/pkgs/by-name/vi/vimhjkl/package.nix @@ -10,7 +10,6 @@ python3Packages.buildPythonApplication (finalAttrs: { pname = "vimhjkl"; version = "0.6.0"; pyproject = true; - __structuredAttrs = true; src = fetchFromGitHub { owner = "S-Sigdel"; From ccfd0147f5248c316997040a00341f988f76dba3 Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Thu, 8 Oct 2026 22:15:43 +0200 Subject: [PATCH 0240/2378] visidata: remove redundant __structuredAttrs --- pkgs/by-name/vi/visidata/package.nix | 1 - 1 file changed, 1 deletion(-) diff --git a/pkgs/by-name/vi/visidata/package.nix b/pkgs/by-name/vi/visidata/package.nix index 871859af4ce4..0e6935a36855 100644 --- a/pkgs/by-name/vi/visidata/package.nix +++ b/pkgs/by-name/vi/visidata/package.nix @@ -17,7 +17,6 @@ python3Packages.buildPythonApplication (finalAttrs: { pname = "visidata"; version = "3.4"; pyproject = true; - __structuredAttrs = true; src = fetchFromGitHub { owner = "saulpw"; From 9453fb2931c53a100cb9d16872c4c08449dc28db Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Thu, 8 Oct 2026 22:15:43 +0200 Subject: [PATCH 0241/2378] wayback-machine-archiver: remove redundant __structuredAttrs --- pkgs/by-name/wa/wayback-machine-archiver/package.nix | 2 -- 1 file changed, 2 deletions(-) diff --git a/pkgs/by-name/wa/wayback-machine-archiver/package.nix b/pkgs/by-name/wa/wayback-machine-archiver/package.nix index c2eb04f449e6..725e920d541e 100644 --- a/pkgs/by-name/wa/wayback-machine-archiver/package.nix +++ b/pkgs/by-name/wa/wayback-machine-archiver/package.nix @@ -9,8 +9,6 @@ python3Packages.buildPythonApplication (finalAttrs: { version = "3.6.0"; pyproject = true; - __structuredAttrs = true; - src = fetchFromGitHub { owner = "agude"; repo = "wayback-machine-archiver"; From 8dd7dd869affbdf577d7e316230f63bc6a04a9f3 Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Thu, 8 Oct 2026 22:15:43 +0200 Subject: [PATCH 0242/2378] weblate: remove redundant __structuredAttrs --- pkgs/by-name/we/weblate/package.nix | 1 - 1 file changed, 1 deletion(-) diff --git a/pkgs/by-name/we/weblate/package.nix b/pkgs/by-name/we/weblate/package.nix index 4c4efe191349..3ec94eb3bbd1 100644 --- a/pkgs/by-name/we/weblate/package.nix +++ b/pkgs/by-name/we/weblate/package.nix @@ -37,7 +37,6 @@ python3Packages.buildPythonApplication (finalAttrs: { pname = "weblate"; version = "2026.9.1"; pyproject = true; - __structuredAttrs = true; outputs = [ "out" From bb9f35cd7ed6eb7ccad45be8b2ab6a7b1d8b9bc2 Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Thu, 8 Oct 2026 22:15:44 +0200 Subject: [PATCH 0243/2378] whichllm: remove redundant __structuredAttrs --- pkgs/by-name/wh/whichllm/package.nix | 1 - 1 file changed, 1 deletion(-) diff --git a/pkgs/by-name/wh/whichllm/package.nix b/pkgs/by-name/wh/whichllm/package.nix index 9d325679fd90..f48e934e92dc 100644 --- a/pkgs/by-name/wh/whichllm/package.nix +++ b/pkgs/by-name/wh/whichllm/package.nix @@ -9,7 +9,6 @@ python3Packages.buildPythonApplication (finalAttrs: { pname = "whichllm"; version = "0.5.19"; pyproject = true; - __structuredAttrs = true; src = fetchFromGitHub { owner = "Andyyyy64"; From 296f8395a46227cf5daeea51cad472e93ffbcd97 Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Thu, 8 Oct 2026 22:15:44 +0200 Subject: [PATCH 0244/2378] wp-scanner: remove redundant __structuredAttrs --- pkgs/by-name/wp/wp-scanner/package.nix | 2 -- 1 file changed, 2 deletions(-) diff --git a/pkgs/by-name/wp/wp-scanner/package.nix b/pkgs/by-name/wp/wp-scanner/package.nix index 685b31c56c84..61f7700d733b 100644 --- a/pkgs/by-name/wp/wp-scanner/package.nix +++ b/pkgs/by-name/wp/wp-scanner/package.nix @@ -10,8 +10,6 @@ python3.pkgs.buildPythonApplication (finalAttrs: { version = "3.0.0"; pyproject = false; - __structuredAttrs = true; - src = fetchFromGitHub { owner = "Triotion"; repo = "WP-Scanner"; From d6133fe8d5fc1313b7633a85e22dd9b302469cfe Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Thu, 8 Oct 2026 22:15:44 +0200 Subject: [PATCH 0245/2378] xacro: remove redundant __structuredAttrs --- pkgs/by-name/xa/xacro/package.nix | 2 -- 1 file changed, 2 deletions(-) diff --git a/pkgs/by-name/xa/xacro/package.nix b/pkgs/by-name/xa/xacro/package.nix index 40cc861e1e5b..2c603d7ac3ca 100644 --- a/pkgs/by-name/xa/xacro/package.nix +++ b/pkgs/by-name/xa/xacro/package.nix @@ -28,8 +28,6 @@ python3Packages.buildPythonApplication (finalAttrs: { pythonImportsCheck = [ "xacro" ]; - __structuredAttrs = true; - meta = { description = "Xacro is an XML macro language. With xacro, you can construct shorter and more readable XML files by using macros that expand to larger XML expressions"; homepage = "https://github.com/ros/xacro"; From 4a0848d2e95dcec7f9efd893ed9ee132ced294a0 Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Thu, 8 Oct 2026 22:15:44 +0200 Subject: [PATCH 0246/2378] xacrodoc: remove redundant __structuredAttrs --- pkgs/by-name/xa/xacrodoc/package.nix | 2 -- 1 file changed, 2 deletions(-) diff --git a/pkgs/by-name/xa/xacrodoc/package.nix b/pkgs/by-name/xa/xacrodoc/package.nix index 298752ec52c9..609674515ed3 100644 --- a/pkgs/by-name/xa/xacrodoc/package.nix +++ b/pkgs/by-name/xa/xacrodoc/package.nix @@ -41,8 +41,6 @@ python3Packages.buildPythonApplication (finalAttrs: { "xacrodoc" ]; - __structuredAttrs = true; - meta = { description = "Compile xacro files to plain URDF or MJCF from Python or the command line (no ROS required)"; homepage = "https://github.com/adamheins/xacrodoc"; From 433995667514e9b61bb996fab4dac022b1f0329f Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Thu, 8 Oct 2026 22:15:45 +0200 Subject: [PATCH 0247/2378] xpra: remove redundant __structuredAttrs --- pkgs/by-name/xp/xpra/package.nix | 1 - 1 file changed, 1 deletion(-) diff --git a/pkgs/by-name/xp/xpra/package.nix b/pkgs/by-name/xp/xpra/package.nix index 754773fbeb1f..79cf54432847 100644 --- a/pkgs/by-name/xp/xpra/package.nix +++ b/pkgs/by-name/xp/xpra/package.nix @@ -106,7 +106,6 @@ effectiveBuildPythonApplication (finalAttrs: { pname = "xpra"; version = "6.5.4"; pyproject = true; - __structuredAttrs = true; src = fetchFromGitHub { owner = "Xpra-org"; From b162e051e1b475b55808a3af338715cf512fc8c6 Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Thu, 8 Oct 2026 22:15:45 +0200 Subject: [PATCH 0248/2378] xsser: remove redundant __structuredAttrs --- pkgs/by-name/xs/xsser/package.nix | 2 -- 1 file changed, 2 deletions(-) diff --git a/pkgs/by-name/xs/xsser/package.nix b/pkgs/by-name/xs/xsser/package.nix index ab4cbe99223f..f78e7c05e5e0 100644 --- a/pkgs/by-name/xs/xsser/package.nix +++ b/pkgs/by-name/xs/xsser/package.nix @@ -14,8 +14,6 @@ python3Packages.buildPythonApplication (finalAttrs: { version = "1.9"; pyproject = true; - __structuredAttrs = true; - src = fetchFromGitHub { owner = "epsylon"; repo = "xsser"; From 94d659bb7eb825f7d5377bf4c3837bd60a095a00 Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Thu, 8 Oct 2026 22:15:45 +0200 Subject: [PATCH 0249/2378] xsstrike: remove redundant __structuredAttrs --- pkgs/by-name/xs/xsstrike/package.nix | 2 -- 1 file changed, 2 deletions(-) diff --git a/pkgs/by-name/xs/xsstrike/package.nix b/pkgs/by-name/xs/xsstrike/package.nix index 7502cdd97fd5..faa0c49839d6 100644 --- a/pkgs/by-name/xs/xsstrike/package.nix +++ b/pkgs/by-name/xs/xsstrike/package.nix @@ -19,8 +19,6 @@ python3Packages.buildPythonApplication (finalAttrs: { hash = "sha256-6U0e9JkYYIt+APZ6B4+kNO/hcC3BAfrn+QXbCnLqpbs="; }; - __structuredAttrs = true; - patches = [ (fetchpatch2 { # https://github.com/s0md3v/XSStrike/pull/435 From a27fedbde9c105fae555392ef6619af87df4cd4e Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Thu, 8 Oct 2026 22:15:46 +0200 Subject: [PATCH 0250/2378] yaookctl: remove redundant __structuredAttrs --- pkgs/by-name/ya/yaookctl/package.nix | 2 -- 1 file changed, 2 deletions(-) diff --git a/pkgs/by-name/ya/yaookctl/package.nix b/pkgs/by-name/ya/yaookctl/package.nix index 969b530dd335..ccfe24e1cb52 100644 --- a/pkgs/by-name/ya/yaookctl/package.nix +++ b/pkgs/by-name/ya/yaookctl/package.nix @@ -15,8 +15,6 @@ python3.pkgs.buildPythonApplication { hash = "sha256-nWRtQcBIQWMa5zt83tmCfB96LV2w6ueTD1ruALPOXk0="; }; - __structuredAttrs = true; - pyproject = true; build-system = [ python3.pkgs.setuptools ]; From 07e502a3b9e0280c5aa487f059ede20cd31bb913 Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Thu, 8 Oct 2026 22:15:46 +0200 Subject: [PATCH 0251/2378] yocto-cooker: remove redundant __structuredAttrs --- pkgs/by-name/yo/yocto-cooker/package.nix | 2 -- 1 file changed, 2 deletions(-) diff --git a/pkgs/by-name/yo/yocto-cooker/package.nix b/pkgs/by-name/yo/yocto-cooker/package.nix index 8a2859585927..e8b6174f5338 100644 --- a/pkgs/by-name/yo/yocto-cooker/package.nix +++ b/pkgs/by-name/yo/yocto-cooker/package.nix @@ -26,8 +26,6 @@ python3Packages.buildPythonApplication (finalAttrs: { pyjson5 ]; - __structuredAttrs = true; - meta = { description = "Meta buildtool for Yocto Project based Linux embedded systems"; homepage = "https://github.com/cpb-/yocto-cooker"; From 927f2f268edf58a440a649bc8773dfa1e5f4b9fb Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Thu, 8 Oct 2026 22:15:46 +0200 Subject: [PATCH 0252/2378] yt-dlp: remove redundant __structuredAttrs --- pkgs/by-name/yt/yt-dlp/package.nix | 1 - 1 file changed, 1 deletion(-) diff --git a/pkgs/by-name/yt/yt-dlp/package.nix b/pkgs/by-name/yt/yt-dlp/package.nix index 8cf8ed9fc831..c9e25df18124 100644 --- a/pkgs/by-name/yt/yt-dlp/package.nix +++ b/pkgs/by-name/yt/yt-dlp/package.nix @@ -54,7 +54,6 @@ python3Packages.buildPythonApplication rec { ''} ''; - __structuredAttrs = true; outputs = [ "out" "man" From 457386c4f3a0922913ee667ef8f89495bc34884e Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Thu, 8 Oct 2026 22:15:46 +0200 Subject: [PATCH 0253/2378] zfs-replicate: remove redundant __structuredAttrs --- pkgs/by-name/zf/zfs-replicate/package.nix | 1 - 1 file changed, 1 deletion(-) diff --git a/pkgs/by-name/zf/zfs-replicate/package.nix b/pkgs/by-name/zf/zfs-replicate/package.nix index c0ee00252530..c25c299c7869 100644 --- a/pkgs/by-name/zf/zfs-replicate/package.nix +++ b/pkgs/by-name/zf/zfs-replicate/package.nix @@ -10,7 +10,6 @@ python3Packages.buildPythonApplication (finalAttrs: { pname = "zfs_replicate"; version = "4.1.0"; pyproject = true; - __structuredAttrs = true; src = fetchFromGitHub { owner = "alunduil"; From 268440ada10f925b06cdad3f07b24ca6efbd22c7 Mon Sep 17 00:00:00 2001 From: whoomee Date: Fri, 9 Oct 2026 03:31:33 +0200 Subject: [PATCH 0254/2378] gstreamer: 1.28.7 -> 1.28.8 --- pkgs/development/libraries/gstreamer/bad/default.nix | 4 ++-- pkgs/development/libraries/gstreamer/base/default.nix | 4 ++-- pkgs/development/libraries/gstreamer/core/default.nix | 4 ++-- pkgs/development/libraries/gstreamer/devtools/default.nix | 4 ++-- pkgs/development/libraries/gstreamer/ges/default.nix | 4 ++-- pkgs/development/libraries/gstreamer/good/default.nix | 4 ++-- pkgs/development/libraries/gstreamer/libav/default.nix | 4 ++-- pkgs/development/libraries/gstreamer/rtsp-server/default.nix | 4 ++-- pkgs/development/libraries/gstreamer/ugly/default.nix | 4 ++-- 9 files changed, 18 insertions(+), 18 deletions(-) diff --git a/pkgs/development/libraries/gstreamer/bad/default.nix b/pkgs/development/libraries/gstreamer/bad/default.nix index d0ecc9ffb662..6fea3b8628ff 100644 --- a/pkgs/development/libraries/gstreamer/bad/default.nix +++ b/pkgs/development/libraries/gstreamer/bad/default.nix @@ -116,7 +116,7 @@ stdenv.mkDerivation (finalAttrs: { pname = "gst-plugins-bad"; - version = "1.28.7"; + version = "1.28.8"; outputs = [ "out" @@ -125,7 +125,7 @@ stdenv.mkDerivation (finalAttrs: { src = fetchurl { url = "https://gstreamer.freedesktop.org/src/gst-plugins-bad/gst-plugins-bad-${finalAttrs.version}.tar.xz"; - hash = "sha256-3FJTg8GLLCZbvmpD1JhlbNkYqqEwqk46vqvNqnQcP/4="; + hash = "sha256-Zw2Ii96CQlebDY6R9gzzN6p74gynwxXr+91uWpIY0QQ="; }; patches = [ diff --git a/pkgs/development/libraries/gstreamer/base/default.nix b/pkgs/development/libraries/gstreamer/base/default.nix index 47ac2203b31b..3456697ddb4f 100644 --- a/pkgs/development/libraries/gstreamer/base/default.nix +++ b/pkgs/development/libraries/gstreamer/base/default.nix @@ -50,7 +50,7 @@ stdenv.mkDerivation (finalAttrs: { pname = "gst-plugins-base"; - version = "1.28.7"; + version = "1.28.8"; outputs = [ "out" @@ -61,7 +61,7 @@ stdenv.mkDerivation (finalAttrs: { src = fetchurl { url = "https://gstreamer.freedesktop.org/src/gst-plugins-base/gst-plugins-base-${finalAttrs.version}.tar.xz"; - hash = "sha256-7W5UEPSW0XGBh2OvImXnl3FUvH+bgn6YrPjFvtId1ac="; + hash = "sha256-recOM4H8uwJPHyCqnt6bVlSu7TnVvXCxqY9TAV5QERc="; }; __structuredAttrs = true; diff --git a/pkgs/development/libraries/gstreamer/core/default.nix b/pkgs/development/libraries/gstreamer/core/default.nix index 84b116a58495..f5f670e28290 100644 --- a/pkgs/development/libraries/gstreamer/core/default.nix +++ b/pkgs/development/libraries/gstreamer/core/default.nix @@ -40,7 +40,7 @@ let in stdenv.mkDerivation (finalAttrs: { pname = "gstreamer"; - version = "1.28.7"; + version = "1.28.8"; outputs = [ "bin" @@ -52,7 +52,7 @@ stdenv.mkDerivation (finalAttrs: { src = fetchurl { url = "https://gstreamer.freedesktop.org/src/gstreamer/gstreamer-${finalAttrs.version}.tar.xz"; - hash = "sha256-eHMpssV1jiKKcdkmptz5YLzqrMo8rdY4dLpmXfzaAT4="; + hash = "sha256-uqjoaYWtZBfMCtbnt5/yiExnecixx6YkDnEhgiyG5SQ="; }; depsBuildBuild = [ diff --git a/pkgs/development/libraries/gstreamer/devtools/default.nix b/pkgs/development/libraries/gstreamer/devtools/default.nix index c4a1c36560be..4a197c8cd8e6 100644 --- a/pkgs/development/libraries/gstreamer/devtools/default.nix +++ b/pkgs/development/libraries/gstreamer/devtools/default.nix @@ -27,7 +27,7 @@ stdenv.mkDerivation (finalAttrs: { pname = "gst-devtools"; - version = "1.28.7"; + version = "1.28.8"; outputs = [ "out" @@ -36,7 +36,7 @@ stdenv.mkDerivation (finalAttrs: { src = fetchurl { url = "https://gstreamer.freedesktop.org/src/gst-devtools/gst-devtools-${finalAttrs.version}.tar.xz"; - hash = "sha256-nzo4nWp++loY11ZHJKfzscP67P/Lj9E1HtDoEdGHOtU="; + hash = "sha256-qFJ1+R5CGuVcjsCHeUWaP5P2INKswltuZyPvQ1c8a6U="; }; cargoDeps = rustPlatform.fetchCargoVendor { diff --git a/pkgs/development/libraries/gstreamer/ges/default.nix b/pkgs/development/libraries/gstreamer/ges/default.nix index a4e38b3672d3..5b1d7eafd17d 100644 --- a/pkgs/development/libraries/gstreamer/ges/default.nix +++ b/pkgs/development/libraries/gstreamer/ges/default.nix @@ -25,7 +25,7 @@ stdenv.mkDerivation (finalAttrs: { pname = "gst-editing-services"; - version = "1.28.7"; + version = "1.28.8"; outputs = [ "out" @@ -34,7 +34,7 @@ stdenv.mkDerivation (finalAttrs: { src = fetchurl { url = "https://gstreamer.freedesktop.org/src/gst-editing-services/gst-editing-services-${finalAttrs.version}.tar.xz"; - hash = "sha256-b/wOXM7JCq1gkdP8Aa0px5Y3UFXhO5N4r/a44cIkaKM="; + hash = "sha256-TZPSMJt9AVKc1eM3X5m/fmnC4yz1nORTOzGlxxGbm1g="; }; separateDebugInfo = true; diff --git a/pkgs/development/libraries/gstreamer/good/default.nix b/pkgs/development/libraries/gstreamer/good/default.nix index 0ebab99bc829..ed4bfff1ca06 100644 --- a/pkgs/development/libraries/gstreamer/good/default.nix +++ b/pkgs/development/libraries/gstreamer/good/default.nix @@ -81,7 +81,7 @@ assert raspiCameraSupport -> hostSupportsRaspiCamera; stdenv.mkDerivation (finalAttrs: { pname = "gst-plugins-good"; - version = "1.28.7"; + version = "1.28.8"; outputs = [ "out" @@ -90,7 +90,7 @@ stdenv.mkDerivation (finalAttrs: { src = fetchurl { url = "https://gstreamer.freedesktop.org/src/gst-plugins-good/gst-plugins-good-${finalAttrs.version}.tar.xz"; - hash = "sha256-hyVpacgs87yFdDAfPnBEqQ3grFAKWifYujjE3eiU3Ys="; + hash = "sha256-p2cO2QDT0DvnRNJcGHOyOYlumoLObRf4/rxv/7rulSE="; }; patches = [ diff --git a/pkgs/development/libraries/gstreamer/libav/default.nix b/pkgs/development/libraries/gstreamer/libav/default.nix index fae41c00adf0..163101d8fb97 100644 --- a/pkgs/development/libraries/gstreamer/libav/default.nix +++ b/pkgs/development/libraries/gstreamer/libav/default.nix @@ -19,11 +19,11 @@ stdenv.mkDerivation (finalAttrs: { pname = "gst-libav"; - version = "1.28.7"; + version = "1.28.8"; src = fetchurl { url = "https://gstreamer.freedesktop.org/src/gst-libav/gst-libav-${finalAttrs.version}.tar.xz"; - hash = "sha256-WNpR3Tns8c9vqt40zGQSABvi4uFFvKiuD0Uzb2CjarI="; + hash = "sha256-mK09f4kyxJXiaHCJA/HDOI1fJqDbNHJ6n4Ye4jtyQXc="; }; separateDebugInfo = true; diff --git a/pkgs/development/libraries/gstreamer/rtsp-server/default.nix b/pkgs/development/libraries/gstreamer/rtsp-server/default.nix index 0d283e516fb2..e436bd36a00f 100644 --- a/pkgs/development/libraries/gstreamer/rtsp-server/default.nix +++ b/pkgs/development/libraries/gstreamer/rtsp-server/default.nix @@ -21,7 +21,7 @@ stdenv.mkDerivation (finalAttrs: { pname = "gst-rtsp-server"; - version = "1.28.7"; + version = "1.28.8"; outputs = [ "out" @@ -30,7 +30,7 @@ stdenv.mkDerivation (finalAttrs: { src = fetchurl { url = "https://gstreamer.freedesktop.org/src/gst-rtsp-server/gst-rtsp-server-${finalAttrs.version}.tar.xz"; - hash = "sha256-3kOlmgyJoU6xwUro6B5bRcTp17H5MLDrqtNg+bXgtcQ="; + hash = "sha256-WRge0hpbwFM/tPd8t7xgBdiTZeg0sMEpSvuatffZb+A="; }; separateDebugInfo = true; diff --git a/pkgs/development/libraries/gstreamer/ugly/default.nix b/pkgs/development/libraries/gstreamer/ugly/default.nix index b362bf92c47f..c14a47f953b1 100644 --- a/pkgs/development/libraries/gstreamer/ugly/default.nix +++ b/pkgs/development/libraries/gstreamer/ugly/default.nix @@ -29,7 +29,7 @@ stdenv.mkDerivation (finalAttrs: { pname = "gst-plugins-ugly"; - version = "1.28.7"; + version = "1.28.8"; outputs = [ "out" @@ -38,7 +38,7 @@ stdenv.mkDerivation (finalAttrs: { src = fetchurl { url = "https://gstreamer.freedesktop.org/src/gst-plugins-ugly/gst-plugins-ugly-${finalAttrs.version}.tar.xz"; - hash = "sha256-K2gRcN3CK2soPK/u1I9CfDChcFaXSmqe0TfDVOD3cww="; + hash = "sha256-Ua5TAC47vp7Q8iFQIMWiSL8O1BudmipOECuFg/7athw="; }; separateDebugInfo = true; From 55af393a558028215f759119f009e22203be0712 Mon Sep 17 00:00:00 2001 From: Antoine du Hamel Date: Fri, 9 Oct 2026 11:22:39 +0200 Subject: [PATCH 0255/2378] nodejs: remove remaining dev outputs from requisites The previous approach consisted on using links to allow reusing the potentially cached dev outputs. Unfortunately, I failed to consider that it would mean the `-bin` and `-static` outputs would be dragged along, so copying ends up being less expensive. --- pkgs/development/web/nodejs/nodejs.nix | 24 ++++++++++-------------- 1 file changed, 10 insertions(+), 14 deletions(-) diff --git a/pkgs/development/web/nodejs/nodejs.nix b/pkgs/development/web/nodejs/nodejs.nix index d0d7b0f4e500..2eff6e368935 100644 --- a/pkgs/development/web/nodejs/nodejs.nix +++ b/pkgs/development/web/nodejs/nodejs.nix @@ -189,14 +189,6 @@ let sharedLibInputs = [ icu ] ++ builtins.attrValues sharedLibDeps; - # node-gyp expects headers for the following libs (the list is maintained upstream in tools/install.py) - # to be at the path given by `process.config.variables.node_prefix`, which is set to $out. - libHeadersForGYP = [ - libuv - openssl - zlib - ]; - bundlesCorepack = !lib.versionAtLeast version "25.0.0"; # Currently stdenv sets CC/LD/AR/etc environment variables to program names @@ -555,9 +547,7 @@ let ] ++ lib.optional bundlesCorepack "corepack"; # See PKG_CONFIG_SYSTEM_INCLUDE_PATH. - disallowedRequisites = map (dep: dep.dev) ( - lib.filter (dep: !(builtins.elem dep libHeadersForGYP) && dep ? dev) sharedLibInputs - ); + disallowedRequisites = map (dep: dep.dev) (lib.filter (dep: dep ? dev) sharedLibInputs); }; corepack = { disallowedReferences = [ @@ -626,9 +616,15 @@ let ln -s $npm/lib/node_modules/npm/lib/utils/completion.sh \ $npm/share/bash-completion/completions/npm - ln -s ${ - lib.concatStringsSep " " (map (dep: "${lib.getDev dep}/include/*") libHeadersForGYP) - } $out/include/node/ + ${ + # node-gyp expects these headers in node_prefix (i.e. $out); the list matches + # upstream's tools/install.py. Copied rather than linked so $out does + # not depend on the -dev outputs (and through them zlib-static, openssl-bin). + '' + cp -R ${lib.getDev libuv}/include/* $out/include/node/ + cp -R ${lib.getDev openssl}/include/openssl $out/include/node/ + cp ${lib.getDev zlib}/include/{zconf,zlib}.h $out/include/node/ + ''} # assemble a static v8 library and put it in the 'libv8' output mkdir -p $libv8/lib From 336f96600475a5b098635333651fdaa73538a935 Mon Sep 17 00:00:00 2001 From: Antoine du Hamel Date: Thu, 8 Oct 2026 19:20:58 +0200 Subject: [PATCH 0256/2378] nodejs: clean up `checkFlags` - remove optionals for unsupported/EOL branches - do not skip always passing tests --- pkgs/development/web/nodejs/nodejs.nix | 81 ++++---------------------- 1 file changed, 11 insertions(+), 70 deletions(-) diff --git a/pkgs/development/web/nodejs/nodejs.nix b/pkgs/development/web/nodejs/nodejs.nix index d0d7b0f4e500..98bb0ffce5b6 100644 --- a/pkgs/development/web/nodejs/nodejs.nix +++ b/pkgs/development/web/nodejs/nodejs.nix @@ -410,26 +410,7 @@ let checkFlags = [ # Do not create __pycache__ when running tests. "PYTHONDONTWRITEBYTECODE=1" - ] - ++ lib.optionals (stdenv.buildPlatform.isDarwin && stdenv.buildPlatform.isx86_64) [ - # Python 3.12 introduced a warning for calling `os.fork()` in a - # multi‐threaded program. For some reason, the Node.js - # `tools/pseudo-tty.py` program used for PTY‐related tests - # triggers this warning on Hydra, on `x86_64-darwin` only, - # despite not creating any threads itself. This causes the - # Node.js test runner to misinterpret the warnings as part of the - # test output and fail. It does not reproduce reliably off Hydra - # on Intel Macs, or occur on the `aarch64-darwin` builds. - # - # This seems likely to be related to Rosetta 2, but it could also - # be some strange x86‐64‐only threading behaviour of the Darwin - # system libraries, or a bug in CPython, or something else - # haunted about the Nixpkgs/Hydra build environment. We silence - # the warnings in the hope that closing our eyes will make the - # ghosts go away. - "PYTHONWARNINGS=ignore::DeprecationWarning" - ] - ++ lib.optionals (!stdenv.buildPlatform.isDarwin || lib.versionAtLeast version "20") [ + "FLAKY_TESTS=skip" # Skip some tests that are not passing in this context "CI_SKIP_TESTS=${ @@ -438,13 +419,16 @@ let # Tests don't work in sandbox. "test-child-process-exec-env" "test-child-process-uid-gid" - "test-fs-write-stream-eagain" "test-process-euid-egid" - "test-process-initgroups" - "test-process-setgroups" "test-process-uid-gid" - # This is a bit weird, but for some reason fs watch tests fail with - # sandbox. + ] + ++ lib.optional (majorVersion == "22") "test-runner-watch-mode" + ++ lib.optionals stdenv.hostPlatform.is32bit [ + # utime (actually utimensat) fails with EINVAL on 2038 timestamp + "test-fs-utimes-y2K38" + ] + ++ lib.optionals stdenv.buildPlatform.isDarwin [ + # Disable tests that don’t work under macOS sandbox. "test-fs-promises-watch" "test-fs-watch" "test-fs-watch-encoding" @@ -460,35 +444,10 @@ let "test-fs-watch-recursive-sync-write" "test-fs-watch-recursive-update-file" "test-fs-watchfile" - "test-runner-run" - "test-runner-watch-mode" - "test-watch-mode-files_watcher" - - # fail on openssl 3.6.0 - "test-http2-server-unknown-protocol" - "test-tls-ocsp-callback" - ] - ++ lib.optionals (!lib.versionAtLeast version "22") [ - "test-tls-multi-key" - ] - ++ lib.optionals stdenv.hostPlatform.is32bit [ - # utime (actually utimensat) fails with EINVAL on 2038 timestamp - "test-fs-utimes-y2K38" - ] - ++ lib.optionals stdenv.buildPlatform.isDarwin [ - # Disable tests that don’t work under macOS sandbox. - # uv_os_setpriority returned EPERM (operation not permitted) "test-os" "test-os-process-priority" - - # Debugger tests failing on macOS 15.4 - "test-debugger-extract-function-name" - "test-debugger-random-port-with-inspect-port" - "test-debugger-launch" - "test-debugger-pid" - - # Those are annoyingly flaky, but not enough to be marked as such upstream. - "test-wasi" + "test-runner-run" + "test-watch-mode-files_watcher" # This is failing on newer macOS versions, no fix has yet been provided upstream: "test-cluster-dgram-1" @@ -497,17 +456,6 @@ let # Doesn't work in sandbox on x86_64. "test-dns-set-default-order" ] - ++ lib.optionals (stdenv.buildPlatform.isDarwin && stdenv.buildPlatform.isx86_64) [ - # These tests fail on x86_64-darwin (even without sandbox). - # TODO: revisit at a later date. - "test-fs-readv" - "test-fs-readv-sync" - "test-vm-memleak" - - # Those are annoyingly flaky, but not enough to be marked as such upstream. - "test-tick-processor-arguments" - "test-set-raw-mode-reset-signal" - ] # These network/fetch/inspector tests fail on riscv64 ++ lib.optionals (majorVersion == "24" && stdenv.hostPlatform.isRiscV64) [ "test-fetch" @@ -531,18 +479,11 @@ let "test-wasm-web-api" ] # Those are annoyingly flaky, but not enough to be marked as such upstream. - ++ lib.optional (majorVersion == "22") "test-child-process-stdout-flush-exit" ++ lib.optional (majorVersion == "22" && stdenv.hostPlatform.isRiscV64) "test-worker-messaging" ++ lib.optional (majorVersion == "26" && !stdenv.buildPlatform.isDarwin) "test-net-boundsocket" ++ lib.optional ( majorVersion == "22" && stdenv.buildPlatform.isDarwin ) "test/sequential/test-http-server-request-timeouts-mixed.js" - # https://github.com/NixOS/nixpkgs/pull/507974#issuecomment-4249433124 - # OpenSSL reports different errors - # https://github.com/nodejs/node/pull/62629 - # patch does not apply - ++ lib.optional (!lib.versionAtLeast version "24") "test-tls-junk-server" - ++ lib.optional (majorVersion == "22") "test-tls-alert-handling" ) }" ]; From 8f3636945fb15e265f7126d55e2b3fdbc5ce0c78 Mon Sep 17 00:00:00 2001 From: Luke Granger-Brown Date: Sat, 10 Oct 2026 00:21:29 +0100 Subject: [PATCH 0257/2378] libajantv2: 17.5.0 -> 18.0.0 --- .../demos-ntv2overlay-no-makefile.patch | 23 ------------------- .../li/libajantv2/device-info-list.patch | 11 ++++----- pkgs/by-name/li/libajantv2/musl.patch | 11 ++++----- pkgs/by-name/li/libajantv2/package.nix | 9 +++++--- .../li/libajantv2/use-system-mbedtls.patch | 23 ++++++++----------- 5 files changed, 24 insertions(+), 53 deletions(-) delete mode 100644 pkgs/by-name/li/libajantv2/demos-ntv2overlay-no-makefile.patch diff --git a/pkgs/by-name/li/libajantv2/demos-ntv2overlay-no-makefile.patch b/pkgs/by-name/li/libajantv2/demos-ntv2overlay-no-makefile.patch deleted file mode 100644 index 02fc44a5e79a..000000000000 --- a/pkgs/by-name/li/libajantv2/demos-ntv2overlay-no-makefile.patch +++ /dev/null @@ -1,23 +0,0 @@ -From f822ffa9f886b668fe0a6269f0ba8bf48043d190 Mon Sep 17 00:00:00 2001 -From: Luke Granger-Brown -Date: Sun, 22 Jun 2025 14:12:08 +0100 -Subject: [PATCH 4/4] Don't attempt to install a non-existent Makefile - ---- - demos/ntv2overlay/CMakeLists.txt | 3 --- - 1 file changed, 3 deletions(-) - -diff --git a/demos/ntv2overlay/CMakeLists.txt b/demos/ntv2overlay/CMakeLists.txt -index 4520e795..ae94906f 100644 ---- a/demos/ntv2overlay/CMakeLists.txt -+++ b/demos/ntv2overlay/CMakeLists.txt -@@ -48,6 +48,3 @@ endif() - if (AJA_INSTALL_CMAKE) - install(FILES CMakeLists.txt DESTINATION ${CMAKE_INSTALL_PREFIX}/libajantv2/demos/ntv2overlay) - endif() --if (AJA_INSTALL_MISC) -- install(FILES Makefile DESTINATION ${CMAKE_INSTALL_PREFIX}/libajantv2/demos/ntv2overlay) --endif() --- -2.49.0 - diff --git a/pkgs/by-name/li/libajantv2/device-info-list.patch b/pkgs/by-name/li/libajantv2/device-info-list.patch index b0a9d05e93ee..a9a110bbbca0 100644 --- a/pkgs/by-name/li/libajantv2/device-info-list.patch +++ b/pkgs/by-name/li/libajantv2/device-info-list.patch @@ -1,7 +1,7 @@ -From 5d6984729190139ddcbefb825e4d59a8bdfc3551 Mon Sep 17 00:00:00 2001 +From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001 From: Luke Granger-Brown Date: Sun, 22 Jun 2025 14:05:49 +0100 -Subject: [PATCH 2/3] Properly mark CNTV2DeviceScanner::GetDeviceInfoList as a +Subject: [PATCH] Properly mark CNTV2DeviceScanner::GetDeviceInfoList as a class member method --- @@ -9,10 +9,10 @@ Subject: [PATCH 2/3] Properly mark CNTV2DeviceScanner::GetDeviceInfoList as a 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ajantv2/src/ntv2devicescanner.cpp b/ajantv2/src/ntv2devicescanner.cpp -index 11d145be..1fb0b433 100644 +index b135d6d7a40e13c40711e317655a66af5580f789..3bcd540c0c2f0c6e1de847aea4252f2b8b276c6e 100644 --- a/ajantv2/src/ntv2devicescanner.cpp +++ b/ajantv2/src/ntv2devicescanner.cpp -@@ -117,7 +117,7 @@ CNTV2DeviceScanner::CNTV2DeviceScanner (const bool inScanNow) +@@ -94,7 +94,7 @@ CNTV2DeviceScanner::CNTV2DeviceScanner (const bool inScanNow) } #endif // !defined(NTV2_DEPRECATE_16_3) @@ -21,6 +21,3 @@ index 11d145be..1fb0b433 100644 { AJAAutoLock tmpLock(&sDevInfoListLock); return sDevInfoList; --- -2.49.0 - diff --git a/pkgs/by-name/li/libajantv2/musl.patch b/pkgs/by-name/li/libajantv2/musl.patch index 5221be4e3f96..191b7661f729 100644 --- a/pkgs/by-name/li/libajantv2/musl.patch +++ b/pkgs/by-name/li/libajantv2/musl.patch @@ -1,7 +1,7 @@ -From 8312398dbc1f0a960c0e64c2faaa756277c0f67c Mon Sep 17 00:00:00 2001 +From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001 From: Alyssa Ross Date: Fri, 3 Jan 2025 12:21:28 +0100 -Subject: [PATCH 3/3] Don't use non-standard ACCESSPERMS macro +Subject: [PATCH] Don't use non-standard ACCESSPERMS macro This macro is non-standard, and is not defined by e.g. musl libc. It's just a define for 0777, so just use that instead. @@ -12,10 +12,10 @@ Link: https://github.com/aja-video/libajantv2/pull/42 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ajabase/test/main.cpp b/ajabase/test/main.cpp -index 78196446..e18b10a3 100644 +index ce7c693d5a84af27804b56fc83324a4c3b3e0d80..522858b659d878253f7cbf7423a524f2dc1fad67 100644 --- a/ajabase/test/main.cpp +++ b/ajabase/test/main.cpp -@@ -1951,9 +1951,9 @@ TEST_SUITE("file" * doctest::description("functions in ajabase/system/file_io.h" +@@ -2124,9 +2124,9 @@ TEST_SUITE("file" * doctest::description("functions in ajabase/system/file_io.h" _mkdir(tempDir.c_str()); _getcwd(cwdBuf, AJA_MAX_PATH); #else @@ -27,6 +27,3 @@ index 78196446..e18b10a3 100644 } char* result = getcwd(cwdBuf, AJA_MAX_PATH); AJA_UNUSED(result); --- -2.49.0 - diff --git a/pkgs/by-name/li/libajantv2/package.nix b/pkgs/by-name/li/libajantv2/package.nix index dffc8bf3a642..7fc9a31d3814 100644 --- a/pkgs/by-name/li/libajantv2/package.nix +++ b/pkgs/by-name/li/libajantv2/package.nix @@ -6,25 +6,26 @@ ninja, pkg-config, mbedtls, + python3, + alsa-lib, udev, linuxPackages, }: stdenv.mkDerivation (finalAttrs: { pname = "libajantv2"; - version = "17.5.0"; + version = "18.0.0"; src = fetchFromGitHub { owner = "aja-video"; repo = "libajantv2"; rev = "ntv2_${builtins.replaceStrings [ "." ] [ "_" ] finalAttrs.version}"; - hash = "sha256-/BfFbBScS75TpUZEeYzAHd1PtnZgnCNfGtjwYPJJjkg="; + hash = "sha256-SdS2cV/jqSn1OMbRlvtQesXkV4ZAL5n1BIFl43p4WKQ="; }; patches = [ ./use-system-mbedtls.patch ./device-info-list.patch ./musl.patch - ./demos-ntv2overlay-no-makefile.patch ]; outputs = [ @@ -40,6 +41,8 @@ stdenv.mkDerivation (finalAttrs: { buildInputs = [ mbedtls udev + python3 + alsa-lib ]; cmakeFlags = [ diff --git a/pkgs/by-name/li/libajantv2/use-system-mbedtls.patch b/pkgs/by-name/li/libajantv2/use-system-mbedtls.patch index 73d445d3ba6e..3004ab24571a 100644 --- a/pkgs/by-name/li/libajantv2/use-system-mbedtls.patch +++ b/pkgs/by-name/li/libajantv2/use-system-mbedtls.patch @@ -1,18 +1,18 @@ -From 6c8dca24e48b0bbeb11e9611fe547246167030ab Mon Sep 17 00:00:00 2001 +From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001 From: Luke Granger-Brown Date: Fri, 20 Dec 2024 18:03:16 +0000 -Subject: [PATCH 1/3] Use system mbedtls, rather than downloading from a random - Git branch... +Subject: [PATCH] Use system mbedtls, rather than downloading from a random Git + branch... --- ajantv2/CMakeLists.txt | 50 +++--------------------------------------- 1 file changed, 3 insertions(+), 47 deletions(-) diff --git a/ajantv2/CMakeLists.txt b/ajantv2/CMakeLists.txt -index 8037dd4b..aa6e6577 100644 +index fa97393f56a910acb5039228e5f1be03357c8c52..908aebbf2d4aaf83f14e94ceacd3c09a428de3a1 100644 --- a/ajantv2/CMakeLists.txt +++ b/ajantv2/CMakeLists.txt -@@ -55,49 +55,13 @@ else() +@@ -65,49 +65,13 @@ else() endif() message(STATUS "NTV2 SDK will load signed 3rd-party plugins") @@ -65,18 +65,18 @@ index 8037dd4b..aa6e6577 100644 endif() -@@ -671,10 +635,6 @@ if (NOT TARGET ${PROJECT_NAME}) - aja_ntv2_log_build_info() +@@ -685,10 +649,6 @@ if (NOT TARGET ${PROJECT_NAME}) add_library(${PROJECT_NAME} SHARED ${TARGET_SOURCES}) -- + - if (NOT AJANTV2_DISABLE_PLUGIN_LOAD) - add_dependencies(${PROJECT_NAME} mbedtls) - endif() - +- target_compile_definitions(${PROJECT_NAME} PUBLIC ${TARGET_COMPILE_DEFS_DYNAMIC} -@@ -690,10 +650,6 @@ if (NOT TARGET ${PROJECT_NAME}) + ${AJANTV2_TARGET_COMPILE_DEFS}) +@@ -773,10 +733,6 @@ if (NOT TARGET ${PROJECT_NAME}) add_library(${PROJECT_NAME} STATIC ${TARGET_SOURCES}) @@ -87,6 +87,3 @@ index 8037dd4b..aa6e6577 100644 target_compile_definitions(${PROJECT_NAME} PUBLIC ${TARGET_COMPILE_DEFS_STATIC} ${AJANTV2_TARGET_COMPILE_DEFS}) --- -2.49.0 - From 2a381b55e40571a9ff88559260ea9b66301ba8dd Mon Sep 17 00:00:00 2001 From: Luke Granger-Brown Date: Sat, 10 Oct 2026 01:23:00 +0100 Subject: [PATCH 0258/2378] libajantv2: (optionally) build Qt demos These aren't enabled by default since we enable up with a circular dependency, but you can have them if you want them. --- pkgs/by-name/li/libajantv2/package.nix | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/pkgs/by-name/li/libajantv2/package.nix b/pkgs/by-name/li/libajantv2/package.nix index 7fc9a31d3814..eb7bfc656ddc 100644 --- a/pkgs/by-name/li/libajantv2/package.nix +++ b/pkgs/by-name/li/libajantv2/package.nix @@ -10,6 +10,8 @@ alsa-lib, udev, linuxPackages, + enableQt ? false, + qt6, }: stdenv.mkDerivation (finalAttrs: { @@ -37,18 +39,32 @@ stdenv.mkDerivation (finalAttrs: { cmake ninja pkg-config + ] + ++ lib.optionals enableQt [ + qt6.wrapQtAppsHook ]; buildInputs = [ mbedtls udev python3 alsa-lib + ] + ++ lib.optionals enableQt [ + qt6.qtbase + qt6.qtmultimedia ]; + dontWrapQtApps = true; + cmakeFlags = [ (lib.cmakeBool "AJANTV2_BUILD_SHARED" true) + (lib.cmakeBool "AJA_DISABLE_QT" (!enableQt)) ]; + preFixup = lib.optionalString enableQt '' + wrapQtApp "$out/bin/ntv2qtmultiinput" + wrapQtApp "$out/bin/ntv2qtpreview" + ''; postInstall = '' mkdir -p "$dev/lib/pkgconfig" cat >"$dev/lib/pkgconfig/libajantv2.pc" < Date: Sat, 3 Oct 2026 22:34:50 -0600 Subject: [PATCH 0259/2378] go, buildGoModule: default to 1.27 --- pkgs/top-level/all-packages.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index 7a359a473c0c..9c79207a3786 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -6757,8 +6757,8 @@ with pkgs; ### DEVELOPMENT / GO # the unversioned attributes should always point to the same go version - go = go_1_26; - buildGoModule = buildGo126Module; + go = go_1_27; + buildGoModule = buildGo127Module; go_latest = go_1_27; buildGoLatestModule = buildGo127Module; From 7955589cfcccfd4c941090aec6a04441910c0246 Mon Sep 17 00:00:00 2001 From: Michael Daniels Date: Sat, 10 Oct 2026 09:25:11 -0400 Subject: [PATCH 0260/2378] sqlite: 3.53.3 -> 3.54.0 Changelog: https://www.sqlite.org/releaselog/3_54_0.html --- pkgs/development/libraries/sqlite/default.nix | 60 +++---------------- pkgs/development/libraries/sqlite/tools.nix | 4 +- 2 files changed, 9 insertions(+), 55 deletions(-) diff --git a/pkgs/development/libraries/sqlite/default.nix b/pkgs/development/libraries/sqlite/default.nix index bf8ac6194a0e..c325d1db4249 100644 --- a/pkgs/development/libraries/sqlite/default.nix +++ b/pkgs/development/libraries/sqlite/default.nix @@ -2,7 +2,6 @@ lib, stdenv, fetchurl, - fetchpatch, unzip, tcl, zlib, @@ -29,17 +28,17 @@ in stdenv.mkDerivation (finalAttrs: { pname = "sqlite${lib.optionalString interactive "-interactive"}"; - version = "3.53.3"; + version = "3.54.0"; # nixpkgs-update: no auto update # NB! Make sure to update ./tools.nix src (in the same directory). src = fetchurl { url = "https://sqlite.org/2026/sqlite-src-${archiveVersion finalAttrs.version}.zip"; - hash = "sha256-u4C/ijv/wZJBzoq6WkvHTpw5gAE8sLXw8JdqmVFpQq8="; + hash = "sha256-iEdlmCHgxRFr0UqUZEyCupMrLZoFrIGvLjSvgUqtfFg="; }; docsrc = fetchurl { url = "https://sqlite.org/2026/sqlite-doc-${archiveVersion finalAttrs.version}.zip"; - hash = "sha256-Fo+Zhph2vPTbjZPvoqSDqcgVNlN9AZAMWM110KZ8yic="; + hash = "sha256-dnQsv6quvqU1XGtHShjKhQq1EGJfwz+kLQJQ/8rCepU="; }; outputs = [ @@ -61,16 +60,6 @@ stdenv.mkDerivation (finalAttrs: { ]; patches = [ - # Make test failures actually fail the build - (fetchpatch { - name = "0001-sqlite-testrunner-communicate-test-failure-to-make.patch"; - url = "https://github.com/sqlite/sqlite/commit/4e4962f6b303688412746b54200ff5402c047aee.patch"; - includes = [ - "test/testrunner.tcl" - ]; - hash = "sha256-DLV2ML2zzjd1nEVScDF1sFDdZm1CrOWt5M10rRwXYCY="; - }) - # Fix fts3corrupt4.test failure on big-endian # https://sqlite.org/forum/forumpost/40492f69f7 # Doesn't seem to have been submitted yet :( @@ -78,36 +67,6 @@ stdenv.mkDerivation (finalAttrs: { url = "https://src.fedoraproject.org/rpms/sqlite/raw/faea37529752d0134154f3678443e2822a105834/f/sqlite-3.53.3-fix-fts3corrupt4-test.patch"; hash = "sha256-cfwBOomIjm8szInOqKZfg2lmRM9K663ujKR3wVmAtrE="; }) - ] - ++ lib.optionals (stdenv.buildPlatform != stdenv.hostPlatform) [ - # Add a missing `-DBUILD_sqlite` to one place in the makefile - # - # TODO(@Ericson2314): drop once a release contains it, and (before that) - # make unconditional (it is not cross-specific) next mass rebuild. - (fetchpatch { - url = "https://github.com/sqlite/sqlite/commit/67c202ab67398f6a27eaa6316e31254c065928cd.patch"; - includes = [ "main.mk" ]; - hash = "sha256-JJnIF/2SmGgPzQe7E4DmC61komZpbmjnIemggpBPLdM="; - }) - - # --with-tcl and --with-tclsh were tangled together in bad ways. These - # two commits untangle them, which unbreaks our cross builds. They were - # merged to trunk in 8364e34cbd9e. - # - # https://sqlite.org/forum/forumpost/fe9e99eb27c8c2ba - # - # TODO make it unconditional next mass rebuild, and drop it entirely - # once a release contains it. - (fetchpatch { - url = "https://github.com/sqlite/sqlite/commit/d501b949a39d276494c8e36cdc2b94bfe28e671c.patch"; - includes = [ "autosetup/sqlite-config.tcl" ]; - hash = "sha256-eTeb1o1aCjXG5jv3jK6KtSA7Lcr7lrUY+sI0iq/U8zU="; - }) - (fetchpatch { - url = "https://github.com/sqlite/sqlite/commit/e4e1b4a464e632fb06870114081d06ce7c53a1de.patch"; - includes = [ "autosetup/sqlite-config.tcl" ]; - hash = "sha256-uMhQDSP1jTj/Mz/24oOi84tE4bAINmplDoKJGxUGD1A="; - }) ]; # capi3c.test is a copy of capi3.test, but upstream only disabled the @@ -149,16 +108,11 @@ stdenv.mkDerivation (finalAttrs: { (if stdenv.hostPlatform.isStatic then "--disable-tcl" else "--with-tcl=${lib.getLib tcl}/lib") # Enabling limit-on-update/delete by adding -DSQLITE_ENABLE_UPDATE_DELETE_LIMIT to NIX_CFLAGS_COMPILE does not work: the lemon parser generator (built early in buildPhase) doesn't receive the flag when it's invoked, as it's not been wrapped with Nix magic. "--enable-update-limit" + # This names only what runs the code generators, not + # the library, so it is the build platform's and is orthogonal to both + # `--with-tcl` and `--disable-tcl`. + "--with-tclsh=${lib.getExe' buildPackages.tcl "tclsh"}" ] - # With the patch above this names only what runs the code generators, not - # the library, so it is the build platform's and is orthogonal to both - # `--with-tcl` and `--disable-tcl`. - # - # TODO pass this unconditionally next mass rebuild: which interpreter runs - # the generators is not something to leave to a search of `PATH`. - ++ lib.optional ( - stdenv.buildPlatform != stdenv.hostPlatform - ) "--with-tclsh=${lib.getExe' buildPackages.tcl "tclsh"}" ++ lib.optional (!interactive) "--disable-readline" # autosetup only looks up readline.h in predefined set of directories. ++ lib.optional interactive "--with-readline-header=${lib.getDev readline}/include/readline/readline.h" diff --git a/pkgs/development/libraries/sqlite/tools.nix b/pkgs/development/libraries/sqlite/tools.nix index 8ff4f5555116..d955de214459 100644 --- a/pkgs/development/libraries/sqlite/tools.nix +++ b/pkgs/development/libraries/sqlite/tools.nix @@ -19,14 +19,14 @@ let }: stdenv.mkDerivation rec { inherit pname; - version = "3.53.3"; + version = "3.54.0"; # nixpkgs-update: no auto update src = assert version == sqlite.version; fetchurl { url = "https://sqlite.org/2026/sqlite-src-${archiveVersion version}.zip"; - hash = "sha256-u4C/ijv/wZJBzoq6WkvHTpw5gAE8sLXw8JdqmVFpQq8="; + hash = "sha256-iEdlmCHgxRFr0UqUZEyCupMrLZoFrIGvLjSvgUqtfFg="; }; nativeBuildInputs = [ unzip ]; From b1ff7d1b8c49ec475a1db9c00c90c59c897a2535 Mon Sep 17 00:00:00 2001 From: Luke Granger-Brown Date: Sat, 10 Oct 2026 01:34:55 +0100 Subject: [PATCH 0261/2378] linuxPackages.ajantv2: patch for strncpy removal --- pkgs/os-specific/linux/ajantv2/default.nix | 2 +- .../linux/ajantv2/fix-linux-6.15.patch | 61 ------------------- .../linux/ajantv2/fix-linux-7.patch | 46 ++++++++++++++ 3 files changed, 47 insertions(+), 62 deletions(-) delete mode 100644 pkgs/os-specific/linux/ajantv2/fix-linux-6.15.patch create mode 100644 pkgs/os-specific/linux/ajantv2/fix-linux-7.patch diff --git a/pkgs/os-specific/linux/ajantv2/default.nix b/pkgs/os-specific/linux/ajantv2/default.nix index eaaecb9eb0fc..f25c675a95d8 100644 --- a/pkgs/os-specific/linux/ajantv2/default.nix +++ b/pkgs/os-specific/linux/ajantv2/default.nix @@ -13,7 +13,7 @@ stdenv.mkDerivation (finalAttrs: { sourceRoot = "${libajantv2.src.name}/driver/linux"; patches = [ - ./fix-linux-6.15.patch + ./fix-linux-7.patch ]; patchFlags = "-p3"; diff --git a/pkgs/os-specific/linux/ajantv2/fix-linux-6.15.patch b/pkgs/os-specific/linux/ajantv2/fix-linux-6.15.patch deleted file mode 100644 index 10bfdf5f694c..000000000000 --- a/pkgs/os-specific/linux/ajantv2/fix-linux-6.15.patch +++ /dev/null @@ -1,61 +0,0 @@ -From 8eacfa908f7d9b366d68e0ea0516fdd867a1e492 Mon Sep 17 00:00:00 2001 -From: Luke Granger-Brown -Date: Sun, 22 Jun 2025 19:38:10 +0100 -Subject: [PATCH 5/5] Use ccflags-y instead of EXTRA_CFLAGS, which stopped - working in Linux 6.15 - ---- - driver/linux/Makefile | 14 +++++++------- - 1 file changed, 7 insertions(+), 7 deletions(-) - -diff --git a/driver/linux/Makefile b/driver/linux/Makefile -index f714ff9b..da4ee90b 100644 ---- a/driver/linux/Makefile -+++ b/driver/linux/Makefile -@@ -25,10 +25,10 @@ VERSIONING = -DSDKVER_MAJ=$(SDKVER_MAJ) -DSDKVER_MIN=$(SDKVER_MIN) -DSDKVER_PN - DISTRO_INFO = -DDISTRO_TYPE=$(DISTRO_TYPE) -DDISTRO_IS_RHEL_LIKE=$(DISTRO_IS_RHEL_LIKE) \ - -DDISTRO_MAJ_VERSION=$(DISTRO_MAJ_VERSION) -DDISTRO_MIN_VERSION=$(DISTRO_MIN_VERSION) \ - -DDISTRO_KERNEL_PKG_MAJ=$(DISTRO_KERNEL_PKG_MAJ) -DDISTRO_KERNEL_PKG_MIN=$(DISTRO_KERNEL_PKG_MIN) -DDISTRO_KERNEL_PKG_PNT=$(DISTRO_KERNEL_PKG_PNT) --EXTRA_CFLAGS += -DAJALinux -DXENA2 $(DBG) -D$(NTV2TARGET) -D$(A_ARCH) $(EXTRA_DEPS) $(VERSIONING) $(DISTRO_INFO) $(INCLUDES) -Wall -Wno-implicit-fallthrough -+ccflags-y += -DAJALinux -DXENA2 $(DBG) -D$(NTV2TARGET) -D$(A_ARCH) $(EXTRA_DEPS) $(VERSIONING) $(DISTRO_INFO) $(INCLUDES) -Wall -Wno-implicit-fallthrough - - ifdef AJA_HEVC -- EXTRA_CFLAGS += -DAJA_HEVC=$(AJA_HEVC) -+ ccflags-y += -DAJA_HEVC=$(AJA_HEVC) - endif - - # if rdma is set -@@ -73,7 +73,7 @@ ifeq ($(NVIDIA_KO),) - endif - - ifdef NVIDIA_IGPU -- EXTRA_CFLAGS += -DAJA_IGPU=1 -+ ccflags-y += -DAJA_IGPU=1 - ifneq ($(NVIDIA_KO),) - ifeq ($(NVIDIA_SYMVERS),) - NVIDIA_GEN_SYMVERS := ./nvidia-ko-to-module-symvers $(NVIDIA_KO) $(A_LINUX_DRIVER_PATH)/nvidia.symvers -@@ -91,17 +91,17 @@ endif - - # determine if the ko is gpl - no ko is proprietary igpu - ifeq ($(NVIDIA_KO),) -- EXTRA_CFLAGS += -I$(NVIDIA_SRC_DIR) -DAJA_RDMA=1 -DNVIDIA_PROPRIETARY=1 -+ ccflags-y += -I$(NVIDIA_SRC_DIR) -DAJA_RDMA=1 -DNVIDIA_PROPRIETARY=1 - else - ifeq ($(shell modinfo $(NVIDIA_KO) | grep license: | grep GPL),) -- EXTRA_CFLAGS += -I$(NVIDIA_SRC_DIR) -DAJA_RDMA=1 -DNVIDIA_PROPRIETARY=1 -+ ccflags-y += -I$(NVIDIA_SRC_DIR) -DAJA_RDMA=1 -DNVIDIA_PROPRIETARY=1 - else -- EXTRA_CFLAGS += -I$(NVIDIA_SRC_DIR) -DAJA_RDMA=1 -+ ccflags-y += -I$(NVIDIA_SRC_DIR) -DAJA_RDMA=1 - endif - endif - - ifdef AJA_CREATE_DEVICE_NODES -- EXTRA_CFLAGS += -DAJA_CREATE_DEVICE_NODES=$(AJA_CREATE_DEVICE_NODES) -+ ccflags-y += -DAJA_CREATE_DEVICE_NODES=$(AJA_CREATE_DEVICE_NODES) - endif - - AJANTV2INCS = $(A_LIB_NTV2_INC)/ajaexport.h \ --- -2.49.0 - diff --git a/pkgs/os-specific/linux/ajantv2/fix-linux-7.patch b/pkgs/os-specific/linux/ajantv2/fix-linux-7.patch new file mode 100644 index 000000000000..2e7cfefc633d --- /dev/null +++ b/pkgs/os-specific/linux/ajantv2/fix-linux-7.patch @@ -0,0 +1,46 @@ +From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001 +From: Luke Granger-Brown +Date: Sat, 10 Oct 2026 01:27:10 +0100 +Subject: [PATCH] Fix compilation of kernel driver + +Signed-off-by: Luke Granger-Brown +--- + driver/linux/hevcapi.c | 10 +++++----- + driver/linux/ntv2driver.c | 3 +-- + 2 files changed, 6 insertions(+), 7 deletions(-) + +diff --git a/driver/linux/hevcapi.c b/driver/linux/hevcapi.c +index 0dafc34a66dece7ee3593297ca3ba0ccd719287a..0eefc8730aa195ae59c706a167e1c4b2ec86b8b7 100644 +--- a/driver/linux/hevcapi.c ++++ b/driver/linux/hevcapi.c +@@ -100,11 +100,11 @@ Ntv2Status hevcDeviceOpen(uint32_t devNum) + for(i = 0; i < FMB_VERSION_SIZE_HEVC_ENCODER_FIRM; i++) revStdMultiple[i] = ' '; + for(i = 0; i < FMB_VERSION_SIZE_HEVC_ENCODER_FIRM; i++) revUserSingle[i] = ' '; + for(i = 0; i < FMB_VERSION_SIZE_HEVC_ENCODER_FIRM; i++) revUserMultiple[i] = ' '; +- strncpy(revSystem, ">>> register read failed <<<", FMB_VERSION_SIZE_SYSTEM_FIRM-1); +- strncpy(revStdSingle, ">>> register read failed <<<", FMB_VERSION_SIZE_HEVC_ENCODER_FIRM-1); +- strncpy(revStdMultiple, ">>> register read failed <<<", FMB_VERSION_SIZE_HEVC_ENCODER_FIRM-1); +- strncpy(revUserSingle, ">>> register read failed <<<", FMB_VERSION_SIZE_HEVC_ENCODER_FIRM-1); +- strncpy(revUserMultiple, ">>> register read failed <<<", FMB_VERSION_SIZE_HEVC_ENCODER_FIRM-1); ++ strscpy(revSystem, ">>> register read failed <<<", FMB_VERSION_SIZE_SYSTEM_FIRM-1); ++ strscpy(revStdSingle, ">>> register read failed <<<", FMB_VERSION_SIZE_HEVC_ENCODER_FIRM-1); ++ strscpy(revStdMultiple, ">>> register read failed <<<", FMB_VERSION_SIZE_HEVC_ENCODER_FIRM-1); ++ strscpy(revUserSingle, ">>> register read failed <<<", FMB_VERSION_SIZE_HEVC_ENCODER_FIRM-1); ++ strscpy(revUserMultiple, ">>> register read failed <<<", FMB_VERSION_SIZE_HEVC_ENCODER_FIRM-1); + + hevcGetFirmwareVersion(devNum, revMCPU, revSystem, + revStdSingle, revStdMultiple, +diff --git a/driver/linux/ntv2driver.c b/driver/linux/ntv2driver.c +index f9dba80d85fb76312eaedcc75389a3fe14a6b983..b969876552aceb6be820402bf8f1ab38f5d373f1 100644 +--- a/driver/linux/ntv2driver.c ++++ b/driver/linux/ntv2driver.c +@@ -3155,8 +3155,7 @@ static int __init aja_ntv2_module_init(void) + getNTV2ModuleParams()->name, versionString); + + // determine driver mode +- strncpy(versionString, DriverMode, STRMAX); +- versionString[STRMAX - 1] = '\0'; ++ strscpy(versionString, DriverMode, STRMAX); + driverModeString = strstrip(versionString); + if (strcmp(driverModeString, "all") == 0) + { From b1b08445ae0d0c1d04a2c89cb1aded12f5722a39 Mon Sep 17 00:00:00 2001 From: Randy Eckenrode Date: Sun, 9 Aug 2026 08:38:12 -0400 Subject: [PATCH 0262/2378] llvmPackages_{18,19,20,21,22}.llvm: backport Mach-O `strip` fix MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Darwin uses LLVM’s `strip` by default, which has been fine, but it is causing problems on macOS 27 when using the 27.0 SDK. As of macOS 27, and only when you link against the 27.0 SDK, dyld will reject binaries with string pools that are not aligned to the platform’s pointer size. ld64 and LLD both link binaries with the correct alignment, but `strip` reduces the alignment, breaking them. This problem is fixed in LLVM 23. This patch backports the fix to previous versions in Nixpkgs. Fortunately, it applies unmodified to the Swift LLVM fork as well (including the version used by Swift 6.4, which needs this patch to build against the 27.0 SDK). --- ...n-__linkedit-entries-to-pointer-size.patch | 291 ++++++++++++++++++ ...n-__linkedit-entries-to-pointer-size.patch | 291 ++++++++++++++++++ .../compilers/llvm/common/llvm/default.nix | 6 + .../compilers/llvm/common/patches.nix | 11 + 4 files changed, 599 insertions(+) create mode 100644 pkgs/development/compilers/llvm/18/llvm/align-__linkedit-entries-to-pointer-size.patch create mode 100644 pkgs/development/compilers/llvm/22/llvm/align-__linkedit-entries-to-pointer-size.patch diff --git a/pkgs/development/compilers/llvm/18/llvm/align-__linkedit-entries-to-pointer-size.patch b/pkgs/development/compilers/llvm/18/llvm/align-__linkedit-entries-to-pointer-size.patch new file mode 100644 index 000000000000..379a7b1f2541 --- /dev/null +++ b/pkgs/development/compilers/llvm/18/llvm/align-__linkedit-entries-to-pointer-size.patch @@ -0,0 +1,291 @@ +diff --git a/lib/ObjCopy/MachO/MachOLayoutBuilder.cpp b/lib/ObjCopy/MachO/MachOLayoutBuilder.cpp +index a3d4ba3a94..3597af7471 100644 +--- a/lib/ObjCopy/MachO/MachOLayoutBuilder.cpp ++++ b/lib/ObjCopy/MachO/MachOLayoutBuilder.cpp +@@ -236,24 +236,27 @@ + "Incorrect tail offset"); + Offset = std::max(Offset, HeaderSize + O.Header.SizeOfCmds); + ++ const uint64_t LinkEditAlign = Is64Bit ? 8 : 4; ++ Offset = alignToPowerOf2(Offset, LinkEditAlign); ++ + // The exports trie can be in either LC_DYLD_INFO or in + // LC_DYLD_EXPORTS_TRIE, but not both. +- size_t DyldInfoExportsTrieSize = 0; +- size_t DyldExportsTrieSize = 0; ++ uint64_t DyldInfoExportsTrieRawSize = 0; ++ uint64_t DyldExportsTrieRawSize = 0; + for (const auto &LC : O.LoadCommands) { + switch (LC.MachOLoadCommand.load_command_data.cmd) { + case MachO::LC_DYLD_INFO: + case MachO::LC_DYLD_INFO_ONLY: +- DyldInfoExportsTrieSize = O.Exports.Trie.size(); ++ DyldInfoExportsTrieRawSize = O.Exports.Trie.size(); + break; + case MachO::LC_DYLD_EXPORTS_TRIE: +- DyldExportsTrieSize = O.Exports.Trie.size(); ++ DyldExportsTrieRawSize = O.Exports.Trie.size(); + break; + default: + break; + } + } +- assert((DyldInfoExportsTrieSize == 0 || DyldExportsTrieSize == 0) && ++ assert((DyldInfoExportsTrieRawSize == 0 || DyldExportsTrieRawSize == 0) && + "Export trie in both LCs"); + + uint64_t NListSize = Is64Bit ? sizeof(MachO::nlist_64) : sizeof(MachO::nlist); +@@ -264,28 +267,43 @@ + // trie, chained fixups, dyld exports trie, function starts, data-in-code, + // symbol table, indirect symbol table, symbol table strings, + // dylib codesign drs, and code signature. +- auto updateOffset = [&Offset](size_t Size) { ++ auto updateOffset = [&Offset, LinkEditAlign](uint64_t Size) { + uint64_t PreviousOffset = Offset; +- Offset += Size; +- return PreviousOffset; ++ // Match ld64 and lld-macho behavior by aligning all LINKEDIT entries to ++ // pointer size. This is safe because zero padding is valid for all entries. ++ uint64_t PaddedSize = alignToPowerOf2(Size, LinkEditAlign); ++ Offset += PaddedSize; ++ return std::make_pair(PreviousOffset, PaddedSize); + }; + +- uint64_t StartOfRebaseInfo = updateOffset(O.Rebases.Opcodes.size()); +- uint64_t StartOfBindingInfo = updateOffset(O.Binds.Opcodes.size()); +- uint64_t StartOfWeakBindingInfo = updateOffset(O.WeakBinds.Opcodes.size()); +- uint64_t StartOfLazyBindingInfo = updateOffset(O.LazyBinds.Opcodes.size()); +- uint64_t StartOfExportTrie = updateOffset(DyldInfoExportsTrieSize); +- uint64_t StartOfChainedFixups = updateOffset(O.ChainedFixups.Data.size()); +- uint64_t StartOfDyldExportsTrie = updateOffset(DyldExportsTrieSize); +- uint64_t StartOfFunctionStarts = updateOffset(O.FunctionStarts.Data.size()); +- uint64_t StartOfDataInCode = updateOffset(O.DataInCode.Data.size()); +- uint64_t StartOfLinkerOptimizationHint = ++ auto [StartOfRebaseInfo, RebaseInfoSize] = ++ updateOffset(O.Rebases.Opcodes.size()); ++ auto [StartOfBindingInfo, BindingInfoSize] = ++ updateOffset(O.Binds.Opcodes.size()); ++ auto [StartOfWeakBindingInfo, WeakBindingInfoSize] = ++ updateOffset(O.WeakBinds.Opcodes.size()); ++ auto [StartOfLazyBindingInfo, LazyBindingInfoSize] = ++ updateOffset(O.LazyBinds.Opcodes.size()); ++ auto [StartOfExportTrie, ExportTrieSize] = ++ updateOffset(DyldInfoExportsTrieRawSize); ++ auto [StartOfChainedFixups, ChainedFixupsSize] = ++ updateOffset(O.ChainedFixups.Data.size()); ++ auto [StartOfDyldExportsTrie, DyldExportsTrieSize] = ++ updateOffset(DyldExportsTrieRawSize); ++ auto [StartOfFunctionStarts, FunctionStartsSize] = ++ updateOffset(O.FunctionStarts.Data.size()); ++ auto [StartOfDataInCode, DataInCodeSize] = ++ updateOffset(O.DataInCode.Data.size()); ++ auto [StartOfLinkerOptimizationHint, LinkerOptimizationHintSize] = + updateOffset(O.LinkerOptimizationHint.Data.size()); +- uint64_t StartOfSymbols = updateOffset(NListSize * O.SymTable.Symbols.size()); ++ uint64_t StartOfSymbols = ++ updateOffset(NListSize * O.SymTable.Symbols.size()).first; + uint64_t StartOfIndirectSymbols = +- updateOffset(sizeof(uint32_t) * O.IndirectSymTable.Symbols.size()); +- uint64_t StartOfSymbolStrings = updateOffset(StrTableBuilder.getSize()); +- uint64_t StartOfDylibCodeSignDRs = updateOffset(O.DylibCodeSignDRs.Data.size()); ++ updateOffset(sizeof(uint32_t) * O.IndirectSymTable.Symbols.size()).first; ++ auto [StartOfSymbolStrings, SymbolStringsSize] = ++ updateOffset(StrTableBuilder.getSize()); ++ auto [StartOfDylibCodeSignDRs, DylibCodeSignDRsSize] = ++ updateOffset(O.DylibCodeSignDRs.Data.size()); + + uint64_t StartOfCodeSignature = Offset; + uint32_t CodeSignatureSize = 0; +@@ -344,13 +362,13 @@ + break; + case MachO::LC_DYLIB_CODE_SIGN_DRS: + MLC.linkedit_data_command_data.dataoff = StartOfDylibCodeSignDRs; +- MLC.linkedit_data_command_data.datasize = O.DylibCodeSignDRs.Data.size(); ++ MLC.linkedit_data_command_data.datasize = DylibCodeSignDRsSize; + break; + case MachO::LC_SYMTAB: + MLC.symtab_command_data.symoff = StartOfSymbols; + MLC.symtab_command_data.nsyms = O.SymTable.Symbols.size(); + MLC.symtab_command_data.stroff = StartOfSymbolStrings; +- MLC.symtab_command_data.strsize = StrTableBuilder.getSize(); ++ MLC.symtab_command_data.strsize = SymbolStringsSize; + break; + case MachO::LC_DYSYMTAB: { + if (MLC.dysymtab_command_data.ntoc != 0 || +@@ -372,20 +390,19 @@ + } + case MachO::LC_DATA_IN_CODE: + MLC.linkedit_data_command_data.dataoff = StartOfDataInCode; +- MLC.linkedit_data_command_data.datasize = O.DataInCode.Data.size(); ++ MLC.linkedit_data_command_data.datasize = DataInCodeSize; + break; + case MachO::LC_LINKER_OPTIMIZATION_HINT: + MLC.linkedit_data_command_data.dataoff = StartOfLinkerOptimizationHint; +- MLC.linkedit_data_command_data.datasize = +- O.LinkerOptimizationHint.Data.size(); ++ MLC.linkedit_data_command_data.datasize = LinkerOptimizationHintSize; + break; + case MachO::LC_FUNCTION_STARTS: + MLC.linkedit_data_command_data.dataoff = StartOfFunctionStarts; +- MLC.linkedit_data_command_data.datasize = O.FunctionStarts.Data.size(); ++ MLC.linkedit_data_command_data.datasize = FunctionStartsSize; + break; + case MachO::LC_DYLD_CHAINED_FIXUPS: + MLC.linkedit_data_command_data.dataoff = StartOfChainedFixups; +- MLC.linkedit_data_command_data.datasize = O.ChainedFixups.Data.size(); ++ MLC.linkedit_data_command_data.datasize = ChainedFixupsSize; + break; + case MachO::LC_DYLD_EXPORTS_TRIE: + MLC.linkedit_data_command_data.dataoff = StartOfDyldExportsTrie; +@@ -395,19 +412,19 @@ + case MachO::LC_DYLD_INFO_ONLY: + MLC.dyld_info_command_data.rebase_off = + O.Rebases.Opcodes.empty() ? 0 : StartOfRebaseInfo; +- MLC.dyld_info_command_data.rebase_size = O.Rebases.Opcodes.size(); ++ MLC.dyld_info_command_data.rebase_size = RebaseInfoSize; + MLC.dyld_info_command_data.bind_off = + O.Binds.Opcodes.empty() ? 0 : StartOfBindingInfo; +- MLC.dyld_info_command_data.bind_size = O.Binds.Opcodes.size(); ++ MLC.dyld_info_command_data.bind_size = BindingInfoSize; + MLC.dyld_info_command_data.weak_bind_off = + O.WeakBinds.Opcodes.empty() ? 0 : StartOfWeakBindingInfo; +- MLC.dyld_info_command_data.weak_bind_size = O.WeakBinds.Opcodes.size(); ++ MLC.dyld_info_command_data.weak_bind_size = WeakBindingInfoSize; + MLC.dyld_info_command_data.lazy_bind_off = + O.LazyBinds.Opcodes.empty() ? 0 : StartOfLazyBindingInfo; +- MLC.dyld_info_command_data.lazy_bind_size = O.LazyBinds.Opcodes.size(); ++ MLC.dyld_info_command_data.lazy_bind_size = LazyBindingInfoSize; + MLC.dyld_info_command_data.export_off = + O.Exports.Trie.empty() ? 0 : StartOfExportTrie; +- MLC.dyld_info_command_data.export_size = DyldInfoExportsTrieSize; ++ MLC.dyld_info_command_data.export_size = ExportTrieSize; + break; + // Note that LC_ENCRYPTION_INFO.cryptoff despite its name and the comment in + // is not an offset in the binary file, instead, it is a +diff --git a/lib/ObjCopy/MachO/MachOWriter.cpp b/lib/ObjCopy/MachO/MachOWriter.cpp +index f416796496..a4924cd1ed 100644 +--- a/lib/ObjCopy/MachO/MachOWriter.cpp ++++ b/lib/ObjCopy/MachO/MachOWriter.cpp +@@ -25,6 +25,12 @@ + using namespace llvm::objcopy::macho; + using namespace llvm::support::endian; + ++#ifndef NDEBUG ++static uint64_t paddedLinkEditEntrySize(uint64_t Size, bool Is64Bit) { ++ return alignToPowerOf2(Size, Is64Bit ? 8 : 4); ++} ++#endif ++ + size_t MachOWriter::headerSize() const { + return Is64Bit ? sizeof(MachO::mach_header_64) : sizeof(MachO::mach_header); + } +@@ -56,29 +62,34 @@ + O.LoadCommands[*O.DyLdInfoCommandIndex] + .MachOLoadCommand.dyld_info_command_data; + if (DyLdInfoCommand.rebase_off) { +- assert((DyLdInfoCommand.rebase_size == O.Rebases.Opcodes.size()) && ++ assert((DyLdInfoCommand.rebase_size == ++ paddedLinkEditEntrySize(O.Rebases.Opcodes.size(), Is64Bit)) && + "Incorrect rebase opcodes size"); + Ends.push_back(DyLdInfoCommand.rebase_off + DyLdInfoCommand.rebase_size); + } + if (DyLdInfoCommand.bind_off) { +- assert((DyLdInfoCommand.bind_size == O.Binds.Opcodes.size()) && ++ assert((DyLdInfoCommand.bind_size == ++ paddedLinkEditEntrySize(O.Binds.Opcodes.size(), Is64Bit)) && + "Incorrect bind opcodes size"); + Ends.push_back(DyLdInfoCommand.bind_off + DyLdInfoCommand.bind_size); + } + if (DyLdInfoCommand.weak_bind_off) { +- assert((DyLdInfoCommand.weak_bind_size == O.WeakBinds.Opcodes.size()) && ++ assert((DyLdInfoCommand.weak_bind_size == ++ paddedLinkEditEntrySize(O.WeakBinds.Opcodes.size(), Is64Bit)) && + "Incorrect weak bind opcodes size"); + Ends.push_back(DyLdInfoCommand.weak_bind_off + + DyLdInfoCommand.weak_bind_size); + } + if (DyLdInfoCommand.lazy_bind_off) { +- assert((DyLdInfoCommand.lazy_bind_size == O.LazyBinds.Opcodes.size()) && ++ assert((DyLdInfoCommand.lazy_bind_size == ++ paddedLinkEditEntrySize(O.LazyBinds.Opcodes.size(), Is64Bit)) && + "Incorrect lazy bind opcodes size"); + Ends.push_back(DyLdInfoCommand.lazy_bind_off + + DyLdInfoCommand.lazy_bind_size); + } + if (DyLdInfoCommand.export_off) { +- assert((DyLdInfoCommand.export_size == O.Exports.Trie.size()) && ++ assert((DyLdInfoCommand.export_size == ++ paddedLinkEditEntrySize(O.Exports.Trie.size(), Is64Bit)) && + "Incorrect trie size"); + Ends.push_back(DyLdInfoCommand.export_off + DyLdInfoCommand.export_size); + } +@@ -321,7 +332,8 @@ + O.LoadCommands[*O.DyLdInfoCommandIndex] + .MachOLoadCommand.dyld_info_command_data; + char *Out = (char *)Buf->getBufferStart() + DyLdInfoCommand.rebase_off; +- assert((DyLdInfoCommand.rebase_size == O.Rebases.Opcodes.size()) && ++ assert((DyLdInfoCommand.rebase_size == ++ paddedLinkEditEntrySize(O.Rebases.Opcodes.size(), Is64Bit)) && + "Incorrect rebase opcodes size"); + memcpy(Out, O.Rebases.Opcodes.data(), O.Rebases.Opcodes.size()); + } +@@ -333,7 +345,8 @@ + O.LoadCommands[*O.DyLdInfoCommandIndex] + .MachOLoadCommand.dyld_info_command_data; + char *Out = (char *)Buf->getBufferStart() + DyLdInfoCommand.bind_off; +- assert((DyLdInfoCommand.bind_size == O.Binds.Opcodes.size()) && ++ assert((DyLdInfoCommand.bind_size == ++ paddedLinkEditEntrySize(O.Binds.Opcodes.size(), Is64Bit)) && + "Incorrect bind opcodes size"); + memcpy(Out, O.Binds.Opcodes.data(), O.Binds.Opcodes.size()); + } +@@ -345,7 +358,8 @@ + O.LoadCommands[*O.DyLdInfoCommandIndex] + .MachOLoadCommand.dyld_info_command_data; + char *Out = (char *)Buf->getBufferStart() + DyLdInfoCommand.weak_bind_off; +- assert((DyLdInfoCommand.weak_bind_size == O.WeakBinds.Opcodes.size()) && ++ assert((DyLdInfoCommand.weak_bind_size == ++ paddedLinkEditEntrySize(O.WeakBinds.Opcodes.size(), Is64Bit)) && + "Incorrect weak bind opcodes size"); + memcpy(Out, O.WeakBinds.Opcodes.data(), O.WeakBinds.Opcodes.size()); + } +@@ -357,7 +371,8 @@ + O.LoadCommands[*O.DyLdInfoCommandIndex] + .MachOLoadCommand.dyld_info_command_data; + char *Out = (char *)Buf->getBufferStart() + DyLdInfoCommand.lazy_bind_off; +- assert((DyLdInfoCommand.lazy_bind_size == O.LazyBinds.Opcodes.size()) && ++ assert((DyLdInfoCommand.lazy_bind_size == ++ paddedLinkEditEntrySize(O.LazyBinds.Opcodes.size(), Is64Bit)) && + "Incorrect lazy bind opcodes size"); + memcpy(Out, O.LazyBinds.Opcodes.data(), O.LazyBinds.Opcodes.size()); + } +@@ -369,7 +384,8 @@ + O.LoadCommands[*O.DyLdInfoCommandIndex] + .MachOLoadCommand.dyld_info_command_data; + char *Out = (char *)Buf->getBufferStart() + DyLdInfoCommand.export_off; +- assert((DyLdInfoCommand.export_size == O.Exports.Trie.size()) && ++ assert((DyLdInfoCommand.export_size == ++ paddedLinkEditEntrySize(O.Exports.Trie.size(), Is64Bit)) && + "Incorrect export trie size"); + memcpy(Out, O.Exports.Trie.data(), O.Exports.Trie.size()); + } +@@ -399,7 +415,8 @@ + const MachO::linkedit_data_command &LinkEditDataCommand = + O.LoadCommands[*LCIndex].MachOLoadCommand.linkedit_data_command_data; + char *Out = (char *)Buf->getBufferStart() + LinkEditDataCommand.dataoff; +- assert((LinkEditDataCommand.datasize == LD.Data.size()) && ++ assert((LinkEditDataCommand.datasize == ++ paddedLinkEditEntrySize(LD.Data.size(), Is64Bit)) && + "Incorrect data size"); + memcpy(Out, LD.Data.data(), LD.Data.size()); + } +@@ -576,7 +593,8 @@ + O.LoadCommands[*O.ExportsTrieCommandIndex] + .MachOLoadCommand.linkedit_data_command_data; + char *Out = (char *)Buf->getBufferStart() + ExportsTrieCmd.dataoff; +- assert((ExportsTrieCmd.datasize == O.Exports.Trie.size()) && ++ assert((ExportsTrieCmd.datasize == ++ paddedLinkEditEntrySize(O.Exports.Trie.size(), Is64Bit)) && + "Incorrect export trie size"); + memcpy(Out, O.Exports.Trie.data(), O.Exports.Trie.size()); + } diff --git a/pkgs/development/compilers/llvm/22/llvm/align-__linkedit-entries-to-pointer-size.patch b/pkgs/development/compilers/llvm/22/llvm/align-__linkedit-entries-to-pointer-size.patch new file mode 100644 index 000000000000..de467b61e13f --- /dev/null +++ b/pkgs/development/compilers/llvm/22/llvm/align-__linkedit-entries-to-pointer-size.patch @@ -0,0 +1,291 @@ +diff --git a/lib/ObjCopy/MachO/MachOLayoutBuilder.cpp b/lib/ObjCopy/MachO/MachOLayoutBuilder.cpp +index 8660c903c6..aa4c0654ea 100644 +--- a/lib/ObjCopy/MachO/MachOLayoutBuilder.cpp ++++ b/lib/ObjCopy/MachO/MachOLayoutBuilder.cpp +@@ -235,24 +235,27 @@ + "Incorrect tail offset"); + Offset = std::max(Offset, HeaderSize + O.Header.SizeOfCmds); + ++ const uint64_t LinkEditAlign = Is64Bit ? 8 : 4; ++ Offset = alignToPowerOf2(Offset, LinkEditAlign); ++ + // The exports trie can be in either LC_DYLD_INFO or in + // LC_DYLD_EXPORTS_TRIE, but not both. +- size_t DyldInfoExportsTrieSize = 0; +- size_t DyldExportsTrieSize = 0; ++ uint64_t DyldInfoExportsTrieRawSize = 0; ++ uint64_t DyldExportsTrieRawSize = 0; + for (const auto &LC : O.LoadCommands) { + switch (LC.MachOLoadCommand.load_command_data.cmd) { + case MachO::LC_DYLD_INFO: + case MachO::LC_DYLD_INFO_ONLY: +- DyldInfoExportsTrieSize = O.Exports.Trie.size(); ++ DyldInfoExportsTrieRawSize = O.Exports.Trie.size(); + break; + case MachO::LC_DYLD_EXPORTS_TRIE: +- DyldExportsTrieSize = O.Exports.Trie.size(); ++ DyldExportsTrieRawSize = O.Exports.Trie.size(); + break; + default: + break; + } + } +- assert((DyldInfoExportsTrieSize == 0 || DyldExportsTrieSize == 0) && ++ assert((DyldInfoExportsTrieRawSize == 0 || DyldExportsTrieRawSize == 0) && + "Export trie in both LCs"); + + uint64_t NListSize = Is64Bit ? sizeof(MachO::nlist_64) : sizeof(MachO::nlist); +@@ -263,28 +266,43 @@ + // trie, chained fixups, dyld exports trie, function starts, data-in-code, + // symbol table, indirect symbol table, symbol table strings, + // dylib codesign drs, and code signature. +- auto updateOffset = [&Offset](size_t Size) { ++ auto updateOffset = [&Offset, LinkEditAlign](uint64_t Size) { + uint64_t PreviousOffset = Offset; +- Offset += Size; +- return PreviousOffset; ++ // Match ld64 and lld-macho behavior by aligning all LINKEDIT entries to ++ // pointer size. This is safe because zero padding is valid for all entries. ++ uint64_t PaddedSize = alignToPowerOf2(Size, LinkEditAlign); ++ Offset += PaddedSize; ++ return std::make_pair(PreviousOffset, PaddedSize); + }; + +- uint64_t StartOfRebaseInfo = updateOffset(O.Rebases.Opcodes.size()); +- uint64_t StartOfBindingInfo = updateOffset(O.Binds.Opcodes.size()); +- uint64_t StartOfWeakBindingInfo = updateOffset(O.WeakBinds.Opcodes.size()); +- uint64_t StartOfLazyBindingInfo = updateOffset(O.LazyBinds.Opcodes.size()); +- uint64_t StartOfExportTrie = updateOffset(DyldInfoExportsTrieSize); +- uint64_t StartOfChainedFixups = updateOffset(O.ChainedFixups.Data.size()); +- uint64_t StartOfDyldExportsTrie = updateOffset(DyldExportsTrieSize); +- uint64_t StartOfFunctionStarts = updateOffset(O.FunctionStarts.Data.size()); +- uint64_t StartOfDataInCode = updateOffset(O.DataInCode.Data.size()); +- uint64_t StartOfLinkerOptimizationHint = ++ auto [StartOfRebaseInfo, RebaseInfoSize] = ++ updateOffset(O.Rebases.Opcodes.size()); ++ auto [StartOfBindingInfo, BindingInfoSize] = ++ updateOffset(O.Binds.Opcodes.size()); ++ auto [StartOfWeakBindingInfo, WeakBindingInfoSize] = ++ updateOffset(O.WeakBinds.Opcodes.size()); ++ auto [StartOfLazyBindingInfo, LazyBindingInfoSize] = ++ updateOffset(O.LazyBinds.Opcodes.size()); ++ auto [StartOfExportTrie, ExportTrieSize] = ++ updateOffset(DyldInfoExportsTrieRawSize); ++ auto [StartOfChainedFixups, ChainedFixupsSize] = ++ updateOffset(O.ChainedFixups.Data.size()); ++ auto [StartOfDyldExportsTrie, DyldExportsTrieSize] = ++ updateOffset(DyldExportsTrieRawSize); ++ auto [StartOfFunctionStarts, FunctionStartsSize] = ++ updateOffset(O.FunctionStarts.Data.size()); ++ auto [StartOfDataInCode, DataInCodeSize] = ++ updateOffset(O.DataInCode.Data.size()); ++ auto [StartOfLinkerOptimizationHint, LinkerOptimizationHintSize] = + updateOffset(O.LinkerOptimizationHint.Data.size()); +- uint64_t StartOfSymbols = updateOffset(NListSize * O.SymTable.Symbols.size()); ++ uint64_t StartOfSymbols = ++ updateOffset(NListSize * O.SymTable.Symbols.size()).first; + uint64_t StartOfIndirectSymbols = +- updateOffset(sizeof(uint32_t) * O.IndirectSymTable.Symbols.size()); +- uint64_t StartOfSymbolStrings = updateOffset(StrTableBuilder.getSize()); +- uint64_t StartOfDylibCodeSignDRs = updateOffset(O.DylibCodeSignDRs.Data.size()); ++ updateOffset(sizeof(uint32_t) * O.IndirectSymTable.Symbols.size()).first; ++ auto [StartOfSymbolStrings, SymbolStringsSize] = ++ updateOffset(StrTableBuilder.getSize()); ++ auto [StartOfDylibCodeSignDRs, DylibCodeSignDRsSize] = ++ updateOffset(O.DylibCodeSignDRs.Data.size()); + + uint64_t StartOfCodeSignature = Offset; + uint32_t CodeSignatureSize = 0; +@@ -343,13 +361,13 @@ + break; + case MachO::LC_DYLIB_CODE_SIGN_DRS: + MLC.linkedit_data_command_data.dataoff = StartOfDylibCodeSignDRs; +- MLC.linkedit_data_command_data.datasize = O.DylibCodeSignDRs.Data.size(); ++ MLC.linkedit_data_command_data.datasize = DylibCodeSignDRsSize; + break; + case MachO::LC_SYMTAB: + MLC.symtab_command_data.symoff = StartOfSymbols; + MLC.symtab_command_data.nsyms = O.SymTable.Symbols.size(); + MLC.symtab_command_data.stroff = StartOfSymbolStrings; +- MLC.symtab_command_data.strsize = StrTableBuilder.getSize(); ++ MLC.symtab_command_data.strsize = SymbolStringsSize; + break; + case MachO::LC_DYSYMTAB: { + if (MLC.dysymtab_command_data.ntoc != 0 || +@@ -368,20 +386,19 @@ + } + case MachO::LC_DATA_IN_CODE: + MLC.linkedit_data_command_data.dataoff = StartOfDataInCode; +- MLC.linkedit_data_command_data.datasize = O.DataInCode.Data.size(); ++ MLC.linkedit_data_command_data.datasize = DataInCodeSize; + break; + case MachO::LC_LINKER_OPTIMIZATION_HINT: + MLC.linkedit_data_command_data.dataoff = StartOfLinkerOptimizationHint; +- MLC.linkedit_data_command_data.datasize = +- O.LinkerOptimizationHint.Data.size(); ++ MLC.linkedit_data_command_data.datasize = LinkerOptimizationHintSize; + break; + case MachO::LC_FUNCTION_STARTS: + MLC.linkedit_data_command_data.dataoff = StartOfFunctionStarts; +- MLC.linkedit_data_command_data.datasize = O.FunctionStarts.Data.size(); ++ MLC.linkedit_data_command_data.datasize = FunctionStartsSize; + break; + case MachO::LC_DYLD_CHAINED_FIXUPS: + MLC.linkedit_data_command_data.dataoff = StartOfChainedFixups; +- MLC.linkedit_data_command_data.datasize = O.ChainedFixups.Data.size(); ++ MLC.linkedit_data_command_data.datasize = ChainedFixupsSize; + break; + case MachO::LC_DYLD_EXPORTS_TRIE: + MLC.linkedit_data_command_data.dataoff = StartOfDyldExportsTrie; +@@ -391,19 +408,19 @@ + case MachO::LC_DYLD_INFO_ONLY: + MLC.dyld_info_command_data.rebase_off = + O.Rebases.Opcodes.empty() ? 0 : StartOfRebaseInfo; +- MLC.dyld_info_command_data.rebase_size = O.Rebases.Opcodes.size(); ++ MLC.dyld_info_command_data.rebase_size = RebaseInfoSize; + MLC.dyld_info_command_data.bind_off = + O.Binds.Opcodes.empty() ? 0 : StartOfBindingInfo; +- MLC.dyld_info_command_data.bind_size = O.Binds.Opcodes.size(); ++ MLC.dyld_info_command_data.bind_size = BindingInfoSize; + MLC.dyld_info_command_data.weak_bind_off = + O.WeakBinds.Opcodes.empty() ? 0 : StartOfWeakBindingInfo; +- MLC.dyld_info_command_data.weak_bind_size = O.WeakBinds.Opcodes.size(); ++ MLC.dyld_info_command_data.weak_bind_size = WeakBindingInfoSize; + MLC.dyld_info_command_data.lazy_bind_off = + O.LazyBinds.Opcodes.empty() ? 0 : StartOfLazyBindingInfo; +- MLC.dyld_info_command_data.lazy_bind_size = O.LazyBinds.Opcodes.size(); ++ MLC.dyld_info_command_data.lazy_bind_size = LazyBindingInfoSize; + MLC.dyld_info_command_data.export_off = + O.Exports.Trie.empty() ? 0 : StartOfExportTrie; +- MLC.dyld_info_command_data.export_size = DyldInfoExportsTrieSize; ++ MLC.dyld_info_command_data.export_size = ExportTrieSize; + break; + // Note that LC_ENCRYPTION_INFO.cryptoff despite its name and the comment in + // is not an offset in the binary file, instead, it is a +diff --git a/lib/ObjCopy/MachO/MachOWriter.cpp b/lib/ObjCopy/MachO/MachOWriter.cpp +index 07514dd2f8..d83a82cee7 100644 +--- a/lib/ObjCopy/MachO/MachOWriter.cpp ++++ b/lib/ObjCopy/MachO/MachOWriter.cpp +@@ -24,6 +24,12 @@ + using namespace llvm::objcopy::macho; + using namespace llvm::support::endian; + ++#ifndef NDEBUG ++static uint64_t paddedLinkEditEntrySize(uint64_t Size, bool Is64Bit) { ++ return alignToPowerOf2(Size, Is64Bit ? 8 : 4); ++} ++#endif ++ + size_t MachOWriter::headerSize() const { + return Is64Bit ? sizeof(MachO::mach_header_64) : sizeof(MachO::mach_header); + } +@@ -55,29 +61,34 @@ + O.LoadCommands[*O.DyLdInfoCommandIndex] + .MachOLoadCommand.dyld_info_command_data; + if (DyLdInfoCommand.rebase_off) { +- assert((DyLdInfoCommand.rebase_size == O.Rebases.Opcodes.size()) && ++ assert((DyLdInfoCommand.rebase_size == ++ paddedLinkEditEntrySize(O.Rebases.Opcodes.size(), Is64Bit)) && + "Incorrect rebase opcodes size"); + Ends.push_back(DyLdInfoCommand.rebase_off + DyLdInfoCommand.rebase_size); + } + if (DyLdInfoCommand.bind_off) { +- assert((DyLdInfoCommand.bind_size == O.Binds.Opcodes.size()) && ++ assert((DyLdInfoCommand.bind_size == ++ paddedLinkEditEntrySize(O.Binds.Opcodes.size(), Is64Bit)) && + "Incorrect bind opcodes size"); + Ends.push_back(DyLdInfoCommand.bind_off + DyLdInfoCommand.bind_size); + } + if (DyLdInfoCommand.weak_bind_off) { +- assert((DyLdInfoCommand.weak_bind_size == O.WeakBinds.Opcodes.size()) && ++ assert((DyLdInfoCommand.weak_bind_size == ++ paddedLinkEditEntrySize(O.WeakBinds.Opcodes.size(), Is64Bit)) && + "Incorrect weak bind opcodes size"); + Ends.push_back(DyLdInfoCommand.weak_bind_off + + DyLdInfoCommand.weak_bind_size); + } + if (DyLdInfoCommand.lazy_bind_off) { +- assert((DyLdInfoCommand.lazy_bind_size == O.LazyBinds.Opcodes.size()) && ++ assert((DyLdInfoCommand.lazy_bind_size == ++ paddedLinkEditEntrySize(O.LazyBinds.Opcodes.size(), Is64Bit)) && + "Incorrect lazy bind opcodes size"); + Ends.push_back(DyLdInfoCommand.lazy_bind_off + + DyLdInfoCommand.lazy_bind_size); + } + if (DyLdInfoCommand.export_off) { +- assert((DyLdInfoCommand.export_size == O.Exports.Trie.size()) && ++ assert((DyLdInfoCommand.export_size == ++ paddedLinkEditEntrySize(O.Exports.Trie.size(), Is64Bit)) && + "Incorrect trie size"); + Ends.push_back(DyLdInfoCommand.export_off + DyLdInfoCommand.export_size); + } +@@ -320,7 +331,8 @@ + O.LoadCommands[*O.DyLdInfoCommandIndex] + .MachOLoadCommand.dyld_info_command_data; + char *Out = Buf->getBufferStart() + DyLdInfoCommand.rebase_off; +- assert((DyLdInfoCommand.rebase_size == O.Rebases.Opcodes.size()) && ++ assert((DyLdInfoCommand.rebase_size == ++ paddedLinkEditEntrySize(O.Rebases.Opcodes.size(), Is64Bit)) && + "Incorrect rebase opcodes size"); + memcpy(Out, O.Rebases.Opcodes.data(), O.Rebases.Opcodes.size()); + } +@@ -332,7 +344,8 @@ + O.LoadCommands[*O.DyLdInfoCommandIndex] + .MachOLoadCommand.dyld_info_command_data; + char *Out = Buf->getBufferStart() + DyLdInfoCommand.bind_off; +- assert((DyLdInfoCommand.bind_size == O.Binds.Opcodes.size()) && ++ assert((DyLdInfoCommand.bind_size == ++ paddedLinkEditEntrySize(O.Binds.Opcodes.size(), Is64Bit)) && + "Incorrect bind opcodes size"); + memcpy(Out, O.Binds.Opcodes.data(), O.Binds.Opcodes.size()); + } +@@ -344,7 +357,8 @@ + O.LoadCommands[*O.DyLdInfoCommandIndex] + .MachOLoadCommand.dyld_info_command_data; + char *Out = Buf->getBufferStart() + DyLdInfoCommand.weak_bind_off; +- assert((DyLdInfoCommand.weak_bind_size == O.WeakBinds.Opcodes.size()) && ++ assert((DyLdInfoCommand.weak_bind_size == ++ paddedLinkEditEntrySize(O.WeakBinds.Opcodes.size(), Is64Bit)) && + "Incorrect weak bind opcodes size"); + memcpy(Out, O.WeakBinds.Opcodes.data(), O.WeakBinds.Opcodes.size()); + } +@@ -356,7 +370,8 @@ + O.LoadCommands[*O.DyLdInfoCommandIndex] + .MachOLoadCommand.dyld_info_command_data; + char *Out = Buf->getBufferStart() + DyLdInfoCommand.lazy_bind_off; +- assert((DyLdInfoCommand.lazy_bind_size == O.LazyBinds.Opcodes.size()) && ++ assert((DyLdInfoCommand.lazy_bind_size == ++ paddedLinkEditEntrySize(O.LazyBinds.Opcodes.size(), Is64Bit)) && + "Incorrect lazy bind opcodes size"); + memcpy(Out, O.LazyBinds.Opcodes.data(), O.LazyBinds.Opcodes.size()); + } +@@ -368,7 +383,8 @@ + O.LoadCommands[*O.DyLdInfoCommandIndex] + .MachOLoadCommand.dyld_info_command_data; + char *Out = Buf->getBufferStart() + DyLdInfoCommand.export_off; +- assert((DyLdInfoCommand.export_size == O.Exports.Trie.size()) && ++ assert((DyLdInfoCommand.export_size == ++ paddedLinkEditEntrySize(O.Exports.Trie.size(), Is64Bit)) && + "Incorrect export trie size"); + memcpy(Out, O.Exports.Trie.data(), O.Exports.Trie.size()); + } +@@ -398,7 +414,8 @@ + const MachO::linkedit_data_command &LinkEditDataCommand = + O.LoadCommands[*LCIndex].MachOLoadCommand.linkedit_data_command_data; + char *Out = Buf->getBufferStart() + LinkEditDataCommand.dataoff; +- assert((LinkEditDataCommand.datasize == LD.Data.size()) && ++ assert((LinkEditDataCommand.datasize == ++ paddedLinkEditEntrySize(LD.Data.size(), Is64Bit)) && + "Incorrect data size"); + memcpy(Out, LD.Data.data(), LD.Data.size()); + } +@@ -575,7 +592,8 @@ + O.LoadCommands[*O.ExportsTrieCommandIndex] + .MachOLoadCommand.linkedit_data_command_data; + char *Out = Buf->getBufferStart() + ExportsTrieCmd.dataoff; +- assert((ExportsTrieCmd.datasize == O.Exports.Trie.size()) && ++ assert((ExportsTrieCmd.datasize == ++ paddedLinkEditEntrySize(O.Exports.Trie.size(), Is64Bit)) && + "Incorrect export trie size"); + memcpy(Out, O.Exports.Trie.data(), O.Exports.Trie.size()); + } diff --git a/pkgs/development/compilers/llvm/common/llvm/default.nix b/pkgs/development/compilers/llvm/common/llvm/default.nix index 60f90362e3af..dd2d7a5def69 100644 --- a/pkgs/development/compilers/llvm/common/llvm/default.nix +++ b/pkgs/development/compilers/llvm/common/llvm/default.nix @@ -282,6 +282,12 @@ stdenv.mkDerivation ( # a new arm64 subtype that gives more pointer authentication machinery. # Vendored backport of the patch for LLVM 23 (getVersionFile "llvm/backport-minimal-arm64e_x1-support.patch") + ] + ++ lib.optionals (lib.versionOlder release_version "23") [ + # macOS 27 requires the string pool to be pointer-aligned when dylibs are linked against the 27.0 SDK. + # While ld64 does align them correctly, they are misaligned by LLVM’s `strip`. + # See: https://github.com/llvm/llvm-project/issues/203678 + (getVersionFile "llvm/align-__linkedit-entries-to-pointer-size.patch") ]; nativeBuildInputs = [ diff --git a/pkgs/development/compilers/llvm/common/patches.nix b/pkgs/development/compilers/llvm/common/patches.nix index 783411c34098..f6278b99cc2e 100644 --- a/pkgs/development/compilers/llvm/common/patches.nix +++ b/pkgs/development/compilers/llvm/common/patches.nix @@ -57,6 +57,17 @@ path = ../23; } ]; + "llvm/align-__linkedit-entries-to-pointer-size.patch" = [ + { + before = "22"; + path = ../18; + } + { + after = "22"; + before = "23"; + path = ../22; + } + ]; "llvm/backport-darwin-triple-parsing.patch" = [ { after = "18"; From 7dc07e745966ad3920092c5fc81b96e74a942226 Mon Sep 17 00:00:00 2001 From: Hraban Date: Sat, 10 Oct 2026 23:04:08 -0400 Subject: [PATCH 0263/2378] sbcl: 2.6.8 -> 2.6.9 --- pkgs/development/compilers/sbcl/default.nix | 2 +- pkgs/top-level/all-packages.nix | 18 +++++++++--------- 2 files changed, 10 insertions(+), 10 deletions(-) diff --git a/pkgs/development/compilers/sbcl/default.nix b/pkgs/development/compilers/sbcl/default.nix index 6bb6cb08ce1b..3f1eea139f66 100644 --- a/pkgs/development/compilers/sbcl/default.nix +++ b/pkgs/development/compilers/sbcl/default.nix @@ -30,8 +30,8 @@ let "2.4.6".sha256 = "sha256-pImQeELa4JoXJtYphb96VmcKrqLz7KH7cCO8pnw/MJE="; # By unofficial and very loose convention we keep the latest version of # SBCL, and the previous one in case someone quickly needs to roll back. - "2.6.7".sha256 = "sha256-Hr3DXJ3I4nG4zRrESWXgC/JV+cAiFlD8t38Ps0wtOt4="; "2.6.8".sha256 = "sha256-rVEm39+6XbJ+53vMJYkwIP5SLQt2U9RbTEeVrePdwj0="; + "2.6.9".sha256 = "sha256-xv0dc1Vw60/zTK+WCZiMp37QvRK1XQmk/tB1vokNpRM="; }; # Collection of pre-built SBCL binaries for platforms that need them for # bootstrapping. Ideally these are to be avoided. If ECL (or any other diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index 5b1e3b97c54d..481adf5c1212 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -6864,14 +6864,6 @@ with pkgs; ]; }; - sbcl_2_6_7 = wrapLisp { - pkg = callPackage ../development/compilers/sbcl { version = "2.6.7"; }; - faslExt = "fasl"; - flags = [ - "--dynamic-space-size" - "3000" - ]; - }; sbcl_2_6_8 = wrapLisp { pkg = callPackage ../development/compilers/sbcl { version = "2.6.8"; }; faslExt = "fasl"; @@ -6880,7 +6872,15 @@ with pkgs; "3000" ]; }; - sbcl = sbcl_2_6_8; + sbcl_2_6_9 = wrapLisp { + pkg = callPackage ../development/compilers/sbcl { version = "2.6.9"; }; + faslExt = "fasl"; + flags = [ + "--dynamic-space-size" + "3000" + ]; + }; + sbcl = sbcl_2_6_9; sbclPackages = recurseIntoAttrs sbcl.pkgs; From 6fde2b85eb76d1b5456815f70a58928470d1c19e Mon Sep 17 00:00:00 2001 From: zowoq <59103226+zowoq@users.noreply.github.com> Date: Sun, 11 Oct 2026 16:19:28 +1000 Subject: [PATCH 0264/2378] Revert "systemd: work around rebuild count" This reverts commit c3adfa486d5a58aec777819c2de42f3b22fef80e. --- pkgs/os-specific/linux/systemd/default.nix | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/pkgs/os-specific/linux/systemd/default.nix b/pkgs/os-specific/linux/systemd/default.nix index 5e828d93970e..312dcb408667 100644 --- a/pkgs/os-specific/linux/systemd/default.nix +++ b/pkgs/os-specific/linux/systemd/default.nix @@ -542,6 +542,8 @@ stdenv.mkDerivation (finalAttrs: { (lib.mesonBool "hwdb" withHwdb) (lib.mesonBool "timedated" withTimedated) (lib.mesonBool "timesyncd" withTimesyncd) + (lib.mesonBool "nsresourced" withNsresourced) + (lib.mesonBool "mountfsd" withMountfsd) (lib.mesonBool "userdb" withUserDb) (lib.mesonBool "coredump" withCoredump) (lib.mesonBool "firstboot" withFirstboot) @@ -559,12 +561,6 @@ stdenv.mkDerivation (finalAttrs: { (lib.mesonBool "smack" true) (lib.mesonBool "b_pie" true) ] - ++ lib.optionals withNsresourced [ - (lib.mesonBool "nsresourced" withNsresourced) - ] - ++ lib.optionals withMountfsd [ - (lib.mesonBool "mountfsd" withMountfsd) - ] ++ lib.optionals (withLibBPF && vmlinux-btf != null) [ (lib.mesonOption "vmlinux-h" "provided") (lib.mesonOption "vmlinux-h-path" "${vmlinux-btf}/vmlinux.h") From e5f88145eb1d29d26607fe96385df4caf3dd6c8a Mon Sep 17 00:00:00 2001 From: Randy Eckenrode Date: Sun, 9 Aug 2026 08:38:12 -0400 Subject: [PATCH 0265/2378] llvmPackages_{18,19,20,21}.llvm: fix incorrect template specializations These specializations are technically UB. They were accepted by older versions of libc++, but libc++ 22 is more strict, which causes the current LLVM version to fail to build. Because Darwin links against the system libc++, it will need these specializations fixed when it updates to the system libc++ headers in the 27.0 SDK, which come from LLVM 22. --- ...correct-std-template-specializations.patch | 231 ++++++++++++++++++ .../compilers/llvm/common/llvm/default.nix | 6 + .../compilers/llvm/common/patches.nix | 6 + 3 files changed, 243 insertions(+) create mode 100644 pkgs/development/compilers/llvm/18/llvm/get-rid-of-incorrect-std-template-specializations.patch diff --git a/pkgs/development/compilers/llvm/18/llvm/get-rid-of-incorrect-std-template-specializations.patch b/pkgs/development/compilers/llvm/18/llvm/get-rid-of-incorrect-std-template-specializations.patch new file mode 100644 index 000000000000..2065ded75df7 --- /dev/null +++ b/pkgs/development/compilers/llvm/18/llvm/get-rid-of-incorrect-std-template-specializations.patch @@ -0,0 +1,231 @@ +diff --git a/include/llvm/CodeGen/RDFGraph.h b/include/llvm/CodeGen/RDFGraph.h +index cf7344e8c3..30c38da96c 100644 +--- a/include/llvm/CodeGen/RDFGraph.h ++++ b/include/llvm/CodeGen/RDFGraph.h +@@ -447,7 +447,7 @@ + AllocatorTy MemPool; + }; + +-using RegisterSet = std::set; ++using RegisterSet = std::set; + + struct TargetOperandInfo { + TargetOperandInfo(const TargetInstrInfo &tii) : TII(tii) {} +diff --git a/include/llvm/CodeGen/RDFRegisters.h b/include/llvm/CodeGen/RDFRegisters.h +index 7eed0b4e1e..c5060f00a0 100644 +--- a/include/llvm/CodeGen/RDFRegisters.h ++++ b/include/llvm/CodeGen/RDFRegisters.h +@@ -201,6 +201,33 @@ + std::vector AliasInfos; + }; + ++struct RegisterRefEqualTo { ++ constexpr RegisterRefEqualTo(const llvm::rdf::PhysicalRegisterInfo &pri) ++ : PRI(&pri) {} ++ ++ bool operator()(llvm::rdf::RegisterRef A, llvm::rdf::RegisterRef B) const { ++ return PRI->equal_to(A, B); ++ } ++ ++private: ++ // Make it a pointer just in case. See comment in `RegisterRefLess` below. ++ const llvm::rdf::PhysicalRegisterInfo *PRI; ++}; ++ ++struct RegisterRefLess { ++ constexpr RegisterRefLess(const llvm::rdf::PhysicalRegisterInfo &pri) ++ : PRI(&pri) {} ++ ++ bool operator()(llvm::rdf::RegisterRef A, llvm::rdf::RegisterRef B) const { ++ return PRI->less(A, B); ++ } ++ ++private: ++ // Make it a pointer because apparently some versions of MSVC use std::swap ++ // on the comparator object. ++ const llvm::rdf::PhysicalRegisterInfo *PRI; ++}; ++ + struct RegisterAggr { + RegisterAggr(const PhysicalRegisterInfo &pri) + : Units(pri.getTRI().getNumRegUnits()), PRI(pri) {} +@@ -336,18 +363,6 @@ + } + }; + +-template <> struct equal_to { +- constexpr equal_to(const llvm::rdf::PhysicalRegisterInfo &pri) : PRI(&pri) {} +- +- bool operator()(llvm::rdf::RegisterRef A, llvm::rdf::RegisterRef B) const { +- return PRI->equal_to(A, B); +- } +- +-private: +- // Make it a pointer just in case. See comment in `less` below. +- const llvm::rdf::PhysicalRegisterInfo *PRI; +-}; +- + template <> struct equal_to { + bool operator()(const llvm::rdf::RegisterAggr &A, + const llvm::rdf::RegisterAggr &B) const { +@@ -355,23 +370,10 @@ + } + }; + +-template <> struct less { +- constexpr less(const llvm::rdf::PhysicalRegisterInfo &pri) : PRI(&pri) {} +- +- bool operator()(llvm::rdf::RegisterRef A, llvm::rdf::RegisterRef B) const { +- return PRI->less(A, B); +- } +- +-private: +- // Make it a pointer because apparently some versions of MSVC use std::swap +- // on the std::less specialization. +- const llvm::rdf::PhysicalRegisterInfo *PRI; +-}; +- + } // namespace std + + namespace llvm::rdf { +-using RegisterSet = std::set>; ++using RegisterSet = std::set; + } // namespace llvm::rdf + + #endif // LLVM_CODEGEN_RDFREGISTERS_H +diff --git a/lib/CodeGen/RDFLiveness.cpp b/lib/CodeGen/RDFLiveness.cpp +index 11f3fedaa5..43bfbad397 100644 +--- a/lib/CodeGen/RDFLiveness.cpp ++++ b/lib/CodeGen/RDFLiveness.cpp +@@ -655,8 +655,9 @@ + // defs, cache the result of subtracting these defs from a given register + // ref. + using RefHash = std::hash; +- using RefEqual = std::equal_to; +- using SubMap = std::unordered_map; ++ using RefEqual = RegisterRefEqualTo; ++ using SubMap = ++ std::unordered_map; + std::unordered_map Subs; + auto ClearIn = [](RegisterRef RR, const RegisterAggr &Mid, SubMap &SM) { + if (Mid.empty()) +@@ -873,7 +874,7 @@ + std::vector LV; + for (const MachineBasicBlock::RegisterMaskPair &LI : B.liveins()) + LV.push_back(RegisterRef(LI.PhysReg, LI.LaneMask)); +- llvm::sort(LV, std::less(PRI)); ++ llvm::sort(LV, RegisterRefLess(PRI)); + dbgs() << printMBBReference(B) << "\t rec = {"; + for (auto I : LV) + dbgs() << ' ' << Print(I, DFG); +@@ -883,7 +884,7 @@ + LV.clear(); + for (RegisterRef RR : LiveMap[&B].refs()) + LV.push_back(RR); +- llvm::sort(LV, std::less(PRI)); ++ llvm::sort(LV, RegisterRefLess(PRI)); + dbgs() << "\tcomp = {"; + for (auto I : LV) + dbgs() << ' ' << Print(I, DFG); +diff --git a/lib/Target/Hexagon/RDFCopy.cpp b/lib/Target/Hexagon/RDFCopy.cpp +index b26821cd01..b2c1075244 100644 +--- a/lib/Target/Hexagon/RDFCopy.cpp ++++ b/lib/Target/Hexagon/RDFCopy.cpp +@@ -109,7 +109,7 @@ + for (NodeAddr IA : BA.Addr->members(DFG)) { + if (DFG.IsCode(IA)) { + NodeAddr SA = IA; +- EqualityMap EM(std::less(DFG.getPRI())); ++ EqualityMap EM(RegisterRefLess(DFG.getPRI())); + if (interpretAsCopy(SA.Addr->getCode(), EM)) + recordCopy(SA, EM); + } +diff --git a/lib/Target/Hexagon/RDFCopy.h b/lib/Target/Hexagon/RDFCopy.h +index e4fb898928..92b2c65982 100644 +--- a/lib/Target/Hexagon/RDFCopy.h ++++ b/lib/Target/Hexagon/RDFCopy.h +@@ -25,8 +25,8 @@ + namespace rdf { + + struct CopyPropagation { +- CopyPropagation(DataFlowGraph &dfg) : MDT(dfg.getDT()), DFG(dfg), +- RDefMap(std::less(DFG.getPRI())) {} ++ CopyPropagation(DataFlowGraph &dfg) ++ : MDT(dfg.getDT()), DFG(dfg), RDefMap(RegisterRefLess(DFG.getPRI())) {} + + virtual ~CopyPropagation() = default; + +@@ -35,7 +35,7 @@ + bool trace() const { return Trace; } + DataFlowGraph &getDFG() { return DFG; } + +- using EqualityMap = std::map; ++ using EqualityMap = std::map; + virtual bool interpretAsCopy(const MachineInstr *MI, EqualityMap &EM); + + private: +@@ -45,7 +45,7 @@ + bool Trace = false; + + // map: register -> (map: stmt -> reaching def) +- std::map> RDefMap; ++ std::map, RegisterRefLess> RDefMap; + // map: statement -> (map: dst reg -> src reg) + std::map CopyMap; + std::vector Copies; +diff --git a/unittests/CodeGen/TypeTraitsTest.cpp b/unittests/CodeGen/TypeTraitsTest.cpp +index 0ca4fa4e82..592e7cdda4 100644 +--- a/unittests/CodeGen/TypeTraitsTest.cpp ++++ b/unittests/CodeGen/TypeTraitsTest.cpp +@@ -6,13 +6,16 @@ + // + //===----------------------------------------------------------------------===// + ++#include "llvm/CodeGen/RDFRegisters.h" + #include "llvm/CodeGen/RegisterPressure.h" + #include "llvm/CodeGen/ScheduleDAG.h" + #include "llvm/CodeGen/SelectionDAGNodes.h" + #include "llvm/CodeGen/SlotIndexes.h" + #include "llvm/CodeGen/TargetPassConfig.h" + #include "gtest/gtest.h" ++#include + #include ++#include + + using namespace llvm; + +@@ -26,3 +29,34 @@ + "trivially copyable"); + #endif + ++// https://llvm.org/PR105169 ++// Verify that we won't accidently specialize std::less and std::equal_to in a ++// wrong way. ++// C++17 [namespace.std]/2, C++20/23 [namespace.std]/5: ++// A program may explicitly instantiate a template defined in the standard ++// library only if the declaration ++// - depends on the name of a user-defined type and ++// - the instantiation meets the standard library requirements for the ++// original template. ++template constexpr bool CheckStdCmpRequirements() { ++ // std::less and std::equal_to are literal, default constructible, and ++ // copyable classes. ++ Fn f1; ++ auto f2 = f1; ++ auto f3 = std::move(f2); ++ f2 = f3; ++ f2 = std::move(f3); ++ ++ // Properties held on all known implementations, although not guaranteed by ++ // the standard. ++ static_assert(std::is_empty_v); ++ static_assert(std::is_trivially_default_constructible_v); ++ static_assert(std::is_trivially_copyable_v); ++ ++ return true; ++} ++ ++static_assert(CheckStdCmpRequirements>(), ++ "same as the original template"); ++static_assert(CheckStdCmpRequirements>(), ++ "same as the original template"); diff --git a/pkgs/development/compilers/llvm/common/llvm/default.nix b/pkgs/development/compilers/llvm/common/llvm/default.nix index dd2d7a5def69..e2fcbc6b19d0 100644 --- a/pkgs/development/compilers/llvm/common/llvm/default.nix +++ b/pkgs/development/compilers/llvm/common/llvm/default.nix @@ -266,6 +266,12 @@ stdenv.mkDerivation ( hash = "sha256-HHVMVL7ZWiZkbfnD37zYxFWnfvI3LNS0Z2oFHhOaZsU="; }) ] + ++ lib.optionals (lib.versionOlder release_version "22") [ + # Fixes incorrect template specializations that cause building LLVM to fail to build after Darwin bumps its + # system libc++ headers to 22.1.6+apple-sdk-27.0. These definitions were also UB apparently. + # See: https://github.com/llvm/llvm-project/pull/160804 + (getVersionFile "llvm/get-rid-of-incorrect-std-template-specializations.patch") + ] ++ lib.optionals (lib.versionOlder release_version "23") [ # As of macOS 27 (and iOS 27, etc), the Darwin version number is the same as the OS version number. # This change breaks target parsing because `darwin27` is incorrectly interpreted as macOS 28. diff --git a/pkgs/development/compilers/llvm/common/patches.nix b/pkgs/development/compilers/llvm/common/patches.nix index f6278b99cc2e..caf3b30cfe0e 100644 --- a/pkgs/development/compilers/llvm/common/patches.nix +++ b/pkgs/development/compilers/llvm/common/patches.nix @@ -100,6 +100,12 @@ path = ../22; } ]; + "llvm/get-rid-of-incorrect-std-template-specializations.patch" = [ + { + before = "22"; + path = ../18; + } + ]; "llvm/gnu-install-dirs.patch" = [ { after = "23"; From 68d4b6e89aba0003bea53c81dd20f07a5c85c0e1 Mon Sep 17 00:00:00 2001 From: Randy Eckenrode Date: Sun, 9 Aug 2026 08:38:12 -0400 Subject: [PATCH 0266/2378] darwin.libcxx: 21.1.6+apple-sdk-26.5 -> 22.1.6+apple-sdk-27.0 https://releases.llvm.org/22.1.0/projects/libcxx/docs/ReleaseNotes.html --- pkgs/os-specific/darwin/by-name/li/libcxx/package.nix | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/pkgs/os-specific/darwin/by-name/li/libcxx/package.nix b/pkgs/os-specific/darwin/by-name/li/libcxx/package.nix index fce5590a1821..1d31f4d2bca2 100644 --- a/pkgs/os-specific/darwin/by-name/li/libcxx/package.nix +++ b/pkgs/os-specific/darwin/by-name/li/libcxx/package.nix @@ -1,7 +1,7 @@ { - # Use the text-based stubs and headers from the latest SDK (currently 15.x). This is safe because + # Use the text-based stubs and headers from the latest SDK. This is safe because # using features that are not available on an older deployment target is a hard error. - apple-sdk_26, + apple-sdk_27, stdenvNoCC, }: @@ -9,8 +9,8 @@ stdenvNoCC.mkDerivation (finalAttrs: { pname = "libcxx"; # Keep this in sync with the corresponding LLVM libc++ version # defined as `_LIBCPP_VERSION` in `usr/include/c++/v1/__config`. - version = "21.1.6+apple-sdk-${apple-sdk_26.version}"; - inherit (apple-sdk_26) src; + version = "22.1.6+apple-sdk-${apple-sdk_27.version}"; + inherit (apple-sdk_27) src; dontConfigure = true; dontBuild = true; From 87342e3b202ae843531fe4e60e82ffa59f33274f Mon Sep 17 00:00:00 2001 From: Randy Eckenrode Date: Thu, 8 Oct 2026 14:16:26 -0400 Subject: [PATCH 0267/2378] llvmPackages_{18,19,20,21,22}.llvm: fix broken tests https://github.com/NixOS/nixpkgs/pull/567431 omitted the updated tests from https://github.com/llvm/llvm-project/pull/203680 in the patch backport, but patches to the tests were required. Now they are included. https://github.com/llvm/llvm-project/pull/205044 is also cherry-picked into this patch to avoid test failures on big-endian architectures. --- ...n-__linkedit-entries-to-pointer-size.patch | 655 ++++++++++++++++++ ...n-__linkedit-entries-to-pointer-size.patch | 655 ++++++++++++++++++ 2 files changed, 1310 insertions(+) diff --git a/pkgs/development/compilers/llvm/18/llvm/align-__linkedit-entries-to-pointer-size.patch b/pkgs/development/compilers/llvm/18/llvm/align-__linkedit-entries-to-pointer-size.patch index 379a7b1f2541..44455c79ad89 100644 --- a/pkgs/development/compilers/llvm/18/llvm/align-__linkedit-entries-to-pointer-size.patch +++ b/pkgs/development/compilers/llvm/18/llvm/align-__linkedit-entries-to-pointer-size.patch @@ -289,3 +289,658 @@ index f416796496..a4924cd1ed 100644 "Incorrect export trie size"); memcpy(Out, O.Exports.Trie.data(), O.Exports.Trie.size()); } +diff --git a/lib/ObjectYAML/MachOEmitter.cpp b/lib/ObjectYAML/MachOEmitter.cpp +index c08b389dae..f24f904ffc 100644 +--- a/lib/ObjectYAML/MachOEmitter.cpp ++++ b/lib/ObjectYAML/MachOEmitter.cpp +@@ -597,9 +597,12 @@ + } + + void MachOWriter::writeDynamicSymbolTable(raw_ostream &OS) { +- for (auto Data : Obj.LinkEdit.IndirectSymbols) +- OS.write(reinterpret_cast(&Data), +- sizeof(yaml::Hex32::BaseType)); ++ for (auto Data : Obj.LinkEdit.IndirectSymbols) { ++ uint32_t Value = Data; ++ if (Obj.IsLittleEndian != sys::IsLittleEndianHost) ++ MachO::swapStruct(Value); ++ OS.write(reinterpret_cast(&Value), sizeof(uint32_t)); ++ } + } + + void MachOWriter::writeFunctionStarts(raw_ostream &OS) { +diff --git a/test/ObjectYAML/MachO/endianness.yaml b/test/ObjectYAML/MachO/endianness.yaml +new file mode 100644 +index 0000000000..a0880e4642 +--- /dev/null ++++ b/test/ObjectYAML/MachO/endianness.yaml +@@ -0,0 +1,207 @@ ++# RUN: yaml2obj -DENDIAN=false %s | obj2yaml | FileCheck %s ++# RUN: yaml2obj -DENDIAN=true %s | obj2yaml | FileCheck %s ++ ++## Check that yaml2obj writes all endian-sensitive Mach-O fields in object ++## endianness rather than host endianness. ++ ++# CHECK: FileHeader: ++# CHECK: magic: 0xFEEDFACF ++# CHECK: cputype: 0x1000012 ++# CHECK: cpusubtype: 0x34 ++# CHECK: filetype: 0x1 ++# CHECK: ncmds: 5 ++# CHECK: sizeofcmds: 304 ++# CHECK: flags: 0x1020304 ++ ++# CHECK: LoadCommands: ++# CHECK: - cmd: LC_SEGMENT_64 ++# CHECK: cmdsize: 152 ++# CHECK: segname: __TEXT ++# CHECK: vmaddr: 2387509390608836384 ++# CHECK: vmsize: 256 ++# CHECK: fileoff: 336 ++# CHECK: filesize: 4 ++# CHECK: maxprot: 16909060 ++# CHECK: initprot: 84281096 ++# CHECK: nsects: 1 ++# CHECK: flags: 151653132 ++# CHECK: Sections: ++# CHECK: - sectname: __text ++# CHECK: segname: __TEXT ++# CHECK: addr: 0x2122232425262728 ++# CHECK: size: 4 ++# CHECK: offset: 0x150 ++# CHECK: align: 2 ++# CHECK: reloff: 0x154 ++# CHECK: nreloc: 1 ++# CHECK: flags: 0x80000400 ++# CHECK: reserved1: 0x1020304 ++# CHECK: reserved2: 0x5060708 ++# CHECK: reserved3: 0x90A0B0C ++# CHECK: content: DEADBEEF ++# CHECK: relocations: ++# CHECK: - address: 0x1020304 ++# CHECK: symbolnum: 1 ++# CHECK: pcrel: false ++# CHECK: length: 3 ++# CHECK: extern: true ++# CHECK: type: 2 ++# CHECK: scattered: false ++# CHECK: value: 0 ++# CHECK: - cmd: LC_SYMTAB ++# CHECK: cmdsize: 24 ++# CHECK: symoff: 356 ++# CHECK: nsyms: 2 ++# CHECK: stroff: 396 ++# CHECK: strsize: 8 ++# CHECK: - cmd: LC_DYSYMTAB ++# CHECK: cmdsize: 80 ++# CHECK: ilocalsym: 0 ++# CHECK: nlocalsym: 1 ++# CHECK: iextdefsym: 1 ++# CHECK: nextdefsym: 0 ++# CHECK: iundefsym: 1 ++# CHECK: nundefsym: 1 ++# CHECK: indirectsymoff: 388 ++# CHECK: nindirectsyms: 2 ++# CHECK: - cmd: LC_DATA_IN_CODE ++# CHECK: cmdsize: 16 ++# CHECK: dataoff: 348 ++# CHECK: datasize: 8 ++# CHECK: - cmd: LC_BUILD_VERSION ++# CHECK: cmdsize: 32 ++# CHECK: platform: 16909060 ++# CHECK: minos: 84281096 ++# CHECK: sdk: 151653132 ++# CHECK: ntools: 1 ++# CHECK: Tools: ++# CHECK: - tool: 219025168 ++# CHECK: version: 286397204 ++ ++# CHECK: LinkEditData: ++# CHECK: NameList: ++# CHECK: - n_strx: 1 ++# CHECK: n_type: 0x1 ++# CHECK: n_sect: 1 ++# CHECK: n_desc: 4660 ++# CHECK: n_value: 72623859790382856 ++# CHECK: - n_strx: 4 ++# CHECK: n_type: 0x1 ++# CHECK: n_sect: 0 ++# CHECK: n_desc: 22136 ++# CHECK: n_value: 1230066625199609624 ++# CHECK: StringTable: ++# CHECK: - '' ++# CHECK: - _a ++# CHECK: - _b ++# CHECK: - '' ++# CHECK: IndirectSymbols: [ 0x1, 0x40000000 ] ++# CHECK: DataInCode: ++# CHECK: - Offset: 0x1020304 ++# CHECK: Length: 1286 ++# CHECK: Kind: 0x708 ++ ++--- !mach-o ++IsLittleEndian: [[ENDIAN]] ++FileHeader: ++ magic: 0xFEEDFACF ++ cputype: 0x01000012 ++ cpusubtype: 0x00000034 ++ filetype: 0x00000001 ++ ncmds: 5 ++ sizeofcmds: 304 ++ flags: 0x01020304 ++ reserved: 0x05060708 ++LoadCommands: ++ - cmd: LC_SEGMENT_64 ++ cmdsize: 152 ++ segname: __TEXT ++ vmaddr: 0x2122232425262720 ++ vmsize: 0x0000000000000100 ++ fileoff: 336 ++ filesize: 4 ++ maxprot: 0x01020304 ++ initprot: 0x05060708 ++ nsects: 1 ++ flags: 0x090A0B0C ++ Sections: ++ - sectname: __text ++ segname: __TEXT ++ addr: 0x2122232425262728 ++ size: 4 ++ offset: 336 ++ align: 2 ++ reloff: 340 ++ nreloc: 1 ++ flags: 0x80000400 ++ reserved1: 0x01020304 ++ reserved2: 0x05060708 ++ reserved3: 0x090A0B0C ++ content: DEADBEEF ++ relocations: ++ - address: 0x01020304 ++ symbolnum: 1 ++ pcrel: false ++ length: 3 ++ extern: true ++ type: 2 ++ scattered: false ++ value: 0 ++ - cmd: LC_SYMTAB ++ cmdsize: 24 ++ symoff: 356 ++ nsyms: 2 ++ stroff: 396 ++ strsize: 8 ++ - cmd: LC_DYSYMTAB ++ cmdsize: 80 ++ ilocalsym: 0 ++ nlocalsym: 1 ++ iextdefsym: 1 ++ nextdefsym: 0 ++ iundefsym: 1 ++ nundefsym: 1 ++ tocoff: 0 ++ ntoc: 0 ++ modtaboff: 0 ++ nmodtab: 0 ++ extrefsymoff: 0 ++ nextrefsyms: 0 ++ indirectsymoff: 388 ++ nindirectsyms: 2 ++ extreloff: 0 ++ nextrel: 0 ++ locreloff: 0 ++ nlocrel: 0 ++ - cmd: LC_DATA_IN_CODE ++ cmdsize: 16 ++ dataoff: 348 ++ datasize: 8 ++ - cmd: LC_BUILD_VERSION ++ cmdsize: 32 ++ platform: 0x01020304 ++ minos: 0x05060708 ++ sdk: 0x090A0B0C ++ ntools: 1 ++ Tools: ++ - tool: 0x0D0E0F10 ++ version: 0x11121314 ++LinkEditData: ++ NameList: ++ - n_strx: 1 ++ n_type: 0x01 ++ n_sect: 1 ++ n_desc: 0x1234 ++ n_value: 0x0102030405060708 ++ - n_strx: 4 ++ n_type: 0x01 ++ n_sect: 0 ++ n_desc: 0x5678 ++ n_value: 0x1112131415161718 ++ StringTable: [ '', _a, _b, '' ] ++ IndirectSymbols: [ 0x1, 0x40000000 ] ++ DataInCode: ++ - Offset: 0x01020304 ++ Length: 0x0506 ++ Kind: 0x0708 ++... +diff --git a/test/tools/llvm-objcopy/MachO/linkedit-alignment.test b/test/tools/llvm-objcopy/MachO/linkedit-alignment.test +new file mode 100644 +index 0000000000..86f826968c +--- /dev/null ++++ b/test/tools/llvm-objcopy/MachO/linkedit-alignment.test +@@ -0,0 +1,366 @@ ++## This test verifies that all LINKEDIT entry offset and sizes are ++## aligned to the target word size. ++ ++# RUN: yaml2obj --docnum=1 %s -o %t.arm64 ++# RUN: llvm-objcopy %t.arm64 %t.arm64.copy ++# RUN: obj2yaml %t.arm64.copy > %t.arm64.yaml ++## Print the result twice: first to capture the LINKEDIT offsets and sizes, ++## then to check that the captured values are aligned. ++# RUN: cat %t.arm64.yaml %t.arm64.yaml | FileCheck %s --check-prefix=ARM64 ++ ++# ARM64: cmd: LC_SEGMENT_64 ++# ARM64: segname: __LINKEDIT ++# ARM64: fileoff: [[#ARM64_LINKEDIT_FILEOFF:]] ++# ARM64: filesize: [[#ARM64_LINKEDIT_FILESIZE:]] ++ ++# ARM64: cmd: LC_DYLD_INFO_ONLY ++# ARM64: rebase_off: [[#ARM64_REBASE_OFF:]] ++# ARM64: rebase_size: [[#ARM64_REBASE_SIZE:]] ++# ARM64: bind_off: [[#ARM64_BIND_OFF:]] ++# ARM64: bind_size: [[#ARM64_BIND_SIZE:]] ++# ARM64: weak_bind_off: [[#ARM64_WEAK_BIND_OFF:]] ++# ARM64: weak_bind_size: [[#ARM64_WEAK_BIND_SIZE:]] ++# ARM64: lazy_bind_off: [[#ARM64_LAZY_BIND_OFF:]] ++# ARM64: lazy_bind_size: [[#ARM64_LAZY_BIND_SIZE:]] ++# ARM64: export_off: [[#ARM64_EXPORT_OFF:]] ++# ARM64: export_size: [[#ARM64_EXPORT_SIZE:]] ++ ++# ARM64: cmd: LC_SYMTAB ++# ARM64: symoff: [[#ARM64_SYMOFF:]] ++# ARM64: stroff: [[#ARM64_STROFF:]] ++# ARM64: strsize: [[#ARM64_STRSIZE:]] ++ ++# ARM64: cmd: LC_DYSYMTAB ++# ARM64: indirectsymoff: [[#ARM64_INDIRECTSYMOFF:]] ++ ++# ARM64: cmd: LC_FUNCTION_STARTS ++# ARM64: dataoff: [[#ARM64_FUNCTION_STARTS_OFF:]] ++# ARM64: datasize: [[#ARM64_FUNCTION_STARTS_SIZE:]] ++ ++# ARM64: cmd: LC_DATA_IN_CODE ++# ARM64: dataoff: [[#ARM64_DATA_IN_CODE_OFF:]] ++# ARM64: datasize: [[#ARM64_DATA_IN_CODE_SIZE:]] ++ ++# ARM64: --- !mach-o ++ ++# ARM64: cmd: LC_SEGMENT_64 ++# ARM64: segname: __LINKEDIT ++# ARM64: fileoff: [[#mul(div(ARM64_LINKEDIT_FILEOFF, 8), 8)]] ++# ARM64: filesize: [[#mul(div(ARM64_LINKEDIT_FILESIZE, 8), 8)]] ++ ++# ARM64: cmd: LC_DYLD_INFO_ONLY ++# ARM64: rebase_off: [[#mul(div(ARM64_REBASE_OFF, 8), 8)]] ++# ARM64: rebase_size: [[#mul(div(ARM64_REBASE_SIZE, 8), 8)]] ++# ARM64: bind_off: [[#mul(div(ARM64_BIND_OFF, 8), 8)]] ++# ARM64: bind_size: [[#mul(div(ARM64_BIND_SIZE, 8), 8)]] ++# ARM64: weak_bind_off: [[#mul(div(ARM64_WEAK_BIND_OFF, 8), 8)]] ++# ARM64: weak_bind_size: [[#mul(div(ARM64_WEAK_BIND_SIZE, 8), 8)]] ++# ARM64: lazy_bind_off: [[#mul(div(ARM64_LAZY_BIND_OFF, 8), 8)]] ++# ARM64: lazy_bind_size: [[#mul(div(ARM64_LAZY_BIND_SIZE, 8), 8)]] ++# ARM64: export_off: [[#mul(div(ARM64_EXPORT_OFF, 8), 8)]] ++# ARM64: export_size: [[#mul(div(ARM64_EXPORT_SIZE, 8), 8)]] ++ ++# ARM64: cmd: LC_SYMTAB ++# ARM64: symoff: [[#mul(div(ARM64_SYMOFF, 8), 8)]] ++# ARM64: stroff: [[#mul(div(ARM64_STROFF, 8), 8)]] ++# ARM64: strsize: [[#mul(div(ARM64_STRSIZE, 8), 8)]] ++ ++# ARM64: cmd: LC_DYSYMTAB ++# ARM64: indirectsymoff: [[#mul(div(ARM64_INDIRECTSYMOFF, 8), 8)]] ++ ++# ARM64: cmd: LC_FUNCTION_STARTS ++# ARM64: dataoff: [[#mul(div(ARM64_FUNCTION_STARTS_OFF, 8), 8)]] ++# ARM64: datasize: [[#mul(div(ARM64_FUNCTION_STARTS_SIZE, 8), 8)]] ++ ++# ARM64: cmd: LC_DATA_IN_CODE ++# ARM64: dataoff: [[#mul(div(ARM64_DATA_IN_CODE_OFF, 8), 8)]] ++# ARM64: datasize: [[#mul(div(ARM64_DATA_IN_CODE_SIZE, 8), 8)]] ++ ++# RUN: yaml2obj --docnum=2 %s -o %t.armv7 ++# RUN: llvm-objcopy %t.armv7 %t.armv7.copy ++# RUN: obj2yaml %t.armv7.copy > %t.armv7.yaml ++# RUN: cat %t.armv7.yaml %t.armv7.yaml | FileCheck %s --check-prefix=ARMV7 ++ ++# ARMV7: cmd: LC_SEGMENT ++# ARMV7: segname: __LINKEDIT ++# ARMV7: fileoff: [[#ARMV7_LINKEDIT_FILEOFF:]] ++# ARMV7: filesize: [[#ARMV7_LINKEDIT_FILESIZE:]] ++ ++# ARMV7: cmd: LC_DYLD_INFO_ONLY ++# ARMV7: rebase_off: [[#ARMV7_REBASE_OFF:]] ++# ARMV7: rebase_size: [[#ARMV7_REBASE_SIZE:]] ++# ARMV7: bind_off: [[#ARMV7_BIND_OFF:]] ++# ARMV7: bind_size: [[#ARMV7_BIND_SIZE:]] ++# ARMV7: weak_bind_off: [[#ARMV7_WEAK_BIND_OFF:]] ++# ARMV7: weak_bind_size: [[#ARMV7_WEAK_BIND_SIZE:]] ++# ARMV7: lazy_bind_off: [[#ARMV7_LAZY_BIND_OFF:]] ++# ARMV7: lazy_bind_size: [[#ARMV7_LAZY_BIND_SIZE:]] ++# ARMV7: export_off: [[#ARMV7_EXPORT_OFF:]] ++# ARMV7: export_size: [[#ARMV7_EXPORT_SIZE:]] ++ ++# ARMV7: cmd: LC_SYMTAB ++# ARMV7: symoff: [[#ARMV7_SYMOFF:]] ++# ARMV7: stroff: [[#ARMV7_STROFF:]] ++# ARMV7: strsize: [[#ARMV7_STRSIZE:]] ++ ++# ARMV7: cmd: LC_DYSYMTAB ++# ARMV7: indirectsymoff: [[#ARMV7_INDIRECTSYMOFF:]] ++ ++# ARMV7: cmd: LC_FUNCTION_STARTS ++# ARMV7: dataoff: [[#ARMV7_FUNCTION_STARTS_OFF:]] ++# ARMV7: datasize: [[#ARMV7_FUNCTION_STARTS_SIZE:]] ++ ++# ARMV7: cmd: LC_DATA_IN_CODE ++# ARMV7: dataoff: [[#ARMV7_DATA_IN_CODE_OFF:]] ++# ARMV7: datasize: [[#ARMV7_DATA_IN_CODE_SIZE:]] ++ ++# ARMV7: --- !mach-o ++ ++# ARMV7: cmd: LC_SEGMENT ++# ARMV7: segname: __LINKEDIT ++# ARMV7: fileoff: [[#mul(div(ARMV7_LINKEDIT_FILEOFF, 4), 4)]] ++# ARMV7: filesize: [[#mul(div(ARMV7_LINKEDIT_FILESIZE, 4), 4)]] ++ ++# ARMV7: cmd: LC_DYLD_INFO_ONLY ++# ARMV7: rebase_off: [[#mul(div(ARMV7_REBASE_OFF, 4), 4)]] ++# ARMV7: rebase_size: [[#mul(div(ARMV7_REBASE_SIZE, 4), 4)]] ++# ARMV7: bind_off: [[#mul(div(ARMV7_BIND_OFF, 4), 4)]] ++# ARMV7: bind_size: [[#mul(div(ARMV7_BIND_SIZE, 4), 4)]] ++# ARMV7: weak_bind_off: [[#mul(div(ARMV7_WEAK_BIND_OFF, 4), 4)]] ++# ARMV7: weak_bind_size: [[#mul(div(ARMV7_WEAK_BIND_SIZE, 4), 4)]] ++# ARMV7: lazy_bind_off: [[#mul(div(ARMV7_LAZY_BIND_OFF, 4), 4)]] ++# ARMV7: lazy_bind_size: [[#mul(div(ARMV7_LAZY_BIND_SIZE, 4), 4)]] ++# ARMV7: export_off: [[#mul(div(ARMV7_EXPORT_OFF, 4), 4)]] ++# ARMV7: export_size: [[#mul(div(ARMV7_EXPORT_SIZE, 4), 4)]] ++ ++# ARMV7: cmd: LC_SYMTAB ++# ARMV7: symoff: [[#mul(div(ARMV7_SYMOFF, 4), 4)]] ++# ARMV7: stroff: [[#mul(div(ARMV7_STROFF, 4), 4)]] ++# ARMV7: strsize: [[#mul(div(ARMV7_STRSIZE, 4), 4)]] ++ ++# ARMV7: cmd: LC_DYSYMTAB ++# ARMV7: indirectsymoff: [[#mul(div(ARMV7_INDIRECTSYMOFF, 4), 4)]] ++ ++# ARMV7: cmd: LC_FUNCTION_STARTS ++# ARMV7: dataoff: [[#mul(div(ARMV7_FUNCTION_STARTS_OFF, 4), 4)]] ++# ARMV7: datasize: [[#mul(div(ARMV7_FUNCTION_STARTS_SIZE, 4), 4)]] ++ ++# ARMV7: cmd: LC_DATA_IN_CODE ++# ARMV7: dataoff: [[#mul(div(ARMV7_DATA_IN_CODE_OFF, 4), 4)]] ++# ARMV7: datasize: [[#mul(div(ARMV7_DATA_IN_CODE_SIZE, 4), 4)]] ++ ++--- !mach-o ++FileHeader: ++ magic: 0xFEEDFACF ++ cputype: 0x0100000C ++ cpusubtype: 0x00000000 ++ filetype: 0x00000002 ++ ncmds: 6 ++ sizeofcmds: 256 ++ flags: 0x00000085 ++ reserved: 0x00000000 ++LoadCommands: ++ - cmd: LC_SEGMENT_64 ++ cmdsize: 72 ++ segname: __LINKEDIT ++ vmaddr: 288 ++ vmsize: 256 ++ fileoff: 288 ++ filesize: 256 ++ maxprot: 1 ++ initprot: 1 ++ nsects: 0 ++ flags: 0 ++ - cmd: LC_DYLD_INFO_ONLY ++ cmdsize: 48 ++ rebase_off: 288 ++ rebase_size: 1 ++ bind_off: 289 ++ bind_size: 1 ++ weak_bind_off: 290 ++ weak_bind_size: 1 ++ lazy_bind_off: 291 ++ lazy_bind_size: 1 ++ export_off: 0 ++ export_size: 0 ++ - cmd: LC_SYMTAB ++ cmdsize: 24 ++ symoff: 304 ++ nsyms: 2 ++ stroff: 340 ++ strsize: 24 ++ - cmd: LC_DYSYMTAB ++ cmdsize: 80 ++ ilocalsym: 0 ++ nlocalsym: 0 ++ iextdefsym: 0 ++ nextdefsym: 0 ++ iundefsym: 0 ++ nundefsym: 2 ++ tocoff: 0 ++ ntoc: 0 ++ modtaboff: 0 ++ nmodtab: 0 ++ extrefsymoff: 0 ++ nextrefsyms: 0 ++ indirectsymoff: 336 ++ nindirectsyms: 1 ++ extreloff: 0 ++ nextrel: 0 ++ locreloff: 0 ++ nlocrel: 0 ++ - cmd: LC_FUNCTION_STARTS ++ cmdsize: 16 ++ dataoff: 292 ++ datasize: 1 ++ - cmd: LC_DATA_IN_CODE ++ cmdsize: 16 ++ dataoff: 293 ++ datasize: 8 ++LinkEditData: ++ RebaseOpcodes: ++ - Opcode: REBASE_OPCODE_DONE ++ Imm: 0 ++ BindOpcodes: ++ - Opcode: BIND_OPCODE_DONE ++ Imm: 0 ++ Symbol: '' ++ WeakBindOpcodes: ++ - Opcode: BIND_OPCODE_DONE ++ Imm: 0 ++ Symbol: '' ++ LazyBindOpcodes: ++ - Opcode: BIND_OPCODE_DONE ++ Imm: 0 ++ Symbol: '' ++ NameList: ++ - n_strx: 1 ++ n_type: 0x01 ++ n_sect: 0 ++ n_desc: 0 ++ n_value: 0 ++ - n_strx: 6 ++ n_type: 0x01 ++ n_sect: 0 ++ n_desc: 0 ++ n_value: 0 ++ StringTable: ++ - '' ++ - _foo ++ - _bar ++ - '' ++ IndirectSymbols: [ 0x1 ] ++ FunctionStarts: [ 0x0 ] ++ DataInCode: ++ - Offset: 0x0 ++ Length: 4 ++ Kind: 0x4 ++... ++ ++--- !mach-o ++IsLittleEndian: true ++FileHeader: ++ magic: 0xFEEDFACE ++ cputype: 0x0000000C ++ cpusubtype: 0x00000009 ++ filetype: 0x00000002 ++ ncmds: 6 ++ sizeofcmds: 240 ++ flags: 0x00000085 ++LoadCommands: ++ - cmd: LC_SEGMENT ++ cmdsize: 56 ++ segname: __LINKEDIT ++ vmaddr: 268 ++ vmsize: 128 ++ fileoff: 268 ++ filesize: 128 ++ maxprot: 1 ++ initprot: 1 ++ nsects: 0 ++ flags: 0 ++ - cmd: LC_DYLD_INFO_ONLY ++ cmdsize: 48 ++ rebase_off: 268 ++ rebase_size: 1 ++ bind_off: 269 ++ bind_size: 1 ++ weak_bind_off: 270 ++ weak_bind_size: 1 ++ lazy_bind_off: 271 ++ lazy_bind_size: 1 ++ export_off: 0 ++ export_size: 0 ++ - cmd: LC_SYMTAB ++ cmdsize: 24 ++ symoff: 284 ++ nsyms: 2 ++ stroff: 312 ++ strsize: 16 ++ - cmd: LC_DYSYMTAB ++ cmdsize: 80 ++ ilocalsym: 0 ++ nlocalsym: 0 ++ iextdefsym: 0 ++ nextdefsym: 0 ++ iundefsym: 0 ++ nundefsym: 2 ++ tocoff: 0 ++ ntoc: 0 ++ modtaboff: 0 ++ nmodtab: 0 ++ extrefsymoff: 0 ++ nextrefsyms: 0 ++ indirectsymoff: 308 ++ nindirectsyms: 1 ++ extreloff: 0 ++ nextrel: 0 ++ locreloff: 0 ++ nlocrel: 0 ++ - cmd: LC_FUNCTION_STARTS ++ cmdsize: 16 ++ dataoff: 272 ++ datasize: 4 ++ - cmd: LC_DATA_IN_CODE ++ cmdsize: 16 ++ dataoff: 276 ++ datasize: 8 ++LinkEditData: ++ RebaseOpcodes: ++ - Opcode: REBASE_OPCODE_DONE ++ Imm: 0 ++ BindOpcodes: ++ - Opcode: BIND_OPCODE_DONE ++ Imm: 0 ++ Symbol: '' ++ WeakBindOpcodes: ++ - Opcode: BIND_OPCODE_DONE ++ Imm: 0 ++ Symbol: '' ++ LazyBindOpcodes: ++ - Opcode: BIND_OPCODE_DONE ++ Imm: 0 ++ Symbol: '' ++ NameList: ++ - n_strx: 1 ++ n_type: 0x01 ++ n_sect: 0 ++ n_desc: 0 ++ n_value: 0 ++ - n_strx: 6 ++ n_type: 0x01 ++ n_sect: 0 ++ n_desc: 0 ++ n_value: 0 ++ StringTable: ++ - '' ++ - _foo ++ - _bar ++ - '' ++ IndirectSymbols: [ 0x1 ] ++ FunctionStarts: [ 0x0 ] ++ DataInCode: ++ - Offset: 0x0 ++ Length: 4 ++ Kind: 0x4 ++... +diff --git a/test/tools/llvm-objcopy/MachO/linkedit-order-1.test b/test/tools/llvm-objcopy/MachO/linkedit-order-1.test +index 4915f344c1..b7ee56ed47 100644 +--- a/test/tools/llvm-objcopy/MachO/linkedit-order-1.test ++++ b/test/tools/llvm-objcopy/MachO/linkedit-order-1.test +@@ -51,7 +51,8 @@ + # CHECK: --- !mach-o + + # CHECK: cmd: LC_SYMTAB +-# CHECK: stroff: [[#SYMTAB_STROFF: DYSYMTAB_INDIRECTSYMOFF + mul(DYSYMTAB_NINDIRECTSYMS, 4)]] ++## LINKEDIT entries are aligned to the target word size. ++# CHECK: stroff: [[#SYMTAB_STROFF: DYSYMTAB_INDIRECTSYMOFF + mul(div(mul(DYSYMTAB_NINDIRECTSYMS, 4) + 4, 8), 8)]] + # CHECK: strsize: [[#SYMTAB_STRSIZE:]] + + # CHECK: cmd: LC_CODE_SIGNATURE +diff --git a/test/tools/llvm-objcopy/MachO/linkedit-order-2.test b/test/tools/llvm-objcopy/MachO/linkedit-order-2.test +index 0c5521ece0..dfbb7277a4 100644 +--- a/test/tools/llvm-objcopy/MachO/linkedit-order-2.test ++++ b/test/tools/llvm-objcopy/MachO/linkedit-order-2.test +@@ -50,7 +50,8 @@ + # CHECK: --- !mach-o + + # CHECK: cmd: LC_SYMTAB +-# CHECK: stroff: [[#SYMTAB_STROFF: DYSYMTAB_INDIRECTSYMOFF + mul(DYSYMTAB_NINDIRECTSYMS, 4)]] ++## LINKEDIT entries are aligned to the target word size. ++# CHECK: stroff: [[#SYMTAB_STROFF: DYSYMTAB_INDIRECTSYMOFF + mul(div(mul(DYSYMTAB_NINDIRECTSYMS, 4) + 4, 8), 8)]] + # CHECK: strsize: [[#SYMTAB_STRSIZE:]] + + # CHECK: cmd: LC_CODE_SIGNATURE +diff --git a/test/tools/llvm-objcopy/MachO/symbol-table.test b/test/tools/llvm-objcopy/MachO/symbol-table.test +index 7e0e1421c0..a95c2ac7a3 100644 +--- a/test/tools/llvm-objcopy/MachO/symbol-table.test ++++ b/test/tools/llvm-objcopy/MachO/symbol-table.test +@@ -301,7 +301,7 @@ + vmaddr: 4294975488 + vmsize: 4096 + fileoff: 8192 +- filesize: 508 ++ filesize: 512 + maxprot: 1 + initprot: 1 + nsects: 0 +@@ -310,7 +310,7 @@ + cmdsize: 24 + symoff: 8192 + nsyms: 18 +- stroff: 8484 ++ stroff: 8488 + strsize: 216 + - cmd: LC_DYSYMTAB + cmdsize: 80 diff --git a/pkgs/development/compilers/llvm/22/llvm/align-__linkedit-entries-to-pointer-size.patch b/pkgs/development/compilers/llvm/22/llvm/align-__linkedit-entries-to-pointer-size.patch index de467b61e13f..2b5b406eda14 100644 --- a/pkgs/development/compilers/llvm/22/llvm/align-__linkedit-entries-to-pointer-size.patch +++ b/pkgs/development/compilers/llvm/22/llvm/align-__linkedit-entries-to-pointer-size.patch @@ -289,3 +289,658 @@ index 07514dd2f8..d83a82cee7 100644 "Incorrect export trie size"); memcpy(Out, O.Exports.Trie.data(), O.Exports.Trie.size()); } +diff --git a/lib/ObjectYAML/MachOEmitter.cpp b/lib/ObjectYAML/MachOEmitter.cpp +index a4d17dfe1e..cf7202c7da 100644 +--- a/lib/ObjectYAML/MachOEmitter.cpp ++++ b/lib/ObjectYAML/MachOEmitter.cpp +@@ -625,9 +625,12 @@ + } + + void MachOWriter::writeDynamicSymbolTable(raw_ostream &OS) { +- for (auto Data : Obj.LinkEdit.IndirectSymbols) +- OS.write(reinterpret_cast(&Data), +- sizeof(yaml::Hex32::BaseType)); ++ for (auto Data : Obj.LinkEdit.IndirectSymbols) { ++ uint32_t Value = Data; ++ if (Obj.IsLittleEndian != sys::IsLittleEndianHost) ++ MachO::swapStruct(Value); ++ OS.write(reinterpret_cast(&Value), sizeof(uint32_t)); ++ } + } + + void MachOWriter::writeFunctionStarts(raw_ostream &OS) { +diff --git a/test/ObjectYAML/MachO/endianness.yaml b/test/ObjectYAML/MachO/endianness.yaml +new file mode 100644 +index 0000000000..a0880e4642 +--- /dev/null ++++ b/test/ObjectYAML/MachO/endianness.yaml +@@ -0,0 +1,207 @@ ++# RUN: yaml2obj -DENDIAN=false %s | obj2yaml | FileCheck %s ++# RUN: yaml2obj -DENDIAN=true %s | obj2yaml | FileCheck %s ++ ++## Check that yaml2obj writes all endian-sensitive Mach-O fields in object ++## endianness rather than host endianness. ++ ++# CHECK: FileHeader: ++# CHECK: magic: 0xFEEDFACF ++# CHECK: cputype: 0x1000012 ++# CHECK: cpusubtype: 0x34 ++# CHECK: filetype: 0x1 ++# CHECK: ncmds: 5 ++# CHECK: sizeofcmds: 304 ++# CHECK: flags: 0x1020304 ++ ++# CHECK: LoadCommands: ++# CHECK: - cmd: LC_SEGMENT_64 ++# CHECK: cmdsize: 152 ++# CHECK: segname: __TEXT ++# CHECK: vmaddr: 2387509390608836384 ++# CHECK: vmsize: 256 ++# CHECK: fileoff: 336 ++# CHECK: filesize: 4 ++# CHECK: maxprot: 16909060 ++# CHECK: initprot: 84281096 ++# CHECK: nsects: 1 ++# CHECK: flags: 151653132 ++# CHECK: Sections: ++# CHECK: - sectname: __text ++# CHECK: segname: __TEXT ++# CHECK: addr: 0x2122232425262728 ++# CHECK: size: 4 ++# CHECK: offset: 0x150 ++# CHECK: align: 2 ++# CHECK: reloff: 0x154 ++# CHECK: nreloc: 1 ++# CHECK: flags: 0x80000400 ++# CHECK: reserved1: 0x1020304 ++# CHECK: reserved2: 0x5060708 ++# CHECK: reserved3: 0x90A0B0C ++# CHECK: content: DEADBEEF ++# CHECK: relocations: ++# CHECK: - address: 0x1020304 ++# CHECK: symbolnum: 1 ++# CHECK: pcrel: false ++# CHECK: length: 3 ++# CHECK: extern: true ++# CHECK: type: 2 ++# CHECK: scattered: false ++# CHECK: value: 0 ++# CHECK: - cmd: LC_SYMTAB ++# CHECK: cmdsize: 24 ++# CHECK: symoff: 356 ++# CHECK: nsyms: 2 ++# CHECK: stroff: 396 ++# CHECK: strsize: 8 ++# CHECK: - cmd: LC_DYSYMTAB ++# CHECK: cmdsize: 80 ++# CHECK: ilocalsym: 0 ++# CHECK: nlocalsym: 1 ++# CHECK: iextdefsym: 1 ++# CHECK: nextdefsym: 0 ++# CHECK: iundefsym: 1 ++# CHECK: nundefsym: 1 ++# CHECK: indirectsymoff: 388 ++# CHECK: nindirectsyms: 2 ++# CHECK: - cmd: LC_DATA_IN_CODE ++# CHECK: cmdsize: 16 ++# CHECK: dataoff: 348 ++# CHECK: datasize: 8 ++# CHECK: - cmd: LC_BUILD_VERSION ++# CHECK: cmdsize: 32 ++# CHECK: platform: 16909060 ++# CHECK: minos: 84281096 ++# CHECK: sdk: 151653132 ++# CHECK: ntools: 1 ++# CHECK: Tools: ++# CHECK: - tool: 219025168 ++# CHECK: version: 286397204 ++ ++# CHECK: LinkEditData: ++# CHECK: NameList: ++# CHECK: - n_strx: 1 ++# CHECK: n_type: 0x1 ++# CHECK: n_sect: 1 ++# CHECK: n_desc: 4660 ++# CHECK: n_value: 72623859790382856 ++# CHECK: - n_strx: 4 ++# CHECK: n_type: 0x1 ++# CHECK: n_sect: 0 ++# CHECK: n_desc: 22136 ++# CHECK: n_value: 1230066625199609624 ++# CHECK: StringTable: ++# CHECK: - '' ++# CHECK: - _a ++# CHECK: - _b ++# CHECK: - '' ++# CHECK: IndirectSymbols: [ 0x1, 0x40000000 ] ++# CHECK: DataInCode: ++# CHECK: - Offset: 0x1020304 ++# CHECK: Length: 1286 ++# CHECK: Kind: 0x708 ++ ++--- !mach-o ++IsLittleEndian: [[ENDIAN]] ++FileHeader: ++ magic: 0xFEEDFACF ++ cputype: 0x01000012 ++ cpusubtype: 0x00000034 ++ filetype: 0x00000001 ++ ncmds: 5 ++ sizeofcmds: 304 ++ flags: 0x01020304 ++ reserved: 0x05060708 ++LoadCommands: ++ - cmd: LC_SEGMENT_64 ++ cmdsize: 152 ++ segname: __TEXT ++ vmaddr: 0x2122232425262720 ++ vmsize: 0x0000000000000100 ++ fileoff: 336 ++ filesize: 4 ++ maxprot: 0x01020304 ++ initprot: 0x05060708 ++ nsects: 1 ++ flags: 0x090A0B0C ++ Sections: ++ - sectname: __text ++ segname: __TEXT ++ addr: 0x2122232425262728 ++ size: 4 ++ offset: 336 ++ align: 2 ++ reloff: 340 ++ nreloc: 1 ++ flags: 0x80000400 ++ reserved1: 0x01020304 ++ reserved2: 0x05060708 ++ reserved3: 0x090A0B0C ++ content: DEADBEEF ++ relocations: ++ - address: 0x01020304 ++ symbolnum: 1 ++ pcrel: false ++ length: 3 ++ extern: true ++ type: 2 ++ scattered: false ++ value: 0 ++ - cmd: LC_SYMTAB ++ cmdsize: 24 ++ symoff: 356 ++ nsyms: 2 ++ stroff: 396 ++ strsize: 8 ++ - cmd: LC_DYSYMTAB ++ cmdsize: 80 ++ ilocalsym: 0 ++ nlocalsym: 1 ++ iextdefsym: 1 ++ nextdefsym: 0 ++ iundefsym: 1 ++ nundefsym: 1 ++ tocoff: 0 ++ ntoc: 0 ++ modtaboff: 0 ++ nmodtab: 0 ++ extrefsymoff: 0 ++ nextrefsyms: 0 ++ indirectsymoff: 388 ++ nindirectsyms: 2 ++ extreloff: 0 ++ nextrel: 0 ++ locreloff: 0 ++ nlocrel: 0 ++ - cmd: LC_DATA_IN_CODE ++ cmdsize: 16 ++ dataoff: 348 ++ datasize: 8 ++ - cmd: LC_BUILD_VERSION ++ cmdsize: 32 ++ platform: 0x01020304 ++ minos: 0x05060708 ++ sdk: 0x090A0B0C ++ ntools: 1 ++ Tools: ++ - tool: 0x0D0E0F10 ++ version: 0x11121314 ++LinkEditData: ++ NameList: ++ - n_strx: 1 ++ n_type: 0x01 ++ n_sect: 1 ++ n_desc: 0x1234 ++ n_value: 0x0102030405060708 ++ - n_strx: 4 ++ n_type: 0x01 ++ n_sect: 0 ++ n_desc: 0x5678 ++ n_value: 0x1112131415161718 ++ StringTable: [ '', _a, _b, '' ] ++ IndirectSymbols: [ 0x1, 0x40000000 ] ++ DataInCode: ++ - Offset: 0x01020304 ++ Length: 0x0506 ++ Kind: 0x0708 ++... +diff --git a/test/tools/llvm-objcopy/MachO/linkedit-alignment.test b/test/tools/llvm-objcopy/MachO/linkedit-alignment.test +new file mode 100644 +index 0000000000..86f826968c +--- /dev/null ++++ b/test/tools/llvm-objcopy/MachO/linkedit-alignment.test +@@ -0,0 +1,366 @@ ++## This test verifies that all LINKEDIT entry offset and sizes are ++## aligned to the target word size. ++ ++# RUN: yaml2obj --docnum=1 %s -o %t.arm64 ++# RUN: llvm-objcopy %t.arm64 %t.arm64.copy ++# RUN: obj2yaml %t.arm64.copy > %t.arm64.yaml ++## Print the result twice: first to capture the LINKEDIT offsets and sizes, ++## then to check that the captured values are aligned. ++# RUN: cat %t.arm64.yaml %t.arm64.yaml | FileCheck %s --check-prefix=ARM64 ++ ++# ARM64: cmd: LC_SEGMENT_64 ++# ARM64: segname: __LINKEDIT ++# ARM64: fileoff: [[#ARM64_LINKEDIT_FILEOFF:]] ++# ARM64: filesize: [[#ARM64_LINKEDIT_FILESIZE:]] ++ ++# ARM64: cmd: LC_DYLD_INFO_ONLY ++# ARM64: rebase_off: [[#ARM64_REBASE_OFF:]] ++# ARM64: rebase_size: [[#ARM64_REBASE_SIZE:]] ++# ARM64: bind_off: [[#ARM64_BIND_OFF:]] ++# ARM64: bind_size: [[#ARM64_BIND_SIZE:]] ++# ARM64: weak_bind_off: [[#ARM64_WEAK_BIND_OFF:]] ++# ARM64: weak_bind_size: [[#ARM64_WEAK_BIND_SIZE:]] ++# ARM64: lazy_bind_off: [[#ARM64_LAZY_BIND_OFF:]] ++# ARM64: lazy_bind_size: [[#ARM64_LAZY_BIND_SIZE:]] ++# ARM64: export_off: [[#ARM64_EXPORT_OFF:]] ++# ARM64: export_size: [[#ARM64_EXPORT_SIZE:]] ++ ++# ARM64: cmd: LC_SYMTAB ++# ARM64: symoff: [[#ARM64_SYMOFF:]] ++# ARM64: stroff: [[#ARM64_STROFF:]] ++# ARM64: strsize: [[#ARM64_STRSIZE:]] ++ ++# ARM64: cmd: LC_DYSYMTAB ++# ARM64: indirectsymoff: [[#ARM64_INDIRECTSYMOFF:]] ++ ++# ARM64: cmd: LC_FUNCTION_STARTS ++# ARM64: dataoff: [[#ARM64_FUNCTION_STARTS_OFF:]] ++# ARM64: datasize: [[#ARM64_FUNCTION_STARTS_SIZE:]] ++ ++# ARM64: cmd: LC_DATA_IN_CODE ++# ARM64: dataoff: [[#ARM64_DATA_IN_CODE_OFF:]] ++# ARM64: datasize: [[#ARM64_DATA_IN_CODE_SIZE:]] ++ ++# ARM64: --- !mach-o ++ ++# ARM64: cmd: LC_SEGMENT_64 ++# ARM64: segname: __LINKEDIT ++# ARM64: fileoff: [[#mul(div(ARM64_LINKEDIT_FILEOFF, 8), 8)]] ++# ARM64: filesize: [[#mul(div(ARM64_LINKEDIT_FILESIZE, 8), 8)]] ++ ++# ARM64: cmd: LC_DYLD_INFO_ONLY ++# ARM64: rebase_off: [[#mul(div(ARM64_REBASE_OFF, 8), 8)]] ++# ARM64: rebase_size: [[#mul(div(ARM64_REBASE_SIZE, 8), 8)]] ++# ARM64: bind_off: [[#mul(div(ARM64_BIND_OFF, 8), 8)]] ++# ARM64: bind_size: [[#mul(div(ARM64_BIND_SIZE, 8), 8)]] ++# ARM64: weak_bind_off: [[#mul(div(ARM64_WEAK_BIND_OFF, 8), 8)]] ++# ARM64: weak_bind_size: [[#mul(div(ARM64_WEAK_BIND_SIZE, 8), 8)]] ++# ARM64: lazy_bind_off: [[#mul(div(ARM64_LAZY_BIND_OFF, 8), 8)]] ++# ARM64: lazy_bind_size: [[#mul(div(ARM64_LAZY_BIND_SIZE, 8), 8)]] ++# ARM64: export_off: [[#mul(div(ARM64_EXPORT_OFF, 8), 8)]] ++# ARM64: export_size: [[#mul(div(ARM64_EXPORT_SIZE, 8), 8)]] ++ ++# ARM64: cmd: LC_SYMTAB ++# ARM64: symoff: [[#mul(div(ARM64_SYMOFF, 8), 8)]] ++# ARM64: stroff: [[#mul(div(ARM64_STROFF, 8), 8)]] ++# ARM64: strsize: [[#mul(div(ARM64_STRSIZE, 8), 8)]] ++ ++# ARM64: cmd: LC_DYSYMTAB ++# ARM64: indirectsymoff: [[#mul(div(ARM64_INDIRECTSYMOFF, 8), 8)]] ++ ++# ARM64: cmd: LC_FUNCTION_STARTS ++# ARM64: dataoff: [[#mul(div(ARM64_FUNCTION_STARTS_OFF, 8), 8)]] ++# ARM64: datasize: [[#mul(div(ARM64_FUNCTION_STARTS_SIZE, 8), 8)]] ++ ++# ARM64: cmd: LC_DATA_IN_CODE ++# ARM64: dataoff: [[#mul(div(ARM64_DATA_IN_CODE_OFF, 8), 8)]] ++# ARM64: datasize: [[#mul(div(ARM64_DATA_IN_CODE_SIZE, 8), 8)]] ++ ++# RUN: yaml2obj --docnum=2 %s -o %t.armv7 ++# RUN: llvm-objcopy %t.armv7 %t.armv7.copy ++# RUN: obj2yaml %t.armv7.copy > %t.armv7.yaml ++# RUN: cat %t.armv7.yaml %t.armv7.yaml | FileCheck %s --check-prefix=ARMV7 ++ ++# ARMV7: cmd: LC_SEGMENT ++# ARMV7: segname: __LINKEDIT ++# ARMV7: fileoff: [[#ARMV7_LINKEDIT_FILEOFF:]] ++# ARMV7: filesize: [[#ARMV7_LINKEDIT_FILESIZE:]] ++ ++# ARMV7: cmd: LC_DYLD_INFO_ONLY ++# ARMV7: rebase_off: [[#ARMV7_REBASE_OFF:]] ++# ARMV7: rebase_size: [[#ARMV7_REBASE_SIZE:]] ++# ARMV7: bind_off: [[#ARMV7_BIND_OFF:]] ++# ARMV7: bind_size: [[#ARMV7_BIND_SIZE:]] ++# ARMV7: weak_bind_off: [[#ARMV7_WEAK_BIND_OFF:]] ++# ARMV7: weak_bind_size: [[#ARMV7_WEAK_BIND_SIZE:]] ++# ARMV7: lazy_bind_off: [[#ARMV7_LAZY_BIND_OFF:]] ++# ARMV7: lazy_bind_size: [[#ARMV7_LAZY_BIND_SIZE:]] ++# ARMV7: export_off: [[#ARMV7_EXPORT_OFF:]] ++# ARMV7: export_size: [[#ARMV7_EXPORT_SIZE:]] ++ ++# ARMV7: cmd: LC_SYMTAB ++# ARMV7: symoff: [[#ARMV7_SYMOFF:]] ++# ARMV7: stroff: [[#ARMV7_STROFF:]] ++# ARMV7: strsize: [[#ARMV7_STRSIZE:]] ++ ++# ARMV7: cmd: LC_DYSYMTAB ++# ARMV7: indirectsymoff: [[#ARMV7_INDIRECTSYMOFF:]] ++ ++# ARMV7: cmd: LC_FUNCTION_STARTS ++# ARMV7: dataoff: [[#ARMV7_FUNCTION_STARTS_OFF:]] ++# ARMV7: datasize: [[#ARMV7_FUNCTION_STARTS_SIZE:]] ++ ++# ARMV7: cmd: LC_DATA_IN_CODE ++# ARMV7: dataoff: [[#ARMV7_DATA_IN_CODE_OFF:]] ++# ARMV7: datasize: [[#ARMV7_DATA_IN_CODE_SIZE:]] ++ ++# ARMV7: --- !mach-o ++ ++# ARMV7: cmd: LC_SEGMENT ++# ARMV7: segname: __LINKEDIT ++# ARMV7: fileoff: [[#mul(div(ARMV7_LINKEDIT_FILEOFF, 4), 4)]] ++# ARMV7: filesize: [[#mul(div(ARMV7_LINKEDIT_FILESIZE, 4), 4)]] ++ ++# ARMV7: cmd: LC_DYLD_INFO_ONLY ++# ARMV7: rebase_off: [[#mul(div(ARMV7_REBASE_OFF, 4), 4)]] ++# ARMV7: rebase_size: [[#mul(div(ARMV7_REBASE_SIZE, 4), 4)]] ++# ARMV7: bind_off: [[#mul(div(ARMV7_BIND_OFF, 4), 4)]] ++# ARMV7: bind_size: [[#mul(div(ARMV7_BIND_SIZE, 4), 4)]] ++# ARMV7: weak_bind_off: [[#mul(div(ARMV7_WEAK_BIND_OFF, 4), 4)]] ++# ARMV7: weak_bind_size: [[#mul(div(ARMV7_WEAK_BIND_SIZE, 4), 4)]] ++# ARMV7: lazy_bind_off: [[#mul(div(ARMV7_LAZY_BIND_OFF, 4), 4)]] ++# ARMV7: lazy_bind_size: [[#mul(div(ARMV7_LAZY_BIND_SIZE, 4), 4)]] ++# ARMV7: export_off: [[#mul(div(ARMV7_EXPORT_OFF, 4), 4)]] ++# ARMV7: export_size: [[#mul(div(ARMV7_EXPORT_SIZE, 4), 4)]] ++ ++# ARMV7: cmd: LC_SYMTAB ++# ARMV7: symoff: [[#mul(div(ARMV7_SYMOFF, 4), 4)]] ++# ARMV7: stroff: [[#mul(div(ARMV7_STROFF, 4), 4)]] ++# ARMV7: strsize: [[#mul(div(ARMV7_STRSIZE, 4), 4)]] ++ ++# ARMV7: cmd: LC_DYSYMTAB ++# ARMV7: indirectsymoff: [[#mul(div(ARMV7_INDIRECTSYMOFF, 4), 4)]] ++ ++# ARMV7: cmd: LC_FUNCTION_STARTS ++# ARMV7: dataoff: [[#mul(div(ARMV7_FUNCTION_STARTS_OFF, 4), 4)]] ++# ARMV7: datasize: [[#mul(div(ARMV7_FUNCTION_STARTS_SIZE, 4), 4)]] ++ ++# ARMV7: cmd: LC_DATA_IN_CODE ++# ARMV7: dataoff: [[#mul(div(ARMV7_DATA_IN_CODE_OFF, 4), 4)]] ++# ARMV7: datasize: [[#mul(div(ARMV7_DATA_IN_CODE_SIZE, 4), 4)]] ++ ++--- !mach-o ++FileHeader: ++ magic: 0xFEEDFACF ++ cputype: 0x0100000C ++ cpusubtype: 0x00000000 ++ filetype: 0x00000002 ++ ncmds: 6 ++ sizeofcmds: 256 ++ flags: 0x00000085 ++ reserved: 0x00000000 ++LoadCommands: ++ - cmd: LC_SEGMENT_64 ++ cmdsize: 72 ++ segname: __LINKEDIT ++ vmaddr: 288 ++ vmsize: 256 ++ fileoff: 288 ++ filesize: 256 ++ maxprot: 1 ++ initprot: 1 ++ nsects: 0 ++ flags: 0 ++ - cmd: LC_DYLD_INFO_ONLY ++ cmdsize: 48 ++ rebase_off: 288 ++ rebase_size: 1 ++ bind_off: 289 ++ bind_size: 1 ++ weak_bind_off: 290 ++ weak_bind_size: 1 ++ lazy_bind_off: 291 ++ lazy_bind_size: 1 ++ export_off: 0 ++ export_size: 0 ++ - cmd: LC_SYMTAB ++ cmdsize: 24 ++ symoff: 304 ++ nsyms: 2 ++ stroff: 340 ++ strsize: 24 ++ - cmd: LC_DYSYMTAB ++ cmdsize: 80 ++ ilocalsym: 0 ++ nlocalsym: 0 ++ iextdefsym: 0 ++ nextdefsym: 0 ++ iundefsym: 0 ++ nundefsym: 2 ++ tocoff: 0 ++ ntoc: 0 ++ modtaboff: 0 ++ nmodtab: 0 ++ extrefsymoff: 0 ++ nextrefsyms: 0 ++ indirectsymoff: 336 ++ nindirectsyms: 1 ++ extreloff: 0 ++ nextrel: 0 ++ locreloff: 0 ++ nlocrel: 0 ++ - cmd: LC_FUNCTION_STARTS ++ cmdsize: 16 ++ dataoff: 292 ++ datasize: 1 ++ - cmd: LC_DATA_IN_CODE ++ cmdsize: 16 ++ dataoff: 293 ++ datasize: 8 ++LinkEditData: ++ RebaseOpcodes: ++ - Opcode: REBASE_OPCODE_DONE ++ Imm: 0 ++ BindOpcodes: ++ - Opcode: BIND_OPCODE_DONE ++ Imm: 0 ++ Symbol: '' ++ WeakBindOpcodes: ++ - Opcode: BIND_OPCODE_DONE ++ Imm: 0 ++ Symbol: '' ++ LazyBindOpcodes: ++ - Opcode: BIND_OPCODE_DONE ++ Imm: 0 ++ Symbol: '' ++ NameList: ++ - n_strx: 1 ++ n_type: 0x01 ++ n_sect: 0 ++ n_desc: 0 ++ n_value: 0 ++ - n_strx: 6 ++ n_type: 0x01 ++ n_sect: 0 ++ n_desc: 0 ++ n_value: 0 ++ StringTable: ++ - '' ++ - _foo ++ - _bar ++ - '' ++ IndirectSymbols: [ 0x1 ] ++ FunctionStarts: [ 0x0 ] ++ DataInCode: ++ - Offset: 0x0 ++ Length: 4 ++ Kind: 0x4 ++... ++ ++--- !mach-o ++IsLittleEndian: true ++FileHeader: ++ magic: 0xFEEDFACE ++ cputype: 0x0000000C ++ cpusubtype: 0x00000009 ++ filetype: 0x00000002 ++ ncmds: 6 ++ sizeofcmds: 240 ++ flags: 0x00000085 ++LoadCommands: ++ - cmd: LC_SEGMENT ++ cmdsize: 56 ++ segname: __LINKEDIT ++ vmaddr: 268 ++ vmsize: 128 ++ fileoff: 268 ++ filesize: 128 ++ maxprot: 1 ++ initprot: 1 ++ nsects: 0 ++ flags: 0 ++ - cmd: LC_DYLD_INFO_ONLY ++ cmdsize: 48 ++ rebase_off: 268 ++ rebase_size: 1 ++ bind_off: 269 ++ bind_size: 1 ++ weak_bind_off: 270 ++ weak_bind_size: 1 ++ lazy_bind_off: 271 ++ lazy_bind_size: 1 ++ export_off: 0 ++ export_size: 0 ++ - cmd: LC_SYMTAB ++ cmdsize: 24 ++ symoff: 284 ++ nsyms: 2 ++ stroff: 312 ++ strsize: 16 ++ - cmd: LC_DYSYMTAB ++ cmdsize: 80 ++ ilocalsym: 0 ++ nlocalsym: 0 ++ iextdefsym: 0 ++ nextdefsym: 0 ++ iundefsym: 0 ++ nundefsym: 2 ++ tocoff: 0 ++ ntoc: 0 ++ modtaboff: 0 ++ nmodtab: 0 ++ extrefsymoff: 0 ++ nextrefsyms: 0 ++ indirectsymoff: 308 ++ nindirectsyms: 1 ++ extreloff: 0 ++ nextrel: 0 ++ locreloff: 0 ++ nlocrel: 0 ++ - cmd: LC_FUNCTION_STARTS ++ cmdsize: 16 ++ dataoff: 272 ++ datasize: 4 ++ - cmd: LC_DATA_IN_CODE ++ cmdsize: 16 ++ dataoff: 276 ++ datasize: 8 ++LinkEditData: ++ RebaseOpcodes: ++ - Opcode: REBASE_OPCODE_DONE ++ Imm: 0 ++ BindOpcodes: ++ - Opcode: BIND_OPCODE_DONE ++ Imm: 0 ++ Symbol: '' ++ WeakBindOpcodes: ++ - Opcode: BIND_OPCODE_DONE ++ Imm: 0 ++ Symbol: '' ++ LazyBindOpcodes: ++ - Opcode: BIND_OPCODE_DONE ++ Imm: 0 ++ Symbol: '' ++ NameList: ++ - n_strx: 1 ++ n_type: 0x01 ++ n_sect: 0 ++ n_desc: 0 ++ n_value: 0 ++ - n_strx: 6 ++ n_type: 0x01 ++ n_sect: 0 ++ n_desc: 0 ++ n_value: 0 ++ StringTable: ++ - '' ++ - _foo ++ - _bar ++ - '' ++ IndirectSymbols: [ 0x1 ] ++ FunctionStarts: [ 0x0 ] ++ DataInCode: ++ - Offset: 0x0 ++ Length: 4 ++ Kind: 0x4 ++... +diff --git a/test/tools/llvm-objcopy/MachO/linkedit-order-1.test b/test/tools/llvm-objcopy/MachO/linkedit-order-1.test +index 4915f344c1..b7ee56ed47 100644 +--- a/test/tools/llvm-objcopy/MachO/linkedit-order-1.test ++++ b/test/tools/llvm-objcopy/MachO/linkedit-order-1.test +@@ -51,7 +51,8 @@ + # CHECK: --- !mach-o + + # CHECK: cmd: LC_SYMTAB +-# CHECK: stroff: [[#SYMTAB_STROFF: DYSYMTAB_INDIRECTSYMOFF + mul(DYSYMTAB_NINDIRECTSYMS, 4)]] ++## LINKEDIT entries are aligned to the target word size. ++# CHECK: stroff: [[#SYMTAB_STROFF: DYSYMTAB_INDIRECTSYMOFF + mul(div(mul(DYSYMTAB_NINDIRECTSYMS, 4) + 4, 8), 8)]] + # CHECK: strsize: [[#SYMTAB_STRSIZE:]] + + # CHECK: cmd: LC_CODE_SIGNATURE +diff --git a/test/tools/llvm-objcopy/MachO/linkedit-order-2.test b/test/tools/llvm-objcopy/MachO/linkedit-order-2.test +index 0c5521ece0..dfbb7277a4 100644 +--- a/test/tools/llvm-objcopy/MachO/linkedit-order-2.test ++++ b/test/tools/llvm-objcopy/MachO/linkedit-order-2.test +@@ -50,7 +50,8 @@ + # CHECK: --- !mach-o + + # CHECK: cmd: LC_SYMTAB +-# CHECK: stroff: [[#SYMTAB_STROFF: DYSYMTAB_INDIRECTSYMOFF + mul(DYSYMTAB_NINDIRECTSYMS, 4)]] ++## LINKEDIT entries are aligned to the target word size. ++# CHECK: stroff: [[#SYMTAB_STROFF: DYSYMTAB_INDIRECTSYMOFF + mul(div(mul(DYSYMTAB_NINDIRECTSYMS, 4) + 4, 8), 8)]] + # CHECK: strsize: [[#SYMTAB_STRSIZE:]] + + # CHECK: cmd: LC_CODE_SIGNATURE +diff --git a/test/tools/llvm-objcopy/MachO/symbol-table.test b/test/tools/llvm-objcopy/MachO/symbol-table.test +index 7e0e1421c0..a95c2ac7a3 100644 +--- a/test/tools/llvm-objcopy/MachO/symbol-table.test ++++ b/test/tools/llvm-objcopy/MachO/symbol-table.test +@@ -301,7 +301,7 @@ + vmaddr: 4294975488 + vmsize: 4096 + fileoff: 8192 +- filesize: 508 ++ filesize: 512 + maxprot: 1 + initprot: 1 + nsects: 0 +@@ -310,7 +310,7 @@ + cmdsize: 24 + symoff: 8192 + nsyms: 18 +- stroff: 8484 ++ stroff: 8488 + strsize: 216 + - cmd: LC_DYSYMTAB + cmdsize: 80 From 53bff29fdb0cb5a20450ff94959bad2f01cff540 Mon Sep 17 00:00:00 2001 From: Stefan Haan Date: Sun, 11 Oct 2026 17:31:59 +0200 Subject: [PATCH 0268/2378] python3Packages.nest-asyncio2: 1.7.2 -> 1.7.4 Changelog: https://github.com/Chaoses-Ib/nest-asyncio2/releases/tag/v1.7.4 --- pkgs/development/python-modules/nest-asyncio2/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/nest-asyncio2/default.nix b/pkgs/development/python-modules/nest-asyncio2/default.nix index f71ceef035da..9af46ba5b5cf 100644 --- a/pkgs/development/python-modules/nest-asyncio2/default.nix +++ b/pkgs/development/python-modules/nest-asyncio2/default.nix @@ -9,7 +9,7 @@ buildPythonPackage (finalAttrs: { pname = "nest-asyncio2"; - version = "1.7.2"; + version = "1.7.4"; pyproject = true; __structuredAttrs = true; @@ -17,7 +17,7 @@ buildPythonPackage (finalAttrs: { owner = "Chaoses-Ib"; repo = "nest-asyncio2"; tag = "v${finalAttrs.version}"; - hash = "sha256-T7jUa4odhJZ1lpJjVmPrqur8ro2Iqccwf4khEb4ArGs="; + hash = "sha256-qNetaOdR4icUXWncat4vITwnjmx5MhAgUz0t61Bvztc="; }; build-system = [ From 6ca1eb8f4a16baf0b03243ab3130e0dfcaa17201 Mon Sep 17 00:00:00 2001 From: Stefan Haan Date: Sun, 11 Oct 2026 18:54:28 +0200 Subject: [PATCH 0269/2378] python3Packages.jupyter-builder: 1.2.2 -> 1.2.3 --- pkgs/development/python-modules/jupyter-builder/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/jupyter-builder/default.nix b/pkgs/development/python-modules/jupyter-builder/default.nix index 9937acede927..82877061d0b4 100644 --- a/pkgs/development/python-modules/jupyter-builder/default.nix +++ b/pkgs/development/python-modules/jupyter-builder/default.nix @@ -20,7 +20,7 @@ buildPythonPackage (finalAttrs: { pname = "jupyter-builder"; - version = "1.2.2"; + version = "1.2.3"; pyproject = true; __structuredAttrs = true; @@ -28,7 +28,7 @@ buildPythonPackage (finalAttrs: { owner = "jupyterlab"; repo = "jupyter-builder"; tag = "v${finalAttrs.version}"; - hash = "sha256-G6Do2g/WNULgLQo18v9FgVIbug4ls/KXNrMl8+gvD9s="; + hash = "sha256-FUCK2tKzL4sj5kld+Z/b/82RSRbyZjGNAqlwST9XH1w="; }; build-system = [ From b4855c57ae2be23e1e1a4b2c1423de0e681619e2 Mon Sep 17 00:00:00 2001 From: Thomas Gerbet Date: Sun, 11 Oct 2026 15:23:31 +0200 Subject: [PATCH 0270/2378] makeBinaryWrapper: add options to accept empty segments in suffix and prefix This is a follow-up to d2cbb4ba810112c938f92645fa58d3fcd1d5ce18. A few exceptions have since been added to the wrapper. To avoid that and give a way out to the callers, 2 new flags are added to bypass the default protection. The allowlist of variables that was created is replaced by these flags. Also added tests to cover these cases. --- doc/stdenv/stdenv.chapter.md | 3 + .../build-support/setup-hooks/make-wrapper.sh | 4 +- pkgs/by-name/lu/luakit/package.nix | 4 +- .../makeBinaryWrapper/make-binary-wrapper.sh | 29 +++--- pkgs/by-name/mu/mudlet/package.nix | 1 - pkgs/development/interpreters/lua-5/wrap.sh | 4 +- .../interpreters/lua-5/wrapper.nix | 4 +- pkgs/development/lisp-modules/nix-cl.nix | 4 +- pkgs/test/make-binary-wrapper/default.nix | 2 + .../empty-segment/empty-segment.c | 95 +++++++++++++++++++ .../empty-segment/empty-segment.cmdline | 2 + .../prefix-unchecked/prefix-unchecked.c | 93 ++++++++++++++++++ .../prefix-unchecked/prefix-unchecked.cmdline | 2 + .../prefix-unchecked/prefix-unchecked.env | 4 + pkgs/test/make-wrapper/default.nix | 14 +++ 15 files changed, 238 insertions(+), 27 deletions(-) create mode 100644 pkgs/test/make-binary-wrapper/empty-segment/empty-segment.c create mode 100644 pkgs/test/make-binary-wrapper/empty-segment/empty-segment.cmdline create mode 100644 pkgs/test/make-binary-wrapper/prefix-unchecked/prefix-unchecked.c create mode 100644 pkgs/test/make-binary-wrapper/prefix-unchecked/prefix-unchecked.cmdline create mode 100644 pkgs/test/make-binary-wrapper/prefix-unchecked/prefix-unchecked.env diff --git a/doc/stdenv/stdenv.chapter.md b/doc/stdenv/stdenv.chapter.md index f7756c8167b9..c4d51c083876 100644 --- a/doc/stdenv/stdenv.chapter.md +++ b/doc/stdenv/stdenv.chapter.md @@ -1198,6 +1198,9 @@ They cannot be overridden without rebuilding the package. If dependencies should be resolved at runtime, use `--suffix` to append fallback values to `PATH`. +`makeBinaryWrapper` refuses a `--prefix` or `--suffix` value that would introduce an empty segment (an empty value, or a leading, trailing or doubled separator), because many `PATH`-like variables interpret an empty segment as the current directory. +For variables where an empty segment is useful and safe, such as `LUA_PATH` where `;;` stands for the default search path, use `--prefix-unchecked` or `--suffix-unchecked` instead. + There’s many more kinds of arguments, they are documented in `nixpkgs/pkgs/build-support/setup-hooks/make-wrapper.sh` for the `makeWrapper` implementation and in `nixpkgs/pkgs/by-name/ma/makeBinaryWrapper/make-binary-wrapper.sh` for the `makeBinaryWrapper` implementation. `wrapProgram` is a convenience function you probably want to use most of the time, implemented by both `makeWrapper` and `makeBinaryWrapper`. diff --git a/pkgs/build-support/setup-hooks/make-wrapper.sh b/pkgs/build-support/setup-hooks/make-wrapper.sh index 023ae4ce1a8c..444b957bbec1 100644 --- a/pkgs/build-support/setup-hooks/make-wrapper.sh +++ b/pkgs/build-support/setup-hooks/make-wrapper.sh @@ -33,6 +33,8 @@ assertExecutable() { # --prefix ENV SEP VAL : suffix/prefix ENV with VAL, separated by SEP # --suffix +# --prefix-unchecked ENV SEP VAL : same as --prefix/--suffix, accepted for compatibility +# --suffix-unchecked with makeBinaryWrapper # --prefix-each ENV SEP VALS : like --prefix, but VALS is a list # --suffix-each ENV SEP VALS : like --suffix, but VALS is a list # --prefix-contents ENV SEP FILES : like --suffix-each, but contents of FILES @@ -145,7 +147,7 @@ makeShellWrapper() { command="${params[$((n + 1))]}" n=$((n + 1)) echo "$command" >> "$wrapper" - elif [[ ("$p" == "--suffix") || ("$p" == "--prefix") ]]; then + elif [[ ("$p" == "--suffix") || ("$p" == "--prefix") || ("$p" == "--suffix-unchecked") || ("$p" == "--prefix-unchecked") ]]; then varName="${params[$((n + 1))]}" separator="${params[$((n + 2))]}" value="${params[$((n + 3))]}" diff --git a/pkgs/by-name/lu/luakit/package.nix b/pkgs/by-name/lu/luakit/package.nix index be9fbcc3be63..dd47bd2dd917 100644 --- a/pkgs/by-name/lu/luakit/package.nix +++ b/pkgs/by-name/lu/luakit/package.nix @@ -77,8 +77,8 @@ stdenv.mkDerivation (finalAttrs: { '' gappsWrapperArgs+=( --prefix XDG_CONFIG_DIRS : "$out/etc/xdg" - --prefix LUA_PATH ';' "${luaKitPath};$LUA_PATH" - --prefix LUA_CPATH ';' "$LUA_CPATH" + --prefix-unchecked LUA_PATH ';' "${luaKitPath};$LUA_PATH" + --prefix-unchecked LUA_CPATH ';' "$LUA_CPATH" ) ''; diff --git a/pkgs/by-name/ma/makeBinaryWrapper/make-binary-wrapper.sh b/pkgs/by-name/ma/makeBinaryWrapper/make-binary-wrapper.sh index 580eb215f9dd..0efd23522fc2 100644 --- a/pkgs/by-name/ma/makeBinaryWrapper/make-binary-wrapper.sh +++ b/pkgs/by-name/ma/makeBinaryWrapper/make-binary-wrapper.sh @@ -35,7 +35,11 @@ assertExecutable() { # --append-flags ARGS : append the whitespace-separated list of arguments ARGS to the invocation of the executable # --prefix ENV SEP VAL : suffix/prefix ENV with VAL, separated by SEP -# --suffix +# --suffix (VAL must not introduce an empty segment, e.g. a +# leading/trailing/doubled SEP, see GHSA-p7v3-pr2c-8584) +# --prefix-unchecked ENV SEP VAL : like --prefix/--suffix, without the empty segment check. +# --suffix-unchecked Only for variables where an empty segment is useful and safe +# (e.g. LUA_PATH, where `;;` stands for the default path) # To troubleshoot a binary wrapper after you compiled it, # use the `strings` command or open the binary file in a text editor. @@ -121,8 +125,9 @@ makeCWrapper() { n=$((n + 1)) [ $n -ge "$length" ] && main="$main#error makeCWrapper: $p takes 1 argument"$'\n' ;; - --prefix) + --prefix|--prefix-unchecked) cmd=$(setEnvPrefix "${params[n + 1]}" "${params[n + 2]}" "${params[n + 3]}") + [ "$p" = --prefix-unchecked ] || cmd+=$(assertNoEmptySegment "$p" "${params[n + 1]}" "${params[n + 2]}" "${params[n + 3]}") main="$main$cmd"$'\n' uses_sep_surround_check=1 uses_prefix=1 @@ -134,8 +139,9 @@ makeCWrapper() { n=$((n + 3)) [ $n -ge "$length" ] && main="$main#error makeCWrapper: $p takes 3 arguments"$'\n' ;; - --suffix) + --suffix|--suffix-unchecked) cmd=$(setEnvSuffix "${params[n + 1]}" "${params[n + 2]}" "${params[n + 3]}") + [ "$p" = --suffix-unchecked ] || cmd+=$(assertNoEmptySegment "$p" "${params[n + 1]}" "${params[n + 2]}" "${params[n + 3]}") main="$main$cmd"$'\n' uses_sep_surround_check=1 uses_suffix=1 @@ -263,7 +269,6 @@ setEnvPrefix() { val=$(escapeStringLiteral "$3") printf '%s' "set_env_prefix(\"$env\", \"$sep\", \"$val\");" assertValidEnvName "$1" - assertNoEmptySegment "--prefix" "$1" "$2" "$3" } # suffix ENV SEP VAL @@ -274,7 +279,6 @@ setEnvSuffix() { val=$(escapeStringLiteral "$3") printf '%s' "set_env_suffix(\"$env\", \"$sep\", \"$val\");" assertValidEnvName "$1" - assertNoEmptySegment "--suffix" "$1" "$2" "$3" } # setEnv KEY VALUE @@ -330,17 +334,8 @@ assertValidEnvName() { assertNoEmptySegment() { local flag="$1" env="$2" sep="$3" val="$4" [ -n "$sep" ] || return 0 - case "$env" in - # In Lua the loader will substitute the default paths or just ignore the empty segment - # https://github.com/lua/lua/blob/v5.5.1/loadlib.c#L274 - # https://github.com/lua/lua/blob/v5.5.1/loadlib.c#L475 - LUA_PATH|LUA_CPATH|LUA_PATH_*|LUA_CPATH_*) return 0 ;; - # In ASDF an empty segment uses the user/system configuration and defaults - # https://asdf.common-lisp.dev/asdf.html#Shell_002dfriendly-syntax-for-configuration - CL_SOURCE_REGISTRY|ASDF_OUTPUT_TRANSLATIONS) return 0 ;; - esac if [[ "$sep$val$sep" == *"$sep$sep"* ]]; then - printf '\n%s\n' "#error $flag $env would introduce an empty PATH-like segment (empty, or a leading/trailing/doubled \`$sep\`). This is interpreted as \"search the current directory\" by shells, execvp() and the dynamic linker, see https://github.com/NixOS/nixpkgs/security/advisories/GHSA-p7v3-pr2c-8584. Guard the value with e.g. lib.optionalString (list != [])." + printf '\n%s\n' "#error $flag $env would introduce an empty PATH-like segment (empty, or a leading/trailing/doubled \`$sep\`). This is interpreted as \"search the current directory\" by shells, execvp() and the dynamic linker, see https://github.com/NixOS/nixpkgs/security/advisories/GHSA-p7v3-pr2c-8584. Guard the value with e.g. lib.optionalString (list != []), or use $flag-unchecked if an empty segment is useful and safe for $env." fi } @@ -508,11 +503,11 @@ formatArgs() { formatArgsLine 1 "$@" shift 1 ;; - --prefix) + --prefix|--prefix-unchecked) formatArgsLine 3 "$@" shift 3 ;; - --suffix) + --suffix|--suffix-unchecked) formatArgsLine 3 "$@" shift 3 ;; diff --git a/pkgs/by-name/mu/mudlet/package.nix b/pkgs/by-name/mu/mudlet/package.nix index a9469de076dd..1aae6c42ef95 100644 --- a/pkgs/by-name/mu/mudlet/package.nix +++ b/pkgs/by-name/mu/mudlet/package.nix @@ -92,7 +92,6 @@ stdenv.mkDerivation (finalAttrs: { preFixup = '' qtWrapperArgs+=(--set LUA_CPATH "${luaEnv}/lib/lua/${lua5_1.luaversion}/?.so") - qtWrapperArgs+=(--prefix LUA_PATH : "$NIX_LUA_PATH") ${lib.optionalString withDiscordRpc '' qtWrapperArgs+=(--prefix ${libPathVar} : "${lib.makeLibraryPath [ discord-rpc ]}") ''} diff --git a/pkgs/development/interpreters/lua-5/wrap.sh b/pkgs/development/interpreters/lua-5/wrap.sh index 13d6dd6c625c..6ac752289c39 100644 --- a/pkgs/development/interpreters/lua-5/wrap.sh +++ b/pkgs/development/interpreters/lua-5/wrap.sh @@ -47,8 +47,8 @@ wrapLuaProgramsIn() { # (see pkgs/build-support/setup-hooks/make-wrapper.sh) local -a wrap_args=("$f" --prefix PATH ':' "$program_PATH" - --prefix LUA_PATH ';' "$LUA_PATH" - --prefix LUA_CPATH ';' "$LUA_CPATH" + --prefix-unchecked LUA_PATH ';' "$LUA_PATH" + --prefix-unchecked LUA_CPATH ';' "$LUA_CPATH" ) # Add any additional arguments provided by makeWrapperArgs diff --git a/pkgs/development/interpreters/lua-5/wrapper.nix b/pkgs/development/interpreters/lua-5/wrapper.nix index 09399efc95ca..7db5a0a0e405 100644 --- a/pkgs/development/interpreters/lua-5/wrapper.nix +++ b/pkgs/development/interpreters/lua-5/wrapper.nix @@ -51,9 +51,9 @@ let nix_debug "Making wrapper $prg" makeWrapper "$path/bin/$prg" "$out/bin/$prg" \ --set-default LUA_PATH ";;" \ - --suffix LUA_PATH ';' "$LUA_PATH" \ + --suffix-unchecked LUA_PATH ';' "$LUA_PATH" \ --set-default LUA_CPATH ";;" \ - --suffix LUA_CPATH ';' "$LUA_CPATH" \ + --suffix-unchecked LUA_CPATH ';' "$LUA_CPATH" \ ${lib.concatStringsSep " " makeWrapperArgs} fi fi diff --git a/pkgs/development/lisp-modules/nix-cl.nix b/pkgs/development/lisp-modules/nix-cl.nix index be418d13f9a9..9e26c871a6ac 100644 --- a/pkgs/development/lisp-modules/nix-cl.nix +++ b/pkgs/development/lisp-modules/nix-cl.nix @@ -374,8 +374,8 @@ let ) if [ -n "$CL_SOURCE_REGISTRY" ]; then wrapperArgs+=( - --prefix CL_SOURCE_REGISTRY : "$CL_SOURCE_REGISTRY:" - --prefix ASDF_OUTPUT_TRANSLATIONS : "$(echo $CL_SOURCE_REGISTRY | sed s,//:,::,g):" + --prefix-unchecked CL_SOURCE_REGISTRY : "$CL_SOURCE_REGISTRY:" + --prefix-unchecked ASDF_OUTPUT_TRANSLATIONS : "$(echo $CL_SOURCE_REGISTRY | sed s,//:,::,g):" ) fi if [ -n "$LD_LIBRARY_PATH" ]; then diff --git a/pkgs/test/make-binary-wrapper/default.nix b/pkgs/test/make-binary-wrapper/default.nix index 7d2e4b1a7cd2..1be690f86a75 100644 --- a/pkgs/test/make-binary-wrapper/default.nix +++ b/pkgs/test/make-binary-wrapper/default.nix @@ -60,6 +60,8 @@ let "prefix" "suffix" "prefix-dedup-last" + "prefix-unchecked" + "empty-segment" ] makeGoldenTest // lib.optionalAttrs (!stdenv.hostPlatform.isDarwin) { cross = diff --git a/pkgs/test/make-binary-wrapper/empty-segment/empty-segment.c b/pkgs/test/make-binary-wrapper/empty-segment/empty-segment.c new file mode 100644 index 000000000000..6c7f108b00cc --- /dev/null +++ b/pkgs/test/make-binary-wrapper/empty-segment/empty-segment.c @@ -0,0 +1,95 @@ +#define _GNU_SOURCE /* See feature_test_macros(7) */ +#include +#include +#include +#include +#include + +#define assert_success(e) do { if ((e) < 0) { perror(#e); abort(); } } while (0) + +int is_surrounded_by_sep(char *env, char *ptr, unsigned long len, char *sep) { + unsigned long sep_len = strlen(sep); + + // Check left side (if not at start) + if (env != ptr) { + if (ptr - env < sep_len) + return 0; + if (strncmp(sep, ptr - sep_len, sep_len) != 0) { + return 0; + } + } + // Check right side (if not at end) + char *end_ptr = ptr + len; + if (*end_ptr != '\0') { + if (strncmp(sep, ptr + len, sep_len) != 0) { + return 0; + } + } + + return 1; +} + +void set_env_prefix(char *env, char *sep, char *prefix) { + char *existing_env = getenv(env); + if (existing_env) { + char *val; + + char *existing_prefix = strstr(existing_env, prefix); + unsigned long prefix_len = strlen(prefix); + // If the prefix already exists, remove the original + if (existing_prefix && is_surrounded_by_sep(existing_env, existing_prefix, prefix_len, sep)) { + if (existing_env == existing_prefix) { + return; + } + unsigned long sep_len = strlen(sep); + int n_before = existing_prefix - existing_env - sep_len; + assert_success(asprintf(&val, "%s%s%.*s%s", prefix, sep, + n_before, existing_env, + existing_prefix + prefix_len)); + } else { + assert_success(asprintf(&val, "%s%s%s", prefix, sep, existing_env)); + } + assert_success(setenv(env, val, 1)); + free(val); + } else { + assert_success(setenv(env, prefix, 1)); + } +} + +void set_env_suffix(char *env, char *sep, char *suffix) { + char *existing_env = getenv(env); + if (existing_env) { + char *val; + + char *existing_suffix = strstr(existing_env, suffix); + unsigned long suffix_len = strlen(suffix); + // If the suffix already exists, remove the original + if (existing_suffix && is_surrounded_by_sep(existing_env, existing_suffix, suffix_len, sep)) { + char *end_ptr = existing_suffix + suffix_len; + if (*end_ptr == '\0') { + return; + } + unsigned long sep_len = strlen(sep); + int n_before = existing_suffix - existing_env; + assert_success(asprintf(&val, "%.*s%s%s%s", + n_before, existing_env, + existing_suffix + suffix_len + sep_len, + sep, suffix)); + } else { + assert_success(asprintf(&val, "%s%s%s", existing_env, sep, suffix)); + } + assert_success(setenv(env, val, 1)); + free(val); + } else { + assert_success(setenv(env, suffix, 1)); + } +} + +int main(int argc, char **argv) { + set_env_prefix("PATH", ":", "/usr/bin:"); + #error --prefix PATH would introduce an empty PATH-like segment (empty, or a leading/trailing/doubled `:`). This is interpreted as "search the current directory" by shells, execvp() and the dynamic linker, see https://github.com/NixOS/nixpkgs/security/advisories/GHSA-p7v3-pr2c-8584. Guard the value with e.g. lib.optionalString (list != []), or use --prefix-unchecked if an empty segment is useful and safe for PATH. + set_env_suffix("PATH", ":", ""); + #error --suffix PATH would introduce an empty PATH-like segment (empty, or a leading/trailing/doubled `:`). This is interpreted as "search the current directory" by shells, execvp() and the dynamic linker, see https://github.com/NixOS/nixpkgs/security/advisories/GHSA-p7v3-pr2c-8584. Guard the value with e.g. lib.optionalString (list != []), or use --suffix-unchecked if an empty segment is useful and safe for PATH. + argv[0] = "/send/me/flags"; + return execv("/send/me/flags", argv); +} diff --git a/pkgs/test/make-binary-wrapper/empty-segment/empty-segment.cmdline b/pkgs/test/make-binary-wrapper/empty-segment/empty-segment.cmdline new file mode 100644 index 000000000000..512803e19d11 --- /dev/null +++ b/pkgs/test/make-binary-wrapper/empty-segment/empty-segment.cmdline @@ -0,0 +1,2 @@ + --prefix PATH : '/usr/bin:' \ + --suffix PATH : '' diff --git a/pkgs/test/make-binary-wrapper/prefix-unchecked/prefix-unchecked.c b/pkgs/test/make-binary-wrapper/prefix-unchecked/prefix-unchecked.c new file mode 100644 index 000000000000..633c3d1ea7c1 --- /dev/null +++ b/pkgs/test/make-binary-wrapper/prefix-unchecked/prefix-unchecked.c @@ -0,0 +1,93 @@ +#define _GNU_SOURCE /* See feature_test_macros(7) */ +#include +#include +#include +#include +#include + +#define assert_success(e) do { if ((e) < 0) { perror(#e); abort(); } } while (0) + +int is_surrounded_by_sep(char *env, char *ptr, unsigned long len, char *sep) { + unsigned long sep_len = strlen(sep); + + // Check left side (if not at start) + if (env != ptr) { + if (ptr - env < sep_len) + return 0; + if (strncmp(sep, ptr - sep_len, sep_len) != 0) { + return 0; + } + } + // Check right side (if not at end) + char *end_ptr = ptr + len; + if (*end_ptr != '\0') { + if (strncmp(sep, ptr + len, sep_len) != 0) { + return 0; + } + } + + return 1; +} + +void set_env_prefix(char *env, char *sep, char *prefix) { + char *existing_env = getenv(env); + if (existing_env) { + char *val; + + char *existing_prefix = strstr(existing_env, prefix); + unsigned long prefix_len = strlen(prefix); + // If the prefix already exists, remove the original + if (existing_prefix && is_surrounded_by_sep(existing_env, existing_prefix, prefix_len, sep)) { + if (existing_env == existing_prefix) { + return; + } + unsigned long sep_len = strlen(sep); + int n_before = existing_prefix - existing_env - sep_len; + assert_success(asprintf(&val, "%s%s%.*s%s", prefix, sep, + n_before, existing_env, + existing_prefix + prefix_len)); + } else { + assert_success(asprintf(&val, "%s%s%s", prefix, sep, existing_env)); + } + assert_success(setenv(env, val, 1)); + free(val); + } else { + assert_success(setenv(env, prefix, 1)); + } +} + +void set_env_suffix(char *env, char *sep, char *suffix) { + char *existing_env = getenv(env); + if (existing_env) { + char *val; + + char *existing_suffix = strstr(existing_env, suffix); + unsigned long suffix_len = strlen(suffix); + // If the suffix already exists, remove the original + if (existing_suffix && is_surrounded_by_sep(existing_env, existing_suffix, suffix_len, sep)) { + char *end_ptr = existing_suffix + suffix_len; + if (*end_ptr == '\0') { + return; + } + unsigned long sep_len = strlen(sep); + int n_before = existing_suffix - existing_env; + assert_success(asprintf(&val, "%.*s%s%s%s", + n_before, existing_env, + existing_suffix + suffix_len + sep_len, + sep, suffix)); + } else { + assert_success(asprintf(&val, "%s%s%s", existing_env, sep, suffix)); + } + assert_success(setenv(env, val, 1)); + free(val); + } else { + assert_success(setenv(env, suffix, 1)); + } +} + +int main(int argc, char **argv) { + set_env_prefix("LUA_PATH", ";", "/usr/share/lua/?.lua;;"); + set_env_suffix("LUA_CPATH", ";", ""); + argv[0] = "/send/me/flags"; + return execv("/send/me/flags", argv); +} diff --git a/pkgs/test/make-binary-wrapper/prefix-unchecked/prefix-unchecked.cmdline b/pkgs/test/make-binary-wrapper/prefix-unchecked/prefix-unchecked.cmdline new file mode 100644 index 000000000000..09e5c21aa447 --- /dev/null +++ b/pkgs/test/make-binary-wrapper/prefix-unchecked/prefix-unchecked.cmdline @@ -0,0 +1,2 @@ + --prefix-unchecked LUA_PATH ';' '/usr/share/lua/?.lua;;' \ + --suffix-unchecked LUA_CPATH ';' '' diff --git a/pkgs/test/make-binary-wrapper/prefix-unchecked/prefix-unchecked.env b/pkgs/test/make-binary-wrapper/prefix-unchecked/prefix-unchecked.env new file mode 100644 index 000000000000..211df5b80104 --- /dev/null +++ b/pkgs/test/make-binary-wrapper/prefix-unchecked/prefix-unchecked.env @@ -0,0 +1,4 @@ +LUA_PATH=/usr/share/lua/?.lua;; +LUA_CPATH= +CWD=SUBST_CWD +SUBST_ARGV0 diff --git a/pkgs/test/make-wrapper/default.nix b/pkgs/test/make-wrapper/default.nix index cf2bf1aed7e8..a530c2863f4a 100644 --- a/pkgs/test/make-wrapper/default.nix +++ b/pkgs/test/make-wrapper/default.nix @@ -173,6 +173,19 @@ runCommand "make-wrapper-test" "bar" ]; }) + (mkWrapperBinary { + name = "test-prefix-and-suffix-unchecked"; + args = [ + "--prefix-unchecked" + "VAR" + ":" + "foo" + "--suffix-unchecked" + "VAR" + ":" + "bar" + ]; + }) (mkWrapperBinary { name = "test-prefix-multi"; args = [ @@ -283,6 +296,7 @@ runCommand "make-wrapper-test" + mkTest "VAR=abc:foo test-suffix" "VAR=abc:foo" # --prefix in combination with --suffix + mkTest "VAR=abc test-prefix-and-suffix" "VAR=foo:abc:bar" + + mkTest "VAR=abc test-prefix-and-suffix-unchecked" "VAR=foo:abc:bar" # --suffix-each works + mkTest "VAR=abc test-suffix-each" "VAR=abc:foo:bar:def" From 0a6d667715f430e9551ce40bec2b9e146c8e03fa Mon Sep 17 00:00:00 2001 From: "R. Ryantm" Date: Sun, 11 Oct 2026 17:47:29 +0000 Subject: [PATCH 0271/2378] thrift: 0.24.0 -> 0.25.0 --- pkgs/by-name/th/thrift/package.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/by-name/th/thrift/package.nix b/pkgs/by-name/th/thrift/package.nix index 14bd0ed0f1ed..824090ba5e47 100644 --- a/pkgs/by-name/th/thrift/package.nix +++ b/pkgs/by-name/th/thrift/package.nix @@ -18,13 +18,13 @@ stdenv.mkDerivation (finalAttrs: { pname = "thrift"; - version = "0.24.0"; + version = "0.25.0"; src = fetchFromGitHub { owner = "apache"; repo = "thrift"; tag = "v${finalAttrs.version}"; - hash = "sha256-+o/2exHsunjQBGjXrNQ1pQ5TKV53++qCxIMeVyOh5QY="; + hash = "sha256-ZXGxpjqQq+qlxEDM4tWOF1hHGZsy3s/K0c2bIxMky10="; }; postPatch = lib.optionalString (!finalAttrs.finalPackage.doCheck) '' From ebc35d0f070037d97b056c26e63913f6987093b3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Robert=20Sch=C3=BCtz?= Date: Sun, 11 Oct 2026 12:32:01 -0700 Subject: [PATCH 0272/2378] python3Packages.cython: fix issue causing aiohttp build to fail --- pkgs/development/python-modules/cython/default.nix | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/pkgs/development/python-modules/cython/default.nix b/pkgs/development/python-modules/cython/default.nix index 59ccec9ff070..706d2a0b82f9 100644 --- a/pkgs/development/python-modules/cython/default.nix +++ b/pkgs/development/python-modules/cython/default.nix @@ -2,6 +2,7 @@ lib, buildPythonPackage, fetchFromGitHub, + fetchpatch, gdb, ncurses, numpy, @@ -25,6 +26,14 @@ buildPythonPackage (finalAttrs: { hash = "sha256-gIEqq8DAJF197gH1cMuq5JxI4rV/VHS70vg8hywXDqw="; }; + patches = [ + # https://github.com/cython/cython/issues/7942 + (fetchpatch { + url = "https://github.com/cython/cython/pull/7970.patch"; + hash = "sha256-dsc6Q7ySDt7m8zCJIaIRDvOM0T5HdMSBnv5JH1RwLoE="; + }) + ]; + build-system = [ setuptools ]; From 04653c45eac7a95232911a8d9cfa6ef5dba268f6 Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 22:30:58 +0200 Subject: [PATCH 0273/2378] geos: enable strictDeps --- pkgs/by-name/ge/geos/package.nix | 2 ++ 1 file changed, 2 insertions(+) diff --git a/pkgs/by-name/ge/geos/package.nix b/pkgs/by-name/ge/geos/package.nix index 1526c189e481..06b61f943487 100644 --- a/pkgs/by-name/ge/geos/package.nix +++ b/pkgs/by-name/ge/geos/package.nix @@ -21,6 +21,8 @@ stdenv.mkDerivation (finalAttrs: { nativeBuildInputs = [ cmake ]; + strictDeps = true; + # https://github.com/libgeos/geos/issues/930 cmakeFlags = lib.optionals (stdenv.hostPlatform.isDarwin && stdenv.hostPlatform.isx86_64) [ "-DCMAKE_CTEST_ARGUMENTS=--exclude-regex;unit-geom-Envelope" From aafce8bc2cad84b531aefa27404be8c9e66ae088 Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 22:31:16 +0200 Subject: [PATCH 0274/2378] geos: enable structuredAttrs --- pkgs/by-name/ge/geos/package.nix | 2 ++ 1 file changed, 2 insertions(+) diff --git a/pkgs/by-name/ge/geos/package.nix b/pkgs/by-name/ge/geos/package.nix index 06b61f943487..7abde2aca165 100644 --- a/pkgs/by-name/ge/geos/package.nix +++ b/pkgs/by-name/ge/geos/package.nix @@ -35,6 +35,8 @@ stdenv.mkDerivation (finalAttrs: { geos = callPackage ./tests.nix { geos = finalAttrs.finalPackage; }; }; + __structuredAttrs = true; + meta = { description = "C/C++ library for computational geometry with a focus on algorithms used in geographic information systems (GIS) software"; homepage = "https://libgeos.org"; From 6354ae8bb5b3fac241ec2fadf79a51ddae7e2bfa Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 22:58:19 +0200 Subject: [PATCH 0275/2378] thrift: enable structuredAttrs --- pkgs/by-name/th/thrift/package.nix | 2 ++ 1 file changed, 2 insertions(+) diff --git a/pkgs/by-name/th/thrift/package.nix b/pkgs/by-name/th/thrift/package.nix index 14bd0ed0f1ed..b98b3a536906 100644 --- a/pkgs/by-name/th/thrift/package.nix +++ b/pkgs/by-name/th/thrift/package.nix @@ -116,6 +116,8 @@ stdenv.mkDerivation (finalAttrs: { enableParallelChecking = false; + __structuredAttrs = true; + meta = { description = "Library for scalable cross-language services"; mainProgram = "thrift"; From 3e4f337baff211994c456fc540751d63b8cc330e Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 23:08:54 +0200 Subject: [PATCH 0276/2378] mimalloc: enable strictDeps --- pkgs/by-name/mi/mimalloc/package.nix | 3 +++ 1 file changed, 3 insertions(+) diff --git a/pkgs/by-name/mi/mimalloc/package.nix b/pkgs/by-name/mi/mimalloc/package.nix index 5bedb5faa044..0cf24a7a4723 100644 --- a/pkgs/by-name/mi/mimalloc/package.nix +++ b/pkgs/by-name/mi/mimalloc/package.nix @@ -34,6 +34,9 @@ stdenv.mkDerivation (finalAttrs: { cmake ninja ]; + + strictDeps = true; + cmakeFlags = lib.mapAttrsToList lib.cmakeBool { MI_INSTALL_TOPLEVEL = true; MI_SECURE = secureBuild; From cddd5260c01b83db792cb288ff70e5096157cbc4 Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 23:09:05 +0200 Subject: [PATCH 0277/2378] mimalloc: enable structuredAttrs --- pkgs/by-name/mi/mimalloc/package.nix | 2 ++ 1 file changed, 2 insertions(+) diff --git a/pkgs/by-name/mi/mimalloc/package.nix b/pkgs/by-name/mi/mimalloc/package.nix index 0cf24a7a4723..0414492d9967 100644 --- a/pkgs/by-name/mi/mimalloc/package.nix +++ b/pkgs/by-name/mi/mimalloc/package.nix @@ -82,6 +82,8 @@ stdenv.mkDerivation (finalAttrs: { "dev" ]; + __structuredAttrs = true; + meta = { description = "Compact, fast, general-purpose memory allocator"; homepage = "https://github.com/microsoft/mimalloc"; From cbf6a6cee5abb698443ea367125abadc1e349387 Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 23:12:46 +0200 Subject: [PATCH 0278/2378] libzip: enable strictDeps --- pkgs/by-name/li/libzip/package.nix | 2 ++ 1 file changed, 2 insertions(+) diff --git a/pkgs/by-name/li/libzip/package.nix b/pkgs/by-name/li/libzip/package.nix index daaa09933718..c66d1eec115c 100644 --- a/pkgs/by-name/li/libzip/package.nix +++ b/pkgs/by-name/li/libzip/package.nix @@ -44,6 +44,8 @@ stdenv.mkDerivation (finalAttrs: { ++ lib.optionals withOpenssl [ openssl ] ++ lib.optionals withZstd [ zstd ]; + strictDeps = true; + # Don't build the regression tests because they don't build with # pkgsStatic and are not executed anyway. cmakeFlags = [ "-DBUILD_REGRESS=0" ]; From 02a647c5ea8af13ff1172deb08f0d477f172a9e6 Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 23:12:56 +0200 Subject: [PATCH 0279/2378] libzip: enable structuredAttrs --- pkgs/by-name/li/libzip/package.nix | 2 ++ 1 file changed, 2 insertions(+) diff --git a/pkgs/by-name/li/libzip/package.nix b/pkgs/by-name/li/libzip/package.nix index c66d1eec115c..6daf1d200a04 100644 --- a/pkgs/by-name/li/libzip/package.nix +++ b/pkgs/by-name/li/libzip/package.nix @@ -57,6 +57,8 @@ stdenv.mkDerivation (finalAttrs: { passthru.tests.pkg-config = testers.testMetaPkgConfig finalAttrs.finalPackage; + __structuredAttrs = true; + meta = { homepage = "https://libzip.org/"; description = "C library for reading, creating and modifying zip archives"; From fe64f3c8651944a192bef3d364c773f833926c2b Mon Sep 17 00:00:00 2001 From: Weijia Wang <9713184+wegank@users.noreply.github.com> Date: Sun, 11 Oct 2026 23:24:47 +0200 Subject: [PATCH 0280/2378] azurite: fix build on exotic platforms --- pkgs/by-name/az/azurite/package.nix | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/pkgs/by-name/az/azurite/package.nix b/pkgs/by-name/az/azurite/package.nix index 7bd89abea9c8..e3a09b343ba3 100644 --- a/pkgs/by-name/az/azurite/package.nix +++ b/pkgs/by-name/az/azurite/package.nix @@ -32,6 +32,10 @@ buildNpmPackage (finalAttrs: { libsecret ]; + # @vscode/vsce-sign's postinstall script fails on exotic architectures. + # We ignore the scripts, and this does not change the output. + npmFlags = [ "--ignore-scripts" ]; + meta = { description = "Lightweight server clone of Azure Storage that simulates most of the commands supported by it with minimal dependencies"; homepage = "https://github.com/Azure/Azurite"; From e479c0576b5f9c8c3a8a0d7e770845515ccdfe05 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Robert=20Sch=C3=BCtz?= Date: Sun, 11 Oct 2026 17:44:46 -0700 Subject: [PATCH 0281/2378] python3Packages.yarl: 1.24.5 -> 1.25.1 Diff: https://github.com/aio-libs/yarl/compare/v1.24.5...v1.25.1 Changelog: https://github.com/aio-libs/yarl/blob/v1.25.1/CHANGES.rst --- pkgs/development/python-modules/yarl/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/yarl/default.nix b/pkgs/development/python-modules/yarl/default.nix index b2e5642a9cc6..784a7e2c9148 100644 --- a/pkgs/development/python-modules/yarl/default.nix +++ b/pkgs/development/python-modules/yarl/default.nix @@ -18,14 +18,14 @@ buildPythonPackage (finalAttrs: { pname = "yarl"; - version = "1.24.5"; + version = "1.25.1"; pyproject = true; src = fetchFromGitHub { owner = "aio-libs"; repo = "yarl"; tag = "v${finalAttrs.version}"; - hash = "sha256-2Uqn1TwfH375CBIveEpsco4dDNrhxHwX8wIP8dKhh/M="; + hash = "sha256-cQsVglP3OqaQW95OYPlbWCFTs5p6L5wOzx7QCIqqJ9U="; }; build-system = [ From c6d3418c766e8c616768c516d772400b5f718de2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Robert=20Sch=C3=BCtz?= Date: Sun, 11 Oct 2026 12:20:42 -0700 Subject: [PATCH 0282/2378] python3Packages.aiohttp: 3.14.3 -> 3.14.5 Diff: https://github.com/aio-libs/aiohttp/compare/v3.14.3...v3.14.5 Changelog: https://docs.aiohttp.org/en/v3.14.5/changes.html --- .../python-modules/aiohttp/default.nix | 16 +++------------- 1 file changed, 3 insertions(+), 13 deletions(-) diff --git a/pkgs/development/python-modules/aiohttp/default.nix b/pkgs/development/python-modules/aiohttp/default.nix index b0b73909706c..fae0e6988f08 100644 --- a/pkgs/development/python-modules/aiohttp/default.nix +++ b/pkgs/development/python-modules/aiohttp/default.nix @@ -3,7 +3,6 @@ stdenv, buildPythonPackage, fetchFromGitHub, - fetchpatch2, isPyPy, pythonOlder, @@ -49,25 +48,16 @@ buildPythonPackage (finalAttrs: { pname = "aiohttp"; - version = "3.14.3"; + version = "3.14.5"; pyproject = true; src = fetchFromGitHub { owner = "aio-libs"; repo = "aiohttp"; tag = "v${finalAttrs.version}"; - hash = "sha256-n8LH34N9V2Smqc23q/49gqRbP0U1glJAYiyPEGFtEmM="; + hash = "sha256-gSxqab8AYJ6PsMP1PYWUxQ8TJ9KtEehoekLD8ziBt+g="; }; - patches = [ - # https://github.com/aio-libs/aiohttp/issues/13520 - (fetchpatch2 { - name = "cython-3.3.0-compat.patch"; - url = "https://github.com/aio-libs/aiohttp/commit/fdebfa2b81c7f85c6dccddcbf4ab45d311970b03.patch?full_index=1"; - hash = "sha256-feKp/utDEuFUqTjQOtpRgNKD9xq/CtcgLfsKGO5P2EQ="; - }) - ]; - postPatch = '' rm -r vendor patchShebangs tools @@ -78,7 +68,7 @@ buildPythonPackage (finalAttrs: { --replace-fail "cythonize: .install-cython" "cythonize:" # don't depend on coverage for tests - substituteInPlace setup.cfg \ + substituteInPlace pytest.ini \ --replace-fail "ignore:Couldn't import C tracer:coverage.exceptions.CoverageWarning" "" ''; From 6ebd870350a6d56c370ca3c0986030bc4c4d353e Mon Sep 17 00:00:00 2001 From: Joseph LaFreniere Date: Fri, 3 Apr 2026 21:12:48 -0500 Subject: [PATCH 0283/2378] installShellFiles: add PowerShell completion support Add `--powershell` flag to `installShellCompletion`, which installs completions to `$out/share/powershell/` with synthesized names of the form `$cmd.Completion.ps1` when using `--cmd`. This feature was requested in https://github.com/NixOS/nixpkgs/issues/384084. --- .../in/installShellFiles/setup-hook.sh | 29 +++++++++++++------ .../tests/install-completion-cmd.nix | 5 +++- .../tests/install-completion-fifo.nix | 4 ++- .../tests/install-completion.nix | 5 +++- 4 files changed, 31 insertions(+), 12 deletions(-) diff --git a/pkgs/by-name/in/installShellFiles/setup-hook.sh b/pkgs/by-name/in/installShellFiles/setup-hook.sh index 92c50204077b..48b791c58e19 100644 --- a/pkgs/by-name/in/installShellFiles/setup-hook.sh +++ b/pkgs/by-name/in/installShellFiles/setup-hook.sh @@ -100,14 +100,14 @@ installManPage() { done } -# installShellCompletion [--cmd ] ([--bash|--fish|--zsh|--nushell] [--name ] )... +# installShellCompletion [--cmd ] ([--bash|--fish|--nushell|--powershell|--zsh] [--name ] )... # # Each path is installed into the appropriate directory for shell completions for the given shell. -# If one of `--bash`, `--fish`, `--zsh`, or `--nushell` is given the path is assumed to belong to -# that shell. Otherwise the file extension will be examined to pick a shell. If the shell is -# unknown a warning will be logged and the command will return a non-zero status code after -# processing any remaining paths. Any of the shell flags will affect all subsequent paths (unless -# another shell flag is given). +# If one of `--bash`, `--fish`, `--nushell`, `--powershell`, or `--zsh` is given, the path is +# assumed to belong to that shell. Otherwise the file extension will be examined to pick a shell. If +# the shell is unknown, a warning will be logged and the command will return a non-zero status code +# after processing any remaining paths. Any of the shell flags will affect all subsequent paths +# (unless another shell flag is given). # # If the shell completion needs to be renamed before installing the optional `--name ` flag # may be given. Any name provided with this flag only applies to the next path. @@ -137,6 +137,7 @@ installManPage() { # installShellCompletion --bash --name foobar.bash share/completions.bash # installShellCompletion --fish --name foobar.fish share/completions.fish # installShellCompletion --nushell --name foobar share/completions.nu +# installShellCompletion --powershell --name foobar.Completion.ps1 share/completions.ps1 # installShellCompletion --zsh --name _foobar share/completions.zsh # # Or to use shell newline escaping to split a single invocation across multiple lines: @@ -144,7 +145,8 @@ installManPage() { # installShellCompletion --cmd foobar \ # --bash <($out/bin/foobar --bash-completion) \ # --fish <($out/bin/foobar --fish-completion) \ -# --nushell <($out/bin/foobar --nushell-completion) +# --nushell <($out/bin/foobar --nushell-completion) \ +# --powershell <($out/bin/foobar --powershell-completion) \ # --zsh <($out/bin/foobar --zsh-completion) # # If any argument is `--` the remaining arguments will be treated as paths. @@ -154,7 +156,7 @@ installShellCompletion() { # Parse arguments if (( parseArgs )); then case "$arg" in - --bash|--fish|--zsh|--nushell) + --bash|--fish|--powershell|--zsh|--nushell) shell=${arg#--} continue;; --name) @@ -200,7 +202,7 @@ installShellCompletion() { elif [[ -p "$arg" ]]; then # this is a named fd or fifo if [[ -z "$curShell" ]]; then - nixErrorLog "${FUNCNAME[0]}: named pipe requires one of --bash, --fish, --zsh, or --nushell" + nixErrorLog "${FUNCNAME[0]}: named pipe requires one of --bash, --fish, --powershell, --zsh, or --nushell" return 1 elif [[ -z "$name" && -z "$cmdname" ]]; then nixErrorLog "${FUNCNAME[0]}: named pipe requires one of --cmd or --name" @@ -216,6 +218,7 @@ installShellCompletion() { ?*.bash) curShell=bash;; ?*.fish) curShell=fish;; ?*.nu) curShell=nushell;; + ?*.ps1) curShell=powershell;; ?*.zsh) curShell=zsh;; *) if [[ "$argbase" = _* && "$argbase" != *.* ]]; then @@ -238,6 +241,7 @@ installShellCompletion() { case "$curShell" in bash|fish) outName=$cmdname.$curShell;; nushell) outName=$cmdname.nu;; + powershell) outName=$cmdname.Completion.ps1;; zsh) outName=_$cmdname;; *) # Our list of shells is out of sync with the flags we accept or extensions we detect. @@ -250,6 +254,13 @@ installShellCompletion() { bash) sharePath=bash-completion/completions;; fish) sharePath=fish/vendor_completions.d;; nushell) sharePath=nushell/vendor/autoload;; + powershell) + sharePath=powershell + # only apply automatic renaming if we didn't have a manual rename + if [[ -z "$name" && -z "$cmdname" ]]; then + # convert a name like `foo.ps1` into `foo.Completion.ps1` + outName=${outName%.ps1}.Completion.ps1 + fi;; zsh) sharePath=zsh/site-functions # only apply automatic renaming if we didn't have a manual rename diff --git a/pkgs/by-name/in/installShellFiles/tests/install-completion-cmd.nix b/pkgs/by-name/in/installShellFiles/tests/install-completion-cmd.nix index 78bf08277832..1900c137f6b7 100644 --- a/pkgs/by-name/in/installShellFiles/tests/install-completion-cmd.nix +++ b/pkgs/by-name/in/installShellFiles/tests/install-completion-cmd.nix @@ -15,16 +15,19 @@ runCommandLocal "install-shell-files--install-completion-cmd" echo baz > baz.fish echo qux > qux.fish echo buzz > buzz.nu + echo corge > corge.ps1 installShellCompletion \ --cmd foobar --bash foo.bash \ --zsh bar.zsh \ --fish baz.fish --name qux qux.fish \ - --nushell --cmd buzzbar buzz.nu + --nushell --cmd buzzbar buzz.nu \ + --powershell --cmd corgebar corge.ps1 cmp foo.bash $out/share/bash-completion/completions/foobar.bash cmp bar.zsh $out/share/zsh/site-functions/_foobar cmp baz.fish $out/share/fish/vendor_completions.d/foobar.fish cmp qux.fish $out/share/fish/vendor_completions.d/qux cmp buzz.nu $out/share/nushell/vendor/autoload/buzzbar.nu + cmp corge.ps1 $out/share/powershell/corgebar.Completion.ps1 '' diff --git a/pkgs/by-name/in/installShellFiles/tests/install-completion-fifo.nix b/pkgs/by-name/in/installShellFiles/tests/install-completion-fifo.nix index d9a4d98b9422..d16e3b579451 100644 --- a/pkgs/by-name/in/installShellFiles/tests/install-completion-fifo.nix +++ b/pkgs/by-name/in/installShellFiles/tests/install-completion-fifo.nix @@ -14,10 +14,12 @@ runCommandLocal "install-shell-files--install-completion-fifo" --bash --name foo.bash <(echo foo) \ --zsh --name _foo <(echo bar) \ --fish --name foo.fish <(echo baz) \ - --nushell --name foo.nu <(echo bucks) + --nushell --name foo.nu <(echo bucks) \ + --powershell --name foo.Completion.ps1 <(echo corge) [[ $(<$out/share/bash-completion/completions/foo.bash) == foo ]] || { echo "foo.bash comparison failed"; exit 1; } [[ $(<$out/share/zsh/site-functions/_foo) == bar ]] || { echo "_foo comparison failed"; exit 1; } [[ $(<$out/share/fish/vendor_completions.d/foo.fish) == baz ]] || { echo "foo.fish comparison failed"; exit 1; } [[ $(<$out/share/nushell/vendor/autoload/foo.nu) == bucks ]] || { echo "foo.nu comparison failed"; exit 1; } + [[ $(<$out/share/powershell/foo.Completion.ps1) == corge ]] || { echo "foo.Completion.ps1 comparison failed"; exit 1; } '' diff --git a/pkgs/by-name/in/installShellFiles/tests/install-completion.nix b/pkgs/by-name/in/installShellFiles/tests/install-completion.nix index 37fec86e8afa..e110f0e2d5ef 100644 --- a/pkgs/by-name/in/installShellFiles/tests/install-completion.nix +++ b/pkgs/by-name/in/installShellFiles/tests/install-completion.nix @@ -16,12 +16,14 @@ runCommandLocal "install-shell-files--install-completion" echo qux > qux.zsh echo quux > quux echo quokka > quokka + echo corge > corge.ps1 installShellCompletion \ --bash foo bar \ --zsh baz qux.zsh \ --fish quux \ - --nushell quokka + --nushell quokka \ + --powershell corge.ps1 cmp foo $out/share/bash-completion/completions/foo cmp bar $out/share/bash-completion/completions/bar @@ -29,4 +31,5 @@ runCommandLocal "install-shell-files--install-completion" cmp qux.zsh $out/share/zsh/site-functions/_qux cmp quux $out/share/fish/vendor_completions.d/quux cmp quokka $out/share/nushell/vendor/autoload/quokka + cmp corge.ps1 $out/share/powershell/corge.Completion.ps1 '' From 52402af4221466cffaa68138cd41693d1cf5de5a Mon Sep 17 00:00:00 2001 From: Joseph LaFreniere Date: Fri, 3 Apr 2026 21:14:08 -0500 Subject: [PATCH 0284/2378] tea: use installShellFiles for PowerShell completion --- pkgs/by-name/te/tea/package.nix | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/pkgs/by-name/te/tea/package.nix b/pkgs/by-name/te/tea/package.nix index a8fe85f314ec..23f2273b2c18 100644 --- a/pkgs/by-name/te/tea/package.nix +++ b/pkgs/by-name/te/tea/package.nix @@ -43,11 +43,9 @@ buildGoModule (finalAttrs: { installShellCompletion --cmd tea \ --bash <($out/bin/tea completion bash) \ --fish <($out/bin/tea completion fish) \ + --powershell <($out/bin/tea completion pwsh) \ --zsh <($out/bin/tea completion zsh) - mkdir $out/share/powershell/ -p - $out/bin/tea completion pwsh > $out/share/powershell/tea.Completion.ps1 - $out/bin/tea man --out $out/share/man/man1/tea.1 ''; From 1b05e40be1316af1b1b3485add8a36bc32c170c4 Mon Sep 17 00:00:00 2001 From: Joseph LaFreniere Date: Sun, 11 Oct 2026 22:04:23 -0500 Subject: [PATCH 0285/2378] nix-auth: use installShellFiles for PowerShell completion --- pkgs/by-name/ni/nix-auth/package.nix | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/pkgs/by-name/ni/nix-auth/package.nix b/pkgs/by-name/ni/nix-auth/package.nix index 662cf1af7649..6d929743e404 100644 --- a/pkgs/by-name/ni/nix-auth/package.nix +++ b/pkgs/by-name/ni/nix-auth/package.nix @@ -36,10 +36,8 @@ buildGoModule (finalAttrs: { installShellCompletion --cmd nix-auth \ --bash <($out/bin/nix-auth completion bash) \ --fish <($out/bin/nix-auth completion fish) \ + --powershell <($out/bin/nix-auth completion powershell) \ --zsh <($out/bin/nix-auth completion zsh) - - mkdir -p $out/share/powershell - $out/bin/nix-auth completion powershell > $out/share/powershell/nix-auth.Completion.ps1 ''; doInstallCheck = true; From 508cad3b0bc7ec19922ca08aeacb176cea3cdfc2 Mon Sep 17 00:00:00 2001 From: Henri Rosten Date: Mon, 12 Oct 2026 11:07:55 +0300 Subject: [PATCH 0286/2378] python3Packages.sqliteschema: relax typepy Allow typepy 2.0.0, which is now used on staging. The existing passthru pytest suite passes with this version (20 passed, 2 skipped). --- pkgs/development/python-modules/sqliteschema/default.nix | 2 ++ 1 file changed, 2 insertions(+) diff --git a/pkgs/development/python-modules/sqliteschema/default.nix b/pkgs/development/python-modules/sqliteschema/default.nix index aa985a8fe238..64d9b54dd6fe 100644 --- a/pkgs/development/python-modules/sqliteschema/default.nix +++ b/pkgs/development/python-modules/sqliteschema/default.nix @@ -24,6 +24,8 @@ buildPythonPackage rec { hash = "sha256-ZGDzGfj78v8o0GvAHcP26JiJCOWPaIr2h1Lqzh5AuSg="; }; + pythonRelaxDeps = [ "typepy" ]; + nativeBuildInputs = [ setuptools setuptools-scm From 883176d77fd88eebf7c6bd35c7ade78c656dd304 Mon Sep 17 00:00:00 2001 From: Henri Rosten Date: Mon, 12 Oct 2026 11:07:55 +0300 Subject: [PATCH 0287/2378] python3Packages.simplesqlite: relax typepy Allow typepy 2.0.0 after fixing the same constraint in sqliteschema. The existing pytest suite passes with this version (1682 passed, 11 skipped). --- pkgs/development/python-modules/simplesqlite/default.nix | 2 ++ 1 file changed, 2 insertions(+) diff --git a/pkgs/development/python-modules/simplesqlite/default.nix b/pkgs/development/python-modules/simplesqlite/default.nix index 49a11e1a7b64..4f263441afc4 100644 --- a/pkgs/development/python-modules/simplesqlite/default.nix +++ b/pkgs/development/python-modules/simplesqlite/default.nix @@ -24,6 +24,8 @@ buildPythonPackage rec { hash = "sha256-PObyZmmECxp6keRymYFGi4Uf07yNHu6rUIqSrRx2bPE="; }; + pythonRelaxDeps = [ "typepy" ]; + nativeBuildInputs = [ setuptools ]; propagatedBuildInputs = [ From 10b07d4b590b2a6d418c8cf3cc18fb5242a875c7 Mon Sep 17 00:00:00 2001 From: Henri Rosten Date: Mon, 12 Oct 2026 11:07:55 +0300 Subject: [PATCH 0288/2378] python3Packages.pytest-md-report: relax typepy Allow typepy 2.0.0, which is now used on staging. Without this change the runtime dependency check rejects typepy<2,>=1.1.1. All 47 package tests pass with the relaxed constraint. --- pkgs/development/python-modules/pytest-md-report/default.nix | 2 ++ 1 file changed, 2 insertions(+) diff --git a/pkgs/development/python-modules/pytest-md-report/default.nix b/pkgs/development/python-modules/pytest-md-report/default.nix index 676b41729691..13f86b1be6a9 100644 --- a/pkgs/development/python-modules/pytest-md-report/default.nix +++ b/pkgs/development/python-modules/pytest-md-report/default.nix @@ -22,6 +22,8 @@ buildPythonPackage rec { hash = "sha256-yOO38fkaDo59G5RuGyJPTzkYfaDfL4EnMTYaQ2oX9HI="; }; + pythonRelaxDeps = [ "typepy" ]; + build-system = [ setuptools setuptools-scm From 44cddf92c432c6abfe193c88e705c5b3e9498a14 Mon Sep 17 00:00:00 2001 From: Ross Smyth <18294397+RossSmyth@users.noreply.github.com> Date: Tue, 30 Jun 2026 11:44:54 -0400 Subject: [PATCH 0289/2378] rustPlatform.cargoSetupHook: Force system libs Set env vars to try and force to use Nixpkgs libraries --- .../rust/hooks/cargo-setup-hook.sh | 61 +++++++++++++++++++ 1 file changed, 61 insertions(+) diff --git a/pkgs/build-support/rust/hooks/cargo-setup-hook.sh b/pkgs/build-support/rust/hooks/cargo-setup-hook.sh index 4ba6760a1a23..862646b9d972 100644 --- a/pkgs/build-support/rust/hooks/cargo-setup-hook.sh +++ b/pkgs/build-support/rust/hooks/cargo-setup-hook.sh @@ -86,6 +86,67 @@ cargoSetupPostPatchHook() { echo "Finished cargoSetupPostPatchHook" } +cargoUseSystemLibs() { + # Sentinel directory that doesn't exist. For packages + # Where you tell it directories, but can't force it to only + # use system libraries + # + # Note that this isn't perfect, as some have fallbacks if their probing fails. + local -r sentinel_dir="$(mktemp -du nixpkgs.XXXX)/use/system/library" + + # https://docs.rs/system-deps/8.0.0/system_deps/#internally-build-system-libraries + export SYSTEM_DEPS_BUILD_INTERNAL="never" + + # https://github.com/aws/aws-lc-rs/blob/741dbf573a64b6a1e1e6b7c1131a0f8153a28441/aws-lc-sys/README.md#automatic-detection + export AWS_LC_SYS_USE_SYSTEM="1" + + # https://github.com/rust-openssl/rust-openssl/blob/b46d5ec06144795e8f9e118c44bebd392956917a/openssl-sys/build/main.rs#L53 + export OPENSSL_NO_VENDOR="1" + + # 1 = Links statically to the vendored one + # 0 = Use pkg-config + # https://github.com/rust-lang/libz-sys/blob/2ce3271849d85329b668e0bac9f21427ecf8aef9/build.rs#L256 + export LIBZ_SYS_STATIC="0" + + # https://github.com/rusqlite/rusqlite/blob/db83b9b08d9cab73f912501eefb8df7b100acd7d/libsqlite3-sys/build.rs#L53 + export LIBSQLITE3_SYS_USE_PKG_CONFIG="1" + + # https://github.com/gyscos/zstd-rs/blob/ad18ca4e275aed9acc3087d7c1c65d03ab67ad6e/zstd-safe/zstd-sys/build.rs#L279 + export ZSTD_SYS_USE_PKG_CONFIG="1" + + # https://github.com/rust-lang/git2-rs/blob/a00922bcdf0f78419aa5dd0d3643e73ce01672a8/libgit2-sys/build.rs#L95 + export LIBGIT2_NO_VENDOR="1" + + # https://github.com/sodiumoxide/sodiumoxide/blob/3057acb1a030ad86ed8892a223d64036ab5e8523/libsodium-sys/build.rs#L34 + export SODIUM_USE_PKG_CONFIG="1" + + # https://github.com/rust-onig/rust-onig/blob/73e63eb3eea6d93d24a4aadf7fea580287750c7d/onig_sys/build.rs#L250 + export RUSTONIG_SYSTEM_LIBONIG="1" + + # https://github.com/rust-lang/ssh2-rs/blob/0a11bdd4eecf4525e540c30f14b15ab1c07194b7/libssh2-sys/build.rs#L23 + export LIBSSH2_SYS_USE_PKG_CONFIG="1" + + # We can only supply the src dir. + # https://github.com/nginx/ngx-rust/tree/main/nginx-sys#input-variables + # Since we don't want to pull it in for every build, we set it to a dummy value + # in all builds, but lets the user set it via `env.NGINX_SOURCE_DIR = nginx.src` + export NGINX_SOURCE_DIR="${NGINX_SOURCE_DIR:-"$sentinel_dir/nginx/src"}" + + # We can only supply the lib and include dirs + # https://github.com/duckdb/duckdb-rs/blob/ea700a79534c8e8c22a9ac685135f15c31de91d3/crates/libduckdb-sys/build.rs#L203 + # Set to sentinel by default again + # There is also a DUCKDB_LIB_DIR var, but I think only one needs to be set. + export DUCKDB_DOWNLOAD_LIB="0" + export DUCKDB_INCLUDE_DIR="${DUCKDB_INCLUDE_DIR:-"$sentinel_dir/duckdb/include"}" + + # https://github.com/tikv/jemallocator/blob/a181911517adff5331e43dfd9804086f7c392a25/jemalloc-sys/build.rs#L132 + export JEMALLOC_OVERRIDE="${JEMALLOC_OVERRIDE:-"$sentinel_dir/lib/libjemalloc"}" +} + +if [[ -z "${dontCargoUseSystemLibs-}" ]]; then + preConfigureHooks+=(cargoUseSystemLibs) +fi + if [ -z "${dontCargoSetupPostUnpack-}" ]; then postUnpackHooks+=(cargoSetupPostUnpackHook) fi From 2b9f1c9bb7455612d76382f3191fd1a4a7e6818c Mon Sep 17 00:00:00 2001 From: Ross Smyth <18294397+RossSmyth@users.noreply.github.com> Date: Tue, 6 Oct 2026 12:49:38 -0400 Subject: [PATCH 0290/2378] cargo: fix build with forced system packages --- pkgs/development/compilers/rust/cargo.nix | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/pkgs/development/compilers/rust/cargo.nix b/pkgs/development/compilers/rust/cargo.nix index 64aa7d9cffd2..5155e41c4578 100644 --- a/pkgs/development/compilers/rust/cargo.nix +++ b/pkgs/development/compilers/rust/cargo.nix @@ -10,6 +10,8 @@ openssl, cmake, zlib, + libgit2, + sqlite, installShellFiles, makeWrapper, rustPlatform, @@ -54,6 +56,8 @@ rustPlatform.buildRustPackage.override python3 openssl zlib + libgit2 + sqlite ]; env = { From ef5037eb7b9500d3c32b0206e6c45f88da6d1804 Mon Sep 17 00:00:00 2001 From: Ross Smyth <18294397+RossSmyth@users.noreply.github.com> Date: Tue, 6 Oct 2026 13:00:06 -0400 Subject: [PATCH 0291/2378] mercurial: fix forced system deps build --- pkgs/by-name/me/mercurial/package.nix | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/pkgs/by-name/me/mercurial/package.nix b/pkgs/by-name/me/mercurial/package.nix index badad6378c51..76f3e605ddbb 100644 --- a/pkgs/by-name/me/mercurial/package.nix +++ b/pkgs/by-name/me/mercurial/package.nix @@ -11,6 +11,7 @@ cargo, rustPlatform, rustc, + pkg-config, fullBuild ? false, gitSupport ? fullBuild, guiSupport ? fullBuild, @@ -24,6 +25,7 @@ git, cacert, gnupg, + zstd, }: let @@ -83,8 +85,14 @@ let rustPlatform.cargoSetupHook cargo rustc + pkg-config + ]; + buildInputs = [ + docutils + ] + ++ lib.optionals rustSupport [ + zstd ]; - buildInputs = [ docutils ]; makeFlags = [ "PREFIX=$(out)" ] ++ lib.optional rustSupport "PURE=--rust"; From d00f3c7bcb378e29d0bda598684af388d0e02003 Mon Sep 17 00:00:00 2001 From: Ross Smyth <18294397+RossSmyth@users.noreply.github.com> Date: Tue, 6 Oct 2026 13:42:01 -0400 Subject: [PATCH 0292/2378] dump_syms: fix forced system deps --- pkgs/by-name/du/dump_syms/package.nix | 2 ++ 1 file changed, 2 insertions(+) diff --git a/pkgs/by-name/du/dump_syms/package.nix b/pkgs/by-name/du/dump_syms/package.nix index 29955f5fe098..f340fc3dfb9c 100644 --- a/pkgs/by-name/du/dump_syms/package.nix +++ b/pkgs/by-name/du/dump_syms/package.nix @@ -5,6 +5,7 @@ fetchFromGitHub, pkg-config, openssl, + zstd, # tests firefox-esr-unwrapped, @@ -31,6 +32,7 @@ rustPlatform.buildRustPackage (finalAttrs: { buildInputs = [ openssl + zstd ]; checkFlags = [ From 1d36ade3e6c82928e5a2051610d61f51ecfea4e4 Mon Sep 17 00:00:00 2001 From: Ross Smyth <18294397+RossSmyth@users.noreply.github.com> Date: Tue, 6 Oct 2026 14:12:59 -0400 Subject: [PATCH 0293/2378] cargo-c: fix forced system deps --- pkgs/by-name/ca/cargo-c/package.nix | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/pkgs/by-name/ca/cargo-c/package.nix b/pkgs/by-name/ca/cargo-c/package.nix index 159334080752..82edc445defb 100644 --- a/pkgs/by-name/ca/cargo-c/package.nix +++ b/pkgs/by-name/ca/cargo-c/package.nix @@ -5,6 +5,8 @@ pkg-config, curl, openssl, + libgit2, + sqlite, stdenv, libiconv, rav1e, @@ -31,6 +33,8 @@ rustPlatform.buildRustPackage (finalAttrs: { (lib.getDev curl) ]; buildInputs = [ + sqlite + libgit2 openssl curl ] From 1430dd742381f51bdabe6a40c399f567a3bd8208 Mon Sep 17 00:00:00 2001 From: Ross Smyth <18294397+RossSmyth@users.noreply.github.com> Date: Tue, 6 Oct 2026 15:06:08 -0400 Subject: [PATCH 0294/2378] maturin: fix forced system deps --- pkgs/by-name/ma/maturin/package.nix | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/pkgs/by-name/ma/maturin/package.nix b/pkgs/by-name/ma/maturin/package.nix index fbd70069d9b1..81c6fa1856bd 100644 --- a/pkgs/by-name/ma/maturin/package.nix +++ b/pkgs/by-name/ma/maturin/package.nix @@ -8,6 +8,8 @@ nix-update-script, maturin, python3, + pkg-config, + zstd, }: rustPlatform.buildRustPackage (finalAttrs: { @@ -23,7 +25,14 @@ rustPlatform.buildRustPackage (finalAttrs: { cargoHash = "sha256-WRVXmhwhbOf2Isjvyqw3d4scA5Vs8Vkyy1m7WC3xb0s="; - buildInputs = lib.optionals stdenv.hostPlatform.isDarwin [ + nativeBuildInputs = [ + pkg-config + ]; + + buildInputs = [ + zstd + ] + ++ lib.optionals stdenv.hostPlatform.isDarwin [ libiconv ]; From 7edec0360f61c784ed7e596f6ee74ccb2c94e837 Mon Sep 17 00:00:00 2001 From: Ross Smyth <18294397+RossSmyth@users.noreply.github.com> Date: Wed, 7 Oct 2026 10:08:26 -0400 Subject: [PATCH 0295/2378] python3Packages.uv-build: fix forced system deps --- pkgs/development/python-modules/uv-build/default.nix | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/pkgs/development/python-modules/uv-build/default.nix b/pkgs/development/python-modules/uv-build/default.nix index ef304a61afe8..a635a9efc301 100644 --- a/pkgs/development/python-modules/uv-build/default.nix +++ b/pkgs/development/python-modules/uv-build/default.nix @@ -7,6 +7,8 @@ buildPythonPackage, rustPlatform, callPackage, + pkg-config, + pkgsHostTarget, }: buildPythonPackage (finalAttrs: { @@ -34,6 +36,11 @@ buildPythonPackage (finalAttrs: { nativeBuildInputs = [ rustPlatform.cargoSetupHook rustPlatform.maturinBuildHook + pkg-config + ]; + + buildInputs = [ + pkgsHostTarget.zstd ]; cargoDeps = rustPlatform.fetchCargoVendor { From 4c0c1a10445d63c38526a73df255d213d06726a0 Mon Sep 17 00:00:00 2001 From: tree-sapii <144389458+tree-sapii@users.noreply.github.com> Date: Thu, 8 Oct 2026 17:03:36 -0400 Subject: [PATCH 0296/2378] openjpeg: fix CVE-2026-6192 --- pkgs/by-name/op/openjpeg/package.nix | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/pkgs/by-name/op/openjpeg/package.nix b/pkgs/by-name/op/openjpeg/package.nix index bce784c942d7..5eff366e73af 100644 --- a/pkgs/by-name/op/openjpeg/package.nix +++ b/pkgs/by-name/op/openjpeg/package.nix @@ -2,7 +2,7 @@ lib, stdenv, fetchFromGitHub, - fetchpatch, + fetchpatch2, cmake, pkg-config, libpng, @@ -49,6 +49,14 @@ stdenv.mkDerivation rec { hash = "sha256-HSXGdpHUbwlYy5a+zKpcLo2d+b507Qf5nsaMghVBlZ8="; }; + patches = [ + (fetchpatch2 { + name = "CVE-2026-6192.patch"; + url = "https://patch-diff.githubusercontent.com/raw/uclouvain/openjpeg/pull/1621.patch?full_index=1"; + hash = "sha256-TyDcugRF8fPCA4H5HzGCAKcfx5m3nWsaeMieUbU7OEI="; + }) + ]; + outputs = [ "out" "dev" From 6ea503351faf48b8c7e4a5e46a0c30ff4c8337c5 Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Mon, 12 Oct 2026 18:25:09 +0200 Subject: [PATCH 0297/2378] openjpeg: enable strictDeps --- pkgs/by-name/op/openjpeg/package.nix | 2 ++ 1 file changed, 2 insertions(+) diff --git a/pkgs/by-name/op/openjpeg/package.nix b/pkgs/by-name/op/openjpeg/package.nix index bce784c942d7..0ad28d2f723e 100644 --- a/pkgs/by-name/op/openjpeg/package.nix +++ b/pkgs/by-name/op/openjpeg/package.nix @@ -83,6 +83,8 @@ stdenv.mkDerivation rec { ] ++ lib.optional jpipLibSupport jdk; + strictDeps = true; + # tests did fail on powerpc64 doCheck = !stdenv.hostPlatform.isPower64 && stdenv.buildPlatform.canExecute stdenv.hostPlatform; From 762c35027624c4f0597c95272a66f1d5a2e38e99 Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Mon, 12 Oct 2026 18:25:28 +0200 Subject: [PATCH 0298/2378] openjpeg: enable structuredAttrs --- pkgs/by-name/op/openjpeg/package.nix | 2 ++ 1 file changed, 2 insertions(+) diff --git a/pkgs/by-name/op/openjpeg/package.nix b/pkgs/by-name/op/openjpeg/package.nix index 0ad28d2f723e..c6aaeae2badf 100644 --- a/pkgs/by-name/op/openjpeg/package.nix +++ b/pkgs/by-name/op/openjpeg/package.nix @@ -114,6 +114,8 @@ stdenv.mkDerivation rec { }; }; + __structuredAttrs = true; + meta = { description = "Open-source JPEG 2000 codec written in C language"; homepage = "https://www.openjpeg.org/"; From 99c9f5f9a8239f5cb6d9d5b764df854160bf1546 Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Mon, 12 Oct 2026 18:25:44 +0200 Subject: [PATCH 0299/2378] openjpeg: use finalAttrs, tag --- pkgs/by-name/op/openjpeg/package.nix | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/pkgs/by-name/op/openjpeg/package.nix b/pkgs/by-name/op/openjpeg/package.nix index c6aaeae2badf..ca6b3d025e99 100644 --- a/pkgs/by-name/op/openjpeg/package.nix +++ b/pkgs/by-name/op/openjpeg/package.nix @@ -38,14 +38,14 @@ let hash = "sha256-ckZHCZV5UJicVUoi/mZDwvCJneXC3X+NA8Byp6GLE0w="; }; in -stdenv.mkDerivation rec { +stdenv.mkDerivation (finalAttrs: { pname = "openjpeg"; version = "2.5.4"; src = fetchFromGitHub { owner = "uclouvain"; repo = "openjpeg"; - rev = "v${version}"; + tag = "v${finalAttrs.version}"; hash = "sha256-HSXGdpHUbwlYy5a+zKpcLo2d+b507Qf5nsaMghVBlZ8="; }; @@ -62,9 +62,9 @@ stdenv.mkDerivation rec { (lib.cmakeBool "BUILD_JPIP_SERVER" jpipServerSupport) "-DBUILD_VIEWER=OFF" "-DBUILD_JAVA=OFF" - (lib.cmakeBool "BUILD_TESTING" doCheck) + (lib.cmakeBool "BUILD_TESTING" finalAttrs.finalPackage.doCheck) ] - ++ lib.optional doCheck "-DOPJ_DATA_ROOT=${test-data}"; + ++ lib.optional finalAttrs.finalPackage.doCheck "-DOPJ_DATA_ROOT=${test-data}"; nativeBuildInputs = [ cmake @@ -96,7 +96,7 @@ stdenv.mkDerivation rec { ''; passthru = { - incDir = "openjpeg-${lib.versions.majorMinor version}"; + incDir = "openjpeg-${lib.versions.majorMinor finalAttrs.version}"; tests = { ffmpeg = ffmpeg.override { withOpenjpeg = true; }; imagemagick = imagemagick.override { openjpegSupport = true; }; @@ -122,6 +122,6 @@ stdenv.mkDerivation rec { license = lib.licenses.bsd2; maintainers = [ ]; platforms = lib.platforms.all; - changelog = "https://github.com/uclouvain/openjpeg/blob/v${version}/CHANGELOG.md"; + changelog = "https://github.com/uclouvain/openjpeg/blob/v${finalAttrs.version}/CHANGELOG.md"; }; -} +}) From 8f76d8320bc9d795fbe8b34683e73302dc06e135 Mon Sep 17 00:00:00 2001 From: Sarah Clark Date: Mon, 12 Oct 2026 10:12:41 -0700 Subject: [PATCH 0300/2378] cairosvg: update to finalAttrs, __structuredAttrs --- pkgs/development/python-modules/cairosvg/default.nix | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/pkgs/development/python-modules/cairosvg/default.nix b/pkgs/development/python-modules/cairosvg/default.nix index 7daab37c42a4..130dec3388f5 100644 --- a/pkgs/development/python-modules/cairosvg/default.nix +++ b/pkgs/development/python-modules/cairosvg/default.nix @@ -17,15 +17,16 @@ pytestCheckHook, }: -buildPythonPackage rec { +buildPythonPackage (finalAttrs: { pname = "cairosvg"; version = "2.9.0"; pyproject = true; + __structuredAttrs = true; src = fetchFromGitHub { owner = "Kozea"; repo = "CairoSVG"; - tag = version; + tag = finalAttrs.version; hash = "sha256-WtMFOYaN/cRrL1Q4ma/UkR3kNFObNhp0Gm7i9NQAqz8="; }; @@ -49,10 +50,10 @@ buildPythonPackage rec { meta = { homepage = "https://cairosvg.org"; - changelog = "https://github.com/Kozea/CairoSVG/releases/tag/${version}"; + changelog = "https://github.com/Kozea/CairoSVG/releases/tag/${finalAttrs.src.tag}"; license = lib.licenses.lgpl3Plus; description = "SVG converter based on Cairo"; mainProgram = "cairosvg"; maintainers = [ lib.maintainers.sarahec ]; }; -} +}) From ab02c5b49db41b8cc75b2d2fb57499193d7493fd Mon Sep 17 00:00:00 2001 From: Sarah Clark Date: Sun, 11 Oct 2026 19:03:27 +0000 Subject: [PATCH 0301/2378] cairosvg: 2.9.0 -> 2.9.1 --- pkgs/development/python-modules/cairosvg/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/cairosvg/default.nix b/pkgs/development/python-modules/cairosvg/default.nix index 130dec3388f5..b6c027589dc6 100644 --- a/pkgs/development/python-modules/cairosvg/default.nix +++ b/pkgs/development/python-modules/cairosvg/default.nix @@ -19,7 +19,7 @@ buildPythonPackage (finalAttrs: { pname = "cairosvg"; - version = "2.9.0"; + version = "2.9.1"; pyproject = true; __structuredAttrs = true; @@ -27,7 +27,7 @@ buildPythonPackage (finalAttrs: { owner = "Kozea"; repo = "CairoSVG"; tag = finalAttrs.version; - hash = "sha256-WtMFOYaN/cRrL1Q4ma/UkR3kNFObNhp0Gm7i9NQAqz8="; + hash = "sha256-yIUuhBmq15xwHznEq8l5z8QSkhQQc3GjTbJw5L2ZX+I="; }; build-system = [ setuptools ]; From 866a1e00565e7eca0970eb1c8ee35cc8d5bebc46 Mon Sep 17 00:00:00 2001 From: kalishxern Date: Thu, 8 Oct 2026 16:46:57 +0700 Subject: [PATCH 0302/2378] unixodbcDrivers.sqlite: fix installPhase race condition --- pkgs/development/libraries/unixODBCDrivers/default.nix | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/pkgs/development/libraries/unixODBCDrivers/default.nix b/pkgs/development/libraries/unixODBCDrivers/default.nix index 5b1c363f26ea..536ba94d00bd 100644 --- a/pkgs/development/libraries/unixODBCDrivers/default.nix +++ b/pkgs/development/libraries/unixODBCDrivers/default.nix @@ -144,14 +144,15 @@ "--with-sqlite3=${sqlite.dev}" ]; - installTargets = [ "install-3" ]; + enableParallelInstalling = false; - # move libraries to $out/lib where they're expected to be - postInstall = '' + # Will not be automatically created by the makefile + preInstall = '' mkdir -p "$out/lib" - mv "$out"/*.* "$out/lib" ''; + installTargets = [ "install-3" ]; + # see the top of the file for an explanation passthru = { fancyName = "SQLite"; From e1107b4eebf74c2143f159419e681e3a05ba5070 Mon Sep 17 00:00:00 2001 From: dish Date: Tue, 29 Sep 2026 11:59:29 -0400 Subject: [PATCH 0303/2378] openjdk: Refactor how patches get built Refactors out the patchset into its own file, with logic encoded. Heavily based off of the LLVM functions doing the same, but with changes that make sense for OpenJDK instead. Also refactors out a few of the generic version comparison functions, as they will make it easier to encode logic in the future. --- .../development/compilers/openjdk/generic.nix | 156 +++++++----------- .../development/compilers/openjdk/patches.nix | 141 ++++++++++++++++ 2 files changed, 200 insertions(+), 97 deletions(-) create mode 100644 pkgs/development/compilers/openjdk/patches.nix diff --git a/pkgs/development/compilers/openjdk/generic.nix b/pkgs/development/compilers/openjdk/generic.nix index 8de868bb664b..44dc405aa450 100644 --- a/pkgs/development/compilers/openjdk/generic.nix +++ b/pkgs/development/compilers/openjdk/generic.nix @@ -97,11 +97,58 @@ let featureVersionPrefix = tagPrefix + featureVersion; }; - atLeast11 = lib.versionAtLeast featureVersion "11"; - atLeast17 = lib.versionAtLeast featureVersion "17"; - atLeast21 = lib.versionAtLeast featureVersion "21"; - atLeast23 = lib.versionAtLeast featureVersion "23"; - atLeast25 = lib.versionAtLeast featureVersion "25"; + # Version comparison functions since we check for versions so often + atLeast = lib.versionAtLeast featureVersion; + is = major: featureVersion == major; + # If a JDK version is between two versions, i.e `between "8" "11"` to match versions between 8 and 11. + # Note this is inclusive at low end and exclusive at top end, so 8 would match the above example, but 11 will not. + between = old: new: (atLeast old) && (lib.versionOlder featureVersion new); + + atLeast11 = atLeast "11"; + atLeast17 = atLeast "17"; + atLeast21 = atLeast "21"; + atLeast23 = atLeast "23"; + atLeast25 = atLeast "25"; + + allPatches = import ./patches.nix { inherit fetchurl fetchpatch; }; + + # Checks if a single patch object is applicable to the featureVersion being called. + isPatchApplicable = + patch: + let + a = patch.atLeast or "0"; + # If this doesn't exist, return a number we assume JDK featureVersions will never reach + b = patch.before or "9999"; + in + if patch ? only then (is patch.only) else (between a b); + + # Filters all patches in a patchset(list of patch attrs) to find ones applicable to this version + findApplicable = + name: patchSet: + let + # Returns a single patch matching this predicate + patch = builtins.filter isPatchApplicable patchSet; + in + # If no patches, return an empty list. + # If there is a patch, construct it from the path and patch name, or function if available. + if patch == [ ] then + [ ] + else + let + # We only expect a single patch. + # Warn if there's more than one patch, as we only expect one from every patchset. + p = lib.warnIf (builtins.length patch > 1) "multiple applicable versions of patch '${name}'" ( + builtins.head patch + ); + in + [ + (p.func or /${p.path}/patches/${name}) + ]; + + # `patches` builder + # Does not encode any logic for `headless` or `enableGtk` so any patches relying on that + # should concat to this list below instead + patchesForVersion = lib.concatAttrValues (builtins.mapAttrs findApplicable allPatches); tagPrefix = if atLeast11 then "jdk-" else "jdk"; version = lib.removePrefix "refs/tags/${tagPrefix}" source.src.rev; @@ -143,98 +190,13 @@ stdenv.mkDerivation (finalAttrs: { inherit (source) src; - patches = [ - ( - if atLeast25 then - ./25/patches/fix-java-home-jdk25.patch - else if atLeast21 then - ./21/patches/fix-java-home-jdk21.patch - else if atLeast11 then - ./11/patches/fix-java-home-jdk10.patch - else - ./8/patches/fix-java-home-jdk8.patch - ) - ( - if atLeast25 then - ./25/patches/read-truststore-from-env-jdk25.patch - else if atLeast11 then - ./11/patches/read-truststore-from-env-jdk10.patch - else - ./8/patches/read-truststore-from-env-jdk8.patch - ) - ] - ++ lib.optionals (!atLeast23) [ - ( - if atLeast11 then - ./11/patches/currency-date-range-jdk10.patch - else - ./8/patches/currency-date-range-jdk8.patch - ) - ] - ++ lib.optionals atLeast11 [ - ( - if atLeast17 then - ./17/patches/increase-javadoc-heap-jdk13.patch - else - ./11/patches/increase-javadoc-heap.patch - ) - ] - ++ lib.optionals atLeast17 [ - ( - if atLeast21 then - ./21/patches/ignore-LegalNoticeFilePlugin-jdk18.patch - else - ./17/patches/ignore-LegalNoticeFilePlugin-jdk17.patch - ) - ] - ++ lib.optionals (!atLeast21) [ - ( - if atLeast17 then - ./17/patches/fix-library-path-jdk17.patch - else if atLeast11 then - ./11/patches/fix-library-path-jdk11.patch - else - ./8/patches/fix-library-path-jdk8.patch - ) - ] - ++ lib.optionals (atLeast17 && !atLeast23) [ - # -Wformat etc. are stricter in newer gccs, per - # https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79677 - # so grab the work-around from - # https://src.fedoraproject.org/rpms/java-openjdk/pull-request/24 - (fetchurl { - url = "https://src.fedoraproject.org/rpms/java-openjdk/raw/06c001c7d87f2e9fe4fedeef2d993bcd5d7afa2a/f/rh1673833-remove_removal_of_wformat_during_test_compilation.patch"; - sha256 = "082lmc30x64x583vqq00c8y0wqih3y4r0mp1c4bqq36l22qv6b6r"; - }) - ] - ++ lib.optionals (featureVersion == "17") [ - # Patch borrowed from Alpine to fix build errors with musl libc and recent gcc. - # This is applied anywhere to prevent patchrot. - (fetchurl { - url = "https://git.alpinelinux.org/aports/plain/community/openjdk17/FixNullPtrCast.patch?id=41e78a067953e0b13d062d632bae6c4f8028d91c"; - sha256 = "sha256-LzmSew51+DyqqGyyMw2fbXeBluCiCYsS1nCjt9hX6zo="; - }) - ] - ++ lib.optionals (atLeast11 && !atLeast25) [ - # Fix build for gnumake-4.4.1: - # https://github.com/openjdk/jdk/pull/12992 - (fetchpatch { - name = "gnumake-4.4.1"; - url = "https://github.com/openjdk/jdk/commit/9341d135b855cc208d48e47d30cd90aafa354c36.patch"; - hash = "sha256-Qcm3ZmGCOYLZcskNjj7DYR85R4v07vYvvavrVOYL8vg="; - }) - ] - ++ lib.optionals atLeast25 [ - ./25/patches/make-4.4.1.patch - ] - ++ lib.optionals (!headless && enableGtk) [ - ( - if atLeast17 then ./17/patches/swing-use-gtk-jdk13.patch else ./11/patches/swing-use-gtk-jdk10.patch - ) - ] - ++ lib.optionals (featureVersion == "11") [ - ./11/patches/fix-oopdesc-ptr-alignment-ub.patch - ]; + patches = + patchesForVersion + ++ lib.optionals (!headless && enableGtk) [ + ( + if atLeast17 then ./17/patches/swing-use-gtk-jdk13.patch else ./11/patches/swing-use-gtk-jdk10.patch + ) + ]; strictDeps = true; diff --git a/pkgs/development/compilers/openjdk/patches.nix b/pkgs/development/compilers/openjdk/patches.nix new file mode 100644 index 000000000000..e8b9884fa59f --- /dev/null +++ b/pkgs/development/compilers/openjdk/patches.nix @@ -0,0 +1,141 @@ +{ fetchurl, fetchpatch }: +# JDK Patchsets +# Each attrset is the name of a patch, with a list of patch attrs +# Any version that does not match a patchset constraint will not have a patch applied. +# Each patch attr has the following values: +# # EITHER: +# # path: The path to the directory where the patch is found +# # func: A fetchpatch call to fetch the patch. Available so not everything has to be vendored. +# # AND +# # EITHER: +# # `only`: Specifies this patch only applies to that major version +# # OR(must have one or both) +# # `atLeast`: The patch is only applied to this version and higher(INCLUSIVE, so "8" includes 8) +# # `before`: The patch applies to versions before this number(EXCLUSIVE, so "8" is versions before 8) +{ + "fix-java-home.patch" = [ + { + atLeast = "25"; + path = ./25; + } + { + atLeast = "21"; + before = "25"; + path = ./21; + } + { + atLeast = "11"; + before = "21"; + path = ./11; + } + { + atLeast = "8"; + before = "11"; + path = ./8; + } + ]; + "read-truststore-from-env.patch" = [ + { + atLeast = "25"; + path = ./25; + } + { + atLeast = "11"; + before = "25"; + path = ./11; + } + { + before = "11"; + path = ./8; + } + ]; + "currency-date-range.patch" = [ + { + atLeast = "11"; + before = "23"; + path = ./11; + } + { + before = "11"; + path = ./8; + } + ]; + "increase-javadoc-heap.patch" = [ + { + atLeast = "17"; + path = ./17; + } + { + atLeast = "11"; + before = "17"; + path = ./11; + } + ]; + "ignore-LegalNoticeFilePlugin.patch" = [ + { + atLeast = "21"; + path = ./21; + } + { + atLeast = "17"; + before = "21"; + path = ./17; + } + ]; + "fix-library-path.patch" = [ + { + atLeast = "17"; + before = "21"; + path = ./17; + } + { + atLeast = "11"; + before = "17"; + path = ./11; + } + { + before = "11"; + path = ./8; + } + ]; + "wformat-fix.patch" = [ + { + atLeast = "17"; + before = "22"; + func = fetchurl { + url = "https://src.fedoraproject.org/rpms/java-openjdk/raw/06c001c7d87f2e9fe4fedeef2d993bcd5d7afa2a/f/rh1673833-remove_removal_of_wformat_during_test_compilation.patch"; + sha256 = "082lmc30x64x583vqq00c8y0wqih3y4r0mp1c4bqq36l22qv6b6r"; + }; + } + ]; + "fix-nullptr-cast.patch" = [ + { + only = "17"; + func = fetchurl { + url = "https://git.alpinelinux.org/aports/plain/community/openjdk17/FixNullPtrCast.patch?id=41e78a067953e0b13d062d632bae6c4f8028d91c"; + sha256 = "sha256-LzmSew51+DyqqGyyMw2fbXeBluCiCYsS1nCjt9hX6zo="; + }; + } + ]; + "gnumake-4.4-fix.patch" = [ + { + atLeast = "25"; + path = ./25; + } + { + atLeast = "11"; + before = "25"; + func = fetchpatch { + name = "gnumake-4.4.1"; + url = "https://github.com/openjdk/jdk/commit/9341d135b855cc208d48e47d30cd90aafa354c36.patch"; + hash = "sha256-Qcm3ZmGCOYLZcskNjj7DYR85R4v07vYvvavrVOYL8vg="; + }; + } + ]; + "fix-oopdesc-ptr-alignment-ub.patch" = [ + { + only = "11"; + path = ./11; + } + ]; +} From a35a1b81b9204c25098af1ff9ee26227f824f137 Mon Sep 17 00:00:00 2001 From: dish Date: Tue, 29 Sep 2026 12:04:54 -0400 Subject: [PATCH 0304/2378] openjdk: move patches Moves patches to new filenames based on the previous patch refactor commit --- ...urrency-date-range-jdk10.patch => currency-date-range.patch} | 0 .../patches/{fix-java-home-jdk10.patch => fix-java-home.patch} | 0 .../{fix-library-path-jdk11.patch => fix-library-path.patch} | 0 ...tore-from-env-jdk10.patch => read-truststore-from-env.patch} | 0 .../{fix-library-path-jdk17.patch => fix-library-path.patch} | 0 ...ilePlugin-jdk17.patch => ignore-LegalNoticeFilePlugin.patch} | 0 ...ase-javadoc-heap-jdk13.patch => increase-javadoc-heap.patch} | 0 .../patches/{fix-java-home-jdk21.patch => fix-java-home.patch} | 0 ...ilePlugin-jdk18.patch => ignore-LegalNoticeFilePlugin.patch} | 0 .../patches/{fix-java-home-jdk25.patch => fix-java-home.patch} | 0 ...tore-from-env-jdk25.patch => read-truststore-from-env.patch} | 0 ...currency-date-range-jdk8.patch => currency-date-range.patch} | 0 .../8/patches/{fix-java-home-jdk8.patch => fix-java-home.patch} | 0 .../{fix-library-path-jdk8.patch => fix-library-path.patch} | 0 ...store-from-env-jdk8.patch => read-truststore-from-env.patch} | 0 pkgs/development/compilers/openjdk/patches.nix | 2 +- 16 files changed, 1 insertion(+), 1 deletion(-) rename pkgs/development/compilers/openjdk/11/patches/{currency-date-range-jdk10.patch => currency-date-range.patch} (100%) rename pkgs/development/compilers/openjdk/11/patches/{fix-java-home-jdk10.patch => fix-java-home.patch} (100%) rename pkgs/development/compilers/openjdk/11/patches/{fix-library-path-jdk11.patch => fix-library-path.patch} (100%) rename pkgs/development/compilers/openjdk/11/patches/{read-truststore-from-env-jdk10.patch => read-truststore-from-env.patch} (100%) rename pkgs/development/compilers/openjdk/17/patches/{fix-library-path-jdk17.patch => fix-library-path.patch} (100%) rename pkgs/development/compilers/openjdk/17/patches/{ignore-LegalNoticeFilePlugin-jdk17.patch => ignore-LegalNoticeFilePlugin.patch} (100%) rename pkgs/development/compilers/openjdk/17/patches/{increase-javadoc-heap-jdk13.patch => increase-javadoc-heap.patch} (100%) rename pkgs/development/compilers/openjdk/21/patches/{fix-java-home-jdk21.patch => fix-java-home.patch} (100%) rename pkgs/development/compilers/openjdk/21/patches/{ignore-LegalNoticeFilePlugin-jdk18.patch => ignore-LegalNoticeFilePlugin.patch} (100%) rename pkgs/development/compilers/openjdk/25/patches/{fix-java-home-jdk25.patch => fix-java-home.patch} (100%) rename pkgs/development/compilers/openjdk/25/patches/{read-truststore-from-env-jdk25.patch => read-truststore-from-env.patch} (100%) rename pkgs/development/compilers/openjdk/8/patches/{currency-date-range-jdk8.patch => currency-date-range.patch} (100%) rename pkgs/development/compilers/openjdk/8/patches/{fix-java-home-jdk8.patch => fix-java-home.patch} (100%) rename pkgs/development/compilers/openjdk/8/patches/{fix-library-path-jdk8.patch => fix-library-path.patch} (100%) rename pkgs/development/compilers/openjdk/8/patches/{read-truststore-from-env-jdk8.patch => read-truststore-from-env.patch} (100%) diff --git a/pkgs/development/compilers/openjdk/11/patches/currency-date-range-jdk10.patch b/pkgs/development/compilers/openjdk/11/patches/currency-date-range.patch similarity index 100% rename from pkgs/development/compilers/openjdk/11/patches/currency-date-range-jdk10.patch rename to pkgs/development/compilers/openjdk/11/patches/currency-date-range.patch diff --git a/pkgs/development/compilers/openjdk/11/patches/fix-java-home-jdk10.patch b/pkgs/development/compilers/openjdk/11/patches/fix-java-home.patch similarity index 100% rename from pkgs/development/compilers/openjdk/11/patches/fix-java-home-jdk10.patch rename to pkgs/development/compilers/openjdk/11/patches/fix-java-home.patch diff --git a/pkgs/development/compilers/openjdk/11/patches/fix-library-path-jdk11.patch b/pkgs/development/compilers/openjdk/11/patches/fix-library-path.patch similarity index 100% rename from pkgs/development/compilers/openjdk/11/patches/fix-library-path-jdk11.patch rename to pkgs/development/compilers/openjdk/11/patches/fix-library-path.patch diff --git a/pkgs/development/compilers/openjdk/11/patches/read-truststore-from-env-jdk10.patch b/pkgs/development/compilers/openjdk/11/patches/read-truststore-from-env.patch similarity index 100% rename from pkgs/development/compilers/openjdk/11/patches/read-truststore-from-env-jdk10.patch rename to pkgs/development/compilers/openjdk/11/patches/read-truststore-from-env.patch diff --git a/pkgs/development/compilers/openjdk/17/patches/fix-library-path-jdk17.patch b/pkgs/development/compilers/openjdk/17/patches/fix-library-path.patch similarity index 100% rename from pkgs/development/compilers/openjdk/17/patches/fix-library-path-jdk17.patch rename to pkgs/development/compilers/openjdk/17/patches/fix-library-path.patch diff --git a/pkgs/development/compilers/openjdk/17/patches/ignore-LegalNoticeFilePlugin-jdk17.patch b/pkgs/development/compilers/openjdk/17/patches/ignore-LegalNoticeFilePlugin.patch similarity index 100% rename from pkgs/development/compilers/openjdk/17/patches/ignore-LegalNoticeFilePlugin-jdk17.patch rename to pkgs/development/compilers/openjdk/17/patches/ignore-LegalNoticeFilePlugin.patch diff --git a/pkgs/development/compilers/openjdk/17/patches/increase-javadoc-heap-jdk13.patch b/pkgs/development/compilers/openjdk/17/patches/increase-javadoc-heap.patch similarity index 100% rename from pkgs/development/compilers/openjdk/17/patches/increase-javadoc-heap-jdk13.patch rename to pkgs/development/compilers/openjdk/17/patches/increase-javadoc-heap.patch diff --git a/pkgs/development/compilers/openjdk/21/patches/fix-java-home-jdk21.patch b/pkgs/development/compilers/openjdk/21/patches/fix-java-home.patch similarity index 100% rename from pkgs/development/compilers/openjdk/21/patches/fix-java-home-jdk21.patch rename to pkgs/development/compilers/openjdk/21/patches/fix-java-home.patch diff --git a/pkgs/development/compilers/openjdk/21/patches/ignore-LegalNoticeFilePlugin-jdk18.patch b/pkgs/development/compilers/openjdk/21/patches/ignore-LegalNoticeFilePlugin.patch similarity index 100% rename from pkgs/development/compilers/openjdk/21/patches/ignore-LegalNoticeFilePlugin-jdk18.patch rename to pkgs/development/compilers/openjdk/21/patches/ignore-LegalNoticeFilePlugin.patch diff --git a/pkgs/development/compilers/openjdk/25/patches/fix-java-home-jdk25.patch b/pkgs/development/compilers/openjdk/25/patches/fix-java-home.patch similarity index 100% rename from pkgs/development/compilers/openjdk/25/patches/fix-java-home-jdk25.patch rename to pkgs/development/compilers/openjdk/25/patches/fix-java-home.patch diff --git a/pkgs/development/compilers/openjdk/25/patches/read-truststore-from-env-jdk25.patch b/pkgs/development/compilers/openjdk/25/patches/read-truststore-from-env.patch similarity index 100% rename from pkgs/development/compilers/openjdk/25/patches/read-truststore-from-env-jdk25.patch rename to pkgs/development/compilers/openjdk/25/patches/read-truststore-from-env.patch diff --git a/pkgs/development/compilers/openjdk/8/patches/currency-date-range-jdk8.patch b/pkgs/development/compilers/openjdk/8/patches/currency-date-range.patch similarity index 100% rename from pkgs/development/compilers/openjdk/8/patches/currency-date-range-jdk8.patch rename to pkgs/development/compilers/openjdk/8/patches/currency-date-range.patch diff --git a/pkgs/development/compilers/openjdk/8/patches/fix-java-home-jdk8.patch b/pkgs/development/compilers/openjdk/8/patches/fix-java-home.patch similarity index 100% rename from pkgs/development/compilers/openjdk/8/patches/fix-java-home-jdk8.patch rename to pkgs/development/compilers/openjdk/8/patches/fix-java-home.patch diff --git a/pkgs/development/compilers/openjdk/8/patches/fix-library-path-jdk8.patch b/pkgs/development/compilers/openjdk/8/patches/fix-library-path.patch similarity index 100% rename from pkgs/development/compilers/openjdk/8/patches/fix-library-path-jdk8.patch rename to pkgs/development/compilers/openjdk/8/patches/fix-library-path.patch diff --git a/pkgs/development/compilers/openjdk/8/patches/read-truststore-from-env-jdk8.patch b/pkgs/development/compilers/openjdk/8/patches/read-truststore-from-env.patch similarity index 100% rename from pkgs/development/compilers/openjdk/8/patches/read-truststore-from-env-jdk8.patch rename to pkgs/development/compilers/openjdk/8/patches/read-truststore-from-env.patch diff --git a/pkgs/development/compilers/openjdk/patches.nix b/pkgs/development/compilers/openjdk/patches.nix index e8b9884fa59f..6356c4b80b9f 100644 --- a/pkgs/development/compilers/openjdk/patches.nix +++ b/pkgs/development/compilers/openjdk/patches.nix @@ -117,7 +117,7 @@ }; } ]; - "gnumake-4.4-fix.patch" = [ + "make-4.4.1.patch" = [ { atLeast = "25"; path = ./25; From 28e1ddd5423c76fdf71ba01ca358ff7533ef7abc Mon Sep 17 00:00:00 2001 From: dish Date: Tue, 29 Sep 2026 22:27:27 -0400 Subject: [PATCH 0305/2378] openjdk: Auto-construct openjfx and jdk-bootstrap Uses major version instead, and just pulls in javaPackages instead of each individual package. A lot simpler and doesn't require adding additional LoC with every new version. --- .../development/compilers/openjdk/generic.nix | 27 ++++--------------- 1 file changed, 5 insertions(+), 22 deletions(-) diff --git a/pkgs/development/compilers/openjdk/generic.nix b/pkgs/development/compilers/openjdk/generic.nix index 44dc405aa450..81792f0da541 100644 --- a/pkgs/development/compilers/openjdk/generic.nix +++ b/pkgs/development/compilers/openjdk/generic.nix @@ -54,37 +54,20 @@ # TODO(@sternenseemann): gtk3 fails to evaluate in pkgsCross.ghcjs.buildPackages # which should be fixable, this is a no-rebuild workaround for GHC. headless ? lib.versionAtLeast featureVersion "21" && stdenv.targetPlatform.isGhcjs, + javaPackages, enableJavaFX ? false, - openjfx17, - openjfx21, - openjfx25, openjfx_jdk ? - { - "17" = openjfx17; - "21" = openjfx21; - "25" = openjfx25; - } - .${featureVersion} or (throw "JavaFX is not supported on OpenJDK ${featureVersion}"), + javaPackages."openjfx${featureVersion}" + or (throw "JavaFX is not supported on OpenJDK ${featureVersion}"), enableGtk ? true, gtk3, glib, - temurin-bin-8, - temurin-bin-11, - temurin-bin-17, - temurin-bin-21, - temurin-bin-25, jdk-bootstrap ? - { - "8" = temurin-bin-8.__spliced.buildBuild or temurin-bin-8; - "11" = temurin-bin-11.__spliced.buildBuild or temurin-bin-11; - "17" = temurin-bin-17.__spliced.buildBuild or temurin-bin-17; - "21" = temurin-bin-21.__spliced.buildBuild or temurin-bin-21; - "25" = temurin-bin-25.__spliced.buildBuild or temurin-bin-25; - } - .${featureVersion}, + javaPackages.compiler.temurin-bin."jdk-${featureVersion}".__spliced.buildBuild + or javaPackages.compiler.temurin-bin."jdk-${featureVersion}", }: assert lib.assertMsg (enableGtk -> lib.versionAtLeast featureVersion "11") From c28b0c9c849f8d2f71d8ec19ad8b7c70d8b0980d Mon Sep 17 00:00:00 2001 From: dish Date: Tue, 29 Sep 2026 22:28:47 -0400 Subject: [PATCH 0306/2378] openjdk: convert some conditionals This uses the new conditional functions defined earlier, and helps the code be more understandable. Note the annoying issue with `between` being inclusive at low end and exclusive at high. --- pkgs/development/compilers/openjdk/generic.nix | 14 ++++++-------- 1 file changed, 6 insertions(+), 8 deletions(-) diff --git a/pkgs/development/compilers/openjdk/generic.nix b/pkgs/development/compilers/openjdk/generic.nix index 81792f0da541..84c857500dc6 100644 --- a/pkgs/development/compilers/openjdk/generic.nix +++ b/pkgs/development/compilers/openjdk/generic.nix @@ -233,7 +233,7 @@ stdenv.mkDerivation (finalAttrs: { libxrandr fontconfig ] - ++ lib.optionals (atLeast11 && !atLeast21) [ + ++ lib.optionals (between "11" "21") [ harfbuzz ] ++ lib.optionals atLeast11 [ @@ -298,7 +298,7 @@ stdenv.mkDerivation (finalAttrs: { "--with-milestone=fcs" ] ) - ++ lib.optionals (!atLeast21 && atLeast11) [ + ++ lib.optionals (between "11" "21") [ "--with-freetype=system" "--with-harfbuzz=system" ] @@ -307,7 +307,7 @@ stdenv.mkDerivation (finalAttrs: { "--with-libpng=system" "--with-lcms=system" ] - ++ lib.optionals (featureVersion == "11") [ + ++ lib.optionals (is "11") [ "--disable-warnings-as-errors" ] # OpenJDK 11 cannot be built by recent versions of Clang, as far as I can tell (see @@ -322,9 +322,7 @@ stdenv.mkDerivation (finalAttrs: { # This probably shouldn’t apply to OpenJDK 21; see # b7e68243306833845cbf92e2ea1e0cf782481a51 which removed it for # versions 15 through 20. - ++ lib.optional ( - (featureVersion == "11" || featureVersion == "21") && stdenv.hostPlatform.isx86_64 - ) "--with-jvm-features=zgc" + ++ lib.optional ((is "11" || is "21") && stdenv.hostPlatform.isx86_64) "--with-jvm-features=zgc" ++ lib.optional headless (if atLeast11 then "--enable-headless-only" else "--disable-headful") ++ lib.optional (!headless && enableJavaFX) "--with-import-modules=${openjfx_jdk}"; @@ -355,7 +353,7 @@ stdenv.mkDerivation (finalAttrs: { # `cc1plus: error: '-Wformat-security' ignored without '-Wformat' [-Werror=format-security]` # when building jtreg [ "-Wformat" ] - ++ lib.optionals (stdenv.cc.isGNU && featureVersion == "11") [ + ++ lib.optionals (stdenv.cc.isGNU && is "11") [ # Fix build with gcc15 "-std=gnu17" ] @@ -380,7 +378,7 @@ stdenv.mkDerivation (finalAttrs: { "-Wno-error=int-conversion" "-Wno-error=incompatible-pointer-types" ] - ++ lib.optionals (stdenv.cc.isGNU && featureVersion == "8") [ + ++ lib.optionals (stdenv.cc.isGNU && is "8") [ # Fix build with gcc15 "-std=gnu17" ] From 69d35310c1b6c1d153662e2f2422face9d36a13a Mon Sep 17 00:00:00 2001 From: dish Date: Wed, 30 Sep 2026 13:32:28 -0400 Subject: [PATCH 0307/2378] sportstracker: Fix incorrect openjfx override No functional changes, this just makes it change the correct attribute --- pkgs/by-name/sp/sportstracker/package.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkgs/by-name/sp/sportstracker/package.nix b/pkgs/by-name/sp/sportstracker/package.nix index 4c8a60fc4fce..44553562b780 100644 --- a/pkgs/by-name/sp/sportstracker/package.nix +++ b/pkgs/by-name/sp/sportstracker/package.nix @@ -15,7 +15,7 @@ let if jdk21.pname == "openjdk" then jdk21.override { enableJavaFX = true; - openjfx21 = openjfx21.override { withWebKit = true; }; + openjfx_jdk = openjfx21.override { withWebKit = true; }; } else throw "bad jdk variant"; From 5647dad8b8276ecbb24b92002dd8bfc6b0eac07d Mon Sep 17 00:00:00 2001 From: Sergei Trofimovich Date: Mon, 12 Oct 2026 21:11:10 +0100 Subject: [PATCH 0308/2378] xterm: 411 -> 412 Changes: https://invisible-island.net/xterm/xterm.log.html#xterm_412 --- pkgs/by-name/xt/xterm/package.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/by-name/xt/xterm/package.nix b/pkgs/by-name/xt/xterm/package.nix index 20ff4cec75d2..8679e752ee6a 100644 --- a/pkgs/by-name/xt/xterm/package.nix +++ b/pkgs/by-name/xt/xterm/package.nix @@ -24,14 +24,14 @@ stdenv.mkDerivation (finalAttrs: { pname = "xterm"; - version = "411"; + version = "412"; src = fetchurl { urls = [ "https://invisible-island.net/archives/xterm/xterm-${finalAttrs.version}.tgz" "https://invisible-mirror.net/archives/xterm/xterm-${finalAttrs.version}.tgz" ]; - hash = "sha256-lpvig2cN6t1mk0hlxN5sWrBF46P6zCsijez5GiDYw2w="; + hash = "sha256-tIvHgMHLwU9tiSafflk3Eq9glYdpYNZQvii1Xl2tZaY="; }; patches = [ ./sixel-256.support.patch ]; From 18f33a3ea8b8971ec232fbc80209a2a04f542150 Mon Sep 17 00:00:00 2001 From: Anish Pallati Date: Mon, 12 Oct 2026 16:21:06 -0400 Subject: [PATCH 0309/2378] python3Packages.httpx2: use backports-zstd for zstd extra Signed-off-by: Anish Pallati --- pkgs/development/python-modules/httpx2/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/httpx2/default.nix b/pkgs/development/python-modules/httpx2/default.nix index 1f102c2173a8..4ce19affbd67 100644 --- a/pkgs/development/python-modules/httpx2/default.nix +++ b/pkgs/development/python-modules/httpx2/default.nix @@ -18,6 +18,7 @@ idna, # optional dependencies + backports-zstd, brotli, brotlicffi, click, @@ -26,7 +27,6 @@ rich, socksio, wsproto, - zstandard, # tests chardet, @@ -80,7 +80,7 @@ buildPythonPackage (finalAttrs: { http2 = [ h2 ]; socks = [ socksio ]; ws = [ wsproto ]; - zstd = lib.optionals (pythonOlder "3.14") [ zstandard ]; + zstd = lib.optionals (pythonOlder "3.14") [ backports-zstd ]; }; pythonImportsCheck = [ From ecf0bc51fa91be841bfe363df4229027013d2cf0 Mon Sep 17 00:00:00 2001 From: r-vdp Date: Mon, 12 Oct 2026 22:49:34 +0200 Subject: [PATCH 0310/2378] Revert "podman, docker: use systemdLibs with compression support" This reverts commit b22442c18010a750af965b7b00acaadc067206b9 in favour of #571072. --- pkgs/applications/virtualization/docker/default.nix | 4 +--- pkgs/by-name/po/podman/package.nix | 8 +++----- 2 files changed, 4 insertions(+), 8 deletions(-) diff --git a/pkgs/applications/virtualization/docker/default.nix b/pkgs/applications/virtualization/docker/default.nix index 07af82a70979..ef25ff110dd1 100644 --- a/pkgs/applications/virtualization/docker/default.nix +++ b/pkgs/applications/virtualization/docker/default.nix @@ -64,8 +64,6 @@ let versionCheckHook, }: let - systemdLibs' = systemdLibs.override { withCompression = true; }; - docker-meta = { license = lib.licenses.asl20; maintainers = with lib.maintainers; [ @@ -190,7 +188,7 @@ let ++ lib.optionals (lib.versionAtLeast version "29.0.0") [ nftables ] ++ lib.optionals withLvm [ lvm2 ] ++ lib.optionals withBtrfs [ btrfs-progs ] - ++ lib.optionals withSystemd [ systemdLibs' ] + ++ lib.optionals withSystemd [ systemdLibs ] ++ lib.optionals withSeccomp [ libseccomp ]; postPatch = '' diff --git a/pkgs/by-name/po/podman/package.nix b/pkgs/by-name/po/podman/package.nix index 2cc4690a53f0..b4f15df2ebc2 100644 --- a/pkgs/by-name/po/podman/package.nix +++ b/pkgs/by-name/po/podman/package.nix @@ -11,6 +11,7 @@ libapparmor, libseccomp, libselinux, + # TODO: investigate why changing from `systemd` to `systemdMinimal` breaks `podman logs` systemdLibs, nixosTests, python3, @@ -39,9 +40,6 @@ coreutils, runtimeShell, }: -let - systemdLibs' = systemdLibs.override { withCompression = true; }; -in buildGoModule (finalAttrs: { pname = "podman"; version = "5.8.8"; @@ -84,7 +82,7 @@ buildGoModule (finalAttrs: { libapparmor libseccomp libselinux - systemdLibs' + systemdLibs ]; env = { @@ -136,7 +134,7 @@ buildGoModule (finalAttrs: { postFixup = lib.optionalString stdenv.hostPlatform.isLinux '' RPATH=$(patchelf --print-rpath $out/bin/.podman-wrapped) - patchelf --set-rpath "${lib.makeLibraryPath [ systemdLibs' ]}":$RPATH $out/bin/.podman-wrapped + patchelf --set-rpath "${lib.makeLibraryPath [ systemdLibs ]}":$RPATH $out/bin/.podman-wrapped substituteInPlace "$out/share/systemd/user/podman-user-wait-network-online.service" \ --replace-fail sleep '${coreutils}/bin/sleep' \ --replace-fail /bin/sh '${runtimeShell}' From 207d812f15125d323913043f042fc4611c005b93 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Robert=20Sch=C3=BCtz?= Date: Mon, 12 Oct 2026 15:57:52 -0700 Subject: [PATCH 0311/2378] python313Packages.backports-zstd: 1.7.0 -> 1.8.0 Diff: https://github.com/rogdham/backports.zstd/compare/v1.7.0...v1.8.0 Changelog: https://github.com/rogdham/backports.zstd/blob/v1.8.0/CHANGELOG.md --- pkgs/development/python-modules/backports-zstd/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/backports-zstd/default.nix b/pkgs/development/python-modules/backports-zstd/default.nix index 8f33e0385e94..0fe68099c88f 100644 --- a/pkgs/development/python-modules/backports-zstd/default.nix +++ b/pkgs/development/python-modules/backports-zstd/default.nix @@ -9,7 +9,7 @@ buildPythonPackage rec { pname = "backports-zstd"; - version = "1.7.0"; + version = "1.8.0"; pyproject = true; src = fetchFromGitHub { @@ -20,7 +20,7 @@ buildPythonPackage rec { postFetch = '' rm -r "$out/src/c/zstd" ''; - hash = "sha256-d5dkWhsRyUkLD0AiauQuLrNYtbPbwUVN8jpKk6N3/R0="; + hash = "sha256-Rq9ofN84GNzBZAg1tkw526k1dJHg8xPRGfnNOLmAieg="; }; postPatch = '' From 046ea6c7ec02e5ccd3006336a0008a1c80990fed Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Robert=20Sch=C3=BCtz?= Date: Mon, 12 Oct 2026 16:00:18 -0700 Subject: [PATCH 0312/2378] python313Packages.backports-zstd: use finalAttrs --- .../development/python-modules/backports-zstd/default.nix | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/pkgs/development/python-modules/backports-zstd/default.nix b/pkgs/development/python-modules/backports-zstd/default.nix index 0fe68099c88f..3ca752600804 100644 --- a/pkgs/development/python-modules/backports-zstd/default.nix +++ b/pkgs/development/python-modules/backports-zstd/default.nix @@ -7,7 +7,7 @@ zstd, }: -buildPythonPackage rec { +buildPythonPackage (finalAttrs: { pname = "backports-zstd"; version = "1.8.0"; pyproject = true; @@ -15,7 +15,7 @@ buildPythonPackage rec { src = fetchFromGitHub { owner = "rogdham"; repo = "backports.zstd"; - tag = "v${version}"; + tag = "v${finalAttrs.version}"; fetchSubmodules = true; postFetch = '' rm -r "$out/src/c/zstd" @@ -52,10 +52,10 @@ buildPythonPackage rec { ]; meta = { - changelog = "https://github.com/rogdham/backports.zstd/blob/${src.tag}/CHANGELOG.md"; + changelog = "https://github.com/rogdham/backports.zstd/blob/${finalAttrs.src.tag}/CHANGELOG.md"; description = "Backport of compression.zstd"; homepage = "https://github.com/rogdham/backports.zstd"; license = lib.licenses.psfl; maintainers = [ lib.maintainers.dotlambda ]; }; -} +}) From 0608057d5727a5629f5d9056042ef5d6504d187b Mon Sep 17 00:00:00 2001 From: whispers Date: Mon, 12 Oct 2026 22:42:06 -0400 Subject: [PATCH 0313/2378] python3Packages.sphinxHook: fix sphinxBuilders with __structuredAttrs when `__structuredAttrs` is true and `sphinxBuilders` has multiple entries (e.g. `sphinxBuilders = [ "html" "man" ]`), the current code just ignores all but the first. this is currently observed with `borgbackup`. to deal with this, simply port to `concatTo`, the primitive explicitly designed to handle arrays and strings in this way. --- pkgs/development/interpreters/python/hooks/sphinx-hook.sh | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/pkgs/development/interpreters/python/hooks/sphinx-hook.sh b/pkgs/development/interpreters/python/hooks/sphinx-hook.sh index b077438323dd..2d72d3d96caf 100644 --- a/pkgs/development/interpreters/python/hooks/sphinx-hook.sh +++ b/pkgs/development/interpreters/python/hooks/sphinx-hook.sh @@ -30,11 +30,7 @@ buildSphinxPhase() { exit 1 fi - if [ -n "${sphinxBuilders-}" ]; then - eval "__sphinxBuilders=($sphinxBuilders)" - else - __sphinxBuilders=(html) - fi + concatTo __sphinxBuilders sphinxBuilders=html for __builder in "${__sphinxBuilders[@]}"; do echo "Executing sphinx-build with ${__builder} builder" From 533acb3a33aa9d3857ce240c7062b3ef2c669199 Mon Sep 17 00:00:00 2001 From: r-vdp Date: Tue, 13 Oct 2026 10:59:30 +0200 Subject: [PATCH 0314/2378] podman: drop outdated comment --- pkgs/by-name/po/podman/package.nix | 1 - 1 file changed, 1 deletion(-) diff --git a/pkgs/by-name/po/podman/package.nix b/pkgs/by-name/po/podman/package.nix index b4f15df2ebc2..8b2f316c37a7 100644 --- a/pkgs/by-name/po/podman/package.nix +++ b/pkgs/by-name/po/podman/package.nix @@ -11,7 +11,6 @@ libapparmor, libseccomp, libselinux, - # TODO: investigate why changing from `systemd` to `systemdMinimal` breaks `podman logs` systemdLibs, nixosTests, python3, From aab687f491d52682dd7cdc9bde1a6ded39c9d565 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Robert=20Sch=C3=BCtz?= Date: Tue, 13 Oct 2026 09:15:06 -0700 Subject: [PATCH 0315/2378] python3Packages.pycodestyle: 2.14.0 -> 2.15.0 Diff: https://github.com/PyCQA/pycodestyle/compare/2.14.0...2.15.0 Changelog: https://github.com/PyCQA/pycodestyle/blob/2.15.0/CHANGES.txt --- pkgs/development/python-modules/pycodestyle/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/pycodestyle/default.nix b/pkgs/development/python-modules/pycodestyle/default.nix index 90eed94b49e2..ac464bedb3e5 100644 --- a/pkgs/development/python-modules/pycodestyle/default.nix +++ b/pkgs/development/python-modules/pycodestyle/default.nix @@ -10,14 +10,14 @@ buildPythonPackage rec { pname = "pycodestyle"; - version = "2.14.0"; + version = "2.15.0"; pyproject = true; src = fetchFromGitHub { owner = "PyCQA"; repo = "pycodestyle"; tag = version; - hash = "sha256-1EEQp/QEulrdU9tTe28NerQ33IWlAiSlicpmNYciW88="; + hash = "sha256-o/OddDPcCB/tc6qQ0OAJ5UpXaVh3zL2n8Z9BqPIrGdQ="; }; build-system = [ setuptools ]; From 4b3c84c5edadc389d4ee698e6d237226c5d14648 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Robert=20Sch=C3=BCtz?= Date: Tue, 13 Oct 2026 09:15:13 -0700 Subject: [PATCH 0316/2378] python3Packages.pyflakes: 3.4.0 -> 4.0.3 Diff: https://github.com/PyCQA/pyflakes/compare/3.4.0...4.0.3 Changelog: https://github.com/PyCQA/pyflakes/blob/4.0.3/NEWS.rst --- pkgs/development/python-modules/pyflakes/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/pyflakes/default.nix b/pkgs/development/python-modules/pyflakes/default.nix index 821ce3d55f77..ef7c80272362 100644 --- a/pkgs/development/python-modules/pyflakes/default.nix +++ b/pkgs/development/python-modules/pyflakes/default.nix @@ -9,14 +9,14 @@ buildPythonPackage rec { pname = "pyflakes"; - version = "3.4.0"; + version = "4.0.3"; pyproject = true; src = fetchFromGitHub { owner = "PyCQA"; repo = "pyflakes"; tag = version; - hash = "sha256-4UEJjn9Eey1vHeaG468x/nMlbfGu3ohZX1R7RR2R5ik="; + hash = "sha256-uVNVSjaGuH2JRMnNBvrP6uvMu1ywhXvubpXgkVA1jZs="; }; build-system = [ setuptools ]; From f58a2b4f6ab3ec164834d6ef0f3a007bf9ccbe81 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Robert=20Sch=C3=BCtz?= Date: Tue, 13 Oct 2026 09:14:38 -0700 Subject: [PATCH 0317/2378] python3Packages.flake8: 7.3.0 -> 7.4.1 Diff: https://github.com/PyCQA/flake8/compare/7.3.0...7.4.1 Changelog: https://github.com/PyCQA/flake8/blob/7.4.1/docs/source/release-notes/7.4.1.rst --- pkgs/development/python-modules/flake8/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/flake8/default.nix b/pkgs/development/python-modules/flake8/default.nix index 40160357f658..7d13f6f02d9f 100644 --- a/pkgs/development/python-modules/flake8/default.nix +++ b/pkgs/development/python-modules/flake8/default.nix @@ -12,14 +12,14 @@ buildPythonPackage rec { pname = "flake8"; - version = "7.3.0"; + version = "7.4.1"; pyproject = true; src = fetchFromGitHub { owner = "PyCQA"; repo = "flake8"; tag = version; - hash = "sha256-dZFIGyjqkd+MRz9NoOEcMuR9ZshFb/h+zO2OJZsQajc="; + hash = "sha256-r8Wx+fE8GjwONe4dJgGww6M2nPH6bAqXcXp834epAjQ="; }; build-system = [ setuptools ]; From 306c83963d92afee2fb9167f8f25879037e54f2e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Robert=20Sch=C3=BCtz?= Date: Tue, 13 Oct 2026 09:32:54 -0700 Subject: [PATCH 0318/2378] python3Packages.idna: 3.18 -> 3.20 Diff: https://github.com/kjd/idna/compare/v3.18...v3.20 Changelog: https://github.com/kjd/idna/blob/v3.20/HISTORY.md --- .../python-modules/idna/default.nix | 19 ++++++++++++++++--- 1 file changed, 16 insertions(+), 3 deletions(-) diff --git a/pkgs/development/python-modules/idna/default.nix b/pkgs/development/python-modules/idna/default.nix index a8bda9b6f28f..6f665a2b3a67 100644 --- a/pkgs/development/python-modules/idna/default.nix +++ b/pkgs/development/python-modules/idna/default.nix @@ -3,26 +3,39 @@ buildPythonPackage, fetchFromGitHub, flit-core, + hypothesis, pytestCheckHook, }: buildPythonPackage (finalAttrs: { pname = "idna"; - version = "3.18"; + version = "3.20"; pyproject = true; src = fetchFromGitHub { owner = "kjd"; repo = "idna"; tag = "v${finalAttrs.version}"; - hash = "sha256-9nLy/9PNuLSQJsf4Jes0uN695+LGjz2LXlfiZxxvGV4="; + hash = "sha256-RLwFtWOxsf0s1DI5sdwYY/DuXbhyADqAbp0arREIc30="; }; build-system = [ flit-core ]; pythonImportsCheck = [ "idna" ]; - nativeCheckInputs = [ pytestCheckHook ]; + nativeCheckInputs = [ + hypothesis + pytestCheckHook + ]; + + # infinite recursion via hypothesis + doCheck = false; + + passthru.tests = { + pytest = finalAttrs.finalPackage.overrideAttrs { + doInstallCheck = true; + }; + }; meta = { homepage = "https://github.com/kjd/idna/"; From 4613744af46442adb4f6a7b39c3458b78c1d849d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Robert=20Sch=C3=BCtz?= Date: Tue, 13 Oct 2026 09:45:02 -0700 Subject: [PATCH 0319/2378] python3Packages.markdown: 3.10.3 -> 3.11.0 Diff: https://github.com/Python-Markdown/markdown/compare/3.10.3...3.11.0 Changelog: https://github.com/Python-Markdown/markdown/blob/3.11.0/docs/changelog.md --- pkgs/development/python-modules/markdown/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/markdown/default.nix b/pkgs/development/python-modules/markdown/default.nix index 91024f7208e9..ef9f0a727a9b 100644 --- a/pkgs/development/python-modules/markdown/default.nix +++ b/pkgs/development/python-modules/markdown/default.nix @@ -9,14 +9,14 @@ buildPythonPackage (finalAttrs: { pname = "markdown"; - version = "3.10.3"; + version = "3.11.0"; pyproject = true; src = fetchFromGitHub { owner = "Python-Markdown"; repo = "markdown"; tag = finalAttrs.version; - hash = "sha256-itRigH1234C6hwtGRon4AiDAKafscmhMn22V5J9WtvI="; + hash = "sha256-EARGwp33cD7bBSaGv/4LtgdI6GQqR+AFkcT2QFo6hWo="; }; build-system = [ setuptools ]; From 9cb63511c69ee832ae3a66a3e5043e1cdc4add2a Mon Sep 17 00:00:00 2001 From: Flaviu Tamas Date: Fri, 9 Oct 2026 11:10:59 -0400 Subject: [PATCH 0320/2378] rdma-core: fix Python discovery when cross compiling Trying do discover python development files when cross-compling aarch64-linux to armv7l-linux fails. We fix this by explicitly setting the correct interpreter. --- pkgs/by-name/rd/rdma-core/package.nix | 1 + 1 file changed, 1 insertion(+) diff --git a/pkgs/by-name/rd/rdma-core/package.nix b/pkgs/by-name/rd/rdma-core/package.nix index 5bdd7b631ae0..c84bde644666 100644 --- a/pkgs/by-name/rd/rdma-core/package.nix +++ b/pkgs/by-name/rd/rdma-core/package.nix @@ -59,6 +59,7 @@ stdenv.mkDerivation (finalAttrs: { "-DCMAKE_INSTALL_RUNDIR=/run" "-DCMAKE_INSTALL_SHAREDSTATEDIR=/var/lib" "-DSYSUSERS_DIR=${placeholder "out"}/lib/sysusers.d" + (lib.cmakeFeature "Python_EXECUTABLE" python3.pythonOnBuildForHost.interpreter) ] ++ lib.optionals (!withManPages) [ "-DNO_MAN_PAGES=1" From d3348d861c777e93fa8ce36815e33ae9a2a70b81 Mon Sep 17 00:00:00 2001 From: rntpts Date: Wed, 14 Oct 2026 00:08:18 +0200 Subject: [PATCH 0321/2378] cargo-c: enable structuredAttrs --- pkgs/by-name/ca/cargo-c/package.nix | 2 ++ 1 file changed, 2 insertions(+) diff --git a/pkgs/by-name/ca/cargo-c/package.nix b/pkgs/by-name/ca/cargo-c/package.nix index 159334080752..4c09d6238bd4 100644 --- a/pkgs/by-name/ca/cargo-c/package.nix +++ b/pkgs/by-name/ca/cargo-c/package.nix @@ -18,6 +18,8 @@ rustPlatform.buildRustPackage (finalAttrs: { pname = "cargo-c"; version = "0.10.22"; + __structuredAttrs = true; + src = fetchCrate { inherit (finalAttrs) pname; version = "${finalAttrs.version}+cargo-${cargoVersion}"; From f6e36e99cb62693b51c32ba66f0194ebb32196d2 Mon Sep 17 00:00:00 2001 From: rntpts Date: Wed, 14 Oct 2026 00:10:33 +0200 Subject: [PATCH 0322/2378] libimagequant: enable structuredAttrs --- pkgs/by-name/li/libimagequant/package.nix | 2 ++ 1 file changed, 2 insertions(+) diff --git a/pkgs/by-name/li/libimagequant/package.nix b/pkgs/by-name/li/libimagequant/package.nix index d9920927a8ce..6c0b0c7ae95e 100644 --- a/pkgs/by-name/li/libimagequant/package.nix +++ b/pkgs/by-name/li/libimagequant/package.nix @@ -17,6 +17,8 @@ rustPlatform.buildRustPackage (finalAttrs: { pname = "libimagequant"; version = "4.4.1"; + __structuredAttrs = true; + src = fetchFromGitHub { owner = "ImageOptim"; repo = "libimagequant"; From e51bacdd4c06251c822f21ac2223376875bacf34 Mon Sep 17 00:00:00 2001 From: Augustin Trancart Date: Sun, 11 Oct 2026 17:49:47 +0200 Subject: [PATCH 0323/2378] python3Packages.shapely: 2.1.2 -> 2.2.0 --- .../python-modules/shapely/default.nix | 29 ++++++++++++------- 1 file changed, 19 insertions(+), 10 deletions(-) diff --git a/pkgs/development/python-modules/shapely/default.nix b/pkgs/development/python-modules/shapely/default.nix index bd44c37972cb..79d52056f024 100644 --- a/pkgs/development/python-modules/shapely/default.nix +++ b/pkgs/development/python-modules/shapely/default.nix @@ -4,36 +4,45 @@ buildPythonPackage, fetchFromGitHub, pytestCheckHook, + pyprojectVersionPatchHook, + # build deps cython, + meson-python, + pkg-config, + + # runtime deps geos, numpy, oldest-supported-numpy, - setuptools, - wheel, }: buildPythonPackage rec { pname = "shapely"; - version = "2.1.2"; + version = "2.2.0"; pyproject = true; src = fetchFromGitHub { owner = "shapely"; repo = "shapely"; tag = version; - hash = "sha256-tnnOJsAI3v52ngFOIUIkeDuRIu2JlZGuHreVv4W8LeE="; + hash = "sha256-ddBbNAahYK1/+VtCYVqjrhOfRAtZERv7axTHrYlYBfA="; }; nativeBuildInputs = [ - cython - geos # for geos-config - oldest-supported-numpy - setuptools - wheel + pyprojectVersionPatchHook + pkg-config ]; - buildInputs = [ geos ]; + build-system = [ + meson-python + cython + ]; + + buildInputs = [ + oldest-supported-numpy + geos + ]; dependencies = [ numpy ]; From 09b79bc6ffe8bddfe1afa49d614c02af7f1ec8c0 Mon Sep 17 00:00:00 2001 From: rntpts Date: Wed, 14 Oct 2026 00:20:59 +0200 Subject: [PATCH 0324/2378] selenium-manager: enable structuredAttrs --- pkgs/by-name/se/selenium-manager/package.nix | 2 ++ 1 file changed, 2 insertions(+) diff --git a/pkgs/by-name/se/selenium-manager/package.nix b/pkgs/by-name/se/selenium-manager/package.nix index 3a2217995c44..917ec5ebd78c 100644 --- a/pkgs/by-name/se/selenium-manager/package.nix +++ b/pkgs/by-name/se/selenium-manager/package.nix @@ -8,6 +8,8 @@ rustPlatform.buildRustPackage rec { pname = "selenium-manager"; version = "4.40.0"; + __structuredAttrs = true; + src = fetchFromGitHub { owner = "SeleniumHQ"; repo = "selenium"; From fcf59da44fb5cb9397c2dca29c3fe66f7f00e69a Mon Sep 17 00:00:00 2001 From: rntpts Date: Wed, 14 Oct 2026 00:43:34 +0200 Subject: [PATCH 0325/2378] rust-cbindgen: enable structuredAttrs --- pkgs/by-name/ru/rust-cbindgen/package.nix | 2 ++ 1 file changed, 2 insertions(+) diff --git a/pkgs/by-name/ru/rust-cbindgen/package.nix b/pkgs/by-name/ru/rust-cbindgen/package.nix index c6e5427f80c2..f4be3fd280e2 100644 --- a/pkgs/by-name/ru/rust-cbindgen/package.nix +++ b/pkgs/by-name/ru/rust-cbindgen/package.nix @@ -16,6 +16,8 @@ rustPlatform.buildRustPackage (finalAttrs: { pname = "rust-cbindgen"; version = "0.29.4"; + __structuredAttrs = true; + src = fetchFromGitHub { owner = "mozilla"; repo = "cbindgen"; From 9a7c21463abb831c88aa385c0e4e09f17a1b485c Mon Sep 17 00:00:00 2001 From: Skye Soss Date: Tue, 13 Oct 2026 21:38:40 -0500 Subject: [PATCH 0326/2378] lua,luajit: add meta.identifier.cpeParts --- pkgs/development/interpreters/lua-5/interpreter.nix | 1 + pkgs/development/interpreters/luajit/default.nix | 1 + 2 files changed, 2 insertions(+) diff --git a/pkgs/development/interpreters/lua-5/interpreter.nix b/pkgs/development/interpreters/lua-5/interpreter.nix index 16e83c496f80..93966ec3b1f7 100644 --- a/pkgs/development/interpreters/lua-5/interpreter.nix +++ b/pkgs/development/interpreters/lua-5/interpreter.nix @@ -237,6 +237,7 @@ stdenv.mkDerivation ( mainProgram = "lua"; license = lib.licenses.mit; platforms = lib.platforms.unix; + identifiers.cpeParts = lib.meta.cpeFullVersionWithVendor "lua" finalAttrs.version; }; } ) diff --git a/pkgs/development/interpreters/luajit/default.nix b/pkgs/development/interpreters/luajit/default.nix index fede20472a1e..3c6c675c9605 100644 --- a/pkgs/development/interpreters/luajit/default.nix +++ b/pkgs/development/interpreters/luajit/default.nix @@ -182,6 +182,7 @@ stdenv.mkDerivation (finalAttrs: { vcunat lblasc ]; + identifiers.cpeParts = lib.meta.cpeFullVersionWithVendor "luajit" finalAttrs.version; } // extraMeta; }) From 8ea3a1887f2aede37df8e19d6653bfbca8f2947e Mon Sep 17 00:00:00 2001 From: Skye Soss Date: Tue, 13 Oct 2026 22:10:01 -0500 Subject: [PATCH 0327/2378] luajit: add __structuredAttrs, strictDeps --- pkgs/development/interpreters/luajit/default.nix | 2 ++ 1 file changed, 2 insertions(+) diff --git a/pkgs/development/interpreters/luajit/default.nix b/pkgs/development/interpreters/luajit/default.nix index 3c6c675c9605..503f33577653 100644 --- a/pkgs/development/interpreters/luajit/default.nix +++ b/pkgs/development/interpreters/luajit/default.nix @@ -68,6 +68,8 @@ in stdenv.mkDerivation (finalAttrs: { pname = "luajit"; inherit version src; + __structuredAttrs = true; + strictDeps = true; luaversion = "5.1"; From 4333c757633c2fd96db2c7d982dbf4358e08248d Mon Sep 17 00:00:00 2001 From: Skye Soss Date: Tue, 13 Oct 2026 22:18:30 -0500 Subject: [PATCH 0328/2378] luajit_2_0: 2.0.1774896119 -> 2.0.1791886455 --- pkgs/development/interpreters/luajit/2.0.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pkgs/development/interpreters/luajit/2.0.nix b/pkgs/development/interpreters/luajit/2.0.nix index b282891a0cb8..7a598e69bfa8 100644 --- a/pkgs/development/interpreters/luajit/2.0.nix +++ b/pkgs/development/interpreters/luajit/2.0.nix @@ -9,13 +9,13 @@ callPackage ./default.nix { # The patch version is the timestamp of the git commit, # obtain via `cat $(nix-build -A luajit_2_0.src)/.relver` - version = "2.0.1774896119"; + version = "2.0.1791886455"; src = fetchFromGitHub { owner = "LuaJIT"; repo = "LuaJIT"; - rev = "e4c7d8b38040518d42599eef8ddb5e67aa967a9c"; - hash = "sha256-nioJxKo6msQQTP4skMEFDh6xD2cekOEXbMRFus73XuI="; + rev = "acf8fcbd932a68d130fa3e3654e1b622e10fd6af"; + hash = "sha256-nol/3bLNUf3H2O0zk13Pi2NPbsMdStNvxvGXoZHPWZc="; }; extraMeta = { From faeecddccf45ce613814bee152c5a09ebbc2e8c6 Mon Sep 17 00:00:00 2001 From: Skye Soss Date: Tue, 13 Oct 2026 22:21:20 -0500 Subject: [PATCH 0329/2378] luajit_2_1: 2.1.1785763465 -> 2.1.1791890110 --- pkgs/development/interpreters/luajit/2.1.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pkgs/development/interpreters/luajit/2.1.nix b/pkgs/development/interpreters/luajit/2.1.nix index a227695f2cc4..0f6b1e21598c 100644 --- a/pkgs/development/interpreters/luajit/2.1.nix +++ b/pkgs/development/interpreters/luajit/2.1.nix @@ -8,13 +8,13 @@ callPackage ./default.nix { # The patch version is the timestamp of the git commit, # obtain via `cat $(nix-build -A luajit_2_1.src)/.relver` - version = "2.1.1785763465"; + version = "2.1.1791890110"; src = fetchFromGitHub { owner = "LuaJIT"; repo = "LuaJIT"; - rev = "1edc3e52b67eaf6ce5f809be8e17d6862594b8bc"; - hash = "sha256-mcOvVJ7AaoHrbEXxznpOkFoY7Kbd2aWMoOmyx5B4FIg="; + rev = "634daf2453559fd5e0ec282f3b7aedaa09e9f344"; + hash = "sha256-vIT7ShP1cxxhZr9/vXcNsc0nhYzjncpzLFYXDG2Ff6I="; }; inherit self passthruFun; From 1cc5245cc2e17302229316be18d6c1c10bbd7d8b Mon Sep 17 00:00:00 2001 From: Ross Smyth <18294397+RossSmyth@users.noreply.github.com> Date: Mon, 12 Oct 2026 11:02:11 -0400 Subject: [PATCH 0330/2378] doc/release-notes: Add release note for forcing system libraries --- doc/release-notes/rl-2611.section.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/doc/release-notes/rl-2611.section.md b/doc/release-notes/rl-2611.section.md index c2c476de8ec5..ee27d02a0a37 100644 --- a/doc/release-notes/rl-2611.section.md +++ b/doc/release-notes/rl-2611.section.md @@ -166,6 +166,8 @@ - `tcl.mkTclDerivation` now enables `strictDeps` and `__structuredAttrs`. +- `rustPlatform.cargoSetupHook` now forces several common C libraries to be linked to the Nixpkgs library rather than the vendored library. These include: aws-lc, openssl, libz, libsqlite3, zstd, libgit2, sodium, rustonig, libssh2, nginx, duckdb, and jemalloc. Set `dontCargoUseSystemLibs = true;` to opt out. + - `pdns` has been updated from `5.0.x` to `5.1.x`. Please be sure to review the [Upgrade Notes](https://doc.powerdns.com/authoritative/upgrading.html#to-5-1-0) before upgrading. Namely LUA record updates are no longer allowed by default, and the embedded webserver no longer includes a `access-control-allow-origin: *` header by default. - LibreOffice upstream switched from Fresh/Still stable branches to a single Stable branch; `libreoffice` and `libreoffice-qt` work as before, but more specific aliases like `libreoffice-fresh` should be replaced. From ea02da01415ca206c6fec4dad66523a2a4e0f76c Mon Sep 17 00:00:00 2001 From: Grimmauld Date: Tue, 13 Oct 2026 22:31:28 +0200 Subject: [PATCH 0331/2378] ruff: fix forced system deps --- pkgs/by-name/ru/ruff/package.nix | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/pkgs/by-name/ru/ruff/package.nix b/pkgs/by-name/ru/ruff/package.nix index 40b9ffbd359f..9f98669951c3 100644 --- a/pkgs/by-name/ru/ruff/package.nix +++ b/pkgs/by-name/ru/ruff/package.nix @@ -8,6 +8,8 @@ rust-jemalloc-sys, buildPackages, versionCheckHook, + pkg-config, + zstd, # passthru nixosTests, @@ -31,10 +33,14 @@ rustPlatform.buildRustPackage (finalAttrs: { cargoHash = "sha256-rwI+8VxGo7W5ol6FfhKaxRjogbwx6tcYlHEgEuMJXCs="; - nativeBuildInputs = [ installShellFiles ]; + nativeBuildInputs = [ + installShellFiles + pkg-config + ]; buildInputs = [ rust-jemalloc-sys + zstd ]; postInstall = lib.optionalString (stdenv.hostPlatform.emulatorAvailable buildPackages) ( From 549f9f17781bc3781df6915c36809485d2942eac Mon Sep 17 00:00:00 2001 From: whispers Date: Tue, 13 Oct 2026 21:27:03 -0400 Subject: [PATCH 0332/2378] uv: fix forced system deps --- pkgs/by-name/uv/uv/package.nix | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/pkgs/by-name/uv/uv/package.nix b/pkgs/by-name/uv/uv/package.nix index 7aa444b6bbd0..dde44750acfb 100644 --- a/pkgs/by-name/uv/uv/package.nix +++ b/pkgs/by-name/uv/uv/package.nix @@ -5,10 +5,13 @@ fetchFromGitHub, # buildInputs + aws-lc, rust-jemalloc-sys, + zstd, # nativeBuildInputs installShellFiles, + pkg-config, buildPackages, versionCheckHook, @@ -31,10 +34,15 @@ rustPlatform.buildRustPackage (finalAttrs: { cargoHash = "sha256-fGSkvK12wafGRSH2vmXrTncENwFNw0jTbKRXTwtnO9s="; buildInputs = [ + aws-lc rust-jemalloc-sys + zstd ]; - nativeBuildInputs = [ installShellFiles ]; + nativeBuildInputs = [ + installShellFiles + pkg-config + ]; cargoBuildFlags = [ "--package" From 3293bf6b04539951541a81a68dd81e32555247b5 Mon Sep 17 00:00:00 2001 From: whispers Date: Tue, 13 Oct 2026 22:21:16 -0400 Subject: [PATCH 0333/2378] bat: fix forced system deps --- pkgs/by-name/ba/bat/package.nix | 2 ++ 1 file changed, 2 insertions(+) diff --git a/pkgs/by-name/ba/bat/package.nix b/pkgs/by-name/ba/bat/package.nix index ef0055f68835..e05fa56d3a36 100644 --- a/pkgs/by-name/ba/bat/package.nix +++ b/pkgs/by-name/ba/bat/package.nix @@ -6,6 +6,7 @@ less, installShellFiles, makeWrapper, + oniguruma, libgit2, zlib, versionCheckHook, @@ -35,6 +36,7 @@ rustPlatform.buildRustPackage (finalAttrs: { ]; buildInputs = [ + oniguruma libgit2 zlib ]; From cc349212dd9eec4ecb6ebfb0723d4ca00253e34f Mon Sep 17 00:00:00 2001 From: whispers Date: Tue, 13 Oct 2026 22:45:55 -0400 Subject: [PATCH 0334/2378] cargo-nextest: fix forced system deps --- pkgs/by-name/ca/cargo-nextest/package.nix | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/pkgs/by-name/ca/cargo-nextest/package.nix b/pkgs/by-name/ca/cargo-nextest/package.nix index b9d3e9b209c5..87e87ae548e8 100644 --- a/pkgs/by-name/ca/cargo-nextest/package.nix +++ b/pkgs/by-name/ca/cargo-nextest/package.nix @@ -3,6 +3,8 @@ stdenv, rustPlatform, fetchFromGitHub, + pkg-config, + zstd, nix-update-script, }: rustPlatform.buildRustPackage (finalAttrs: { @@ -23,6 +25,10 @@ rustPlatform.buildRustPackage (finalAttrs: { cargoHash = "sha256-ZW0/JQ9RECxfDn479ww4bO4ixoMGaM+GtGUOCWy2Cyg="; + nativeBuildInputs = [ pkg-config ]; + + buildInputs = [ zstd ]; + cargoBuildFlags = [ "-p" "cargo-nextest" From 68ed2f627eb743d85c8f8f494824d954017e69b3 Mon Sep 17 00:00:00 2001 From: whispers Date: Tue, 13 Oct 2026 22:48:19 -0400 Subject: [PATCH 0335/2378] ty: fix forced system deps --- pkgs/by-name/ty/ty/package.nix | 13 +++++++++++-- 1 file changed, 11 insertions(+), 2 deletions(-) diff --git a/pkgs/by-name/ty/ty/package.nix b/pkgs/by-name/ty/ty/package.nix index 13ce1472760e..14a55c7efd80 100644 --- a/pkgs/by-name/ty/ty/package.nix +++ b/pkgs/by-name/ty/ty/package.nix @@ -6,9 +6,11 @@ # nativeBuildInputs installShellFiles, + pkg-config, # buildInputs rust-jemalloc-sys, + zstd, buildPackages, versionCheckHook, @@ -42,8 +44,15 @@ rustPlatform.buildRustPackage (finalAttrs: { cargoHash = "sha256-Fv5SwPXdn9Ggo0Yy2Y2NSP2n6FP1mlRePIA2+vOmnjM="; - nativeBuildInputs = [ installShellFiles ]; - buildInputs = [ rust-jemalloc-sys ]; + nativeBuildInputs = [ + installShellFiles + pkg-config + ]; + + buildInputs = [ + rust-jemalloc-sys + zstd + ]; # `ty`'s tests use `insta-cmd`, which depends on the structure of the `target/` directory, # and also fails to find the environment variable `$CARGO_BIN_EXE_ty`, which leads to tests failing. From b4ab71659bb10a751964c415a0da2277eea2658a Mon Sep 17 00:00:00 2001 From: whispers Date: Tue, 13 Oct 2026 22:49:23 -0400 Subject: [PATCH 0336/2378] sccache: fix forced system deps --- pkgs/by-name/sc/sccache/package.nix | 2 ++ 1 file changed, 2 insertions(+) diff --git a/pkgs/by-name/sc/sccache/package.nix b/pkgs/by-name/sc/sccache/package.nix index b40efbb273e7..78e54636b6ea 100644 --- a/pkgs/by-name/sc/sccache/package.nix +++ b/pkgs/by-name/sc/sccache/package.nix @@ -4,6 +4,7 @@ rustPlatform, pkg-config, openssl, + zstd, distributed ? false, }: @@ -30,6 +31,7 @@ rustPlatform.buildRustPackage (finalAttrs: { ]; buildInputs = [ openssl + zstd ]; # Tests fail because of client server setup which is not possible inside the From 91231e21953f14100e77f196594090e93bd9d6ea Mon Sep 17 00:00:00 2001 From: whispers Date: Tue, 13 Oct 2026 23:08:30 -0400 Subject: [PATCH 0337/2378] cargo-binstall: fix forced system deps --- pkgs/by-name/ca/cargo-binstall/package.nix | 2 ++ 1 file changed, 2 insertions(+) diff --git a/pkgs/by-name/ca/cargo-binstall/package.nix b/pkgs/by-name/ca/cargo-binstall/package.nix index 29180cfafb94..489724192130 100644 --- a/pkgs/by-name/ca/cargo-binstall/package.nix +++ b/pkgs/by-name/ca/cargo-binstall/package.nix @@ -3,6 +3,7 @@ rustPlatform, fetchFromGitHub, pkg-config, + aws-lc, bzip2, xz, zstd, @@ -27,6 +28,7 @@ rustPlatform.buildRustPackage (finalAttrs: { ]; buildInputs = [ + aws-lc bzip2 xz zstd From 78702f9eec0b4aaff41b675cfea2da9bd8ba66cc Mon Sep 17 00:00:00 2001 From: whispers Date: Wed, 14 Oct 2026 00:42:18 -0400 Subject: [PATCH 0338/2378] vaultwarden: fix forced system deps --- pkgs/by-name/va/vaultwarden/package.nix | 2 ++ 1 file changed, 2 insertions(+) diff --git a/pkgs/by-name/va/vaultwarden/package.nix b/pkgs/by-name/va/vaultwarden/package.nix index 306aba330e11..a8604a10ca06 100644 --- a/pkgs/by-name/va/vaultwarden/package.nix +++ b/pkgs/by-name/va/vaultwarden/package.nix @@ -7,6 +7,7 @@ nixosTests, pkg-config, openssl, + zstd, libiconv, dbBackend ? "sqlite_system", libmysqlclient, @@ -37,6 +38,7 @@ rustPlatform.buildRustPackage (finalAttrs: { nativeBuildInputs = [ pkg-config ]; buildInputs = [ openssl + zstd ] ++ lib.optionals stdenv.hostPlatform.isDarwin [ libiconv From 80e14514ed99603a209108d36f39980e9aa27699 Mon Sep 17 00:00:00 2001 From: whispers Date: Wed, 14 Oct 2026 00:55:25 -0400 Subject: [PATCH 0339/2378] cargo-bisect-rustc: fix forced system deps --- pkgs/by-name/ca/cargo-bisect-rustc/package.nix | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/pkgs/by-name/ca/cargo-bisect-rustc/package.nix b/pkgs/by-name/ca/cargo-bisect-rustc/package.nix index 01158a4d2eb5..0486350ae876 100644 --- a/pkgs/by-name/ca/cargo-bisect-rustc/package.nix +++ b/pkgs/by-name/ca/cargo-bisect-rustc/package.nix @@ -4,6 +4,7 @@ fetchFromGitHub, rustPlatform, pkg-config, + libgit2, openssl, runCommand, patchelf, @@ -45,7 +46,10 @@ rustPlatform.buildRustPackage (finalAttrs: { nativeBuildInputs = [ pkg-config ]; - buildInputs = [ openssl ]; + buildInputs = [ + libgit2 + openssl + ]; cargoHash = "sha256-kJ/mLHBrp67U5RkVZrkCyFjWLLwHvuLTCSxDmG1n9l0="; From a88102b6eed8181fa77634e6c75fc49f220f0606 Mon Sep 17 00:00:00 2001 From: Adam Dinwoodie Date: Wed, 14 Oct 2026 11:28:05 +0100 Subject: [PATCH 0340/2378] gitMinimal: fix mismerge 2c87a32948d2 (Merge remote-tracking branch origin/staging-next into staging, 2026-10-07) seems to have accidentally backed out the change from 6e9e4313d59b (gitMinimal: enable rust support, 2026-09-27) / #567405. --- pkgs/by-name/gi/gitMinimal/package.nix | 1 - 1 file changed, 1 deletion(-) diff --git a/pkgs/by-name/gi/gitMinimal/package.nix b/pkgs/by-name/gi/gitMinimal/package.nix index 52143117c967..ae4929e944f2 100644 --- a/pkgs/by-name/gi/gitMinimal/package.nix +++ b/pkgs/by-name/gi/gitMinimal/package.nix @@ -12,7 +12,6 @@ git.override ( osxkeychainSupport = false; pythonSupport = false; perlSupport = false; - rustSupport = false; # Needed for bootstrap withpcre2 = false; cargo = cargo.override { auditable = false; }; # Break `cargo-auditable` -> `fetch-cargo-vendor` -> `nix-prefetch-git` -> `gitMinimal` cycle` curl = if stdenv.hostPlatform.isFreeBSD then curlMinimal else curl; # Needed for FreeBSD bootstrap From 77862185ba7b54f82ebb4e789fbb8181caf06ba6 Mon Sep 17 00:00:00 2001 From: Anish Pallati Date: Mon, 12 Oct 2026 16:20:59 -0400 Subject: [PATCH 0341/2378] python3Packages.blockbuster: 1.5.26 -> 1.5.29 Signed-off-by: Anish Pallati --- pkgs/development/python-modules/blockbuster/default.nix | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/blockbuster/default.nix b/pkgs/development/python-modules/blockbuster/default.nix index f639ce3d1359..5719688632aa 100644 --- a/pkgs/development/python-modules/blockbuster/default.nix +++ b/pkgs/development/python-modules/blockbuster/default.nix @@ -11,14 +11,14 @@ buildPythonPackage rec { pname = "blockbuster"; - version = "1.5.26"; + version = "1.5.29"; pyproject = true; src = fetchFromGitHub { owner = "cbornet"; repo = "blockbuster"; tag = "v${version}"; - hash = "sha256-2p1xKThna33nhT3rkp1kfZPVkzsJd42OPs3cHenizJs="; + hash = "sha256-RIy5xjTpw6Bsxo1oiKQ5fbrBpkL8eujOY85G2GW2lrI="; }; build-system = [ hatchling ]; @@ -31,6 +31,8 @@ buildPythonPackage rec { requests ]; + enabledTestPaths = [ "tests" ]; + disabledTests = [ # network access "test_ssl_socket" From 0dce552c5dd819009800ede284ab3c1f493c4570 Mon Sep 17 00:00:00 2001 From: Anish Pallati Date: Mon, 12 Oct 2026 16:37:21 -0400 Subject: [PATCH 0342/2378] python3Packages.blockbuster: modernize Signed-off-by: Anish Pallati --- pkgs/development/python-modules/blockbuster/default.nix | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/pkgs/development/python-modules/blockbuster/default.nix b/pkgs/development/python-modules/blockbuster/default.nix index 5719688632aa..15373b115b5f 100644 --- a/pkgs/development/python-modules/blockbuster/default.nix +++ b/pkgs/development/python-modules/blockbuster/default.nix @@ -9,7 +9,7 @@ requests, }: -buildPythonPackage rec { +buildPythonPackage (finalAttrs: { pname = "blockbuster"; version = "1.5.29"; pyproject = true; @@ -17,7 +17,7 @@ buildPythonPackage rec { src = fetchFromGitHub { owner = "cbornet"; repo = "blockbuster"; - tag = "v${version}"; + tag = "v${finalAttrs.version}"; hash = "sha256-RIy5xjTpw6Bsxo1oiKQ5fbrBpkL8eujOY85G2GW2lrI="; }; @@ -39,13 +39,15 @@ buildPythonPackage rec { ]; __darwinAllowLocalNetworking = true; + __structuredAttrs = true; pythonImportsCheck = [ "blockbuster" ]; meta = { description = "Utility to detect blocking calls in the async event loop"; homepage = "https://github.com/cbornet/blockbuster"; + changelog = "https://github.com/cbornet/blockbuster/releases/tag/${finalAttrs.src.tag}"; license = lib.licenses.asl20; maintainers = [ ]; }; -} +}) From 994f2b3db0a5a00370a8967c7e2e98d760062e11 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sandro=20J=C3=A4ckel?= Date: Wed, 14 Oct 2026 15:44:15 +0200 Subject: [PATCH 0343/2378] python3Packages.aiohttp: remove blockbuster as it is only required for benchmark tests which we do not run Upstream has code to check if blockbuster exists and skips benchmark tests if it does not, which is exactly what we want. This reduces the rebuild count for blockbuster hopefully down to be mergeable to master. I verified this by running the tests before and after and all the counts stayed the same. --- pkgs/development/python-modules/aiohttp/default.nix | 1 - 1 file changed, 1 deletion(-) diff --git a/pkgs/development/python-modules/aiohttp/default.nix b/pkgs/development/python-modules/aiohttp/default.nix index d94a6bd4688c..13ea96050f3a 100644 --- a/pkgs/development/python-modules/aiohttp/default.nix +++ b/pkgs/development/python-modules/aiohttp/default.nix @@ -108,7 +108,6 @@ buildPythonPackage (finalAttrs: { ]; nativeCheckInputs = [ - blockbuster freezegun gunicorn isal From 43ceb8c366139bbc1feaa9de4b8d8b8421f339c5 Mon Sep 17 00:00:00 2001 From: TomaSajt <62384384+TomaSajt@users.noreply.github.com> Date: Sun, 7 Jun 2026 19:25:53 +0200 Subject: [PATCH 0344/2378] rustPlatform.fetchCargoVendor: refactor, support non-crates.io registries --- .../rust/fetch-cargo-vendor-util.py | 539 ++++++++++++------ 1 file changed, 357 insertions(+), 182 deletions(-) diff --git a/pkgs/build-support/rust/fetch-cargo-vendor-util.py b/pkgs/build-support/rust/fetch-cargo-vendor-util.py index 825f07b175ee..5eaef6702e43 100644 --- a/pkgs/build-support/rust/fetch-cargo-vendor-util.py +++ b/pkgs/build-support/rust/fetch-cargo-vendor-util.py @@ -1,46 +1,203 @@ import functools import hashlib import json -import multiprocessing as mp +import os import re import shutil import subprocess import sys +import tempfile import tomllib +from concurrent.futures import FIRST_EXCEPTION, Future, ThreadPoolExecutor, wait +from dataclasses import dataclass, field from os.path import islink, realpath from pathlib import Path -from typing import Any, TypedDict, cast +from typing import Any, cast from urllib.parse import unquote import requests import tomli_w from requests.adapters import HTTPAdapter, Retry +# Constants for controlling how the crates are downloaded from the registries via `requests` +# These do not affect the fetching of git dependencies +MAX_WORKERS = min(5, os.cpu_count() or 1) # number of workers in the ThreadPoolExecutor +CONNECT_TIMEOUT = 2 # max seconds for establishing initial connection +READ_TIMEOUT = 10 # max seconds between receiving data packets +TIMEOUT = (CONNECT_TIMEOUT, READ_TIMEOUT) +RETRY_COUNT = 3 # number of retries for fetching an url +BACKOFF_FACTOR = 0.5 # seconds to wait between retries (gets multiplied by 2 after every retry) + +# If for some reason our custom User-Agent value starts getting rejected, we could +# set the User-Agent to the value that cargo uses, e.g.: "cargo/1.95.0 (f2d3ce0bd 2026-03-21)" +USER_AGENT = "nixpkgs-fetchCargoVendor/2 (https://github.com/NixOS/nixpkgs)" + eprint = functools.partial(print, file=sys.stderr) -def load_toml(path: Path) -> dict[str, Any]: - with open(path, "rb") as f: - return tomllib.load(f) +@dataclass +class RegistrySource: + raw: str + url: str + is_sparse: bool + ind: int = field(init=False) -def get_lockfile_version(cargo_lock_toml: dict[str, Any]) -> int: - # lockfile v1 and v2 don't have the `version` key, so assume v2 - version = cargo_lock_toml.get("version", 2) +@dataclass +class RegistryPackage: + name: str + version: str + source: RegistrySource + checksum: str - # TODO: add logic for differentiating between v1 and v2 - return version +GIT_SOURCE_REGEX = re.compile(r"git\+(?P[^?]+)(\?(?Prev|tag|branch)=(?P.*))?#(?P.*)") + + +@dataclass +class GitSource: + raw: str + url: str + type: str | None + value: str | None + git_sha_rev: str + ind: int = field(init=False) + + +@dataclass +class GitPackage: + name: str + version: str + source: GitSource + + +Source = RegistrySource | GitSource +Package = RegistryPackage | GitPackage + + +@dataclass +class Lockfile: + version: int + sources: list[Source] + packages: list[Package] + + +def parse_git_source(raw_source: str, lockfile_version: int) -> GitSource: + match = GIT_SOURCE_REGEX.match(raw_source) + if match is None: + raise Exception(f"Unable to process git source: {raw_source}.") + + parsed_dict = match.groupdict(default=None) + url = cast(str, parsed_dict["url"]) + git_sha_rev = cast(str, parsed_dict["git_sha_rev"]) + + source = GitSource(raw_source, url, parsed_dict["type"], parsed_dict["value"], git_sha_rev) + + # the source URL is URL-encoded in lockfile_version >=4 + # since we just used regex to parse it we have to manually decode the escaped branch/tag name + if lockfile_version >= 4 and source.value is not None: + source.value = unquote(source.value) + + return source + + +def parse_source(raw_source: str, lockfile_version: int) -> Source: + if raw_source.startswith("git+"): + return parse_git_source(raw_source, lockfile_version) + elif raw_source.startswith("registry+"): + return RegistrySource(raw=raw_source, url=raw_source[9:], is_sparse=False) + elif raw_source.startswith("sparse+"): + return RegistrySource(raw=raw_source, url=raw_source[7:].rstrip("/"), is_sparse=True) + raise Exception(f"Cannot process source: {raw_source}") + + +def load_lockfile(path: Path) -> Lockfile: + with path.open("rb") as f: + cargo_lock_toml = tomllib.load(f) + + # The `version` key missing means either lockfile v1 or v2. We assume v2 for now. + lockfile_version = cargo_lock_toml.get("version", 2) + + raw_packages: list[dict[str, str]] = cargo_lock_toml["package"] + + sources: list[Source] = [] + raw_source_to_source: dict[str, Source] = {} + + # we'll mark every source with an index in order of appearance + # both git and registry sources have a different incrementing index + # we reserve registry index 0 for both of the default crates-io registries + + for raw_source in ["registry+https://github.com/rust-lang/crates.io-index", "sparse+https://index.crates.io/"]: + source = parse_source(raw_source, lockfile_version) + source.ind = 0 + sources.append(source) + raw_source_to_source[source.raw] = source + + next_registry_ind = 1 + next_git_ind = 0 + + git_selector_tuple_to_git_ind: dict[tuple[str, str | None, str | None], int] = {} + + for raw_pkg in raw_packages: + raw_source = raw_pkg.get("source", None) + if raw_source is None: # Skip local dependencies + continue + if raw_source in raw_source_to_source: + continue + + source = parse_source(raw_source, lockfile_version) + match source: + case RegistrySource(): + source.ind = next_registry_ind + next_registry_ind += 1 + case GitSource(): + # git sources may get the same `ind` value if their selectors match + tup = (source.url, source.type, source.value) + if tup not in git_selector_tuple_to_git_ind: + git_selector_tuple_to_git_ind[tup] = next_git_ind + next_git_ind += 1 + source.ind = git_selector_tuple_to_git_ind[tup] + + sources.append(source) + raw_source_to_source[source.raw] = source + + packages: list[Package] = [] + + for raw_pkg in raw_packages: + name = raw_pkg["name"] + version = raw_pkg["version"] + raw_source = raw_pkg.get("source", None) + if raw_source is None: # Skip local dependencies + continue + source = raw_source_to_source[raw_source] + + match source: + case RegistrySource(): + checksum = raw_pkg.get("checksum", None) + + # lockfile v1 has the checksum values in a separate metadata table + if checksum is None: + lockfile_version = 1 + checksum_key = f"checksum {name} {version} ({source.raw})" + checksum = cargo_lock_toml["metadata"][checksum_key] + + pkg = RegistryPackage(name, version, source, checksum) + case GitSource(): + pkg = GitPackage(name, version, source) + + packages.append(pkg) + + return Lockfile(lockfile_version, sources, packages) def create_http_session() -> requests.Session: retries = Retry( - total=5, - backoff_factor=0.5, + total=RETRY_COUNT, + backoff_factor=BACKOFF_FACTOR, status_forcelist=[500, 502, 503, 504] ) session = requests.Session() - session.headers["User-Agent"] = "nixpkgs-fetchCargoVendor/2 (https://github.com/NixOS/nixpkgs)" + session.headers["User-Agent"] = USER_AGENT session.mount('http://', HTTPAdapter(max_retries=retries)) session.mount('https://', HTTPAdapter(max_retries=retries)) return session @@ -48,10 +205,9 @@ def create_http_session() -> requests.Session: def download_file_with_checksum(session: requests.Session, url: str, destination_path: Path) -> str: sha256_hash = hashlib.sha256() - with session.get(url, stream=True) as response: - if not response.ok: - raise Exception(f"Failed to fetch file from {url}. Status code: {response.status_code}") - with open(destination_path, "wb") as file: + with session.get(url, stream=True, timeout=TIMEOUT) as response: + response.raise_for_status() + with destination_path.open("wb") as file: for chunk in response.iter_content(1024): # Download in chunks if chunk: # Filter out keep-alive chunks file.write(chunk) @@ -62,112 +218,153 @@ def download_file_with_checksum(session: requests.Session, url: str, destination return checksum -def get_download_url_for_tarball(pkg: dict[str, Any]) -> str: - # TODO: support other registries - # maybe fetch config.json from the registry root and get the dl key - # See: https://doc.rust-lang.org/cargo/reference/registry-index.html#index-configuration - if pkg["source"] != "registry+https://github.com/rust-lang/crates.io-index": - raise Exception("Only the default crates.io registry is supported.") +# Fetch the config.json file and get the .dl key from it +# See: https://doc.rust-lang.org/cargo/reference/registry-index.html#index-configuration +def fetch_dl_for_registry_source(source: RegistrySource, session: requests.Session) -> str: + # We hardcode the .dl value for crates-io registries to avoid having to clone the git repo, saving a few seconds + if source.ind == 0: + return "https://static.crates.io/crates" - # Use static.crates.io (CDN) instead of crates.io/api to avoid the 1 req/sec - # rate limit on the API servers. - return f"https://static.crates.io/crates/{pkg["name"]}/{pkg["version"]}/download" + eprint(f'Fetching .dl value for registry "{source.url}"') + if source.is_sparse: + url = source.url + "/config.json" + + # https://doc.rust-lang.org/cargo/reference/registry-web-api.html#web-api + headers = { + "Content-Type": "application/json", + "Accept": "application/json", + } + + with session.get(url, headers=headers, timeout=TIMEOUT) as response: + response.raise_for_status() + registry_config: dict[str, str] = response.json() + else: + tmp_dir = Path(tempfile.mkdtemp()) + # use spare-checkout to only get the config.json file from the registry's git repo + # --quiet is deliberately not used to be able to debug if something goes wrong + cmd = ["nix-prefetch-git", "--builder", "--url", source.url, "--rev", "HEAD", "--sparse-checkout", "config.json", "--out", str(tmp_dir)] + subprocess.check_output(cmd) + with (tmp_dir / "config.json").open("rb") as f: + registry_config: dict[str, str] = json.load(f) + + dl = registry_config["dl"] + + auth_required = registry_config.get("auth-required", False) + if auth_required: + raise Exception(f'Registry "{source.url}" requires authentication, but it is not yet implemented!') + + return dl -def download_tarball(session: requests.Session, pkg: dict[str, Any], out_dir: Path) -> None: +# See: https://doc.rust-lang.org/cargo/reference/registry-index.html#index-files +def name_to_prefix(name: str) -> str: + nl = len(name) + if nl <= 2: + return str(nl) + if nl == 3: + return "3/" + name[0] + return name[0:2] + "/" + name[2:4] - url = get_download_url_for_tarball(pkg) - filename = f"{pkg["name"]}-{pkg["version"]}.tar.gz" - # TODO: allow legacy checksum specification, see importCargoLock for example - # also, don't forget about the other usage of the checksum - expected_checksum = pkg["checksum"] +# See: https://doc.rust-lang.org/cargo/reference/registry-index.html#index-configuration +def make_download_url_for_tarball(pkg: RegistryPackage, dl: str) -> str: + # Assume default substitutions if no substitutions are specified + url = dl if "}" in dl else dl + "/{crate}/{version}/download" - tarball_out_dir = out_dir / "tarballs" / filename - eprint(f"Fetching {url} -> tarballs/{filename}") + prefix = name_to_prefix(pkg.name) + url = url.replace("{crate}", pkg.name) + url = url.replace("{version}", pkg.version) + url = url.replace("{prefix}", prefix) + url = url.replace("{lowerprefix}", prefix.lower()) + url = url.replace("{sha256-checksum}", pkg.checksum) + return url - calculated_checksum = download_file_with_checksum(session, url, tarball_out_dir) + +def download_crate_tarball(session: requests.Session, url: str, out_path: Path, expected_checksum: str) -> None: + out_path.parent.mkdir(parents=True, exist_ok=True) + + eprint(f"Fetching {url} -> {out_path}") + calculated_checksum = download_file_with_checksum(session, url, out_path) if calculated_checksum != expected_checksum: raise Exception(f"Hash mismatch! File fetched from {url} had checksum {calculated_checksum}, expected {expected_checksum}.") def download_git_tree(url: str, git_sha_rev: str, out_dir: Path) -> None: - tree_out_dir = out_dir / "git" / git_sha_rev + + # This could happen if different selectors point to the same git_sha_rev + if tree_out_dir.exists(): + eprint(f"Skipping fetching {url}#{git_sha_rev} as it has already been downloaded") + return + + tree_out_dir.mkdir(parents=True) + eprint(f"Fetching {url}#{git_sha_rev} -> git/{git_sha_rev}") cmd = ["nix-prefetch-git", "--builder", "--quiet", "--fetch-submodules", "--url", url, "--rev", git_sha_rev, "--out", str(tree_out_dir)] subprocess.check_output(cmd) -GIT_SOURCE_REGEX = re.compile("git\\+(?P[^?]+)(\\?(?Prev|tag|branch)=(?P.*))?#(?P.*)") +def make_tarball_relpath(pkg: RegistryPackage) -> Path: + # Instead of .tar.gz we could have used the .crate extension + # But we keep using .tar.gz for backwards compat + filename = f'{pkg.name}-{pkg.version}.tar.gz' + # For backwards compat, all crates.io crates (where source.ind == 0) + # are stored directly in tarballs/ + # Crates from other registries are stored in tarballs/registry-{ind}/ + if pkg.source.ind == 0: + reldir = Path("tarballs") + else: + reldir = Path("tarballs") / f"registry-{pkg.source.ind}" -class GitSourceInfo(TypedDict): - url: str - type: str | None - value: str | None - git_sha_rev: str - - -def parse_git_source(source: str, lockfile_version: int) -> GitSourceInfo: - match = GIT_SOURCE_REGEX.match(source) - if match is None: - raise Exception(f"Unable to process git source: {source}.") - - source_info = cast(GitSourceInfo, match.groupdict(default=None)) - - # the source URL is URL-encoded in lockfile_version >=4 - # since we just used regex to parse it we have to manually decode the escaped branch/tag name - if lockfile_version >= 4 and source_info["value"] is not None: - source_info["value"] = unquote(source_info["value"]) - - return source_info + return reldir / filename def create_vendor_staging(lockfile_path: Path, out_dir: Path) -> None: - cargo_lock_toml = load_toml(lockfile_path) - lockfile_version = get_lockfile_version(cargo_lock_toml) - - git_packages: list[dict[str, Any]] = [] - registry_packages: list[dict[str, Any]] = [] - - for pkg in cargo_lock_toml["package"]: - # ignore local dependenices - if "source" not in pkg.keys(): - eprint(f"Skipping local dependency: {pkg["name"]}") - continue - source = pkg["source"] - - if source.startswith("git+"): - git_packages.append(pkg) - elif source.startswith("registry+"): - registry_packages.append(pkg) - else: - raise Exception(f"Can't process source: {source}.") - - git_sha_rev_to_url: dict[str, str] = {} - for pkg in git_packages: - source_info = parse_git_source(pkg["source"], lockfile_version) - git_sha_rev_to_url[source_info["git_sha_rev"]] = source_info["url"] + lockfile = load_lockfile(lockfile_path) out_dir.mkdir(exist_ok=True) shutil.copy(lockfile_path, out_dir / "Cargo.lock") - # fetch git trees sequentially, since fetching concurrently leads to flaky behaviour - if len(git_packages) != 0: - (out_dir / "git").mkdir() - for git_sha_rev, url in git_sha_rev_to_url.items(): - download_git_tree(url, git_sha_rev, out_dir) + git_sources = [source for source in lockfile.sources if isinstance(source, GitSource)] + registry_sources = [source for source in lockfile.sources if isinstance(source, RegistrySource)] + registry_packages = [pkg for pkg in lockfile.packages if isinstance(pkg, RegistryPackage)] - # run tarball download jobs in parallel, with at most 5 concurrent download jobs - with mp.Pool(min(5, mp.cpu_count())) as pool: - if len(registry_packages) != 0: - (out_dir / "tarballs").mkdir() - session = create_http_session() - tarball_args_gen = ((session, pkg, out_dir) for pkg in registry_packages) - pool.starmap(download_tarball, tarball_args_gen) + # We fetch git trees sequentially because fetching concurrently seemed to cause flaky behaviour + for source in git_sources: + download_git_tree(source.url, source.git_sha_rev, out_dir) + + session = create_http_session() + + raw_registry_source_to_dl: dict[str, str] = {} + for source in registry_sources: + dl = fetch_dl_for_registry_source(source, session) + eprint(f'Using .dl value of "{dl}" for registry "{source.raw}"') + raw_registry_source_to_dl[source.raw] = dl + + eprint(f"Downloading crate tarballs with {MAX_WORKERS} workers...") + with ThreadPoolExecutor(max_workers=MAX_WORKERS) as executor: + futures: list[Future[None]] = [] + + for pkg in registry_packages: + dl = raw_registry_source_to_dl[pkg.source.raw] + url = make_download_url_for_tarball(pkg, dl) + + out_path = out_dir / make_tarball_relpath(pkg) + + future = executor.submit(download_crate_tarball, session, url, out_path, pkg.checksum) + futures.append(future) + + # fail early if a worker raises an exception + done, _ = wait(futures, return_when=FIRST_EXCEPTION) + for f in done: + e = f.exception() + if e is None: + continue + executor.shutdown(cancel_futures=True) + raise Exception(f"Failed to download tarball: {e}") def get_manifest_metadata(manifest_path: Path) -> dict[str, Any]: @@ -244,8 +441,7 @@ def copy_and_patch_git_crate_subtree(git_tree: Path, crate_name: str, crate_out_ shutil.copytree(crate_tree, crate_out_dir, ignore=ignore_func) crate_out_dir.chmod(0o755) - with open(crate_manifest_path, "r") as f: - manifest_data = f.read() + manifest_data = crate_manifest_path.read_text() if "workspace" in manifest_data: crate_manifest_metadata = get_manifest_metadata(crate_manifest_path) @@ -268,16 +464,16 @@ def extract_crate_tarball_contents(tarball_path: Path, crate_out_dir: Path) -> N subprocess.check_output(cmd) -def make_git_source_selector(source_info: GitSourceInfo) -> dict[str, str]: +def make_git_source_selector(source: GitSource) -> dict[str, str]: selector = {} - selector["git"] = source_info["url"] - if source_info["type"] is not None: - selector[source_info["type"]] = source_info["value"] + selector["git"] = source.url + if source.type is not None: + selector[source.type] = source.value return selector -def make_registry_source_selector(source: str) -> dict[str, str]: - registry = source[9:] if source.startswith("registry+") else source +def make_registry_source_selector(source: RegistrySource) -> dict[str, str]: + registry = source.raw if source.is_sparse else source.url selector = {} selector["registry"] = registry return selector @@ -288,14 +484,9 @@ def create_vendor(vendor_staging_dir: Path, out_dir: Path) -> None: out_dir.mkdir(exist_ok=True) shutil.copy(lockfile_path, out_dir / "Cargo.lock") - cargo_lock_toml = load_toml(lockfile_path) - lockfile_version = get_lockfile_version(cargo_lock_toml) + lockfile = load_lockfile(lockfile_path) - source_to_ind: dict[str, str] = {} - selector_to_ind: dict[tuple, str] = {} source_config = {} - next_registry_ind = 0 - next_git_ind = 0 def add_source_replacement( orig_key: str, @@ -308,112 +499,96 @@ def create_vendor(vendor_staging_dir: Path, out_dir: Path) -> None: source_config[orig_key] = orig_selector source_config[orig_key]["replace-with"] = vendored_key - # we reserve registry index 0 for crates-io - source_to_ind["registry+https://github.com/rust-lang/crates.io-index"] = "registry-0" - source_to_ind["sparse+https://index.crates.io/"] = "registry-0" add_source_replacement( orig_key="crates-io", orig_selector={}, # there is an internal selector defined for the `crates-io` source vendored_key="vendored-source-registry-0", vendored_dir="@vendor@/source-registry-0" ) - next_registry_ind += 1 - for pkg in cargo_lock_toml["package"]: - # ignore local dependencies - if "source" not in pkg.keys(): - continue - source: str = pkg["source"] - if source in source_to_ind: - continue + processed_git_inds = set() - if source.startswith("git+"): - source_info = parse_git_source(source, lockfile_version) - selector = make_git_source_selector(source_info) - selector_key = (source_info["url"], source_info["type"], source_info["value"]) - if selector_key in selector_to_ind: - ind = selector_to_ind[selector_key] - else: - ind = f"git-{next_git_ind}" - next_git_ind += 1 - selector_to_ind[selector_key] = ind + for source in lockfile.sources: + match source: + case RegistrySource(): + if source.ind == 0: # crates-io already handled separately above + continue add_source_replacement( - orig_key=f"original-source-{ind}", - orig_selector=selector, - vendored_key=f"vendored-source-{ind}", - vendored_dir=f"@vendor@/source-{ind}" + orig_key=f"original-source-registry-{source.ind}", + orig_selector=make_registry_source_selector(source), + vendored_key=f"vendored-source-registry-{source.ind}", + vendored_dir=f"@vendor@/source-registry-{source.ind}" ) - elif source.startswith("registry+") or source.startswith("sparse+"): - ind = f"registry-{next_registry_ind}" - next_registry_ind += 1 - selector = make_registry_source_selector(source) - add_source_replacement( - orig_key=f"original-source-{ind}", - orig_selector=selector, - vendored_key=f"vendored-source-{ind}", - vendored_dir=f"@vendor@/source-{ind}" - ) - else: - raise Exception(f"Can't process source: {source}.") + case GitSource(): + # In some cases multiple git sources can have the same selector, thus the same git ind + # but source replacements can't be made for the same selector multiple times + if source.ind in processed_git_inds: + continue + processed_git_inds.add(source.ind) - source_to_ind[source] = ind + add_source_replacement( + orig_key=f"original-source-git-{source.ind}", + orig_selector=make_git_source_selector(source), + vendored_key=f"vendored-source-git-{source.ind}", + vendored_dir=f"@vendor@/source-git-{source.ind}" + ) config_path = out_dir / ".cargo" / "config.toml" config_path.parent.mkdir() - with open(config_path, "wb") as config_file: + with config_path.open("wb") as config_file: tomli_w.dump({"source": source_config}, config_file) - for pkg in cargo_lock_toml["package"]: + for pkg in lockfile.packages: + match pkg: + case RegistryPackage(): + crate_out_dir = out_dir / f"source-registry-{pkg.source.ind}" / f"{pkg.name}-{pkg.version}" + crate_out_dir.parent.mkdir(exist_ok=True) - # ignore local dependenices - if "source" not in pkg.keys(): - continue + tarball_path = vendor_staging_dir / make_tarball_relpath(pkg) - source: str = pkg["source"] - source_ind = source_to_ind[source] - crate_dir_name = f"{pkg["name"]}-{pkg["version"]}" - source_dir_name = f"source-{source_ind}" - crate_out_dir = out_dir / source_dir_name / crate_dir_name - crate_out_dir.parent.mkdir(exist_ok=True) + extract_crate_tarball_contents(tarball_path, crate_out_dir) - if source.startswith("git+"): + # non-git based crates need the package checksum at minimum + with (crate_out_dir / ".cargo-checksum.json").open("w") as f: + json.dump({"files": {}, "package": pkg.checksum}, f) - source_info = parse_git_source(source, lockfile_version) + case GitPackage(): + crate_out_dir = out_dir / f"source-git-{pkg.source.ind}" / f"{pkg.name}-{pkg.version}" + crate_out_dir.parent.mkdir(exist_ok=True) - git_sha_rev = source_info["git_sha_rev"] - git_tree = vendor_staging_dir / "git" / git_sha_rev + if crate_out_dir.exists(): + raise Exception( + f"{crate_out_dir} already exists!\n" + "This likely due to multiple packages having the same name, version and git selector, but not the same locked git revision\n" + "As a workaround, change all conflicting packages to have different git selectors\n" + "e.g. specifying an exact rev= selector for each affected package in both Cargo.toml and Cargo.lock\n" + "If it is not possible or difficult to do so (e.g. it's a transient dependency), as a hack, you could also consider keeping\n" + "the package with the most up-to-date revision and removing all other duplicated entries from Cargo.lock" + ) - copy_and_patch_git_crate_subtree(git_tree, pkg["name"], crate_out_dir) + git_sha_rev = pkg.source.git_sha_rev + git_tree = vendor_staging_dir / "git" / git_sha_rev - # git based crates allow having no checksum information - with open(crate_out_dir / ".cargo-checksum.json", "w") as f: - json.dump({"files": {}}, f) + copy_and_patch_git_crate_subtree(git_tree, pkg.name, crate_out_dir) - elif source.startswith("registry+") or source.startswith("sparse+"): - filename = f"{pkg["name"]}-{pkg["version"]}.tar.gz" - - # TODO: change this when non-crates-io registries are supported - dir_name = "tarballs" - - tarball_path = vendor_staging_dir / dir_name / filename - - extract_crate_tarball_contents(tarball_path, crate_out_dir) - - # non-git based crates need the package checksum at minimum - with open(crate_out_dir / ".cargo-checksum.json", "w") as f: - json.dump({"files": {}, "package": pkg["checksum"]}, f) - - else: - raise Exception(f"Can't process source: {source}.") + # git based crates allow having no checksum information + with (crate_out_dir / ".cargo-checksum.json").open("w") as f: + json.dump({"files": {}}, f) def main() -> None: subcommand = sys.argv[1] subcommand_func_dict = { - "create-vendor-staging": lambda: create_vendor_staging(lockfile_path=Path(sys.argv[2]), out_dir=Path(sys.argv[3])), - "create-vendor": lambda: create_vendor(vendor_staging_dir=Path(sys.argv[2]), out_dir=Path(sys.argv[3])) + "create-vendor-staging": lambda: create_vendor_staging( + lockfile_path=Path(sys.argv[2]), + out_dir=Path(sys.argv[3]) + ), + "create-vendor": lambda: create_vendor( + vendor_staging_dir=Path(sys.argv[2]), + out_dir=Path(sys.argv[3]) + ) } subcommand_func = subcommand_func_dict.get(subcommand) From 3a5d71a48ce0bf082a3b2d6b283c9df093456377 Mon Sep 17 00:00:00 2001 From: TomaSajt <62384384+TomaSajt@users.noreply.github.com> Date: Wed, 14 Oct 2026 16:47:47 +0200 Subject: [PATCH 0345/2378] rustPlatform.fetchCargoVendor: use per-thread session --- .../rust/fetch-cargo-vendor-util.py | 31 ++++++++++++------- 1 file changed, 20 insertions(+), 11 deletions(-) diff --git a/pkgs/build-support/rust/fetch-cargo-vendor-util.py b/pkgs/build-support/rust/fetch-cargo-vendor-util.py index 5eaef6702e43..b3d7d6169e27 100644 --- a/pkgs/build-support/rust/fetch-cargo-vendor-util.py +++ b/pkgs/build-support/rust/fetch-cargo-vendor-util.py @@ -7,6 +7,7 @@ import shutil import subprocess import sys import tempfile +import threading import tomllib from concurrent.futures import FIRST_EXCEPTION, Future, ThreadPoolExecutor, wait from dataclasses import dataclass, field @@ -15,8 +16,8 @@ from pathlib import Path from typing import Any, cast from urllib.parse import unquote -import requests import tomli_w +from requests import Session from requests.adapters import HTTPAdapter, Retry # Constants for controlling how the crates are downloaded from the registries via `requests` @@ -190,20 +191,29 @@ def load_lockfile(path: Path) -> Lockfile: return Lockfile(lockfile_version, sources, packages) -def create_http_session() -> requests.Session: +_local = threading.local() + + +def get_session() -> Session: + if hasattr(_local, "session"): + return _local.session + retries = Retry( total=RETRY_COUNT, backoff_factor=BACKOFF_FACTOR, status_forcelist=[500, 502, 503, 504] ) - session = requests.Session() + session = Session() session.headers["User-Agent"] = USER_AGENT session.mount('http://', HTTPAdapter(max_retries=retries)) session.mount('https://', HTTPAdapter(max_retries=retries)) + + _local.session = session return session -def download_file_with_checksum(session: requests.Session, url: str, destination_path: Path) -> str: +def download_file_with_checksum(url: str, destination_path: Path) -> str: + session = get_session() sha256_hash = hashlib.sha256() with session.get(url, stream=True, timeout=TIMEOUT) as response: response.raise_for_status() @@ -220,7 +230,7 @@ def download_file_with_checksum(session: requests.Session, url: str, destination # Fetch the config.json file and get the .dl key from it # See: https://doc.rust-lang.org/cargo/reference/registry-index.html#index-configuration -def fetch_dl_for_registry_source(source: RegistrySource, session: requests.Session) -> str: +def fetch_dl_for_registry_source(source: RegistrySource) -> str: # We hardcode the .dl value for crates-io registries to avoid having to clone the git repo, saving a few seconds if source.ind == 0: return "https://static.crates.io/crates" @@ -235,6 +245,7 @@ def fetch_dl_for_registry_source(source: RegistrySource, session: requests.Sessi "Accept": "application/json", } + session = get_session() with session.get(url, headers=headers, timeout=TIMEOUT) as response: response.raise_for_status() registry_config: dict[str, str] = response.json() @@ -280,11 +291,11 @@ def make_download_url_for_tarball(pkg: RegistryPackage, dl: str) -> str: return url -def download_crate_tarball(session: requests.Session, url: str, out_path: Path, expected_checksum: str) -> None: +def download_crate_tarball(url: str, out_path: Path, expected_checksum: str) -> None: out_path.parent.mkdir(parents=True, exist_ok=True) eprint(f"Fetching {url} -> {out_path}") - calculated_checksum = download_file_with_checksum(session, url, out_path) + calculated_checksum = download_file_with_checksum(url, out_path) if calculated_checksum != expected_checksum: raise Exception(f"Hash mismatch! File fetched from {url} had checksum {calculated_checksum}, expected {expected_checksum}.") @@ -336,11 +347,9 @@ def create_vendor_staging(lockfile_path: Path, out_dir: Path) -> None: for source in git_sources: download_git_tree(source.url, source.git_sha_rev, out_dir) - session = create_http_session() - raw_registry_source_to_dl: dict[str, str] = {} for source in registry_sources: - dl = fetch_dl_for_registry_source(source, session) + dl = fetch_dl_for_registry_source(source) eprint(f'Using .dl value of "{dl}" for registry "{source.raw}"') raw_registry_source_to_dl[source.raw] = dl @@ -354,7 +363,7 @@ def create_vendor_staging(lockfile_path: Path, out_dir: Path) -> None: out_path = out_dir / make_tarball_relpath(pkg) - future = executor.submit(download_crate_tarball, session, url, out_path, pkg.checksum) + future = executor.submit(download_crate_tarball, url, out_path, pkg.checksum) futures.append(future) # fail early if a worker raises an exception From 89782e63c4ec2a1d510097ed9af86d72abbf110e Mon Sep 17 00:00:00 2001 From: Antoine du Hamel Date: Wed, 14 Oct 2026 17:52:56 +0200 Subject: [PATCH 0346/2378] nodejs_24: 24.21.0 -> 24.22.0 --- pkgs/development/web/nodejs/v24.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/web/nodejs/v24.nix b/pkgs/development/web/nodejs/v24.nix index 5fee25ab2f17..8c2a0317359a 100644 --- a/pkgs/development/web/nodejs/v24.nix +++ b/pkgs/development/web/nodejs/v24.nix @@ -29,8 +29,8 @@ let [ ]; in buildNodejs { - version = "24.21.0"; - sha256 = "a6f54defb6fd7c84f41dba13d61e78e9b4e0961712cf61f29715c05f5ced94fc"; + version = "24.22.0"; + sha256 = "41f97cff2c666f1f8293dc5f85c65e8dd605c16b43fd9febd49ede32ee1e0329"; patches = (lib.optional (!(stdenv.hostPlatform.emulatorAvailable buildPackages)) (fetchpatch2 { url = "https://raw.githubusercontent.com/buildroot/buildroot/2f0c31bffdb59fb224387e35134a6d5e09a81d57/package/nodejs/nodejs-src/0003-include-obj-name-in-shared-intermediate.patch"; From 383bb0dd6fc09ae3315915a6d0208b0e8392df09 Mon Sep 17 00:00:00 2001 From: Sefa Eyeoglu Date: Wed, 14 Oct 2026 18:35:21 +0200 Subject: [PATCH 0347/2378] curlMinimal: 8.22.0 -> 8.23.0 https://daniel.haxx.se/blog/2026/10/14/curl-8-23-0/ https://curl.se/ch/8.23.0.html Fixes a bunch of low severity and one high severity vulnerabilities: https://curl.se/docs/vuln-8.22.0.html Signed-off-by: Sefa Eyeoglu --- pkgs/by-name/cu/curlMinimal/package.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/by-name/cu/curlMinimal/package.nix b/pkgs/by-name/cu/curlMinimal/package.nix index a81f5ecd2b4a..442d5a7c36af 100644 --- a/pkgs/by-name/cu/curlMinimal/package.nix +++ b/pkgs/by-name/cu/curlMinimal/package.nix @@ -88,7 +88,7 @@ let in stdenv.mkDerivation (finalAttrs: { pname = "curl"; - version = "8.22.0"; + version = "8.23.0"; src = fetchurl { urls = [ @@ -97,7 +97,7 @@ stdenv.mkDerivation (finalAttrs: { builtins.replaceStrings [ "." ] [ "_" ] finalAttrs.version }/curl-${finalAttrs.version}.tar.xz" ]; - hash = "sha256-9+866KIuUh8omAP+k1Q+tkwym1iqc6niJN/ZFaKl9Pc="; + hash = "sha256-ja3X0lNqMU+YKtBaZRtxP0Jr99Aswsds/7l5byIY5sU="; }; # this could be accomplished by updateAutotoolsGnuConfigScriptsHook, but that causes infinite recursion From dae83e3580e445e5a75e41c6b01dda2aa394602d Mon Sep 17 00:00:00 2001 From: Grimmauld Date: Wed, 14 Oct 2026 18:37:37 +0200 Subject: [PATCH 0348/2378] nh-unwrapped: fix forced system deps --- pkgs/by-name/nh/nh-unwrapped/package.nix | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/pkgs/by-name/nh/nh-unwrapped/package.nix b/pkgs/by-name/nh/nh-unwrapped/package.nix index 66759bae21ce..b295d141c7ae 100644 --- a/pkgs/by-name/nh/nh-unwrapped/package.nix +++ b/pkgs/by-name/nh/nh-unwrapped/package.nix @@ -9,6 +9,9 @@ buildPackages, sudo, versionCheckHook, + aws-lc, + zstd, + pkg-config, }: rustPlatform.buildRustPackage (finalAttrs: { pname = "nh-unwrapped"; @@ -32,9 +35,14 @@ rustPlatform.buildRustPackage (finalAttrs: { nativeBuildInputs = [ installShellFiles + pkg-config ]; - buildInputs = [ sqlite ]; + buildInputs = [ + sqlite + aws-lc + zstd + ]; # pkgs.sudo is not available on the Darwin platform, and thus breaks build # if added to nativeCheckInputs. We must manually disable the tests that From 040ccba28010c4d7741c662ded0346ab45986570 Mon Sep 17 00:00:00 2001 From: whispers Date: Wed, 14 Oct 2026 08:11:46 -0400 Subject: [PATCH 0349/2378] libkrun: fix forced system deps --- pkgs/by-name/li/libkrun/package.nix | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/pkgs/by-name/li/libkrun/package.nix b/pkgs/by-name/li/libkrun/package.nix index c43f9db2fb59..55b4d0cf5163 100644 --- a/pkgs/by-name/li/libkrun/package.nix +++ b/pkgs/by-name/li/libkrun/package.nix @@ -6,6 +6,7 @@ cargo, pkg-config, glibc, + zstd, openssl, libcap_ng, libepoxy, @@ -90,7 +91,8 @@ stdenv.mkDerivation (finalAttrs: { virglrenderer ] ++ lib.optional withSound pipewire - ++ lib.optional (variant == "sev" || variant == "tdx") openssl; + ++ lib.optional (variant == "sev" || variant == "tdx") openssl + ++ lib.optional stdenv.hostPlatform.isx86_64 zstd; makeFlags = [ "PREFIX=${placeholder "out"}" From 5b72637773c05e08bf61a1e21bfc0e64d71498b9 Mon Sep 17 00:00:00 2001 From: whispers Date: Wed, 14 Oct 2026 08:15:52 -0400 Subject: [PATCH 0350/2378] mdbook-linkcheck2: fix forced system deps --- pkgs/by-name/md/mdbook-linkcheck2/package.nix | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/pkgs/by-name/md/mdbook-linkcheck2/package.nix b/pkgs/by-name/md/mdbook-linkcheck2/package.nix index 4c392e6d9204..a3b56189d8db 100644 --- a/pkgs/by-name/md/mdbook-linkcheck2/package.nix +++ b/pkgs/by-name/md/mdbook-linkcheck2/package.nix @@ -2,6 +2,8 @@ lib, fetchFromGitHub, rustPlatform, + pkg-config, + aws-lc, cacert, versionCheckHook, nix-update-script, @@ -22,6 +24,10 @@ rustPlatform.buildRustPackage (finalAttrs: { cargoHash = "sha256-TcMiConcI8KMptOS67J+faPtCRnMCJxrWqFs3o19XMA="; + nativeBuildInputs = [ pkg-config ]; + + buildInputs = [ aws-lc ]; + propagatedNativeBuildInputs = [ cacert ]; checkFlags = map (t: "--skip=${t}") [ From b8bd3616b9869c317d6369beb9245fe92aebef21 Mon Sep 17 00:00:00 2001 From: whispers Date: Wed, 14 Oct 2026 08:20:02 -0400 Subject: [PATCH 0351/2378] rustup: fix forced system deps --- pkgs/development/tools/rust/rustup/default.nix | 2 ++ 1 file changed, 2 insertions(+) diff --git a/pkgs/development/tools/rust/rustup/default.nix b/pkgs/development/tools/rust/rustup/default.nix index 837c3aa3d2f6..4380f2c60da8 100644 --- a/pkgs/development/tools/rust/rustup/default.nix +++ b/pkgs/development/tools/rust/rustup/default.nix @@ -7,6 +7,7 @@ rustPlatform, makeBinaryWrapper, pkg-config, + aws-lc, openssl, curl, writableTmpDirAsHomeHook, @@ -44,6 +45,7 @@ rustPlatform.buildRustPackage (finalAttrs: { ]; buildInputs = [ + aws-lc openssl curl zlib From bc6981b44c0ac1b847856b034be2155a96a786a5 Mon Sep 17 00:00:00 2001 From: whispers Date: Wed, 14 Oct 2026 08:22:42 -0400 Subject: [PATCH 0352/2378] cargo-udeps: fix forced system deps --- pkgs/by-name/ca/cargo-udeps/package.nix | 2 ++ 1 file changed, 2 insertions(+) diff --git a/pkgs/by-name/ca/cargo-udeps/package.nix b/pkgs/by-name/ca/cargo-udeps/package.nix index 92a5f25146be..b49ce1dc93bb 100644 --- a/pkgs/by-name/ca/cargo-udeps/package.nix +++ b/pkgs/by-name/ca/cargo-udeps/package.nix @@ -6,6 +6,7 @@ pkg-config, libgit2, openssl, + sqlite, libiconv, }: @@ -30,6 +31,7 @@ rustPlatform.buildRustPackage (finalAttrs: { buildInputs = [ libgit2 openssl + sqlite ] ++ lib.optionals stdenv.hostPlatform.isDarwin [ libiconv From 8929329d4b2c34b85ec99ce62fa81b77c47e3f7f Mon Sep 17 00:00:00 2001 From: whispers Date: Wed, 14 Oct 2026 08:22:42 -0400 Subject: [PATCH 0353/2378] tokei: opt out of forced system deps --- pkgs/by-name/to/tokei/package.nix | 2 ++ 1 file changed, 2 insertions(+) diff --git a/pkgs/by-name/to/tokei/package.nix b/pkgs/by-name/to/tokei/package.nix index 71db1364581f..0a4911c89e62 100644 --- a/pkgs/by-name/to/tokei/package.nix +++ b/pkgs/by-name/to/tokei/package.nix @@ -26,6 +26,8 @@ rustPlatform.buildRustPackage (finalAttrs: { checkInputs = lib.optionals stdenv.hostPlatform.isDarwin [ zlib ]; + dontCargoUseSystemLibs = true; + # enable all output formats buildFeatures = [ "all" ]; From 93b590222c0327b3d952e8e30905e2bd5fed3293 Mon Sep 17 00:00:00 2001 From: whispers Date: Wed, 14 Oct 2026 08:22:42 -0400 Subject: [PATCH 0354/2378] arti: fix forced system deps --- pkgs/by-name/ar/arti/package.nix | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/pkgs/by-name/ar/arti/package.nix b/pkgs/by-name/ar/arti/package.nix index 8e69f3e6c3db..c4289797c91b 100644 --- a/pkgs/by-name/ar/arti/package.nix +++ b/pkgs/by-name/ar/arti/package.nix @@ -6,6 +6,7 @@ pkg-config, sqlite, openssl, + zstd, versionCheckHook, nix-update-script, nixosTests, @@ -36,9 +37,13 @@ rustPlatform.buildRustPackage (finalAttrs: { buildAndTestSubdir = "crates/arti"; cargoHash = "sha256-g+t5X1t0koUzqoHpY8+lncqRobdDuZggXtD3HRk9ryE="; - nativeBuildInputs = lib.optionals stdenv.hostPlatform.isLinux [ pkg-config ]; + nativeBuildInputs = [ pkg-config ]; - buildInputs = [ sqlite ] ++ lib.optionals stdenv.hostPlatform.isLinux [ openssl ]; + buildInputs = [ + sqlite + zstd + ] + ++ lib.optionals stdenv.hostPlatform.isLinux [ openssl ]; # `full` includes all stable and non-conflicting feature flags. the primary # downsides are increased binary size and memory usage for building, but From ca5b5d9d6fe765a3e77d0ccfcdd3a12e92914527 Mon Sep 17 00:00:00 2001 From: whispers Date: Wed, 14 Oct 2026 08:22:42 -0400 Subject: [PATCH 0355/2378] oniux: fix forced system deps --- pkgs/by-name/on/oniux/package.nix | 15 ++++++++++++--- 1 file changed, 12 insertions(+), 3 deletions(-) diff --git a/pkgs/by-name/on/oniux/package.nix b/pkgs/by-name/on/oniux/package.nix index 6d1bc59fca73..77b895531b9f 100644 --- a/pkgs/by-name/on/oniux/package.nix +++ b/pkgs/by-name/on/oniux/package.nix @@ -2,7 +2,11 @@ lib, rustPlatform, fetchFromGitLab, - perl, + pkg-config, + aws-lc, + openssl, + sqlite, + zstd, nix-update-script, }: rustPlatform.buildRustPackage (finalAttrs: { @@ -19,8 +23,13 @@ rustPlatform.buildRustPackage (finalAttrs: { cargoHash = "sha256-zNo7HI+p5grdTayXDehMwAeEq4aOPYGSPb06c4ib95s="; - nativeBuildInputs = [ - perl + nativeBuildInputs = [ pkg-config ]; + + buildInputs = [ + aws-lc + openssl + sqlite + zstd ]; passthru.updateScript = nix-update-script { }; From 2e394bfdf2add6ce03e9af0dfba203c17dd03350 Mon Sep 17 00:00:00 2001 From: whispers Date: Wed, 14 Oct 2026 08:22:42 -0400 Subject: [PATCH 0356/2378] pnpm_12: fix forced system deps --- pkgs/development/tools/pnpm/generic-rust.nix | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/pkgs/development/tools/pnpm/generic-rust.nix b/pkgs/development/tools/pnpm/generic-rust.nix index d7379ed8cf31..ec9d2aa9a43e 100644 --- a/pkgs/development/tools/pnpm/generic-rust.nix +++ b/pkgs/development/tools/pnpm/generic-rust.nix @@ -3,6 +3,9 @@ fetchFromGitHub, installShellFiles, makeWrapper, + pkg-config, + aws-lc, + sqlite, nodejs-slim, rustPlatform, stdenv, @@ -32,6 +35,12 @@ rustPlatform.buildRustPackage (finalAttrs: { nativeBuildInputs = [ installShellFiles makeWrapper + pkg-config + ]; + + buildInputs = [ + aws-lc + sqlite ]; postPatch = '' From b289c52d1801be0c90c326a3f42a1dbd386d7f6c Mon Sep 17 00:00:00 2001 From: Yiyu Zhou Date: Mon, 22 Jun 2026 13:45:08 -0700 Subject: [PATCH 0357/2378] sourceHighlight: rename to source-highlight --- pkgs/by-name/as/asciidoc/package.nix | 4 ++-- pkgs/by-name/cd/cdimgtools/package.nix | 4 ++-- pkgs/by-name/gd/gdb/package.nix | 4 ++-- pkgs/by-name/ig/igraph/package.nix | 4 ++-- pkgs/by-name/ig/igraph_0/package.nix | 4 ++-- pkgs/by-name/li/libnl/package.nix | 4 ++-- pkgs/by-name/li/libtracefs/package.nix | 4 ++-- .../gcc16-disambiguate-regex-ranges-test.patch | 0 .../so/{sourceHighlight => source-highlight}/package.nix | 0 pkgs/by-name/tr/trace-cmd/package.nix | 4 ++-- pkgs/development/compilers/gnat-bootstrap/default.nix | 4 ++-- pkgs/development/rocm-modules/rocgdb/default.nix | 4 ++-- pkgs/top-level/aliases.nix | 1 + 13 files changed, 21 insertions(+), 20 deletions(-) rename pkgs/by-name/so/{sourceHighlight => source-highlight}/gcc16-disambiguate-regex-ranges-test.patch (100%) rename pkgs/by-name/so/{sourceHighlight => source-highlight}/package.nix (100%) diff --git a/pkgs/by-name/as/asciidoc/package.nix b/pkgs/by-name/as/asciidoc/package.nix index 59207d51cc47..e0de77a8309c 100644 --- a/pkgs/by-name/as/asciidoc/package.nix +++ b/pkgs/by-name/as/asciidoc/package.nix @@ -7,7 +7,7 @@ autoreconfHook, installShellFiles, enableStandardFeatures ? false, - sourceHighlight, + source-highlight, highlight, graphviz, texliveMinimal, @@ -249,7 +249,7 @@ python3.pkgs.buildPythonApplication (finalAttrs: { -e "s|run('convert|run('${imagemagick.out}/bin/convert|g" \ -i "asciidoc/resources/filters/music/music2png.py" - sed -e 's|filter="source-highlight|filter="${sourceHighlight}/bin/source-highlight|' \ + sed -e 's|filter="source-highlight|filter="${source-highlight}/bin/source-highlight|' \ -e 's|filter="highlight|filter="${highlight}/bin/highlight|' \ -e 's|filter="pygmentize|filter="${pygments}/bin/pygmentize|' \ -i "asciidoc/resources/filters/source/source-highlight-filter.conf" diff --git a/pkgs/by-name/cd/cdimgtools/package.nix b/pkgs/by-name/cd/cdimgtools/package.nix index cce53c313608..462b46d77952 100644 --- a/pkgs/by-name/cd/cdimgtools/package.nix +++ b/pkgs/by-name/cd/cdimgtools/package.nix @@ -10,7 +10,7 @@ perlPackages, asciidoc, xmlto, - sourceHighlight, + source-highlight, docbook_xsl, docbook_xml_dtd_45, }: @@ -31,7 +31,7 @@ stdenv.mkDerivation { asciidoc perlPackages.PodPerldoc xmlto - sourceHighlight + source-highlight docbook_xsl docbook_xml_dtd_45 ]; diff --git a/pkgs/by-name/gd/gdb/package.nix b/pkgs/by-name/gd/gdb/package.nix index 430f861c6d42..7a36ca783523 100644 --- a/pkgs/by-name/gd/gdb/package.nix +++ b/pkgs/by-name/gd/gdb/package.nix @@ -20,7 +20,7 @@ zstd, xz, dejagnu, - sourceHighlight, + source-highlight, libiconv, xxhash, @@ -111,7 +111,7 @@ stdenv.mkDerivation (finalAttrs: { zlib zstd xz - sourceHighlight + source-highlight xxhash dejagnu # for tests ] diff --git a/pkgs/by-name/ig/igraph/package.nix b/pkgs/by-name/ig/igraph/package.nix index 9c9dfffaaa7d..1ea0a0886ad7 100644 --- a/pkgs/by-name/ig/igraph/package.nix +++ b/pkgs/by-name/ig/igraph/package.nix @@ -18,7 +18,7 @@ pkg-config, plfit, python3, - sourceHighlight, + source-highlight, xmlto, }: @@ -55,7 +55,7 @@ stdenv.mkDerivation (finalAttrs: { docbook_xsl pkg-config python3 - sourceHighlight + source-highlight xmlto ]; diff --git a/pkgs/by-name/ig/igraph_0/package.nix b/pkgs/by-name/ig/igraph_0/package.nix index 8a54b75e24b0..f6fef1fa3baa 100644 --- a/pkgs/by-name/ig/igraph_0/package.nix +++ b/pkgs/by-name/ig/igraph_0/package.nix @@ -18,7 +18,7 @@ pkg-config, plfit, python3, - sourceHighlight, + source-highlight, xmlto, }: @@ -54,7 +54,7 @@ stdenv.mkDerivation (finalAttrs: { libxslt pkg-config python3 - sourceHighlight + source-highlight xmlto ]; diff --git a/pkgs/by-name/li/libnl/package.nix b/pkgs/by-name/li/libnl/package.nix index 4e7ec50f0d16..7d010499a298 100644 --- a/pkgs/by-name/li/libnl/package.nix +++ b/pkgs/by-name/li/libnl/package.nix @@ -15,7 +15,7 @@ graphviz, mscgen, asciidoc, - sourceHighlight, + source-highlight, python3Packages, }: @@ -58,7 +58,7 @@ stdenv.mkDerivation (finalAttrs: { graphviz mscgen asciidoc - sourceHighlight + source-highlight python3Packages.pygments ]; diff --git a/pkgs/by-name/li/libtracefs/package.nix b/pkgs/by-name/li/libtracefs/package.nix index bd83e3469db2..13cd381734be 100644 --- a/pkgs/by-name/li/libtracefs/package.nix +++ b/pkgs/by-name/li/libtracefs/package.nix @@ -8,7 +8,7 @@ xmlto, docbook_xml_dtd_45, docbook_xsl, - sourceHighlight, + source-highlight, meson, flex, bison, @@ -44,7 +44,7 @@ stdenv.mkDerivation (finalAttrs: { xmlto docbook_xml_dtd_45 docbook_xsl - sourceHighlight + source-highlight flex bison ]; diff --git a/pkgs/by-name/so/sourceHighlight/gcc16-disambiguate-regex-ranges-test.patch b/pkgs/by-name/so/source-highlight/gcc16-disambiguate-regex-ranges-test.patch similarity index 100% rename from pkgs/by-name/so/sourceHighlight/gcc16-disambiguate-regex-ranges-test.patch rename to pkgs/by-name/so/source-highlight/gcc16-disambiguate-regex-ranges-test.patch diff --git a/pkgs/by-name/so/sourceHighlight/package.nix b/pkgs/by-name/so/source-highlight/package.nix similarity index 100% rename from pkgs/by-name/so/sourceHighlight/package.nix rename to pkgs/by-name/so/source-highlight/package.nix diff --git a/pkgs/by-name/tr/trace-cmd/package.nix b/pkgs/by-name/tr/trace-cmd/package.nix index feef55ea236a..75afc2cb6486 100644 --- a/pkgs/by-name/tr/trace-cmd/package.nix +++ b/pkgs/by-name/tr/trace-cmd/package.nix @@ -11,7 +11,7 @@ libtraceevent, libtracefs, zstd, - sourceHighlight, + source-highlight, gitUpdater, }: stdenv.mkDerivation (finalAttrs: { @@ -37,7 +37,7 @@ stdenv.mkDerivation (finalAttrs: { xmlto docbook_xsl docbook_xml_dtd_45 - sourceHighlight + source-highlight ]; buildInputs = [ diff --git a/pkgs/development/compilers/gnat-bootstrap/default.nix b/pkgs/development/compilers/gnat-bootstrap/default.nix index 1a710e765b2e..5ecd79240703 100644 --- a/pkgs/development/compilers/gnat-bootstrap/default.nix +++ b/pkgs/development/compilers/gnat-bootstrap/default.nix @@ -13,7 +13,7 @@ libipt, zlib, dejagnu, - sourceHighlight, + source-highlight, python3, elfutils, guile, @@ -137,7 +137,7 @@ stdenv.mkDerivation ( mpfr python3 readline - sourceHighlight + source-highlight zlib ] ++ lib.optionals stdenv.buildPlatform.isLinux [ diff --git a/pkgs/development/rocm-modules/rocgdb/default.nix b/pkgs/development/rocm-modules/rocgdb/default.nix index 918f624b673d..121cf2567c22 100644 --- a/pkgs/development/rocm-modules/rocgdb/default.nix +++ b/pkgs/development/rocm-modules/rocgdb/default.nix @@ -18,7 +18,7 @@ perl, python3, babeltrace, - sourceHighlight, + source-highlight, }: stdenv.mkDerivation (finalAttrs: { @@ -51,7 +51,7 @@ stdenv.mkDerivation (finalAttrs: { rocdbgapi python3 babeltrace - sourceHighlight + source-highlight ]; configureFlags = [ diff --git a/pkgs/top-level/aliases.nix b/pkgs/top-level/aliases.nix index 5ee5726060ff..a73b89a00764 100644 --- a/pkgs/top-level/aliases.nix +++ b/pkgs/top-level/aliases.nix @@ -2451,6 +2451,7 @@ mapAliases { sourceHanSerifPackages.korean = throw "'sourceHanSerifPackages.korean' has been renamed to/replaced by 'source-han-serif'"; # Converted to throw 2025-10-27 sourceHanSerifPackages.simplified-chinese = throw "'sourceHanSerifPackages.simplified-chinese' has been renamed to/replaced by 'source-han-serif'"; # Converted to throw 2025-10-27 sourceHanSerifPackages.traditional-chinese = throw "'sourceHanSerifPackages.traditional-chinese' has been renamed to/replaced by 'source-han-serif'"; # Converted to throw 2025-10-27 + sourceHighlight = warnAlias "'sourceHighlight' has been renamed to/replaced by 'source-highlight'" source-highlight; # Added 2026-10-14 sourcehut = throw "'sourcehut.*' has been removed due to being broken and unmaintained"; # Added 2025-06-15 SP800-90B_EntropyAssessment = throw "'SP800-90B_EntropyAssessment' has been renamed to/replaced by 'sp800-90b-entropyassessment'"; # Converted to throw 2025-10-27 space-orbit = throw "'space-orbit' has been removed because it is unmaintained; Debian upstream stopped tracking it in 2011."; # Added 2025-06-08 From e7dedf82c4598c6557a7220e0e0b7c4aac9b5a47 Mon Sep 17 00:00:00 2001 From: Yiyu Zhou Date: Mon, 22 Jun 2026 14:01:47 -0700 Subject: [PATCH 0358/2378] source-highlight: cleanup --- pkgs/by-name/so/source-highlight/package.nix | 13 ++++++++----- 1 file changed, 8 insertions(+), 5 deletions(-) diff --git a/pkgs/by-name/so/source-highlight/package.nix b/pkgs/by-name/so/source-highlight/package.nix index 1aefe6c81d21..f04a9a63f5f3 100644 --- a/pkgs/by-name/so/source-highlight/package.nix +++ b/pkgs/by-name/so/source-highlight/package.nix @@ -5,6 +5,7 @@ fetchurl, boost, updateAutotoolsGnuConfigScriptsHook, + versionCheckHook, llvmPackages, }: @@ -20,7 +21,7 @@ stdenv.mkDerivation (finalAttrs: { src = fetchurl { url = "mirror://gnu/src-highlite/source-highlight-${finalAttrs.version}.tar.gz"; - sha256 = "148w47k3zswbxvhg83z38ifi85f9dqcpg7icvvw1cm6bg21x4zrs"; + hash = "sha256-On/Sg3jLVBb43iyedxluyRUUXUTjD/Tg7ovrP+YhHJE="; }; patches = [ @@ -68,9 +69,7 @@ stdenv.mkDerivation (finalAttrs: { boost ] ++ lib.optional (stdenv.targetPlatform.useLLVM or false) ( - llvmPackages.compiler-rt.override { - doFakeLibgcc = true; - } + llvmPackages.compiler-rt.override { doFakeLibgcc = true; } ); configureFlags = [ @@ -90,6 +89,9 @@ stdenv.mkDerivation (finalAttrs: { # them in parallel by make will eventually break one or more tests. enableParallelChecking = false; + doInstallCheck = true; + nativeInstallCheckInputs = [ versionCheckHook ]; + __structuredAttrs = true; meta = { @@ -100,7 +102,8 @@ stdenv.mkDerivation (finalAttrs: { ''; homepage = "https://www.gnu.org/software/src-highlite/"; license = lib.licenses.gpl3Plus; - platforms = lib.platforms.unix; + mainProgram = "source-highlight"; maintainers = with lib.maintainers; [ SuperSandro2000 ]; + platforms = lib.platforms.all; }; }) From 3d5c31136c261b7bc9e90370b315866c98e40f09 Mon Sep 17 00:00:00 2001 From: Yiyu Zhou Date: Mon, 22 Jun 2026 14:02:30 -0700 Subject: [PATCH 0359/2378] source-highlight: add yiyu as maintainer --- pkgs/by-name/so/source-highlight/package.nix | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/pkgs/by-name/so/source-highlight/package.nix b/pkgs/by-name/so/source-highlight/package.nix index f04a9a63f5f3..088e577bd745 100644 --- a/pkgs/by-name/so/source-highlight/package.nix +++ b/pkgs/by-name/so/source-highlight/package.nix @@ -103,7 +103,10 @@ stdenv.mkDerivation (finalAttrs: { homepage = "https://www.gnu.org/software/src-highlite/"; license = lib.licenses.gpl3Plus; mainProgram = "source-highlight"; - maintainers = with lib.maintainers; [ SuperSandro2000 ]; + maintainers = with lib.maintainers; [ + SuperSandro2000 + yiyu + ]; platforms = lib.platforms.all; }; }) From 6c1ae520d9dcf7eff5cc762f044d863ded0e0d61 Mon Sep 17 00:00:00 2001 From: Wolfgang Walther Date: Wed, 14 Oct 2026 21:09:09 +0200 Subject: [PATCH 0360/2378] psqlodbc: 18.00.0004 -> 18.00.0005 Release Notes: https://github.com/postgresql-interfaces/psqlodbc/releases/tag/REL-18_00_0005 Security: CVE-2026-109448 Fixes #573674 --- pkgs/by-name/ps/psqlodbc/package.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/by-name/ps/psqlodbc/package.nix b/pkgs/by-name/ps/psqlodbc/package.nix index c19f767b8bc8..0321375dfd98 100644 --- a/pkgs/by-name/ps/psqlodbc/package.nix +++ b/pkgs/by-name/ps/psqlodbc/package.nix @@ -18,13 +18,13 @@ assert lib.xor withLibiodbc withUnixODBC; stdenv.mkDerivation (finalAttrs: { pname = "psqlodbc"; - version = "18.00.0004"; + version = "18.00.0005"; src = fetchFromGitHub { owner = "postgresql-interfaces"; repo = "psqlodbc"; tag = "REL-${lib.replaceString "." "_" finalAttrs.version}"; - hash = "sha256-niK1LHMmywo3Wu97v+D72eP2eAQaIPldIar1hZUlyRs="; + hash = "sha256-eTTSMmV4HdhfvcswWhzXP5ZqsUD/TPpdYwjhAxtQsrs="; }; buildInputs = [ From f52cd0fba00f866cfe97dbb701c3e2d73bec9efb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Robert=20Sch=C3=BCtz?= Date: Wed, 14 Oct 2026 12:50:52 -0700 Subject: [PATCH 0361/2378] python3Packages.filelock: 3.32.4 -> 4.1.2 Diff: https://github.com/tox-dev/filelock/compare/3.32.4...4.1.2 Changelog: https://github.com/tox-dev/filelock/blob/4.1.2/docs/changelog.rst --- pkgs/development/python-modules/filelock/default.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pkgs/development/python-modules/filelock/default.nix b/pkgs/development/python-modules/filelock/default.nix index dea52117c354..21b91a3beb4e 100644 --- a/pkgs/development/python-modules/filelock/default.nix +++ b/pkgs/development/python-modules/filelock/default.nix @@ -12,14 +12,14 @@ buildPythonPackage (finalAttrs: { pname = "filelock"; - version = "3.32.4"; + version = "4.1.2"; pyproject = true; src = fetchFromGitHub { owner = "tox-dev"; repo = "filelock"; tag = finalAttrs.version; - hash = "sha256-pYtfPduGEkE1cbyDn72SqAnLIg63+BwARpI10agdTIc="; + hash = "sha256-0JHYz1HSr8oZcJ6/70mmO74vvlG0LvmalG8MZ9rGn7M="; }; build-system = [ @@ -45,7 +45,7 @@ buildPythonPackage (finalAttrs: { ]; meta = { - changelog = "https://github.com/tox-dev/filelock/releases/tag/${finalAttrs.version}"; + changelog = "https://github.com/tox-dev/filelock/blob/${finalAttrs.src.tag}/docs/changelog.rst"; description = "Platform independent file lock for Python"; homepage = "https://github.com/benediktschmitt/py-filelock"; license = lib.licenses.mit; From 034d9074cb0459ca894362e0f1dc7f662c9f0897 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Robert=20Sch=C3=BCtz?= Date: Wed, 14 Oct 2026 13:26:25 -0700 Subject: [PATCH 0362/2378] python3Packages.python-dotenv: 1.2.3 -> 1.2.4 Diff: https://github.com/theskumar/python-dotenv/compare/v1.2.3...v1.2.4 Changelog: https://github.com/theskumar/python-dotenv/blob/v1.2.4/CHANGELOG.md --- pkgs/development/python-modules/python-dotenv/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/python-dotenv/default.nix b/pkgs/development/python-modules/python-dotenv/default.nix index a61a543cd199..5484ec1ed413 100644 --- a/pkgs/development/python-modules/python-dotenv/default.nix +++ b/pkgs/development/python-modules/python-dotenv/default.nix @@ -11,14 +11,14 @@ buildPythonPackage rec { pname = "python-dotenv"; - version = "1.2.3"; + version = "1.2.4"; pyproject = true; src = fetchFromGitHub { owner = "theskumar"; repo = "python-dotenv"; tag = "v${version}"; - hash = "sha256-SfLmKAvMRbeNJOwTYiPf4dAXLxXLnwkDIRex4hai0j0="; + hash = "sha256-nwGqNdc34SblZXamtzpZKVUJNbgXlGSnPFfYOsxqMWU="; }; build-system = [ setuptools ]; From dd9556bd62c61de9ae8993aa1d10cfa582f40ec1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Robert=20Sch=C3=BCtz?= Date: Wed, 14 Oct 2026 13:34:53 -0700 Subject: [PATCH 0363/2378] python3Packages.python-dotenv: modernize --- .../python-modules/python-dotenv/default.nix | 16 +++++++--------- 1 file changed, 7 insertions(+), 9 deletions(-) diff --git a/pkgs/development/python-modules/python-dotenv/default.nix b/pkgs/development/python-modules/python-dotenv/default.nix index 5484ec1ed413..4ea4f1a2abdb 100644 --- a/pkgs/development/python-modules/python-dotenv/default.nix +++ b/pkgs/development/python-modules/python-dotenv/default.nix @@ -1,5 +1,6 @@ { lib, + addBinToPathHook, buildPythonPackage, click, fetchFromGitHub, @@ -9,7 +10,7 @@ sh, }: -buildPythonPackage rec { +buildPythonPackage (finalAttrs: { pname = "python-dotenv"; version = "1.2.4"; pyproject = true; @@ -17,7 +18,7 @@ buildPythonPackage rec { src = fetchFromGitHub { owner = "theskumar"; repo = "python-dotenv"; - tag = "v${version}"; + tag = "v${finalAttrs.version}"; hash = "sha256-nwGqNdc34SblZXamtzpZKVUJNbgXlGSnPFfYOsxqMWU="; }; @@ -26,24 +27,21 @@ buildPythonPackage rec { optional-dependencies.cli = [ click ]; nativeCheckInputs = [ + addBinToPathHook ipython pytestCheckHook sh ] - ++ lib.concatAttrValues optional-dependencies; - - preCheck = '' - export PATH="$out/bin:$PATH" - ''; + ++ lib.concatAttrValues finalAttrs.passthru.optional-dependencies; pythonImportsCheck = [ "dotenv" ]; meta = { - changelog = "https://github.com/theskumar/python-dotenv/blob/${src.tag}/CHANGELOG.md"; + changelog = "https://github.com/theskumar/python-dotenv/blob/${finalAttrs.src.tag}/CHANGELOG.md"; description = "Add .env support to your django/flask apps in development and deployments"; mainProgram = "dotenv"; homepage = "https://github.com/theskumar/python-dotenv"; license = lib.licenses.bsdOriginal; maintainers = with lib.maintainers; [ erikarvstedt ]; }; -} +}) From ba947b88ecb8a89d90b9f7537c601b77e4f193d8 Mon Sep 17 00:00:00 2001 From: George Shammas Date: Sat, 26 Sep 2026 20:24:20 -0400 Subject: [PATCH 0364/2378] ocamlPackages.buildDunePackage: set installation directories explicitly Pass --bindir, --mandir and --docdir based on stdenv's outputBin, outputMan and outputDoc instead of always using $out, so that packages can split their outputs. Also pass --etcdir and --datadir, so that these directories are explicitly installed into $out. --bindir and --datadir are only supported by dune 3. Assisted-by: Claude Code (Claude Opus 5.5) Co-Authored-By: AI-George AI-Shammas --- pkgs/build-support/ocaml/dune.nix | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/pkgs/build-support/ocaml/dune.nix b/pkgs/build-support/ocaml/dune.nix index db74d1de3731..898304776ee9 100644 --- a/pkgs/build-support/ocaml/dune.nix +++ b/pkgs/build-support/ocaml/dune.nix @@ -67,12 +67,11 @@ lib.extendMkDerivation { args.installPhase or '' runHook preInstall dune install --prefix $out --libdir $OCAMLFIND_DESTDIR ${lib.concatStringsSep " " dunePackages} \ - ${ - if lib.versionAtLeast Dune.version "2.9" then - "--docdir $out/share/doc --mandir $out/share/man" - else - "" - } + ${lib.optionalString (lib.versionAtLeast Dune.version "2.9") '' + --docdir "''${!outputDoc}/share/doc" --mandir "''${!outputMan}/share/man" --etcdir "$out/etc" \ + ''} ${lib.optionalString (lib.versionAtLeast Dune.version "3.0") '' + --bindir "''${!outputBin}/bin" --datadir "$out/share" + ''} runHook postInstall ''; From a9283f29874bb31f4d8c004c6c58dc8b76ff2004 Mon Sep 17 00:00:00 2001 From: George Shammas Date: Sat, 26 Sep 2026 20:23:58 -0400 Subject: [PATCH 0365/2378] ocamlPackages.menhir: refer to the dev output of menhirLib The OCaml library of menhirLib may live in its dev output. Assisted-by: Claude Code (Claude Opus 5.5) Co-Authored-By: AI-George AI-Shammas --- pkgs/development/ocaml-modules/menhir/default.nix | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/pkgs/development/ocaml-modules/menhir/default.nix b/pkgs/development/ocaml-modules/menhir/default.nix index bac69d28ba81..4f366d4742f7 100644 --- a/pkgs/development/ocaml-modules/menhir/default.nix +++ b/pkgs/development/ocaml-modules/menhir/default.nix @@ -1,4 +1,5 @@ { + lib, buildDunePackage, replaceVars, ocaml, @@ -20,7 +21,7 @@ buildDunePackage { patches = [ (replaceVars ./menhir-suggest-menhirLib.patch { - libdir = "${menhirLib}/lib/ocaml/${ocaml.version}/site-lib/menhirLib"; + libdir = "${lib.getDev menhirLib}/lib/ocaml/${ocaml.version}/site-lib/menhirLib"; }) ]; From 078237f47f575214fd8b5cb39c4a56beee31dc23 Mon Sep 17 00:00:00 2001 From: George Shammas Date: Sat, 26 Sep 2026 20:23:58 -0400 Subject: [PATCH 0366/2378] ocamlPackages.camomile: use OCAMLFIND_DESTDIR Don't assume that the OCaml library is installed into $out. Assisted-by: Claude Code (Claude Opus 5.5) Co-Authored-By: AI-George AI-Shammas --- pkgs/development/ocaml-modules/camomile/default.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkgs/development/ocaml-modules/camomile/default.nix b/pkgs/development/ocaml-modules/camomile/default.nix index 3bb9677e7442..c8f6cdcd8d42 100644 --- a/pkgs/development/ocaml-modules/camomile/default.nix +++ b/pkgs/development/ocaml-modules/camomile/default.nix @@ -33,7 +33,7 @@ let ''; postInstall = '' - echo "version = \"${version}\"" >> $out/lib/ocaml/${ocaml.version}/site-lib/camomile/META + echo "version = \"${version}\"" >> $OCAMLFIND_DESTDIR/camomile/META ''; }; From d8bcdd1959c6be9e05da02f4fb1cf2e34e72ce64 Mon Sep 17 00:00:00 2001 From: George Shammas Date: Sat, 26 Sep 2026 20:24:19 -0400 Subject: [PATCH 0367/2378] ocamlPackages.ocsigen_server: refer to the dev output of dependencies The stub libraries of the dependencies may live in their dev output. Assisted-by: Claude Code (Claude Opus 5.5) Co-Authored-By: AI-George AI-Shammas --- .../ocaml-modules/ocsigen-server/default.nix | 36 +++++++++---------- 1 file changed, 17 insertions(+), 19 deletions(-) diff --git a/pkgs/development/ocaml-modules/ocsigen-server/default.nix b/pkgs/development/ocaml-modules/ocsigen-server/default.nix index 1d53de47f70e..2d2edce52f37 100644 --- a/pkgs/development/ocaml-modules/ocsigen-server/default.nix +++ b/pkgs/development/ocaml-modules/ocsigen-server/default.nix @@ -30,25 +30,23 @@ }: let - mkpath = p: "${p}/lib/ocaml/${ocaml.version}/site-lib/stublibs"; -in - -let - caml_ld_library_path = lib.concatMapStringsSep ":" mkpath [ - bigstringaf - lwt - ssl - cstruct - mirage-crypto - zarith - mirage-crypto-ec - ptime - mirage-crypto-rng - mtime - ca-certs - cryptokit - re - ]; + caml_ld_library_path = + lib.makeSearchPathOutput "dev" "lib/ocaml/${ocaml.version}/site-lib/stublibs" + [ + bigstringaf + lwt + ssl + cstruct + mirage-crypto + zarith + mirage-crypto-ec + ptime + mirage-crypto-rng + mtime + ca-certs + cryptokit + re + ]; in buildDunePackage (finalAttrs: { From 7bcb249ef121fde1549a91caac1ea1f37c140c3c Mon Sep 17 00:00:00 2001 From: George Shammas Date: Sat, 26 Sep 2026 20:24:20 -0400 Subject: [PATCH 0368/2378] ocamlPackages.ocsigen_server: keep a single output ocsigenserver dynamically loads its extensions from its library directory, so the library can't be split into a separate dev output without creating a reference cycle. Assisted-by: Claude Code (Claude Opus 5.5) Co-Authored-By: AI-George AI-Shammas --- pkgs/development/ocaml-modules/ocsigen-server/default.nix | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/pkgs/development/ocaml-modules/ocsigen-server/default.nix b/pkgs/development/ocaml-modules/ocsigen-server/default.nix index 2d2edce52f37..fc5fb6a73aa2 100644 --- a/pkgs/development/ocaml-modules/ocsigen-server/default.nix +++ b/pkgs/development/ocaml-modules/ocsigen-server/default.nix @@ -53,6 +53,10 @@ buildDunePackage (finalAttrs: { version = "7.0.0"; pname = "ocsigenserver"; + # ocsigenserver dynamically loads its extensions from its library directory, + # so the library can't be split into a separate "dev" output. + outputs = [ "out" ]; + src = fetchFromGitHub { owner = "ocsigen"; repo = "ocsigenserver"; From 481973277cdd8ea0657501314553ab725d5b4b8c Mon Sep 17 00:00:00 2001 From: George Shammas Date: Sat, 26 Sep 2026 20:24:19 -0400 Subject: [PATCH 0369/2378] coq.withPackages: refer to the dev output of OCaml libraries OCaml libraries may live in the dev output of their package. Assisted-by: Claude Code (Claude Opus 5.5) Co-Authored-By: AI-George AI-Shammas --- pkgs/applications/science/logic/coq/with-packages.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pkgs/applications/science/logic/coq/with-packages.nix b/pkgs/applications/science/logic/coq/with-packages.nix index 64a85328b15a..8e8df9d762ea 100644 --- a/pkgs/applications/science/logic/coq/with-packages.nix +++ b/pkgs/applications/science/logic/coq/with-packages.nix @@ -24,9 +24,9 @@ let coqPath = lib.makeSearchPath "/lib/coq/${rocq-version}/user-contrib" allPackages; - ocamlPath = lib.makeSearchPath "/lib/ocaml/${coq.ocamlPackages.ocaml.version}/site-lib" ( - [ coq.ocamlPackages.findlib ] ++ allPackages - ); + ocamlPath = + lib.makeSearchPathOutput "dev" "/lib/ocaml/${coq.ocamlPackages.ocaml.version}/site-lib" + ([ coq.ocamlPackages.findlib ] ++ allPackages); pathEnvVar = if isRocq then "ROCQPATH" else "COQPATH"; in From b992a9a058dbc71708c968a6ce5dabf4faf98551 Mon Sep 17 00:00:00 2001 From: George Shammas Date: Sat, 26 Sep 2026 20:24:19 -0400 Subject: [PATCH 0370/2378] coq-kernel: refer to the dev output of OCaml libraries OCaml libraries may live in the dev output of their package. Assisted-by: Claude Code (Claude Opus 5.5) Co-Authored-By: AI-George AI-Shammas --- pkgs/by-name/co/coq-kernel/package.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/by-name/co/coq-kernel/package.nix b/pkgs/by-name/co/coq-kernel/package.nix index 1b674ef7cd43..e64c14243c7d 100644 --- a/pkgs/by-name/co/coq-kernel/package.nix +++ b/pkgs/by-name/co/coq-kernel/package.nix @@ -83,8 +83,8 @@ let } { name = "OCAMLPATH"; - value = lib.concatStringsSep ":" ( - map (x: "${x}/lib/ocaml/${coq.ocaml.version}/site-lib/") ([ coq.ocamlPackages.findlib ] ++ packages) + value = lib.makeSearchPathOutput "dev" "lib/ocaml/${coq.ocaml.version}/site-lib" ( + [ coq.ocamlPackages.findlib ] ++ packages ); } ]; From f8a579404019706e877e6453949dad7357d7f959 Mon Sep 17 00:00:00 2001 From: George Shammas Date: Sat, 26 Sep 2026 20:24:19 -0400 Subject: [PATCH 0371/2378] frama-c: refer to the dev output of OCaml libraries OCaml libraries may live in the dev output of their package. Assisted-by: Claude Code (Claude Opus 5.5) Co-Authored-By: AI-George AI-Shammas --- pkgs/by-name/fr/frama-c/package.nix | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/pkgs/by-name/fr/frama-c/package.nix b/pkgs/by-name/fr/frama-c/package.nix index b117846c8438..e95a88145bf4 100644 --- a/pkgs/by-name/fr/frama-c/package.nix +++ b/pkgs/by-name/fr/frama-c/package.nix @@ -103,7 +103,9 @@ stdenv.mkDerivation (finalAttrs: { apron.dev ]; - ocamlPath = lib.makeSearchPath "/lib/ocaml/${ocamlPackages.ocaml.version}/site-lib" runtimeDeps; + ocamlPath = + lib.makeSearchPathOutput "dev" "/lib/ocaml/${ocamlPackages.ocaml.version}/site-lib" + runtimeDeps; in '' wrapProgram $out/bin/frama-c \ From c590f8dbc60adf58cac04c680b7387ed964f6ef5 Mon Sep 17 00:00:00 2001 From: George Shammas Date: Sat, 26 Sep 2026 20:24:19 -0400 Subject: [PATCH 0372/2378] hol_light: refer to the dev output of OCaml libraries OCaml libraries may live in the dev output of their package. Assisted-by: Claude Code (Claude Opus 5.5) Co-Authored-By: AI-George AI-Shammas --- pkgs/by-name/ho/hol_light/package.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/by-name/ho/hol_light/package.nix b/pkgs/by-name/ho/hol_light/package.nix index 00297dfc320e..47061b8237e8 100644 --- a/pkgs/by-name/ho/hol_light/package.nix +++ b/pkgs/by-name/ho/hol_light/package.nix @@ -22,14 +22,14 @@ let in let - ocamlPath = lib.makeSearchPath "/lib/ocaml/${ocaml.version}/site-lib" [ + ocamlPath = lib.makeSearchPathOutput "dev" "/lib/ocaml/${ocaml.version}/site-lib" [ camlp5 camlp-streams fmt pcre2 zarith ]; - stublibsPath = lib.makeSearchPath "/lib/ocaml/${ocaml.version}/site-lib/stublibs" [ + stublibsPath = lib.makeSearchPathOutput "dev" "/lib/ocaml/${ocaml.version}/site-lib/stublibs" [ zarith pcre2 ]; From 645d14aad67396f06027813c7491aa5307615a75 Mon Sep 17 00:00:00 2001 From: George Shammas Date: Sun, 27 Sep 2026 04:17:42 -0400 Subject: [PATCH 0373/2378] ocamlPackages.ounit: don't inherit outputsToInstall from ounit2 meta.outputsToInstall of ounit2 refers to its own outputs, which this package doesn't necessarily have. Assisted-by: Claude Code (Claude Opus 5.5) Co-Authored-By: AI-George AI-Shammas --- pkgs/development/ocaml-modules/ounit/default.nix | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/pkgs/development/ocaml-modules/ounit/default.nix b/pkgs/development/ocaml-modules/ounit/default.nix index 6f355769c6d0..c03c1673a652 100644 --- a/pkgs/development/ocaml-modules/ounit/default.nix +++ b/pkgs/development/ocaml-modules/ounit/default.nix @@ -7,7 +7,9 @@ stdenv.mkDerivation { pname = "ocaml${ocaml.version}-ounit"; - inherit (ounit2) version src meta; + inherit (ounit2) version src; + # ounit2 has other outputs than this package. + meta = removeAttrs ounit2.meta [ "outputsToInstall" ]; nativeBuildInputs = [ findlib ]; propagatedBuildInputs = [ ounit2 ]; From 7b42c947314877d664d23e0d29b1dfa03fbee5c8 Mon Sep 17 00:00:00 2001 From: George Shammas Date: Sun, 27 Sep 2026 04:34:45 -0400 Subject: [PATCH 0374/2378] advi: install man pages and documentation into their outputs Use the man and doc outputs when the package has them, instead of installing everything into $out. The fixup phase can't merge the share/doc/advi directory of $out into an existing one of $doc. Assisted-by: Claude Code (Claude Opus 5.5) Co-Authored-By: AI-George AI-Shammas --- pkgs/by-name/ad/advi/package.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pkgs/by-name/ad/advi/package.nix b/pkgs/by-name/ad/advi/package.nix index f844644a8149..5ac2149eb244 100644 --- a/pkgs/by-name/ad/advi/package.nix +++ b/pkgs/by-name/ad/advi/package.nix @@ -16,9 +16,9 @@ let case "$1 $2" in "config var") case "$3" in - man) echo "$out/share/man";; + man) echo "''${man:-$out}/share/man";; etc) echo "$out/etc";; - doc) echo "$out/share/doc";; + doc) echo "''${doc:-$out}/share/doc";; share) echo "$out/share";; prefix) echo "$out";; *) echo "fake-opam does not understand arguments: $@" ; exit 1 ;; @@ -46,7 +46,7 @@ ocamlPackages.buildDunePackage rec { postPatch = '' substituteInPlace ./Makefile \ --replace "\$(DUNE) install \$(DUNEROOT) --display=short" \ - "\$(DUNE) install \$(DUNEROOT) --prefix $out --docdir $out/share/doc --mandir $out/share/man" + "\$(DUNE) install \$(DUNEROOT) --prefix $out --docdir ''${!outputDoc}/share/doc --mandir ''${!outputMan}/share/man" substituteInPlace ./src/discover.sh \ --replace 'gs_path=$(which gs)' 'gs_path=${ghostscriptX}/bin/gs' ''; From bcf10e59a10c2f53f6bfa93a8a063253da29fd86 Mon Sep 17 00:00:00 2001 From: George Shammas Date: Sat, 26 Sep 2026 20:24:20 -0400 Subject: [PATCH 0375/2378] ocamlPackages.utop: keep a single output The toplevel loads the utop library at runtime, so the library can't be split into a separate dev output without creating a reference cycle. Assisted-by: Claude Code (Claude Opus 5.5) Co-Authored-By: AI-George AI-Shammas --- pkgs/development/tools/ocaml/utop/default.nix | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/pkgs/development/tools/ocaml/utop/default.nix b/pkgs/development/tools/ocaml/utop/default.nix index 5f931c391ab6..2f16af9920ea 100644 --- a/pkgs/development/tools/ocaml/utop/default.nix +++ b/pkgs/development/tools/ocaml/utop/default.nix @@ -27,6 +27,10 @@ buildDunePackage rec { minimalOCamlVersion = "4.11"; + # The toplevel loads the utop library at runtime, + # so the library can't be split into a separate "dev" output. + outputs = [ "out" ]; + src = fetchurl { url = "https://github.com/ocaml-community/utop/releases/download/${version}/utop-${version}.tbz"; hash = "sha256-FOGTkf+LGMFbARc3TU0PxXIAUJV72AKYZQVkuJT6hdo="; From 113ddfafe81f2a0a2b26cb0e039b911d3fd4e68c Mon Sep 17 00:00:00 2001 From: George Shammas Date: Sat, 26 Sep 2026 20:24:20 -0400 Subject: [PATCH 0376/2378] ocamlPackages.rtop: keep a single output The toplevel loads the rtop library at runtime, so the library can't be split into a separate dev output without creating a reference cycle. Assisted-by: Claude Code (Claude Opus 5.5) Co-Authored-By: AI-George AI-Shammas --- pkgs/development/compilers/reason/rtop.nix | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/pkgs/development/compilers/reason/rtop.nix b/pkgs/development/compilers/reason/rtop.nix index de47bcdad854..12eea945b05c 100644 --- a/pkgs/development/compilers/reason/rtop.nix +++ b/pkgs/development/compilers/reason/rtop.nix @@ -8,6 +8,11 @@ buildDunePackage { pname = "rtop"; + + # The toplevel loads the rtop library at runtime, + # so the library can't be split into a separate "dev" output. + outputs = [ "out" ]; + inherit (reason) version src; nativeBuildInputs = [ From 50b41a145bd109ae62f9bf4cb59e82a4cff03458 Mon Sep 17 00:00:00 2001 From: George Shammas Date: Sat, 26 Sep 2026 20:24:20 -0400 Subject: [PATCH 0377/2378] ocamlPackages.melange: keep a single output melc needs melange's standard library at runtime, so the library can't be split into a separate dev output without creating a reference cycle. Assisted-by: Claude Code (Claude Opus 5.5) Co-Authored-By: AI-George AI-Shammas --- pkgs/development/tools/ocaml/melange/default.nix | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/pkgs/development/tools/ocaml/melange/default.nix b/pkgs/development/tools/ocaml/melange/default.nix index 72bfbb821953..cfca870b320a 100644 --- a/pkgs/development/tools/ocaml/melange/default.nix +++ b/pkgs/development/tools/ocaml/melange/default.nix @@ -60,6 +60,11 @@ buildDunePackage { inherit pname; inherit version; minimalOCamlVersion = "4.14"; + + # melc needs melange's standard library at runtime, + # so the library can't be split into a separate "dev" output. + outputs = [ "out" ]; + src = fetchurl { url = "https://github.com/melange-re/${pname}/releases/download/${version}/${pname}-${version}.tbz"; inherit hash; From 6119888bd516439359d5990a82d079eb20a6dc1f Mon Sep 17 00:00:00 2001 From: George Shammas Date: Sat, 26 Sep 2026 20:24:20 -0400 Subject: [PATCH 0378/2378] why3find: keep a single output why3find looks up its dune-site locations in its library directory at runtime, so the library can't be split into a separate dev output without creating a reference cycle. Assisted-by: Claude Code (Claude Opus 5.5) Co-Authored-By: AI-George AI-Shammas --- pkgs/by-name/wh/why3find/package.nix | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/pkgs/by-name/wh/why3find/package.nix b/pkgs/by-name/wh/why3find/package.nix index e9761f556ee8..edb4f1cbd485 100644 --- a/pkgs/by-name/wh/why3find/package.nix +++ b/pkgs/by-name/wh/why3find/package.nix @@ -12,6 +12,10 @@ ocamlPackages.buildDunePackage (finalAttrs: { pname = "why3find"; version = "1.3.0"; + # why3find looks up its dune-site locations in its library directory at + # runtime, so the library can't be split into a separate "dev" output. + outputs = [ "out" ]; + src = fetchFromGitLab { domain = "git.frama-c.com"; owner = "pub"; From 96c6801498f65035eef55a4a9f5282ba60bb0b40 Mon Sep 17 00:00:00 2001 From: George Shammas Date: Wed, 14 Oct 2026 16:28:49 -0400 Subject: [PATCH 0379/2378] cerberus: keep a single output The custom installPhase installs everything into $out, so keep a single output when buildDunePackage starts splitting outputs by default. Assisted-by: Claude Code (Claude Opus 5.5) Co-Authored-By: AI-George AI-Shammas --- pkgs/by-name/ce/cerberus/package.nix | 3 +++ 1 file changed, 3 insertions(+) diff --git a/pkgs/by-name/ce/cerberus/package.nix b/pkgs/by-name/ce/cerberus/package.nix index 30c336a6f779..12a703b7063a 100644 --- a/pkgs/by-name/ce/cerberus/package.nix +++ b/pkgs/by-name/ce/cerberus/package.nix @@ -39,6 +39,9 @@ ocamlPackages.buildDunePackage (finalAttrs: { minimalOCamlVersion = "4.12"; + # The custom installPhase installs everything into $out. + outputs = [ "out" ]; + depsBuildBuild = [ ocamlPackages.menhir ocamlPackages.lem From 1fd338a8528b5a0f19ff1d12c02c025d31729a66 Mon Sep 17 00:00:00 2001 From: George Shammas Date: Wed, 14 Oct 2026 16:28:49 -0400 Subject: [PATCH 0380/2378] fstar: keep a single output The custom installPhase installs everything into $out, so keep a single output when buildDunePackage starts splitting outputs by default. Assisted-by: Claude Code (Claude Opus 5.5) Co-Authored-By: AI-George AI-Shammas --- pkgs/by-name/fs/fstar/package.nix | 3 +++ 1 file changed, 3 insertions(+) diff --git a/pkgs/by-name/fs/fstar/package.nix b/pkgs/by-name/fs/fstar/package.nix index 5b8612c0bec1..8ef2ef8f6347 100644 --- a/pkgs/by-name/fs/fstar/package.nix +++ b/pkgs/by-name/fs/fstar/package.nix @@ -21,6 +21,9 @@ ocamlPackages.buildDunePackage (finalAttrs: { pname = "fstar"; version = "2026.03.24"; + # The custom installPhase installs everything into $out. + outputs = [ "out" ]; + src = fetchFromGitHub { owner = "FStarLang"; repo = "FStar"; From 1a416eea46f01cb22b05100cc5543b7126aa3286 Mon Sep 17 00:00:00 2001 From: George Shammas Date: Wed, 14 Oct 2026 16:28:49 -0400 Subject: [PATCH 0381/2378] ocamlPackages.asetmap: use buildTopkgPackage asetmap is built with topkg, not dune: it only used buildDunePackage to inherit the build and install phases of topkg, which is what buildTopkgPackage does. This also keeps it out of the upcoming output split of buildDunePackage. buildTopkgPackage doesn't support finalAttrs, so use rec like the other packages built with it. Assisted-by: Claude Code (Claude Opus 5.5) Co-Authored-By: AI-George AI-Shammas --- .../ocaml-modules/asetmap/default.nix | 25 +++---------------- 1 file changed, 4 insertions(+), 21 deletions(-) diff --git a/pkgs/development/ocaml-modules/asetmap/default.nix b/pkgs/development/ocaml-modules/asetmap/default.nix index 840cf7a5ae3a..23c4c7d957ea 100644 --- a/pkgs/development/ocaml-modules/asetmap/default.nix +++ b/pkgs/development/ocaml-modules/asetmap/default.nix @@ -1,35 +1,18 @@ { lib, fetchurl, - buildDunePackage, - topkg, - findlib, - ocamlbuild, - ocaml, + buildTopkgPackage, }: -buildDunePackage (finalAttrs: { +buildTopkgPackage rec { pname = "asetmap"; version = "0.8.1"; src = fetchurl { - url = "https://github.com/dbuenzli/asetmap/archive/refs/tags/v${finalAttrs.version}.tar.gz"; + url = "https://github.com/dbuenzli/asetmap/archive/refs/tags/v${version}.tar.gz"; sha256 = "051ky0k62xp4inwi6isif56hx5ggazv4jrl7s5lpvn9cj8329frj"; }; - strictDeps = true; - - nativeBuildInputs = [ - topkg - findlib - ocamlbuild - ocaml - ]; - buildInputs = [ topkg ]; - - inherit (topkg) buildPhase installPhase; - meta = { - inherit (ocaml.meta) platforms; license = lib.licenses.isc; }; -}) +} From 8d741da18fb92eaa56b09551bcb72bb94e86a139 Mon Sep 17 00:00:00 2001 From: George Shammas Date: Wed, 14 Oct 2026 16:28:49 -0400 Subject: [PATCH 0382/2378] ocamlPackages.sail: keep a single output sail loads its dune-site plugins, and the libraries they link against, through findlib at runtime, so the library can't be split into a separate dev output without creating a reference cycle. Assisted-by: Claude Code (Claude Opus 5.5) Co-Authored-By: AI-George AI-Shammas --- pkgs/development/ocaml-modules/sail/default.nix | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/pkgs/development/ocaml-modules/sail/default.nix b/pkgs/development/ocaml-modules/sail/default.nix index 5a11bdfa8bb2..72c76e3e7ca7 100644 --- a/pkgs/development/ocaml-modules/sail/default.nix +++ b/pkgs/development/ocaml-modules/sail/default.nix @@ -74,6 +74,10 @@ buildDunePackage { dune runtest ''${enableParallelBuilding:+-j $NIX_BUILD_CORES} runHook postCheck ''; + # sail loads its dune-site plugins, and the libraries they link against, + # through findlib at runtime, so the library can't be split into a + # separate "dev" output. + outputs = [ "out" ]; installPhase = '' runHook preInstall dune install --prefix $out --libdir $OCAMLFIND_DESTDIR From 65efe34ac64c46a4795db468d6b193e1739c5f32 Mon Sep 17 00:00:00 2001 From: George Shammas Date: Wed, 14 Oct 2026 16:28:50 -0400 Subject: [PATCH 0383/2378] ocamlPackages.ocaml-solo5.tests: keep a single output The custom installPhase installs everything into $out, so keep a single output when buildDunePackage starts splitting outputs by default. Assisted-by: Claude Code (Claude Opus 5.5) Co-Authored-By: AI-George AI-Shammas --- pkgs/development/ocaml-modules/ocaml-solo5/default.nix | 3 +++ 1 file changed, 3 insertions(+) diff --git a/pkgs/development/ocaml-modules/ocaml-solo5/default.nix b/pkgs/development/ocaml-modules/ocaml-solo5/default.nix index 51e330cd4141..49dc971f3246 100644 --- a/pkgs/development/ocaml-modules/ocaml-solo5/default.nix +++ b/pkgs/development/ocaml-modules/ocaml-solo5/default.nix @@ -112,6 +112,9 @@ stdenv.mkDerivation (finalAttrs: { env.MODE = mode; + # The custom installPhase installs everything into $out. + outputs = [ "out" ]; + buildPhase = '' runHook preBuild dune build @default From 3e6b0398db2cb8ccb000a8c895b794ca1936fbce Mon Sep 17 00:00:00 2001 From: George Shammas Date: Sat, 26 Sep 2026 20:24:20 -0400 Subject: [PATCH 0384/2378] ocamlPackages.buildDunePackage: split dev output by default OCaml libraries, and the dependencies they propagate, are only needed to build other packages. Install them into a separate "dev" output, so that "out" only contains executables, man pages and documentation, and no longer retains build-time only OCaml dependencies in its closure. For example, the closure of patdiff shrinks from 1.6 GiB to 63.4 MiB. The dev output is selected automatically when a package is used as a build input, and it propagates "out", so executables remain available. OCAMLFIND_DESTDIR points to the dev output as well, so that hooks that install additional library files put them next to the rest of the library. With several outputs, multiple-outputs.sh passes autoconf-style flags to ./configure, which the hand-written configure scripts of dune packages reject, so set setOutputFlags to false. It has no effect on packages with a single output. Packages that set outputs themselves are unchanged. Assisted-by: Claude Code (Claude Opus 5.5) Co-Authored-By: AI-George AI-Shammas --- doc/languages-frameworks/ocaml.section.md | 23 ++++++++++++++++++++++- doc/release-notes/rl-2611.section.md | 5 +++++ pkgs/build-support/ocaml/dune.nix | 23 +++++++++++++++++++++++ 3 files changed, 50 insertions(+), 1 deletion(-) diff --git a/doc/languages-frameworks/ocaml.section.md b/doc/languages-frameworks/ocaml.section.md index 2e392b20c3d6..ca4a8787edc6 100644 --- a/doc/languages-frameworks/ocaml.section.md +++ b/doc/languages-frameworks/ocaml.section.md @@ -31,7 +31,7 @@ pkgs.mkShell { ## Packaging guide {#sec-language-ocaml-packaging} -OCaml libraries should be installed in `$(out)/lib/ocaml/${ocaml.version}/site-lib/`. Such directories are automatically added to the `$OCAMLPATH` environment variable when building another package that depends on them or when opening a `nix-shell`. +OCaml libraries are installed in `$out/lib/ocaml/${ocaml.version}/site-lib/`, or in the same directory of the `dev` output (see `buildDunePackage` below). Such directories are automatically added to the `$OCAMLPATH` environment variable when building another package that depends on them or when opening a `nix-shell`. Given that most of the OCaml ecosystem is now built with dune, nixpkgs includes a convenience build support function called `buildDunePackage` that will build an OCaml package using dune, OCaml and findlib and any additional dependencies provided as `buildInputs` or `propagatedBuildInputs`. @@ -139,6 +139,27 @@ buildDunePackage (finalAttrs: { }) ``` +Unless the package sets `outputs`, `buildDunePackage` builds two outputs, and +points `$OCAMLFIND_DESTDIR` to `dev`: + +- `out` contains what the package produces for use at runtime: executables, man + pages and documentation. +- `dev` contains the OCaml libraries and the propagated dependencies needed to + build other packages against them. It is selected automatically when the + package is used as a build input. + +This keeps build-time only OCaml dependencies out of the runtime closure of +executables. Code that refers to the library directory of such a package must +use its `dev` output, for example `${lib.getDev menhirLib}/lib/ocaml` or +`lib.makeSearchPathOutput "dev" "lib/ocaml/${ocaml.version}/site-lib"`. +Likewise, installing the library into a profile or environment requires its +`dev` output, e.g. `ocamlPackages.menhirLib.dev`. + +Toplevels and programs that load plugins need their own OCaml library at +runtime, and the two outputs would refer to each other. Set +`outputs = [ "out" ];` for such packages, and for packages whose custom +`installPhase` installs everything into `$out`. + The build will automatically fail if two distinct versions of the same library are added to `buildInputs` (which usually happens transitively because of `propagatedBuildInputs`). Set `dontDetectOcamlConflicts` to true to disable this diff --git a/doc/release-notes/rl-2611.section.md b/doc/release-notes/rl-2611.section.md index 561b0ae4f4d8..af968a3c5d87 100644 --- a/doc/release-notes/rl-2611.section.md +++ b/doc/release-notes/rl-2611.section.md @@ -77,6 +77,11 @@ By the time of this release, Homebrew will offer only limited [Tier 3](https://docs.brew.sh/Support-Tiers#tier-3) support for the platform, but MacPorts will likely continue to support it for a long time. We also recommend users consider installing NixOS, which should continue to run on essentially all Intel Macs, especially after Apple stops security support for macOS 26 in 2028. +- `ocamlPackages.buildDunePackage` now builds packages with `out` and `dev` outputs by default, unless they set `outputs`. + The OCaml libraries are installed into `dev`, and `out` only contains executables, man pages and documentation, which removes build-time only OCaml dependencies from the closure of tools like `patdiff`. + Code that refers to `${ocamlPackages.foo}/lib/ocaml` must use `${lib.getDev ocamlPackages.foo}/lib/ocaml` instead. + Installing such a library into a profile or environment (for example with `home.packages`, `environment.systemPackages` or `nix profile add`) no longer provides its `lib/ocaml` directory; install `ocamlPackages.foo.dev` instead. + - `bundlerApp` now sets `__structuredAttrs = true` for its result package. Out-of-tree packages passing `postBuild` to `bundlerApp` should examine if their `postBuild` commands are compatible with structured attributes. diff --git a/pkgs/build-support/ocaml/dune.nix b/pkgs/build-support/ocaml/dune.nix index 898304776ee9..8cb6d0797b7e 100644 --- a/pkgs/build-support/ocaml/dune.nix +++ b/pkgs/build-support/ocaml/dune.nix @@ -45,6 +45,22 @@ lib.extendMkDerivation { strictDeps = true; + # OCaml libraries, and the dependencies they propagate, are only needed + # to build other packages. Unless the package chooses its outputs, + # those are installed into "dev", rather than "out", to minimize the + # "out" runtime closure. + outputs = args.outputs or [ + "out" + "dev" + ]; + + # The findlib setup hook always points OCAMLFIND_DESTDIR at $out, so + # override it after all setup hooks have run. + postHook = '' + export OCAMLFIND_DESTDIR="''${!outputDev}/lib/ocaml/${ocaml.version}/site-lib/" + '' + + args.postHook or ""; + inherit enableParallelBuilding; dontAddStaticConfigureFlags = true; configurePlatforms = [ ]; @@ -72,6 +88,8 @@ lib.extendMkDerivation { ''} ${lib.optionalString (lib.versionAtLeast Dune.version "3.0") '' --bindir "''${!outputBin}/bin" --datadir "$out/share" ''} + # Libraries without executables or docs don't install anything into $out. + mkdir -p "$out" runHook postInstall ''; @@ -82,6 +100,11 @@ lib.extendMkDerivation { runHook postCheck ''; + # With several outputs, multiple-outputs.sh passes autoconf-style + # --bindir/--libdir/--mandir/... flags to ./configure. The configure + # scripts shipped by dune packages are hand-written and reject them. + setOutputFlags = args.setOutputFlags or false; + meta = (args.meta or { }) // { platforms = args.meta.platforms or ocaml.meta.platforms; }; From 744f994f42d7f799226aa427963d12eda8a1b0ec Mon Sep 17 00:00:00 2001 From: George Shammas Date: Wed, 14 Oct 2026 16:30:13 -0400 Subject: [PATCH 0385/2378] ocamlPackages.buildDunePackage: split man and doc outputs by default Install man pages and documentation into separate "man" and "doc" outputs, following the usual nixpkgs conventions. "man" is part of meta.outputsToInstall, so man pages are still installed by default. Not every package has man pages or documentation, so the install phase creates all outputs, even if they stay empty. Packages often copy meta from a related package, which may have other outputs. Drop the entries of meta.outputsToInstall that name outputs the package doesn't have, and keep the default if none are left. Assisted-by: Claude Code (Claude Opus 5.5) Co-Authored-By: AI-George AI-Shammas --- doc/languages-frameworks/ocaml.section.md | 10 ++++--- doc/release-notes/rl-2611.section.md | 4 +-- pkgs/build-support/ocaml/dune.nix | 35 ++++++++++++++++------- 3 files changed, 33 insertions(+), 16 deletions(-) diff --git a/doc/languages-frameworks/ocaml.section.md b/doc/languages-frameworks/ocaml.section.md index ca4a8787edc6..b70dca6b528e 100644 --- a/doc/languages-frameworks/ocaml.section.md +++ b/doc/languages-frameworks/ocaml.section.md @@ -139,14 +139,16 @@ buildDunePackage (finalAttrs: { }) ``` -Unless the package sets `outputs`, `buildDunePackage` builds two outputs, and -points `$OCAMLFIND_DESTDIR` to `dev`: +Unless the package sets `outputs`, `buildDunePackage` builds separate outputs, +and points `$OCAMLFIND_DESTDIR` to `dev`: -- `out` contains what the package produces for use at runtime: executables, man - pages and documentation. +- `out` contains what the package produces for use at runtime, such as + executables. - `dev` contains the OCaml libraries and the propagated dependencies needed to build other packages against them. It is selected automatically when the package is used as a build input. +- `man` contains the man pages. Like `out`, it is installed by default. +- `doc` contains the documentation, such as the README and license files. This keeps build-time only OCaml dependencies out of the runtime closure of executables. Code that refers to the library directory of such a package must diff --git a/doc/release-notes/rl-2611.section.md b/doc/release-notes/rl-2611.section.md index af968a3c5d87..f514d86693ea 100644 --- a/doc/release-notes/rl-2611.section.md +++ b/doc/release-notes/rl-2611.section.md @@ -77,8 +77,8 @@ By the time of this release, Homebrew will offer only limited [Tier 3](https://docs.brew.sh/Support-Tiers#tier-3) support for the platform, but MacPorts will likely continue to support it for a long time. We also recommend users consider installing NixOS, which should continue to run on essentially all Intel Macs, especially after Apple stops security support for macOS 26 in 2028. -- `ocamlPackages.buildDunePackage` now builds packages with `out` and `dev` outputs by default, unless they set `outputs`. - The OCaml libraries are installed into `dev`, and `out` only contains executables, man pages and documentation, which removes build-time only OCaml dependencies from the closure of tools like `patdiff`. +- `ocamlPackages.buildDunePackage` now builds packages with `out`, `dev`, `man` and `doc` outputs by default, unless they set `outputs`. + The OCaml libraries are installed into `dev`, man pages into `man`, documentation into `doc`, and `out` only contains what is needed at runtime, such as executables. This removes build-time only OCaml dependencies from the closure of tools like `patdiff`. Code that refers to `${ocamlPackages.foo}/lib/ocaml` must use `${lib.getDev ocamlPackages.foo}/lib/ocaml` instead. Installing such a library into a profile or environment (for example with `home.packages`, `environment.systemPackages` or `nix profile add`) no longer provides its `lib/ocaml` directory; install `ocamlPackages.foo.dev` instead. diff --git a/pkgs/build-support/ocaml/dune.nix b/pkgs/build-support/ocaml/dune.nix index 8cb6d0797b7e..18fb515b619b 100644 --- a/pkgs/build-support/ocaml/dune.nix +++ b/pkgs/build-support/ocaml/dune.nix @@ -48,11 +48,15 @@ lib.extendMkDerivation { # OCaml libraries, and the dependencies they propagate, are only needed # to build other packages. Unless the package chooses its outputs, # those are installed into "dev", rather than "out", to minimize the - # "out" runtime closure. - outputs = args.outputs or [ - "out" - "dev" - ]; + # "out" runtime closure. Man pages and documentation go to "man" and + # "doc". + outputs = + args.outputs or [ + "out" + "dev" + "man" + "doc" + ]; # The findlib setup hook always points OCAMLFIND_DESTDIR at $out, so # override it after all setup hooks have run. @@ -88,8 +92,10 @@ lib.extendMkDerivation { ''} ${lib.optionalString (lib.versionAtLeast Dune.version "3.0") '' --bindir "''${!outputBin}/bin" --datadir "$out/share" ''} - # Libraries without executables or docs don't install anything into $out. - mkdir -p "$out" + # Not every package installs something into each output. + for output in $(getAllOutputNames); do + mkdir -p "''${!output}" + done runHook postInstall ''; @@ -105,8 +111,17 @@ lib.extendMkDerivation { # scripts shipped by dune packages are hand-written and reject them. setOutputFlags = args.setOutputFlags or false; - meta = (args.meta or { }) // { - platforms = args.meta.platforms or ocaml.meta.platforms; - }; + meta = + let + meta = args.meta or { }; + # meta is often copied from another package, which may have other + # outputs. Keep the default if none of them are left. + outputsToInstall = lib.intersectLists finalAttrs.outputs (meta.outputsToInstall or [ ]); + in + removeAttrs meta [ "outputsToInstall" ] + // { + platforms = meta.platforms or ocaml.meta.platforms; + } + // lib.optionalAttrs (outputsToInstall != [ ]) { inherit outputsToInstall; }; }; } From a985c1fff0f9a183e70d448daa5454dc05883425 Mon Sep 17 00:00:00 2001 From: George Shammas Date: Sun, 27 Sep 2026 04:46:41 -0400 Subject: [PATCH 0386/2378] ocamlPackages.odoc: use the default installPhase buildDunePackage now installs the OCaml library into a separate dev output, and man pages and documentation into their own outputs, which is what the custom installPhase did with its bin and lib outputs. The odoc executable is now in "out" instead of "bin", and its closure stays the same. Assisted-by: Claude Code (Claude Opus 5.5) Co-Authored-By: AI-George AI-Shammas --- doc/release-notes/rl-2611.section.md | 2 ++ pkgs/development/ocaml-modules/odoc/default.nix | 13 ++----------- 2 files changed, 4 insertions(+), 11 deletions(-) diff --git a/doc/release-notes/rl-2611.section.md b/doc/release-notes/rl-2611.section.md index f514d86693ea..fa6d921e80bc 100644 --- a/doc/release-notes/rl-2611.section.md +++ b/doc/release-notes/rl-2611.section.md @@ -82,6 +82,8 @@ Code that refers to `${ocamlPackages.foo}/lib/ocaml` must use `${lib.getDev ocamlPackages.foo}/lib/ocaml` instead. Installing such a library into a profile or environment (for example with `home.packages`, `environment.systemPackages` or `nix profile add`) no longer provides its `lib/ocaml` directory; install `ocamlPackages.foo.dev` instead. +- The `bin` and `lib` outputs of `ocamlPackages.odoc` were removed. Use the package itself for the executables, and its `dev` output for the OCaml library. + - `bundlerApp` now sets `__structuredAttrs = true` for its result package. Out-of-tree packages passing `postBuild` to `bundlerApp` should examine if their `postBuild` commands are compatible with structured attributes. diff --git a/pkgs/development/ocaml-modules/odoc/default.nix b/pkgs/development/ocaml-modules/odoc/default.nix index 300854591f7e..4de15dc11a96 100644 --- a/pkgs/development/ocaml-modules/odoc/default.nix +++ b/pkgs/development/ocaml-modules/odoc/default.nix @@ -58,17 +58,8 @@ buildDunePackage (self: { patchShebangs test ''; - outputs = [ - "bin" - "lib" - "out" - ]; - - installPhase = '' - runHook preInstall - dune install --prefix=$bin --libdir=$lib/lib/ocaml/${ocaml.version}/site-lib odoc - remove-references-to -t ${ocaml} $bin/bin/odoc - runHook postInstall + postInstall = '' + remove-references-to -t ${ocaml} $out/bin/odoc ''; meta = { From 9f1efe4fb01554349c4f048a2236cbfca2df501d Mon Sep 17 00:00:00 2001 From: George Shammas Date: Sun, 27 Sep 2026 08:22:41 -0400 Subject: [PATCH 0387/2378] ocamlPackages.crunch: use the default installPhase buildDunePackage now installs the OCaml library into a separate dev output, and man pages and documentation into their own outputs, which supersedes the custom lib and bin outputs. The ocaml-crunch executable is now in "out", which ocaml-crunch refers to as a whole again. Assisted-by: Claude Code (Claude Opus 5.5) Co-Authored-By: AI-George AI-Shammas --- doc/release-notes/rl-2611.section.md | 2 +- pkgs/development/tools/ocaml/crunch/default.nix | 11 ----------- pkgs/top-level/all-packages.nix | 2 +- 3 files changed, 2 insertions(+), 13 deletions(-) diff --git a/doc/release-notes/rl-2611.section.md b/doc/release-notes/rl-2611.section.md index fa6d921e80bc..b7512b2b49a9 100644 --- a/doc/release-notes/rl-2611.section.md +++ b/doc/release-notes/rl-2611.section.md @@ -82,7 +82,7 @@ Code that refers to `${ocamlPackages.foo}/lib/ocaml` must use `${lib.getDev ocamlPackages.foo}/lib/ocaml` instead. Installing such a library into a profile or environment (for example with `home.packages`, `environment.systemPackages` or `nix profile add`) no longer provides its `lib/ocaml` directory; install `ocamlPackages.foo.dev` instead. -- The `bin` and `lib` outputs of `ocamlPackages.odoc` were removed. Use the package itself for the executables, and its `dev` output for the OCaml library. +- The `bin` and `lib` outputs of `ocamlPackages.odoc` and `ocamlPackages.crunch` were removed. Use the package itself for the executables, and its `dev` output for the OCaml library. - `bundlerApp` now sets `__structuredAttrs = true` for its result package. Out-of-tree packages passing `postBuild` to `bundlerApp` should examine if their `postBuild` commands are compatible with structured attributes. diff --git a/pkgs/development/tools/ocaml/crunch/default.nix b/pkgs/development/tools/ocaml/crunch/default.nix index 2a8edc672a6a..af8a55b8bb00 100644 --- a/pkgs/development/tools/ocaml/crunch/default.nix +++ b/pkgs/development/tools/ocaml/crunch/default.nix @@ -2,7 +2,6 @@ lib, buildDunePackage, fetchurl, - ocaml, cmdliner, ptime, }: @@ -20,16 +19,6 @@ buildDunePackage (finalAttrs: { propagatedBuildInputs = [ ptime ]; - outputs = [ - "lib" - "bin" - "out" - ]; - - installPhase = '' - dune install --prefix=$bin --libdir=$lib/lib/ocaml/${ocaml.version}/site-lib/ - ''; - meta = { homepage = "https://github.com/mirage/ocaml-crunch"; description = "Convert a filesystem into a static OCaml module"; diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index 875b272389c5..49327a4f81e8 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -3899,7 +3899,7 @@ with pkgs; ocamlPackages = recurseIntoAttrs ocaml-ng.ocamlPackages; ocamlPackages_latest = recurseIntoAttrs ocaml-ng.ocamlPackages_latest; - ocaml-crunch = ocamlPackages.crunch.bin; + ocaml-crunch = ocamlPackages.crunch; inherit (ocaml-ng.ocamlPackages_4_14) ocamlformat_0_19_0 From 855dbfa40334f769305bafc7914966d3148a60b5 Mon Sep 17 00:00:00 2001 From: George Shammas Date: Sun, 27 Sep 2026 08:22:42 -0400 Subject: [PATCH 0388/2378] ocamlPackages.mdx: use the default installPhase buildDunePackage now installs the OCaml library into a separate dev output, and man pages and documentation into their own outputs, which supersedes the custom lib and bin outputs. The executables are now in "out", so the packages that only need them to run their tests refer to mdx.out instead of mdx.bin. Assisted-by: Claude Code (Claude Opus 5.5) Co-Authored-By: AI-George AI-Shammas --- doc/release-notes/rl-2611.section.md | 2 +- pkgs/development/ocaml-modules/capnp-rpc/unix.nix | 2 +- pkgs/development/ocaml-modules/cascade/default.nix | 2 +- pkgs/development/ocaml-modules/colors/default.nix | 2 +- pkgs/development/ocaml-modules/containers/data.nix | 2 +- pkgs/development/ocaml-modules/dolmen/loop.nix | 2 +- .../ocaml-modules/domain-local-await/default.nix | 2 +- .../ocaml-modules/domain-local-timeout/default.nix | 2 +- pkgs/development/ocaml-modules/eio/default.nix | 2 +- pkgs/development/ocaml-modules/iter/default.nix | 2 +- pkgs/development/ocaml-modules/kcas/default.nix | 2 +- pkgs/development/ocaml-modules/mdx/default.nix | 12 ------------ pkgs/development/ocaml-modules/msat/default.nix | 2 +- .../ocaml-modules/patricia-tree/default.nix | 2 +- .../ocaml-modules/ppx_deriving_yaml/default.nix | 2 +- pkgs/development/ocaml-modules/printbox/default.nix | 2 +- pkgs/development/ocaml-modules/printbox/text.nix | 2 +- pkgs/development/ocaml-modules/saturn/default.nix | 2 +- pkgs/development/ocaml-modules/smtml/default.nix | 2 +- .../ocaml-modules/thread-table/default.nix | 2 +- pkgs/development/ocaml-modules/tls/eio.nix | 2 +- pkgs/development/ocaml-modules/uring/default.nix | 2 +- pkgs/development/ocaml-modules/yaml/default.nix | 2 +- 23 files changed, 22 insertions(+), 34 deletions(-) diff --git a/doc/release-notes/rl-2611.section.md b/doc/release-notes/rl-2611.section.md index b7512b2b49a9..f8721e650b02 100644 --- a/doc/release-notes/rl-2611.section.md +++ b/doc/release-notes/rl-2611.section.md @@ -82,7 +82,7 @@ Code that refers to `${ocamlPackages.foo}/lib/ocaml` must use `${lib.getDev ocamlPackages.foo}/lib/ocaml` instead. Installing such a library into a profile or environment (for example with `home.packages`, `environment.systemPackages` or `nix profile add`) no longer provides its `lib/ocaml` directory; install `ocamlPackages.foo.dev` instead. -- The `bin` and `lib` outputs of `ocamlPackages.odoc` and `ocamlPackages.crunch` were removed. Use the package itself for the executables, and its `dev` output for the OCaml library. +- The `bin` and `lib` outputs of `ocamlPackages.odoc`, `ocamlPackages.crunch` and `ocamlPackages.mdx` were removed. Use the package itself for the executables, and its `dev` output for the OCaml library. - `bundlerApp` now sets `__structuredAttrs = true` for its result package. Out-of-tree packages passing `postBuild` to `bundlerApp` should examine if their `postBuild` commands are compatible with structured attributes. diff --git a/pkgs/development/ocaml-modules/capnp-rpc/unix.nix b/pkgs/development/ocaml-modules/capnp-rpc/unix.nix index f65db1a13e5a..4a30b03df8d9 100644 --- a/pkgs/development/ocaml-modules/capnp-rpc/unix.nix +++ b/pkgs/development/ocaml-modules/capnp-rpc/unix.nix @@ -50,7 +50,7 @@ buildDunePackage { (mdx.override { inherit logs; }) ]; - nativeCheckInputs = [ mdx.bin ]; + nativeCheckInputs = [ mdx.out ]; doCheck = true; __darwinAllowLocalNetworking = true; diff --git a/pkgs/development/ocaml-modules/cascade/default.nix b/pkgs/development/ocaml-modules/cascade/default.nix index 2dfaa637fb83..2fcc64a6c9c3 100644 --- a/pkgs/development/ocaml-modules/cascade/default.nix +++ b/pkgs/development/ocaml-modules/cascade/default.nix @@ -36,7 +36,7 @@ buildDunePackage (finalAttrs: { lambdasoup ]; - nativeCheckInputs = [ mdx.bin ]; + nativeCheckInputs = [ mdx.out ]; checkInputs = [ (mdx.override { inherit logs; }) alcobar diff --git a/pkgs/development/ocaml-modules/colors/default.nix b/pkgs/development/ocaml-modules/colors/default.nix index c368c6ea3af3..285c2cadff44 100644 --- a/pkgs/development/ocaml-modules/colors/default.nix +++ b/pkgs/development/ocaml-modules/colors/default.nix @@ -24,7 +24,7 @@ buildDunePackage (finalAttrs: { ]; nativeCheckInputs = [ - mdx.bin + mdx.out ]; meta = { diff --git a/pkgs/development/ocaml-modules/containers/data.nix b/pkgs/development/ocaml-modules/containers/data.nix index 243a60a7a2c6..45c7505e221f 100644 --- a/pkgs/development/ocaml-modules/containers/data.nix +++ b/pkgs/development/ocaml-modules/containers/data.nix @@ -17,7 +17,7 @@ buildDunePackage { doCheck = containers.doCheck && ocaml.meta.branch != "5.0"; buildInputs = [ dune-configurator ]; - nativeCheckInputs = [ mdx.bin ]; + nativeCheckInputs = [ mdx.out ]; checkInputs = [ gen iter diff --git a/pkgs/development/ocaml-modules/dolmen/loop.nix b/pkgs/development/ocaml-modules/dolmen/loop.nix index 8d9b05ca7058..9ffea0980c41 100644 --- a/pkgs/development/ocaml-modules/dolmen/loop.nix +++ b/pkgs/development/ocaml-modules/dolmen/loop.nix @@ -32,7 +32,7 @@ buildDunePackage { ]; doCheck = true; - nativeCheckInputs = [ mdx.bin ]; + nativeCheckInputs = [ mdx.out ]; checkInputs = [ mdx ]; meta = dolmen.meta // { diff --git a/pkgs/development/ocaml-modules/domain-local-await/default.nix b/pkgs/development/ocaml-modules/domain-local-await/default.nix index 49801ed55740..2661827efbd3 100644 --- a/pkgs/development/ocaml-modules/domain-local-await/default.nix +++ b/pkgs/development/ocaml-modules/domain-local-await/default.nix @@ -39,7 +39,7 @@ buildDunePackage (finalAttrs: { ]; nativeCheckInputs = [ - mdx.bin + mdx.out ]; meta = { diff --git a/pkgs/development/ocaml-modules/domain-local-timeout/default.nix b/pkgs/development/ocaml-modules/domain-local-timeout/default.nix index 75825d94a25b..660ddda58425 100644 --- a/pkgs/development/ocaml-modules/domain-local-timeout/default.nix +++ b/pkgs/development/ocaml-modules/domain-local-timeout/default.nix @@ -29,7 +29,7 @@ buildDunePackage (finalAttrs: { ]; doCheck = lib.versionAtLeast ocaml.version "5.1"; - nativeCheckInputs = [ mdx.bin ]; + nativeCheckInputs = [ mdx.out ]; checkInputs = [ alcotest domain-local-await diff --git a/pkgs/development/ocaml-modules/eio/default.nix b/pkgs/development/ocaml-modules/eio/default.nix index 0ed758900b75..1a6f45ca61cc 100644 --- a/pkgs/development/ocaml-modules/eio/default.nix +++ b/pkgs/development/ocaml-modules/eio/default.nix @@ -74,7 +74,7 @@ buildDunePackage (finalAttrs: { ]; nativeCheckInputs = [ - mdx.bin + mdx.out ]; doCheck = lib.versionAtLeast ocaml.version "5.1"; diff --git a/pkgs/development/ocaml-modules/iter/default.nix b/pkgs/development/ocaml-modules/iter/default.nix index ed1f44a3b0fc..4cc95f5d9f07 100644 --- a/pkgs/development/ocaml-modules/iter/default.nix +++ b/pkgs/development/ocaml-modules/iter/default.nix @@ -19,7 +19,7 @@ buildDunePackage (finalAttrs: { }; doCheck = true; - nativeCheckInputs = [ mdx.bin ]; + nativeCheckInputs = [ mdx.out ]; checkInputs = [ ounit2 qcheck-core diff --git a/pkgs/development/ocaml-modules/kcas/default.nix b/pkgs/development/ocaml-modules/kcas/default.nix index c2e01340021f..682862a7d2e9 100644 --- a/pkgs/development/ocaml-modules/kcas/default.nix +++ b/pkgs/development/ocaml-modules/kcas/default.nix @@ -29,7 +29,7 @@ buildDunePackage (finalAttrs: { ]; doCheck = lib.versionAtLeast ocaml.version "5.1" && !lib.versionAtLeast ocaml.version "5.4"; - nativeCheckInputs = [ mdx.bin ]; + nativeCheckInputs = [ mdx.out ]; checkInputs = [ alcotest domain_shims diff --git a/pkgs/development/ocaml-modules/mdx/default.nix b/pkgs/development/ocaml-modules/mdx/default.nix index c639885a7fab..98bb15b83a72 100644 --- a/pkgs/development/ocaml-modules/mdx/default.nix +++ b/pkgs/development/ocaml-modules/mdx/default.nix @@ -60,18 +60,6 @@ buildDunePackage (finalAttrs: { doCheck = !stdenv.hostPlatform.isDarwin; - outputs = [ - "bin" - "lib" - "out" - ]; - - installPhase = '' - runHook preInstall - dune install --prefix=$bin --libdir=$lib/lib/ocaml/${ocaml.version}/site-lib mdx - runHook postInstall - ''; - passthru.updateScript = gitUpdater { }; meta = { diff --git a/pkgs/development/ocaml-modules/msat/default.nix b/pkgs/development/ocaml-modules/msat/default.nix index e7bbe9b936ad..4d93d0680b33 100644 --- a/pkgs/development/ocaml-modules/msat/default.nix +++ b/pkgs/development/ocaml-modules/msat/default.nix @@ -28,7 +28,7 @@ buildDunePackage (finalAttrs: { doCheck = true; checkInputs = [ containers ]; - nativeCheckInputs = [ mdx.bin ]; + nativeCheckInputs = [ mdx.out ]; meta = { description = "Modular sat/smt solver with proof output"; diff --git a/pkgs/development/ocaml-modules/patricia-tree/default.nix b/pkgs/development/ocaml-modules/patricia-tree/default.nix index 5e6d051ad6fe..9a18b436b84c 100644 --- a/pkgs/development/ocaml-modules/patricia-tree/default.nix +++ b/pkgs/development/ocaml-modules/patricia-tree/default.nix @@ -30,7 +30,7 @@ buildDunePackage (finalAttrs: { }; nativeCheckInputs = [ - mdx.bin + mdx.out ]; checkInputs = [ diff --git a/pkgs/development/ocaml-modules/ppx_deriving_yaml/default.nix b/pkgs/development/ocaml-modules/ppx_deriving_yaml/default.nix index 4f1fedbb9165..3fbfe8f9d156 100644 --- a/pkgs/development/ocaml-modules/ppx_deriving_yaml/default.nix +++ b/pkgs/development/ocaml-modules/ppx_deriving_yaml/default.nix @@ -52,7 +52,7 @@ buildDunePackage (finalAttrs: { alcotest mdx ]; - nativeCheckInputs = [ mdx.bin ]; + nativeCheckInputs = [ mdx.out ]; meta = { description = "YAML codec generator for OCaml"; diff --git a/pkgs/development/ocaml-modules/printbox/default.nix b/pkgs/development/ocaml-modules/printbox/default.nix index 3440313bcb1a..8dd0ac5f6822 100644 --- a/pkgs/development/ocaml-modules/printbox/default.nix +++ b/pkgs/development/ocaml-modules/printbox/default.nix @@ -20,7 +20,7 @@ buildDunePackage (finalAttrs: { sha256 = "sha256-PQbr2sjASoWz0OHAMV6buAJERpnUJxVpLAigIVnADIc="; }; - nativeCheckInputs = [ mdx.bin ]; + nativeCheckInputs = [ mdx.out ]; # mdx is not available for OCaml < 4.08 doCheck = lib.versionAtLeast ocaml.version "4.08"; diff --git a/pkgs/development/ocaml-modules/printbox/text.nix b/pkgs/development/ocaml-modules/printbox/text.nix index a3f1596905a4..73c4dd53163d 100644 --- a/pkgs/development/ocaml-modules/printbox/text.nix +++ b/pkgs/development/ocaml-modules/printbox/text.nix @@ -19,7 +19,7 @@ buildDunePackage { ]; doCheck = printbox.doCheck && lib.versionOlder ocaml.version "5.0"; - nativeCheckInputs = [ mdx.bin ]; + nativeCheckInputs = [ mdx.out ]; meta = printbox.meta // { description = "Text renderer for printbox, using unicode edges"; diff --git a/pkgs/development/ocaml-modules/saturn/default.nix b/pkgs/development/ocaml-modules/saturn/default.nix index afd2dd6018c6..0fdf4cc68c8f 100644 --- a/pkgs/development/ocaml-modules/saturn/default.nix +++ b/pkgs/development/ocaml-modules/saturn/default.nix @@ -44,7 +44,7 @@ buildDunePackage { qcheck-alcotest qcheck-stm ]; - nativeCheckInputs = [ mdx.bin ]; + nativeCheckInputs = [ mdx.out ]; meta = { description = "Parallelism-safe data structures for multicore OCaml"; diff --git a/pkgs/development/ocaml-modules/smtml/default.nix b/pkgs/development/ocaml-modules/smtml/default.nix index f32b7e351008..2de1bee2a8a0 100644 --- a/pkgs/development/ocaml-modules/smtml/default.nix +++ b/pkgs/development/ocaml-modules/smtml/default.nix @@ -79,7 +79,7 @@ buildDunePackage (finalAttrs: { ]; nativeCheckInputs = [ - mdx.bin + mdx.out ]; doCheck = diff --git a/pkgs/development/ocaml-modules/thread-table/default.nix b/pkgs/development/ocaml-modules/thread-table/default.nix index 313fad83569a..f7f160c4ce2a 100644 --- a/pkgs/development/ocaml-modules/thread-table/default.nix +++ b/pkgs/development/ocaml-modules/thread-table/default.nix @@ -25,7 +25,7 @@ buildDunePackage rec { ]; nativeCheckInputs = [ - mdx.bin + mdx.out ]; meta = { diff --git a/pkgs/development/ocaml-modules/tls/eio.nix b/pkgs/development/ocaml-modules/tls/eio.nix index 26543b4d9be7..41d6d1bd5e44 100644 --- a/pkgs/development/ocaml-modules/tls/eio.nix +++ b/pkgs/development/ocaml-modules/tls/eio.nix @@ -23,7 +23,7 @@ buildDunePackage { doCheck = lib.versionAtLeast ocaml.version "5.1"; nativeCheckInputs = [ - mdx.bin + mdx.out ]; checkInputs = [ crowbar diff --git a/pkgs/development/ocaml-modules/uring/default.nix b/pkgs/development/ocaml-modules/uring/default.nix index 2085401e0f35..57e180bb50e9 100644 --- a/pkgs/development/ocaml-modules/uring/default.nix +++ b/pkgs/development/ocaml-modules/uring/default.nix @@ -65,7 +65,7 @@ buildDunePackage (finalAttrs: { ]; nativeCheckInputs = [ - mdx.bin + mdx.out ]; # Tests use io_uring, which is blocked by Lix's sandbox because it's diff --git a/pkgs/development/ocaml-modules/yaml/default.nix b/pkgs/development/ocaml-modules/yaml/default.nix index 003a0ea1b374..c69a650663b9 100644 --- a/pkgs/development/ocaml-modules/yaml/default.nix +++ b/pkgs/development/ocaml-modules/yaml/default.nix @@ -32,7 +32,7 @@ buildDunePackage rec { ]; doCheck = true; - nativeCheckInputs = [ mdx.bin ]; + nativeCheckInputs = [ mdx.out ]; checkInputs = [ fmt logs From e8adebafd426c75befb2c8234c30e370483f4f81 Mon Sep 17 00:00:00 2001 From: George Shammas Date: Sun, 27 Sep 2026 08:22:42 -0400 Subject: [PATCH 0389/2378] ocamlPackages.tw: use the default installPhase buildDunePackage now installs the OCaml library into a separate dev output, and man pages and documentation into their own outputs, which supersedes the custom lib and bin outputs. The tw executable is now in "out", which tw refers to as a whole again. Assisted-by: Claude Code (Claude Opus 5.5) Co-Authored-By: AI-George AI-Shammas --- doc/release-notes/rl-2611.section.md | 2 +- pkgs/development/ocaml-modules/tw/default.nix | 13 ------------- pkgs/top-level/all-packages.nix | 2 +- 3 files changed, 2 insertions(+), 15 deletions(-) diff --git a/doc/release-notes/rl-2611.section.md b/doc/release-notes/rl-2611.section.md index f8721e650b02..a4746c04389a 100644 --- a/doc/release-notes/rl-2611.section.md +++ b/doc/release-notes/rl-2611.section.md @@ -82,7 +82,7 @@ Code that refers to `${ocamlPackages.foo}/lib/ocaml` must use `${lib.getDev ocamlPackages.foo}/lib/ocaml` instead. Installing such a library into a profile or environment (for example with `home.packages`, `environment.systemPackages` or `nix profile add`) no longer provides its `lib/ocaml` directory; install `ocamlPackages.foo.dev` instead. -- The `bin` and `lib` outputs of `ocamlPackages.odoc`, `ocamlPackages.crunch` and `ocamlPackages.mdx` were removed. Use the package itself for the executables, and its `dev` output for the OCaml library. +- The `bin` and `lib` outputs of `ocamlPackages.odoc`, `ocamlPackages.crunch`, `ocamlPackages.mdx` and `ocamlPackages.tw` were removed. Use the package itself for the executables, and its `dev` output for the OCaml library. - `bundlerApp` now sets `__structuredAttrs = true` for its result package. Out-of-tree packages passing `postBuild` to `bundlerApp` should examine if their `postBuild` commands are compatible with structured attributes. diff --git a/pkgs/development/ocaml-modules/tw/default.nix b/pkgs/development/ocaml-modules/tw/default.nix index 55f73dbe105c..64db8d3bec7e 100644 --- a/pkgs/development/ocaml-modules/tw/default.nix +++ b/pkgs/development/ocaml-modules/tw/default.nix @@ -5,7 +5,6 @@ fetchFromGitHub, fmt, lib, - ocaml, }: buildDunePackage (finalAttrs: { @@ -33,18 +32,6 @@ buildDunePackage (finalAttrs: { # and tailwindcss. doCheck = false; - outputs = [ - "bin" - "lib" - "out" - ]; - - installPhase = '' - runHook preInstall - dune install --prefix=$bin --libdir=$lib/lib/ocaml/${ocaml.version}/site-lib - runHook postInstall - ''; - meta = { description = "Type-safe Tailwind CSS v4 in OCaml"; homepage = "https://github.com/samoht/tw"; diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index 49327a4f81e8..8d2719089fc6 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -1184,7 +1184,7 @@ with pkgs; ) ); - tw = ocamlPackages.tw.bin; + tw = ocamlPackages.tw; wrapRetroArch = retroarch-bare.wrapper; From b1ac091aa186b5029b0b5c9de7b93fd3c6d6f223 Mon Sep 17 00:00:00 2001 From: George Shammas Date: Wed, 14 Oct 2026 16:30:51 -0400 Subject: [PATCH 0390/2378] ocamlPackages.mirage: use the default installPhase buildDunePackage now installs the OCaml library into a separate dev output, which is what the custom installPhase did. Man pages and documentation now go into their own outputs. Assisted-by: Claude Code (Claude Opus 5.5) Co-Authored-By: AI-George AI-Shammas --- pkgs/development/ocaml-modules/mirage/default.nix | 12 ------------ 1 file changed, 12 deletions(-) diff --git a/pkgs/development/ocaml-modules/mirage/default.nix b/pkgs/development/ocaml-modules/mirage/default.nix index e0fb7af26d94..84032e92f687 100644 --- a/pkgs/development/ocaml-modules/mirage/default.nix +++ b/pkgs/development/ocaml-modules/mirage/default.nix @@ -1,6 +1,5 @@ { buildDunePackage, - ocaml, mirage-runtime, astring, bos, @@ -20,11 +19,6 @@ buildDunePackage (finalAttrs: { minimalOCamlVersion = "4.13"; - outputs = [ - "out" - "dev" - ]; - propagatedBuildInputs = [ astring bos @@ -41,12 +35,6 @@ buildDunePackage (finalAttrs: { # Tests need opam-monorepo doCheck = false; - installPhase = '' - runHook preInstall - dune install --prefix=$out --libdir=$dev/lib/ocaml/${ocaml.version}/site-lib/ mirage - runHook postInstall - ''; - meta = mirage-runtime.meta // { description = "MirageOS library operating system"; }; From 1f855b720932631d5bdd6d3b818274ee6684111a Mon Sep 17 00:00:00 2001 From: whispers Date: Sun, 27 Sep 2026 03:21:48 -0400 Subject: [PATCH 0391/2378] libpkgconf: 2.5.1 -> 3.0.8 changelog: https://github.com/pkgconf/pkgconf/blob/pkgconf-3.0.8/NEWS --- pkgs/by-name/li/libpkgconf/package.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/by-name/li/libpkgconf/package.nix b/pkgs/by-name/li/libpkgconf/package.nix index 82685483cd77..9cd2b0d80369 100644 --- a/pkgs/by-name/li/libpkgconf/package.nix +++ b/pkgs/by-name/li/libpkgconf/package.nix @@ -12,12 +12,12 @@ stdenv.mkDerivation (finalAttrs: { pname = "pkgconf"; - version = "2.5.1"; + version = "3.0.8"; # fetchFromGitHub isn't used because it's unavailable during bootstrapping src = fetchurl { url = "https://github.com/pkgconf/pkgconf/archive/refs/tags/pkgconf-${finalAttrs.version}.tar.gz"; - hash = "sha256-eXIbrcrRmH3q2cNgnrSHerm1iCHAa9rLgk8siJfBHyo="; + hash = "sha256-RPZ83agZLv7Nm+n43y/lTwh/jIQGLd/wAnEz+UVDv4o="; }; outputs = [ From c46de5ff3343a8b9ef936f3fcbc8f3233068114c Mon Sep 17 00:00:00 2001 From: whispers Date: Sat, 26 Sep 2026 16:28:41 -0400 Subject: [PATCH 0392/2378] pkgconf-lite: init at 3.0.8 pkgconf-lite provides reduced functionality only equivalent to that of the original pkg-config in a single binary built with make, allowing for usage in early bootstrap. --- pkgs/by-name/pk/pkgconf-lite/package.nix | 30 ++++++++++++++++++++++++ 1 file changed, 30 insertions(+) create mode 100644 pkgs/by-name/pk/pkgconf-lite/package.nix diff --git a/pkgs/by-name/pk/pkgconf-lite/package.nix b/pkgs/by-name/pk/pkgconf-lite/package.nix new file mode 100644 index 000000000000..d76207f4191c --- /dev/null +++ b/pkgs/by-name/pk/pkgconf-lite/package.nix @@ -0,0 +1,30 @@ +{ stdenv, libpkgconf }: +stdenv.mkDerivation (finalAttrs: { + pname = "pkgconf-lite"; + inherit (libpkgconf) version src; + + __structuredAttrs = true; + strictDeps = true; + enableParallelBuilding = true; + + makefile = "Makefile.lite"; + + makeFlags = [ + "SYSTEM_LIBDIR=/no-system-libdir" + "SYSTEM_INCLUDEDIR=/no-system-includedir" + "PKG_DEFAULT_PATH=/no-pkg-default-path" + ]; + + installPhase = '' + runHook preInstall + install -Dm644 pkg.m4 $out/share/aclocal/pkg.m4 + install -Dm755 pkgconf-lite $out/bin/pkgconf + ln -s pkgconf $out/bin/pkg-config + runHook postInstall + ''; + + meta = libpkgconf.meta // { + description = libpkgconf.meta.description + " (for early bootstrap)"; + outputsToInstall = [ "out" ]; + }; +}) From d039575148f0564754b6666e7d2c376737cffac3 Mon Sep 17 00:00:00 2001 From: whispers Date: Sat, 26 Sep 2026 16:28:41 -0400 Subject: [PATCH 0393/2378] pkgconf-lite: use in darwin stdenv pkgconf 3.0 deprecates the autotools-based build system in favor of meson. this is all well and good, except for the fact that pkgconf is used at a very low part of the darwin stdenv. they provide two paths out of this: using muon as an alternative to meson, and using pkgconf-lite, which provides reduced functionality but is built using only standard make. in the interest of reducing the number of packages utilized within stdenv, and given that we do not require functionality beyond that of standard pkg-config in the darwin stdenv, we opt for the latter approach. accordingly, this uses pkgconf-lite in place of libpkgconf within the darwin stdenv. this breaks the cycle when using meson to build pkgconf. --- pkgs/stdenv/darwin/default.nix | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/pkgs/stdenv/darwin/default.nix b/pkgs/stdenv/darwin/default.nix index 83bf9cf58815..3c9305f0fc9f 100644 --- a/pkgs/stdenv/darwin/default.nix +++ b/pkgs/stdenv/darwin/default.nix @@ -574,12 +574,7 @@ assert bootstrapTools.passthru.isFromBootstrapFiles or false; # sanity check # Trying to add libresolv as a dependency causes an infinite recursion. Use pkgconf instead. pkg-config = (super.pkg-config.override { - pkg-config = self.libpkgconf.override { - removeReferencesTo = self.removeReferencesTo.override { - # Avoid an infinite recursion by using the previous stage‘s sigtool. - signingUtils = prevStage.darwin.signingUtils.override { inherit (prevStage.darwin) sigtool; }; - }; - }; + pkg-config = self.pkgconf-lite; baseBinName = "pkgconf"; }).overrideAttrs # Passthru the wrapped pkgconf’s stdenv to make the bootstrap assertions happy. From 0ba7cee0799f12f518386aa82369257fc9569daa Mon Sep 17 00:00:00 2001 From: whispers Date: Sat, 26 Sep 2026 16:28:41 -0400 Subject: [PATCH 0394/2378] libpkgconf: build with meson the autotools-based build system is deprecated as of the 3.0 release, and is slated for removal in the 3.1 release. https://github.com/pkgconf/pkgconf/blob/fcab40f51baaf84463e7b15ac51770b82e604907/NEWS#L7-L12 --- pkgs/by-name/li/libpkgconf/package.nix | 14 ++++---------- 1 file changed, 4 insertions(+), 10 deletions(-) diff --git a/pkgs/by-name/li/libpkgconf/package.nix b/pkgs/by-name/li/libpkgconf/package.nix index 9cd2b0d80369..8765b41a3875 100644 --- a/pkgs/by-name/li/libpkgconf/package.nix +++ b/pkgs/by-name/li/libpkgconf/package.nix @@ -2,12 +2,10 @@ lib, stdenv, fetchurl, - autoconf, - automake, - libtool, + meson, + ninja, removeReferencesTo, gitUpdater, - autoreconfHook, }: stdenv.mkDerivation (finalAttrs: { @@ -29,15 +27,11 @@ stdenv.mkDerivation (finalAttrs: { ]; nativeBuildInputs = [ - automake - autoconf - libtool + meson + ninja removeReferencesTo - autoreconfHook ]; - enableParallelBuilding = true; - # Debian has outputs like these too # (https://packages.debian.org/source/bullseye/pkgconf), so it is safe to # remove those references From b1f02780bea773e953d0b5c64aae2799845dff6a Mon Sep 17 00:00:00 2001 From: "R. Ryantm" Date: Thu, 15 Oct 2026 01:09:56 +0000 Subject: [PATCH 0395/2378] libarchive: 3.8.9 -> 3.8.10 --- pkgs/by-name/li/libarchive/package.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/by-name/li/libarchive/package.nix b/pkgs/by-name/li/libarchive/package.nix index 7164e86c9d7a..54fea936f47b 100644 --- a/pkgs/by-name/li/libarchive/package.nix +++ b/pkgs/by-name/li/libarchive/package.nix @@ -32,13 +32,13 @@ assert xarSupport -> libxml2 != null; stdenv.mkDerivation (finalAttrs: { pname = "libarchive"; - version = "3.8.9"; + version = "3.8.10"; src = fetchFromGitHub { owner = "libarchive"; repo = "libarchive"; rev = "v${finalAttrs.version}"; - hash = "sha256-/CoInUlOiFvR83mEeV3Tx+2SQGywWDQ4nY+NstE/cP4="; + hash = "sha256-B2leEyMwSy7YSEMKSTsgfeBbKo4kOQPU0ME0XWuZMik="; }; outputs = [ From 41d2ea0d7b8e8b2c6436db991ce3ce8be4e2b261 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Robert=20Sch=C3=BCtz?= Date: Wed, 14 Oct 2026 23:06:08 -0700 Subject: [PATCH 0396/2378] python3Packages.regex: 2026.8.12 -> 2026.9.29 Diff: https://github.com/mrabarnett/mrab-regex/compare/2026.8.12...2026.9.29 Changelog: https://github.com/mrabarnett/mrab-regex/blob/2026.9.29/changelog.txt --- pkgs/development/python-modules/regex/default.nix | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/regex/default.nix b/pkgs/development/python-modules/regex/default.nix index fb00ca1664ba..3b4e61a480f6 100644 --- a/pkgs/development/python-modules/regex/default.nix +++ b/pkgs/development/python-modules/regex/default.nix @@ -8,14 +8,14 @@ buildPythonPackage (finalAttrs: { pname = "regex"; - version = "2026.8.12"; + version = "2026.9.29"; pyproject = true; src = fetchFromGitHub { owner = "mrabarnett"; repo = "mrab-regex"; tag = finalAttrs.version; - hash = "sha256-TOaJBk9W/ZEA+l2i0kzrr6RxlkdFzTIxj+Bu25JBNws="; + hash = "sha256-9WiynNc25LhHzooLEU4AubVFc6fXAJnBjqPIvfk/l44="; }; build-system = [ setuptools ]; @@ -35,6 +35,7 @@ buildPythonPackage (finalAttrs: { pythonImportsCheck = [ "regex" ]; meta = { + changelog = "https://github.com/mrabarnett/mrab-regex/blob/${finalAttrs.src.tag}/changelog.txt"; description = "Alternative regular expression module, to replace re"; homepage = "https://github.com/mrabarnett/mrab-regex"; license = [ From 14b4f8a3e0f4c8ee3d6ca3757df1b8326fd7aa7c Mon Sep 17 00:00:00 2001 From: Adam Dinwoodie Date: Thu, 15 Oct 2026 10:30:40 +0100 Subject: [PATCH 0397/2378] python3Packages.dunamai: use finalAttrs --- pkgs/development/python-modules/dunamai/default.nix | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/pkgs/development/python-modules/dunamai/default.nix b/pkgs/development/python-modules/dunamai/default.nix index 88d4a309bf60..0030d7984cb0 100644 --- a/pkgs/development/python-modules/dunamai/default.nix +++ b/pkgs/development/python-modules/dunamai/default.nix @@ -16,7 +16,7 @@ writableTmpDirAsHomeHook, }: -buildPythonPackage rec { +buildPythonPackage (finalAttrs: { pname = "dunamai"; version = "1.26.2"; pyproject = true; @@ -24,7 +24,7 @@ buildPythonPackage rec { src = fetchFromGitHub { owner = "mtkennerly"; repo = "dunamai"; - tag = "v${version}"; + tag = "v${finalAttrs.version}"; hash = "sha256-pP0KeQ1tThvBomQIlrWNCVzB8ghR9rfaLm5NeBKwiuE="; }; @@ -55,8 +55,8 @@ buildPythonPackage rec { description = "Dynamic version generation"; mainProgram = "dunamai"; homepage = "https://github.com/mtkennerly/dunamai"; - changelog = "https://github.com/mtkennerly/dunamai/blob/${src.tag}/CHANGELOG.md"; + changelog = "https://github.com/mtkennerly/dunamai/blob/${finalAttrs.src.tag}/CHANGELOG.md"; license = lib.licenses.mit; maintainers = with lib.maintainers; [ jmgilman ]; }; -} +}) From 8da91233079eb6218209b2321b21773b0fc19117 Mon Sep 17 00:00:00 2001 From: Adam Dinwoodie Date: Thu, 15 Oct 2026 10:30:57 +0100 Subject: [PATCH 0398/2378] python3Packages.dunamai: 1.26.2 -> 1.26.3 Changelogs: https://github.com/mtkennerly/dunamai/releases --- pkgs/development/python-modules/dunamai/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/dunamai/default.nix b/pkgs/development/python-modules/dunamai/default.nix index 0030d7984cb0..8912162c92bf 100644 --- a/pkgs/development/python-modules/dunamai/default.nix +++ b/pkgs/development/python-modules/dunamai/default.nix @@ -18,14 +18,14 @@ buildPythonPackage (finalAttrs: { pname = "dunamai"; - version = "1.26.2"; + version = "1.26.3"; pyproject = true; src = fetchFromGitHub { owner = "mtkennerly"; repo = "dunamai"; tag = "v${finalAttrs.version}"; - hash = "sha256-pP0KeQ1tThvBomQIlrWNCVzB8ghR9rfaLm5NeBKwiuE="; + hash = "sha256-8R9ASAkn7cBWC1ZI4/k9b9rISpAEgyL9NJQDvQnbj+o="; }; build-system = [ poetry-core ]; From d83dcc115108116ee68d257ba47bcca8e4e9278a Mon Sep 17 00:00:00 2001 From: Antoine du Hamel Date: Thu, 15 Oct 2026 12:09:42 +0200 Subject: [PATCH 0399/2378] nodejs: remove `nghttp3` and `ngtcp2` from requisites Those are only used when QUIC support is enabled, but it is disabled by default and we are not enabling it. --- pkgs/development/web/nodejs/nodejs.nix | 4 ---- 1 file changed, 4 deletions(-) diff --git a/pkgs/development/web/nodejs/nodejs.nix b/pkgs/development/web/nodejs/nodejs.nix index d0d7b0f4e500..ed7609db9c62 100644 --- a/pkgs/development/web/nodejs/nodejs.nix +++ b/pkgs/development/web/nodejs/nodejs.nix @@ -19,8 +19,6 @@ merve, nbytes, nghttp2, - nghttp3, - ngtcp2, openssl, simdjson, simdutf, @@ -138,8 +136,6 @@ let brotli libuv nghttp2 - nghttp3 - ngtcp2 openssl uvwasi zlib From e01a83ab7d82bb05c42c8f5c5490074190053347 Mon Sep 17 00:00:00 2001 From: Antoine du Hamel Date: Thu, 15 Oct 2026 12:35:12 +0200 Subject: [PATCH 0400/2378] abseil-cpp: move libs linking against gtest to their own output Assisted-by: Devin --- pkgs/by-name/ab/abseil-cpp_202608/package.nix | 17 ++++++++++++++++- 1 file changed, 16 insertions(+), 1 deletion(-) diff --git a/pkgs/by-name/ab/abseil-cpp_202608/package.nix b/pkgs/by-name/ab/abseil-cpp_202608/package.nix index a260160ea6b5..891b8c557dc2 100644 --- a/pkgs/by-name/ab/abseil-cpp_202608/package.nix +++ b/pkgs/by-name/ab/abseil-cpp_202608/package.nix @@ -3,6 +3,7 @@ stdenv, fetchFromGitHub, cmake, + fixDarwinDylibNames, gtest, static ? stdenv.hostPlatform.isStatic, cxxStandard ? null, @@ -22,6 +23,8 @@ stdenv.mkDerivation (finalAttrs: { outputs = [ "out" "dev" + # Test helper libraries linking against GoogleTest + "testing" ]; cmakeFlags = [ @@ -35,10 +38,22 @@ stdenv.mkDerivation (finalAttrs: { strictDeps = true; - nativeBuildInputs = [ cmake ]; + nativeBuildInputs = [ cmake ] ++ lib.optionals stdenv.hostPlatform.isDarwin [ fixDarwinDylibNames ]; buildInputs = [ gtest ]; + postInstall = '' + for lib in scoped_mock_log status_matchers; do + moveToOutput "lib/libabsl_$lib.*" "$testing" + substituteInPlace $out/lib/cmake/absl/abslTargets-*.cmake \ + --replace-fail "$out/lib/libabsl_$lib." "$testing/lib/libabsl_$lib." + substituteInPlace "$out/lib/pkgconfig/absl_$lib.pc" \ + --replace-fail "libdir=$out/lib" "libdir=$testing/lib" + done + ''; + + outputChecks.out.disallowedRequisites = [ gtest ]; + __structuredAttrs = true; meta = { From a0857e15ce948dec0af4fd1303b7004a26c2a3bc Mon Sep 17 00:00:00 2001 From: Antoine du Hamel Date: Thu, 15 Oct 2026 13:21:35 +0200 Subject: [PATCH 0401/2378] nodejs: remove redundent configure flags --- pkgs/development/web/nodejs/nodejs.nix | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/pkgs/development/web/nodejs/nodejs.nix b/pkgs/development/web/nodejs/nodejs.nix index d0d7b0f4e500..0cc9bc49c328 100644 --- a/pkgs/development/web/nodejs/nodejs.nix +++ b/pkgs/development/web/nodejs/nodejs.nix @@ -265,7 +265,10 @@ let # -dev outputs in the runtime closure. The cc wrapper already passes these # paths, so have pkgconf treat them as system paths and omit them. PKG_CONFIG_SYSTEM_INCLUDE_PATH = lib.makeSearchPathOutput "dev" "include" sharedLibInputs; - PKG_CONFIG_SYSTEM_LIBRARY_PATH = lib.makeSearchPathOutput "dev" "lib" sharedLibInputs; + PKG_CONFIG_SYSTEM_LIBRARY_PATH = lib.concatStringsSep ":" [ + (lib.makeSearchPathOutput "dev" "lib" sharedLibInputs) + (lib.makeLibraryPath sharedLibInputs) + ]; } // lib.optionalAttrs (!canExecute && !canEmulate) { # these are used in the --cross-compiling case. see comment at postConfigure. @@ -330,10 +333,7 @@ let ++ lib.optional useSharedTemporal "--v8-enable-temporal-support" ++ lib.optionals (lib.versionOlder version "19") [ "--without-dtrace" ] ++ lib.optionals (lib.versionAtLeast version "22") [ "--use-prefix-to-find-headers" ] - ++ lib.concatMap (name: [ - "--shared-${name}" - "--shared-${name}-libpath=${lib.getLib sharedLibDeps.${name}}/lib" - ]) (builtins.attrNames sharedLibDeps); + ++ map (name: "--shared-${name}") (builtins.attrNames sharedLibDeps); configurePlatforms = [ ]; From 740730748ec2fb63c2c7165fe3a163a9d2a2ffa3 Mon Sep 17 00:00:00 2001 From: Antoine du Hamel Date: Thu, 15 Oct 2026 14:02:34 +0200 Subject: [PATCH 0402/2378] zlib: do not put both static and shared dir in `zlib.pc` --- pkgs/development/libraries/zlib/default.nix | 2 ++ 1 file changed, 2 insertions(+) diff --git a/pkgs/development/libraries/zlib/default.nix b/pkgs/development/libraries/zlib/default.nix index a29061bee218..f9e70611da88 100644 --- a/pkgs/development/libraries/zlib/default.nix +++ b/pkgs/development/libraries/zlib/default.nix @@ -62,6 +62,8 @@ stdenv.mkDerivation (finalAttrs: { --replace-fail 'ARFLAGS="-o"' 'ARFLAGS="-r"' substituteInPlace win32/zlib.def \ --replace-fail 'gzopen_w' "" + substituteInPlace zlib.pc.in \ + --replace-fail 'Libs: -L''${libdir} -L''${sharedlibdir} -lz' 'Libs: -L''${${lib.optionalString shared "shared"}libdir} -lz' ''; strictDeps = true; From 9ecc0a672e9ef2ca4eec8e87dbee653607a7d332 Mon Sep 17 00:00:00 2001 From: whispers Date: Tue, 13 Oct 2026 12:36:50 -0400 Subject: [PATCH 0403/2378] rust: 1.99.0 -> 1.99.1 blog: https://blog.rust-lang.org/releases/1.99.1 changelog: https://github.com/rust-lang/rust/releases/tag/1.99.1 diff: https://github.com/rust-lang/rust/compare/1.99.0...1.99.1 --- pkgs/development/compilers/rust/1_99.nix | 40 ++++++++++++------------ 1 file changed, 20 insertions(+), 20 deletions(-) diff --git a/pkgs/development/compilers/rust/1_99.nix b/pkgs/development/compilers/rust/1_99.nix index 0e05d4a92f52..175012dbdfe4 100644 --- a/pkgs/development/compilers/rust/1_99.nix +++ b/pkgs/development/compilers/rust/1_99.nix @@ -50,8 +50,8 @@ let in import ./default.nix { - rustcVersion = "1.99.0"; - rustcSha256 = "sha256-IDXkB3uDSkL/iv0H8neuPwY0AJi4ax0oQ6ojS0z8rmc="; + rustcVersion = "1.99.1"; + rustcSha256 = "sha256-21a7xk20kc7aa3iigRptEhxjkziQb9lE9yAonL0CJFw="; llvmSharedForBuild = llvmSharedFor pkgsBuildBuild; llvmSharedForHost = llvmSharedFor pkgsBuildHost; @@ -65,27 +65,27 @@ import ./default.nix # Note: the version MUST be the same version that we are building. Upstream # ensures that each released compiler can compile itself: # https://github.com/NixOS/nixpkgs/pull/351028#issuecomment-2438244363 - bootstrapVersion = "1.99.0"; + bootstrapVersion = "1.99.1"; # fetch hashes by running `print-hashes.sh ${bootstrapVersion}` bootstrapHashes = { - i686-unknown-linux-gnu = "1ce31e45476c18aa3a00d7e349c61e10b1e061ab8f6e42d2eb5b5bbbee17af3d"; - x86_64-unknown-linux-gnu = "de0581ca9d732295a6474cfbd02461db27d69acd5050a8206523a8d6fa1599db"; - x86_64-unknown-linux-musl = "c812c6f52447721fe64cf0feb516769cf758475548a0da25c5b76b65613050a9"; - arm-unknown-linux-gnueabihf = "e686d5e3fd27e86297fde7bc2cf48510a6982a446eb9fee40c736d0c37a4bc94"; - armv7-unknown-linux-gnueabihf = "c3a3c5177971d6818c478b8414c8e942e08c3af6dc0cf607d71d1b613f6aa168"; - aarch64-unknown-linux-gnu = "42214e693ec00733e2a591e67c13af98faf02a82934108a9f37afd247b376dd0"; - aarch64-unknown-linux-musl = "2d979ae621949ef802f357369f888f17c97fd3731a8dc4dc13f713e9d3a6784f"; - x86_64-apple-darwin = "596756101bf43cd335fb247f5cc9ede0c157245523baff25a66694682495cfcb"; - aarch64-apple-darwin = "f35e7c5b2cf63e67c075d323e4d6b87501219311f09744ab24caecb761c96643"; - powerpc64-unknown-linux-gnu = "1c4c53148cd5e78b6a63b869b6b45c104bbba80ae2c165df4dd38549db31ce3d"; - powerpc64le-unknown-linux-gnu = "2db292783506bf29b465fd73f7e4c09445d533ef2a6897c5407463f39048e22e"; - powerpc64le-unknown-linux-musl = "06d2e3bc39cb85b4a1da877e8377d87fb5768fec8180c2cd9bd53b36d1102c5b"; - riscv64gc-unknown-linux-gnu = "c6d21031de5f65d1486ace8f2ab16d8a6962f0a3b58a057d288a0252adbbb2e7"; - s390x-unknown-linux-gnu = "3d576e0ddb69b341593ae0f371e63233b427729fefeb380e9adb46762b23f1f2"; - loongarch64-unknown-linux-gnu = "26969dd72bf9eb4b277d18c7afb3d2ea89ae6b6d4e32796770127d3328e864b6"; - loongarch64-unknown-linux-musl = "6630489e02cfef1f7d8b31d9572a181e0f40a97e6817d851668032507ad5aa4c"; - x86_64-unknown-freebsd = "9a14b060a681932e30c1453c30fe4f95e6170011425d660b97c739521a9f2cb9"; + i686-unknown-linux-gnu = "4ec7d2dece30bbf56c2423c24b87c50dd556fd08e3c803c6c300bcb3343bc42c"; + x86_64-unknown-linux-gnu = "aded4e6c1d580415e7b594a3080d8e23e9cbe06f159f97e300aa6875211f71bf"; + x86_64-unknown-linux-musl = "553f0b4f8789da1552514e99a23d5733e2afb62059c56b8965c8e4b03e6f70a3"; + arm-unknown-linux-gnueabihf = "3ae3d8424847bfa7376b83a576f223e55028cb16f9c8e8b3e20b00450b5c6f9e"; + armv7-unknown-linux-gnueabihf = "60e6c555137de78d29ddfc1cc8a879f418da462ab28ce97701b93a581b1a5ab0"; + aarch64-unknown-linux-gnu = "703b190f0d723ae68985797f3bb5f62f01b1723f138464c6f30f32b766eb0abf"; + aarch64-unknown-linux-musl = "83dc2ff5a720b3d7665dde0524b9d8d5cabb893b8c52ca3485d28702741ec384"; + x86_64-apple-darwin = "ca9900354aeaa5d31c47ce8e07ac90e9fb7377b39ca10e3981a85d6008679522"; + aarch64-apple-darwin = "b73b6a78c4e7171a8fe1b4bee5342273605c5c9a9a4997554c15bb3ce2753b6a"; + powerpc64-unknown-linux-gnu = "3b37ee1866ff6657139d77c0046c2071299e698487da29ab11ded59989b81c67"; + powerpc64le-unknown-linux-gnu = "efed6b2c054100a8fe3d333e4f09941fb2d72daf2d4d6a73baa11be9e355f032"; + powerpc64le-unknown-linux-musl = "3ff2a27b4b7ee1ae0e75450f4e446cd4b27685b2e229a82bee633f3df28dd41c"; + riscv64gc-unknown-linux-gnu = "b66f5a0ce75cab10fa38b6f1ec989d0b2f4310da5efd24f3dd2573e6fae2dfd3"; + s390x-unknown-linux-gnu = "6998cd09229d60468ee2002d3c3bb0db4084e1a6582ef551b3322b520bc3127d"; + loongarch64-unknown-linux-gnu = "cb387b33f097fe9e2c64dd1d3a18200dc36910124eb2aa121b8e406344fb972d"; + loongarch64-unknown-linux-musl = "72ff7e74b93cb78ecb4109dbded6cc50d1a22d8a2c89d6b7ca74e33878b2a5f9"; + x86_64-unknown-freebsd = "ae86ea93813f33003fc329b404bcd9343502621a7a6a0a6f758bfcd16a1f5d87"; }; selectRustPackage = pkgs: pkgs.rust_1_99; From a9a58bfde78fc4312320029779ccaff08b77aa80 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Robert=20Sch=C3=BCtz?= Date: Wed, 14 Oct 2026 23:09:50 -0700 Subject: [PATCH 0404/2378] python3Packages.scikit-learn: 1.9.0 -> 1.9.1 Changelog: https://scikit-learn.org/stable/whats_new/v1.9.html#version-1-9-1 --- .../python-modules/scikit-learn/default.nix | 32 ++++--------------- 1 file changed, 6 insertions(+), 26 deletions(-) diff --git a/pkgs/development/python-modules/scikit-learn/default.nix b/pkgs/development/python-modules/scikit-learn/default.nix index 24f6debf7c26..e7cb14b894f5 100644 --- a/pkgs/development/python-modules/scikit-learn/default.nix +++ b/pkgs/development/python-modules/scikit-learn/default.nix @@ -3,7 +3,6 @@ lib, buildPythonPackage, fetchPypi, - fetchpatch, # build-system cython, @@ -25,25 +24,15 @@ buildPythonPackage (finalAttrs: { pname = "scikit-learn"; - version = "1.9.0"; + version = "1.9.1"; pyproject = true; src = fetchPypi { pname = "scikit_learn"; inherit (finalAttrs) version; - hash = "sha256-iDMmaYnTpREBeKn64weDZ1Rgck0OHvsTsUkB0sZgxVc="; + hash = "sha256-Ypyto+M+K5vzds3HYUpHpBQLiu3B2DZXnjWXNvvYKXc="; }; - patches = [ - # Fix HTML display performance when user has many features - # https://github.com/scikit-learn/scikit-learn/pull/34362 - # TODO: remove when updating to the next release. - (fetchpatch { - url = "https://github.com/scikit-learn/scikit-learn/commit/aeadb51af96556dd0f884c0037c9dc9993449538.patch"; - hash = "sha256-J7igLpK8pdcbgMwxFqaAGDEwm87VrLHb+ckg/pEh6IY="; - }) - ]; - pythonRelaxDeps = [ "numpy" "scipy" @@ -54,10 +43,10 @@ buildPythonPackage (finalAttrs: { "run_command('sklearn/_build_utils/version.py', check: true).stdout().strip()," \ "'${finalAttrs.version}'," substituteInPlace pyproject.toml \ - --replace-fail "cython>=3.1.2,<3.3.0" cython \ - --replace-fail "meson-python>=0.17.1,<0.20.0" meson-python \ - --replace-fail "numpy>=2,<2.5.0" numpy \ - --replace-fail "scipy>=1.10.0,<1.18.0" scipy + --replace-fail "cython>=3.1.2,<3.2.6" cython \ + --replace-fail "meson-python>=0.17.1,<0.22.0" meson-python \ + --replace-fail "numpy>=2,<2.6.0" numpy \ + --replace-fail "scipy>=1.10.0,<1.19.0" scipy ''; buildInputs = [ @@ -98,15 +87,6 @@ buildPythonPackage (finalAttrs: { # Skip test_feature_importance_regression - does web fetch "test_feature_importance_regression" - # Fail due to new deprecation warnings in scipy - # FIXME: reenable when fixed upstream - "test_logistic_regression_path_convergence_fail" - "test_linalg_warning_with_newton_solver" - "test_newton_cholesky_fallback_to_lbfgs" - - # _pickle.PicklingError: Could not pickle the task to send it to the workers. - "test_function_no_callback_support" - # NuSVC memmap tests causes segmentation faults in certain environments # (e.g. Hydra Darwin machines) related to a long-standing joblib issue # (https://github.com/joblib/joblib/issues/563). See also: From e1c7a1978a9f645a12b28ce07514259af2dea069 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Vladim=C3=ADr=20=C4=8Cun=C3=A1t?= Date: Fri, 16 Oct 2026 08:55:27 +0200 Subject: [PATCH 0405/2378] sqlite: fix hash of docsrc No idea what happened here. Cross-ref: PR #572495 --- pkgs/development/libraries/sqlite/default.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkgs/development/libraries/sqlite/default.nix b/pkgs/development/libraries/sqlite/default.nix index c325d1db4249..8361b27443d9 100644 --- a/pkgs/development/libraries/sqlite/default.nix +++ b/pkgs/development/libraries/sqlite/default.nix @@ -38,7 +38,7 @@ stdenv.mkDerivation (finalAttrs: { }; docsrc = fetchurl { url = "https://sqlite.org/2026/sqlite-doc-${archiveVersion finalAttrs.version}.zip"; - hash = "sha256-dnQsv6quvqU1XGtHShjKhQq1EGJfwz+kLQJQ/8rCepU="; + hash = "sha256-oXlaxb9JHz57W07OBBDuO04EgPaod7wnzSEnxZH+J74="; }; outputs = [ From d0733546ceed1d12d3d63312676f21b7ea4c73c4 Mon Sep 17 00:00:00 2001 From: Sandro Date: Fri, 16 Oct 2026 14:04:44 +0200 Subject: [PATCH 0406/2378] source-highlight: remove me (SuperSandro2000) from maintainers --- pkgs/by-name/so/source-highlight/package.nix | 1 - 1 file changed, 1 deletion(-) diff --git a/pkgs/by-name/so/source-highlight/package.nix b/pkgs/by-name/so/source-highlight/package.nix index 088e577bd745..ee845c972509 100644 --- a/pkgs/by-name/so/source-highlight/package.nix +++ b/pkgs/by-name/so/source-highlight/package.nix @@ -104,7 +104,6 @@ stdenv.mkDerivation (finalAttrs: { license = lib.licenses.gpl3Plus; mainProgram = "source-highlight"; maintainers = with lib.maintainers; [ - SuperSandro2000 yiyu ]; platforms = lib.platforms.all; From 57d84e0a01e74ac0070dffcaf2e09e5470b4e13d Mon Sep 17 00:00:00 2001 From: whispers Date: Fri, 16 Oct 2026 08:37:40 -0400 Subject: [PATCH 0407/2378] borgbackup: revert sphinxBuilders hack this fix is now on staging: https://github.com/NixOS/nixpkgs/commit/0608057d5727a5629f5d9056042ef5d6504d187b --- pkgs/by-name/bo/borgbackup/package.nix | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/pkgs/by-name/bo/borgbackup/package.nix b/pkgs/by-name/bo/borgbackup/package.nix index 951989af214b..ee5824ea115f 100644 --- a/pkgs/by-name/bo/borgbackup/package.nix +++ b/pkgs/by-name/bo/borgbackup/package.nix @@ -55,11 +55,8 @@ python.pkgs.buildPythonApplication (finalAttrs: { ]; sphinxBuilders = [ - # HACK: sphinxBuilders is currently broken with __structuredAttrs = true, - # and ignores all but the first array item. for now, pass them as a single - # space-separated entry. fixed on staging, but requires a mass-rebuild. - # TODO: revert to [ "singlehtml" "man" ] on staging. - "singlehtml man" + "singlehtml" + "man" ]; buildInputs = [ From 7adb3d5c894768b05a2958378d692cbbf7888c0d Mon Sep 17 00:00:00 2001 From: Ross Carter Date: Fri, 16 Oct 2026 11:14:42 -0400 Subject: [PATCH 0408/2378] python3Packages.scipy: Fix cross compilation pulling in native python --- pkgs/development/python-modules/scipy/default.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkgs/development/python-modules/scipy/default.nix b/pkgs/development/python-modules/scipy/default.nix index aa3d58c5ddda..71b2cf8d75ef 100644 --- a/pkgs/development/python-modules/scipy/default.nix +++ b/pkgs/development/python-modules/scipy/default.nix @@ -187,7 +187,7 @@ buildPythonPackage (finalAttrs: { # remove references to dev dependencies postInstall = '' nuke-refs $out/${python.sitePackages}/scipy/__config__.py - rm $out/${python.sitePackages}/scipy/__pycache__/__config__.*.opt-1.pyc + rm $out/${python.sitePackages}/scipy/__pycache__/__config__.*.pyc ''; preCheck = '' From 4862ad378961855b636c8b3617227cf912d27cfd Mon Sep 17 00:00:00 2001 From: rntpts Date: Fri, 16 Oct 2026 20:57:12 +0200 Subject: [PATCH 0409/2378] rust-bindgen-unwrapped: enable structuredAttrs --- pkgs/development/tools/rust/bindgen/unwrapped.nix | 2 ++ 1 file changed, 2 insertions(+) diff --git a/pkgs/development/tools/rust/bindgen/unwrapped.nix b/pkgs/development/tools/rust/bindgen/unwrapped.nix index 74fb790d56cb..24e7fa9e057b 100644 --- a/pkgs/development/tools/rust/bindgen/unwrapped.nix +++ b/pkgs/development/tools/rust/bindgen/unwrapped.nix @@ -13,6 +13,8 @@ rustPlatform.buildRustPackage rec { pname = "rust-bindgen-unwrapped"; version = "0.72.1"; + __structuredAttrs = true; + src = fetchCrate { pname = "bindgen-cli"; inherit version; From fd9787480189e36e352342c1922ab2c3c306482c Mon Sep 17 00:00:00 2001 From: rntpts Date: Fri, 16 Oct 2026 21:05:11 +0200 Subject: [PATCH 0410/2378] prefetch-npm-deps: enable structuredAttrs --- pkgs/build-support/node/prefetch-npm-deps/default.nix | 2 ++ 1 file changed, 2 insertions(+) diff --git a/pkgs/build-support/node/prefetch-npm-deps/default.nix b/pkgs/build-support/node/prefetch-npm-deps/default.nix index 2875c9291dec..ff0b4e73bd03 100644 --- a/pkgs/build-support/node/prefetch-npm-deps/default.nix +++ b/pkgs/build-support/node/prefetch-npm-deps/default.nix @@ -20,6 +20,8 @@ pname = "prefetch-npm-deps"; version = (lib.importTOML ./Cargo.toml).package.version; + __structuredAttrs = true; + src = lib.cleanSourceWith { src = ./.; filter = From 604d23557e4430a87d6d6343a607dfa62960ed5b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Robert=20Sch=C3=BCtz?= Date: Fri, 16 Oct 2026 12:47:08 -0700 Subject: [PATCH 0411/2378] python3Packages.poetry-core: 2.4.1 -> 2.5.0 Diff: https://github.com/python-poetry/poetry-core/compare/2.4.1...2.5.0 Changelog: https://github.com/python-poetry/poetry-core/blob/2.5.0/CHANGELOG.md --- pkgs/development/python-modules/poetry-core/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/poetry-core/default.nix b/pkgs/development/python-modules/poetry-core/default.nix index 258f826779bc..06c976a099b1 100644 --- a/pkgs/development/python-modules/poetry-core/default.nix +++ b/pkgs/development/python-modules/poetry-core/default.nix @@ -25,14 +25,14 @@ buildPythonPackage (finalAttrs: { pname = "poetry-core"; - version = "2.4.1"; + version = "2.5.0"; pyproject = true; src = fetchFromGitHub { owner = "python-poetry"; repo = "poetry-core"; tag = finalAttrs.version; - hash = "sha256-Io2VpLxnJesO4QohsunD7ogr87NiNjGeTmEl9wFswkw="; + hash = "sha256-KEjdHHiXphtVqkq08VCSwmpw3r5SaDgftw1wxcujJPc="; }; inherit doCheck; From fcf219f9cfa00c74c1e3fe8338662019fb2aabde Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Robert=20Sch=C3=BCtz?= Date: Fri, 16 Oct 2026 13:36:35 -0700 Subject: [PATCH 0412/2378] python3Packages.setproctitle: 1.3.7 -> 1.3.8 Diff: https://github.com/dvarrazzo/py-setproctitle/compare/version-1.3.7...version-1.3.8 Changelog: https://github.com/dvarrazzo/py-setproctitle/blob/version-1.3.8/HISTORY.rst --- pkgs/development/python-modules/setproctitle/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/setproctitle/default.nix b/pkgs/development/python-modules/setproctitle/default.nix index 46daff35a257..59916d6f22d6 100644 --- a/pkgs/development/python-modules/setproctitle/default.nix +++ b/pkgs/development/python-modules/setproctitle/default.nix @@ -10,14 +10,14 @@ buildPythonPackage rec { pname = "setproctitle"; - version = "1.3.7"; + version = "1.3.8"; pyproject = true; src = fetchFromGitHub { owner = "dvarrazzo"; repo = "py-setproctitle"; tag = "version-${version}"; - hash = "sha256-dfOdtfOXRAoCQLW307+YMsFIWRv4CupbKUxckev1oUw="; + hash = "sha256-PGTaK9/Wwd5Lp2tZCVSrnPkfVwWvJIq8rWNQ83OH/eI="; }; build-system = [ setuptools ]; From 5e13a83dfeff6f9cffb79661e45dc46b11a5379e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Robert=20Sch=C3=BCtz?= Date: Fri, 16 Oct 2026 13:38:22 -0700 Subject: [PATCH 0413/2378] python3Packages.watchfiles: 1.2.0 -> 1.3.0 Diff: https://github.com/samuelcolvin/watchfiles/compare/v1.2.0...v1.3.0 Changelog: https://github.com/samuelcolvin/watchfiles/releases/tag/v1.3.0 --- pkgs/development/python-modules/watchfiles/default.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pkgs/development/python-modules/watchfiles/default.nix b/pkgs/development/python-modules/watchfiles/default.nix index b48753ee4de9..ecc132689c9d 100644 --- a/pkgs/development/python-modules/watchfiles/default.nix +++ b/pkgs/development/python-modules/watchfiles/default.nix @@ -13,19 +13,19 @@ buildPythonPackage (finalAttrs: { pname = "watchfiles"; - version = "1.2.0"; + version = "1.3.0"; pyproject = true; src = fetchFromGitHub { owner = "samuelcolvin"; repo = "watchfiles"; tag = "v${finalAttrs.version}"; - hash = "sha256-gfH/8o3WsGL4Qki5kRrWpQLyk85HgTtR6iImInPYthg="; + hash = "sha256-PR1tog0O2AeTyWUILSty+Ja/gNsT09TGPQ+r/3DEp7w="; }; cargoDeps = rustPlatform.fetchCargoVendor { inherit (finalAttrs) pname src version; - hash = "sha256-GFGhEXW0M23G0NB4Bu1FXV9Bmdt9weznHHSD/6rBSjI="; + hash = "sha256-O+bogdo5OjeCb2YBc96uC+i0zrmzm/0YVxaRf70/eUk="; }; nativeBuildInputs = [ From 18c4cf34c44de7f7ee9398faf5b85abf2320bf5f Mon Sep 17 00:00:00 2001 From: whispers Date: Fri, 16 Oct 2026 16:52:24 -0400 Subject: [PATCH 0414/2378] libarchive: fetch patch for test_create_child_environment test --- pkgs/by-name/li/libarchive/package.nix | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/pkgs/by-name/li/libarchive/package.nix b/pkgs/by-name/li/libarchive/package.nix index 54fea936f47b..ea9e51887fbe 100644 --- a/pkgs/by-name/li/libarchive/package.nix +++ b/pkgs/by-name/li/libarchive/package.nix @@ -2,6 +2,7 @@ lib, stdenv, fetchFromGitHub, + fetchpatch, acl, attr, autoreconfHook, @@ -41,6 +42,17 @@ stdenv.mkDerivation (finalAttrs: { hash = "sha256-B2leEyMwSy7YSEMKSTsgfeBbKo4kOQPU0ME0XWuZMik="; }; + patches = [ + # fixes test_create_child_environment test + # https://github.com/libarchive/libarchive/issues/3676 + # https://github.com/libarchive/libarchive/pull/3677 + (fetchpatch { + name = "archive-read-fix-large-child-environment-test.patch"; + url = "https://github.com/libarchive/libarchive/commit/28d2900e51b6d20f22d3a74eca6ddac5939ef104.patch"; + hash = "sha256-4vL54mn8iblIMB7i46nSDc/CXl2eyrZ43Tj+QOgC4mk="; + }) + ]; + outputs = [ "out" "lib" From eea3fcc18c8d607dea543c47e0fa4fe289c92a7b Mon Sep 17 00:00:00 2001 From: "R. Ryantm" Date: Fri, 16 Oct 2026 21:05:06 +0000 Subject: [PATCH 0415/2378] cargo-nextest: 0.9.146 -> 0.9.148 --- pkgs/by-name/ca/cargo-nextest/package.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pkgs/by-name/ca/cargo-nextest/package.nix b/pkgs/by-name/ca/cargo-nextest/package.nix index b9d3e9b209c5..c5e5fb6f1943 100644 --- a/pkgs/by-name/ca/cargo-nextest/package.nix +++ b/pkgs/by-name/ca/cargo-nextest/package.nix @@ -7,13 +7,13 @@ }: rustPlatform.buildRustPackage (finalAttrs: { pname = "cargo-nextest"; - version = "0.9.146"; + version = "0.9.148"; src = fetchFromGitHub { owner = "nextest-rs"; repo = "nextest"; tag = "cargo-nextest-${finalAttrs.version}"; - hash = "sha256-2ndrHZ1pmu1oBZGlq5pyv0vhSEUf23gNRyyenNw0fdk="; + hash = "sha256-JcDSd3VswTuAhmHibwFJjJMSEbSReQ/SONrEcyEGYD4="; }; # FIXME: we don't support dtrace probe generation on macOS until we have a dtrace build: https://github.com/NixOS/nixpkgs/pull/392918 @@ -21,7 +21,7 @@ rustPlatform.buildRustPackage (finalAttrs: { ./no-dtrace-macos.patch ]; - cargoHash = "sha256-ZW0/JQ9RECxfDn479ww4bO4ixoMGaM+GtGUOCWy2Cyg="; + cargoHash = "sha256-MW2cM2XjfAquhdeDNwvizk6owl1sVwK5mfCiSpjJN6E="; cargoBuildFlags = [ "-p" From e7fb77e13dcfd9196c6bc944972e6ab1bda33339 Mon Sep 17 00:00:00 2001 From: whoomee Date: Fri, 16 Oct 2026 23:17:25 +0200 Subject: [PATCH 0416/2378] libx11: 1.8.13 -> 1.8.14 --- pkgs/by-name/li/libx11/package.nix | 12 ++---------- 1 file changed, 2 insertions(+), 10 deletions(-) diff --git a/pkgs/by-name/li/libx11/package.nix b/pkgs/by-name/li/libx11/package.nix index aaf77bf3a701..08e2b297af61 100644 --- a/pkgs/by-name/li/libx11/package.nix +++ b/pkgs/by-name/li/libx11/package.nix @@ -14,7 +14,7 @@ }: stdenv.mkDerivation (finalAttrs: { pname = "libx11"; - version = "1.8.13"; + version = "1.8.14"; outputs = [ "out" @@ -24,17 +24,9 @@ stdenv.mkDerivation (finalAttrs: { src = fetchurl { url = "mirror://xorg/individual/lib/libX11-${finalAttrs.version}.tar.xz"; - hash = "sha256-aWBvSFwsB8FO9k91t7sybUhYevM3ldmrPmB8C1+U8Rw="; + hash = "sha256-u8eMRiFxdGVcKzKxOK0RnzrBX1CAi00LOiZ3pLGvyVA="; }; - patches = [ - # fixes CVE-2026-88806 - (fetchpatch { - url = "https://gitlab.freedesktop.org/xorg/lib/libx11/-/commit/6d4432b13c0b3b6a644c13de9c793a14db48d545.patch"; - hash = "sha256-ahsf/DYeaOjkd9TcH9ZkfzB9qAaj4jRNi1AGyjoIycY="; - }) - ]; - strictDeps = true; depsBuildBuild = [ buildPackages.stdenv.cc ]; From e5a6d98bf0d97b39bf6cbef466b2762f69c8ef36 Mon Sep 17 00:00:00 2001 From: whoomee Date: Fri, 16 Oct 2026 23:18:02 +0200 Subject: [PATCH 0417/2378] libxi: 1.8.3 -> 1.8.4 --- pkgs/by-name/li/libxi/package.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/by-name/li/libxi/package.nix b/pkgs/by-name/li/libxi/package.nix index 0475ba395175..cbde12862a42 100644 --- a/pkgs/by-name/li/libxi/package.nix +++ b/pkgs/by-name/li/libxi/package.nix @@ -12,7 +12,7 @@ }: stdenv.mkDerivation (finalAttrs: { pname = "libxi"; - version = "1.8.3"; + version = "1.8.4"; outputs = [ "out" @@ -23,7 +23,7 @@ stdenv.mkDerivation (finalAttrs: { src = fetchurl { url = "mirror://xorg/individual/lib/libXi-${finalAttrs.version}.tar.xz"; - hash = "sha256-etYAVvAa9PeGz+k7OncHRHcRYm/I2iY3vscakECbq+U="; + hash = "sha256-3dYFe4mpGQO8L4hNVchGdECQaUXkgsNlRyYN/yhmGvw="; }; strictDeps = true; From d6842b5b3e68eeb36ce187efd7074d4129b1716d Mon Sep 17 00:00:00 2001 From: whoomee Date: Fri, 16 Oct 2026 23:18:50 +0200 Subject: [PATCH 0418/2378] libxrender: 0.9.12 -> 0.9.13 --- pkgs/by-name/li/libxrender/package.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/by-name/li/libxrender/package.nix b/pkgs/by-name/li/libxrender/package.nix index c60e5ddc6e30..a58bc442cf75 100644 --- a/pkgs/by-name/li/libxrender/package.nix +++ b/pkgs/by-name/li/libxrender/package.nix @@ -10,7 +10,7 @@ }: stdenv.mkDerivation (finalAttrs: { pname = "libxrender"; - version = "0.9.12"; + version = "0.9.13"; outputs = [ "out" @@ -20,7 +20,7 @@ stdenv.mkDerivation (finalAttrs: { src = fetchurl { url = "mirror://xorg/individual/lib/libXrender-${finalAttrs.version}.tar.xz"; - hash = "sha256-uDISjaSLOcjWCCJEgXQ0A60Wkb9OVU5L6cF03xcdG5c="; + hash = "sha256-P+iMYJ32eC4eevLk3jayVj1wzXD/fcsc2lYa1kkSu2Q="; }; strictDeps = true; From 5d2c65599e7dfce43ec7a5763bddc49d5a75d57a Mon Sep 17 00:00:00 2001 From: whoomee Date: Fri, 16 Oct 2026 23:18:29 +0200 Subject: [PATCH 0419/2378] libxpm: 3.5.19 -> 3.5.20 --- pkgs/by-name/li/libxpm/package.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/by-name/li/libxpm/package.nix b/pkgs/by-name/li/libxpm/package.nix index 09336f30f930..53449eb7aeea 100644 --- a/pkgs/by-name/li/libxpm/package.nix +++ b/pkgs/by-name/li/libxpm/package.nix @@ -15,7 +15,7 @@ }: stdenv.mkDerivation (finalAttrs: { pname = "libxpm"; - version = "3.5.19"; + version = "3.5.20"; outputs = [ "bin" @@ -25,7 +25,7 @@ stdenv.mkDerivation (finalAttrs: { src = fetchurl { url = "mirror://xorg/individual/lib/libXpm-${finalAttrs.version}.tar.xz"; - hash = "sha256-rTV21okiGjncco8ODcAsp7tqDXJMmnf9G/oemvg76QA="; + hash = "sha256-wGTq0D5N3niv3rEh/gtkTSXFUERM+QP73FN/Gnjz73Q="; }; strictDeps = true; From a107f0bec3c7af4c37b3e67ec3442a7f1118d323 Mon Sep 17 00:00:00 2001 From: whoomee Date: Fri, 16 Oct 2026 23:19:23 +0200 Subject: [PATCH 0420/2378] libxtst: 1.2.5 -> 1.2.6 --- pkgs/by-name/li/libxtst/package.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/by-name/li/libxtst/package.nix b/pkgs/by-name/li/libxtst/package.nix index 6cd9ababca26..64a7a683d3b6 100644 --- a/pkgs/by-name/li/libxtst/package.nix +++ b/pkgs/by-name/li/libxtst/package.nix @@ -12,11 +12,11 @@ }: stdenv.mkDerivation (finalAttrs: { pname = "libxtst"; - version = "1.2.5"; + version = "1.2.6"; src = fetchurl { url = "mirror://xorg/individual/lib/libXtst-${finalAttrs.version}.tar.xz"; - hash = "sha256-tQ1MJblwCadEcGwQOcWY9NjmSRDJ/eOBmU4criNdkkI="; + hash = "sha256-+U8LN8B9gNh38+2iwkBcx+YqqYQvYxA1SqNJ49ZqT+U="; }; strictDeps = true; From 4355ec72805b8b4436cddcf229345a87fb804678 Mon Sep 17 00:00:00 2001 From: Antoine du Hamel Date: Fri, 16 Oct 2026 23:45:08 +0200 Subject: [PATCH 0421/2378] uvwasi: fix pkg-config integration --- pkgs/by-name/uv/uvwasi/package.nix | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/pkgs/by-name/uv/uvwasi/package.nix b/pkgs/by-name/uv/uvwasi/package.nix index c3b85b5c8308..8a215220159a 100644 --- a/pkgs/by-name/uv/uvwasi/package.nix +++ b/pkgs/by-name/uv/uvwasi/package.nix @@ -31,6 +31,10 @@ stdenv.mkDerivation (finalAttrs: { url = "https://github.com/nodejs/uvwasi/commit/0820128569533c855d60c0f6382acbb14aa62ad2.patch?full_index=1"; hash = "sha256-psjivoarqisOuCdVJAWuFH0aITzwb/obmal3ewVXvG4="; }) + (fetchpatch2 { + url = "https://github.com/nodejs/uvwasi/commit/fe602a6911207efd8dcfc070a752bcf76813c978.patch?full_index=1"; + hash = "sha256-MyFvRuEhcqZR+Bz2pY9vani8U1iyQrDeni2kKKnJGEI="; + }) ]; postPatch = lib.optionalString static '' substituteInPlace CMakeLists.txt --replace-fail 'TARGETS uvwasi_a uvwasi' 'TARGETS uvwasi_a' @@ -48,7 +52,7 @@ stdenv.mkDerivation (finalAttrs: { cmake validatePkgConfig ]; - buildInputs = [ + propagatedBuildInputs = [ libuv ]; From 0e98dc70fb60c392ba76c28bb63d162c3fdbcb0e Mon Sep 17 00:00:00 2001 From: rntpts Date: Wed, 14 Oct 2026 05:28:27 +0200 Subject: [PATCH 0422/2378] rustfmt: enable structuredAttrs --- pkgs/development/compilers/rust/rustfmt.nix | 2 ++ 1 file changed, 2 insertions(+) diff --git a/pkgs/development/compilers/rust/rustfmt.nix b/pkgs/development/compilers/rust/rustfmt.nix index 20707b693088..3fcac4ce2c08 100644 --- a/pkgs/development/compilers/rust/rustfmt.nix +++ b/pkgs/development/compilers/rust/rustfmt.nix @@ -12,6 +12,8 @@ rustPlatform.buildRustPackage { pname = "rustfmt" + lib.optionalString asNightly "-nightly"; inherit (rustc) version src; + __structuredAttrs = true; + # the rust source tarball already has all the dependencies vendored, no need to fetch them again cargoVendorDir = "vendor"; buildAndTestSubdir = "src/tools/rustfmt"; From 63ab0d49815bcb6a47333cc2c68e5bcf22a700e3 Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sat, 17 Oct 2026 01:05:21 +0200 Subject: [PATCH 0423/2378] libxtst: enable structuredAttrs --- pkgs/by-name/li/libxtst/package.nix | 2 ++ 1 file changed, 2 insertions(+) diff --git a/pkgs/by-name/li/libxtst/package.nix b/pkgs/by-name/li/libxtst/package.nix index 6cd9ababca26..0f612917a833 100644 --- a/pkgs/by-name/li/libxtst/package.nix +++ b/pkgs/by-name/li/libxtst/package.nix @@ -42,6 +42,8 @@ stdenv.mkDerivation (finalAttrs: { tests.pkg-config = testers.testMetaPkgConfig finalAttrs.finalPackage; }; + __structuredAttrs = true; + meta = { description = "Library for the XTEST and RECORD X11 extensions"; longDescription = '' From 0892da857b92a41afe590551b65877615542ba77 Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sat, 17 Oct 2026 01:07:24 +0200 Subject: [PATCH 0424/2378] libxpm: enable structuredAttrs --- pkgs/by-name/li/libxpm/package.nix | 2 ++ 1 file changed, 2 insertions(+) diff --git a/pkgs/by-name/li/libxpm/package.nix b/pkgs/by-name/li/libxpm/package.nix index 09336f30f930..0af528c401ab 100644 --- a/pkgs/by-name/li/libxpm/package.nix +++ b/pkgs/by-name/li/libxpm/package.nix @@ -52,6 +52,8 @@ stdenv.mkDerivation (finalAttrs: { XPM_PATH_UNCOMPRESS = lib.makeBinPath [ gzip ]; }; + __structuredAttrs = true; + passthru = { updateScript = writeScript "update-${finalAttrs.pname}" '' #!/usr/bin/env nix-shell From daa53f8710d144f556949b86fad2661ce6de8840 Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sat, 17 Oct 2026 01:10:25 +0200 Subject: [PATCH 0425/2378] libxrender: enable structuredAttrs --- pkgs/by-name/li/libxrender/package.nix | 2 ++ 1 file changed, 2 insertions(+) diff --git a/pkgs/by-name/li/libxrender/package.nix b/pkgs/by-name/li/libxrender/package.nix index c60e5ddc6e30..13ba248c0004 100644 --- a/pkgs/by-name/li/libxrender/package.nix +++ b/pkgs/by-name/li/libxrender/package.nix @@ -53,6 +53,8 @@ stdenv.mkDerivation (finalAttrs: { tests.pkg-config = testers.testMetaPkgConfig finalAttrs.finalPackage; }; + __structuredAttrs = true; + meta = { description = "Xlib library for the Render Extension to the X11 protocol"; homepage = "https://gitlab.freedesktop.org/xorg/lib/libxrender"; From 5b2601cc13dd3ea92e24f3d7946120968a956a01 Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sat, 17 Oct 2026 01:12:30 +0200 Subject: [PATCH 0426/2378] libxi: enable structuredAttrs --- pkgs/by-name/li/libxi/package.nix | 2 ++ 1 file changed, 2 insertions(+) diff --git a/pkgs/by-name/li/libxi/package.nix b/pkgs/by-name/li/libxi/package.nix index 0475ba395175..79b8cce71e31 100644 --- a/pkgs/by-name/li/libxi/package.nix +++ b/pkgs/by-name/li/libxi/package.nix @@ -61,6 +61,8 @@ stdenv.mkDerivation (finalAttrs: { tests.pkg-config = testers.testMetaPkgConfig finalAttrs.finalPackage; }; + __structuredAttrs = true; + meta = { description = "library for the X Input Extension"; homepage = "https://gitlab.freedesktop.org/xorg/lib/libxi"; From 4432d0f511d7b483c128d91430f9d25666e05a3b Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sat, 17 Oct 2026 01:26:37 +0200 Subject: [PATCH 0427/2378] libx11: enable structuredAttrs --- pkgs/by-name/li/libx11/package.nix | 2 ++ 1 file changed, 2 insertions(+) diff --git a/pkgs/by-name/li/libx11/package.nix b/pkgs/by-name/li/libx11/package.nix index aaf77bf3a701..7204cb9ce79a 100644 --- a/pkgs/by-name/li/libx11/package.nix +++ b/pkgs/by-name/li/libx11/package.nix @@ -75,6 +75,8 @@ stdenv.mkDerivation (finalAttrs: { tests.pkg-config = testers.testMetaPkgConfig finalAttrs.finalPackage; }; + __structuredAttrs = true; + meta = { description = "Core X11 protocol client library (aka \"Xlib\")"; homepage = "https://gitlab.freedesktop.org/xorg/lib/libx11"; From 5f1e42b69f0fe8c44c46523415099542d09a555d Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sat, 17 Oct 2026 01:34:50 +0200 Subject: [PATCH 0428/2378] cargo-nextest: enable structuredAttrs --- pkgs/by-name/ca/cargo-nextest/package.nix | 2 ++ 1 file changed, 2 insertions(+) diff --git a/pkgs/by-name/ca/cargo-nextest/package.nix b/pkgs/by-name/ca/cargo-nextest/package.nix index 87e87ae548e8..6284a7f49998 100644 --- a/pkgs/by-name/ca/cargo-nextest/package.nix +++ b/pkgs/by-name/ca/cargo-nextest/package.nix @@ -42,6 +42,8 @@ rustPlatform.buildRustPackage (finalAttrs: { extraArgs = [ "--version-regex=^cargo-nextest-([0-9.]+)$" ]; }; + __structuredAttrs = true; + meta = { description = "Next-generation test runner for Rust projects"; mainProgram = "cargo-nextest"; From 2019f96be192e19a4499121a639d888f54aaebcb Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sat, 17 Oct 2026 01:38:09 +0200 Subject: [PATCH 0429/2378] chromaprint: enable strictDeps --- pkgs/by-name/ch/chromaprint/package.nix | 2 ++ 1 file changed, 2 insertions(+) diff --git a/pkgs/by-name/ch/chromaprint/package.nix b/pkgs/by-name/ch/chromaprint/package.nix index 5c437790af35..9ffaf7bc9aec 100644 --- a/pkgs/by-name/ch/chromaprint/package.nix +++ b/pkgs/by-name/ch/chromaprint/package.nix @@ -37,6 +37,8 @@ stdenv.mkDerivation (finalAttrs: { zlib ]; + strictDeps = true; + # with trivialautovarinit enabled can produce an empty .pc file hardeningDisable = [ "trivialautovarinit" ]; From d8a9a4893f43d2cfe36a055f33c1dd61466e3a7a Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sat, 17 Oct 2026 01:38:19 +0200 Subject: [PATCH 0430/2378] chromaprint: enable structuredAttrs --- pkgs/by-name/ch/chromaprint/package.nix | 2 ++ 1 file changed, 2 insertions(+) diff --git a/pkgs/by-name/ch/chromaprint/package.nix b/pkgs/by-name/ch/chromaprint/package.nix index 9ffaf7bc9aec..8e21d70ce3cc 100644 --- a/pkgs/by-name/ch/chromaprint/package.nix +++ b/pkgs/by-name/ch/chromaprint/package.nix @@ -76,6 +76,8 @@ stdenv.mkDerivation (finalAttrs: { runHook postCheck ''; + __structuredAttrs = true; + meta = { changelog = "https://github.com/acoustid/chromaprint/releases/tag/v${finalAttrs.version}"; homepage = "https://acoustid.org/chromaprint"; From 8725c9ed02bd2439d0413005722dd68851253ffb Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 22:48:34 +0200 Subject: [PATCH 0431/2378] python3Packages.accelerate: remove redundant structuredAttrs --- pkgs/development/python-modules/accelerate/default.nix | 1 - 1 file changed, 1 deletion(-) diff --git a/pkgs/development/python-modules/accelerate/default.nix b/pkgs/development/python-modules/accelerate/default.nix index 6b4da9b5542a..8e0ba0aa790e 100644 --- a/pkgs/development/python-modules/accelerate/default.nix +++ b/pkgs/development/python-modules/accelerate/default.nix @@ -33,7 +33,6 @@ buildPythonPackage (finalAttrs: { pname = "accelerate"; version = "1.14.0"; pyproject = true; - __structuredAttrs = true; src = fetchFromGitHub { owner = "huggingface"; From c281d66b58b4ebba1e79c19cd6fe25f54d9c113a Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 22:48:37 +0200 Subject: [PATCH 0432/2378] python3Packages.adbc-driver-flightsql: remove redundant structuredAttrs --- .../development/python-modules/adbc-driver-flightsql/default.nix | 1 - 1 file changed, 1 deletion(-) diff --git a/pkgs/development/python-modules/adbc-driver-flightsql/default.nix b/pkgs/development/python-modules/adbc-driver-flightsql/default.nix index 703d2fca23b3..f4da584a9d49 100644 --- a/pkgs/development/python-modules/adbc-driver-flightsql/default.nix +++ b/pkgs/development/python-modules/adbc-driver-flightsql/default.nix @@ -17,7 +17,6 @@ buildPythonPackage (finalAttrs: { pname = "adbc-driver-flightsql"; version = "1.12.0"; pyproject = true; - __structuredAttrs = true; src = fetchPypi { pname = "adbc_driver_flightsql"; From d168a11bf9bc9235612db59d3db20a1b74059f68 Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 22:48:38 +0200 Subject: [PATCH 0433/2378] python3Packages.adbc-driver-manager: remove redundant structuredAttrs --- pkgs/development/python-modules/adbc-driver-manager/default.nix | 1 - 1 file changed, 1 deletion(-) diff --git a/pkgs/development/python-modules/adbc-driver-manager/default.nix b/pkgs/development/python-modules/adbc-driver-manager/default.nix index ed21dc6d28c1..bc29677284ed 100644 --- a/pkgs/development/python-modules/adbc-driver-manager/default.nix +++ b/pkgs/development/python-modules/adbc-driver-manager/default.nix @@ -15,7 +15,6 @@ buildPythonPackage (finalAttrs: { pname = "adbc-driver-manager"; version = "1.12.0"; pyproject = true; - __structuredAttrs = true; src = fetchPypi { pname = "adbc_driver_manager"; From 84cd162fb9db45fe5525a8678090bf6ac17d5e9c Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 22:48:38 +0200 Subject: [PATCH 0434/2378] python3Packages.adbc-driver-postgresql: remove redundant structuredAttrs --- .../python-modules/adbc-driver-postgresql/default.nix | 1 - 1 file changed, 1 deletion(-) diff --git a/pkgs/development/python-modules/adbc-driver-postgresql/default.nix b/pkgs/development/python-modules/adbc-driver-postgresql/default.nix index adb2dbf1f4be..03f0de9cc313 100644 --- a/pkgs/development/python-modules/adbc-driver-postgresql/default.nix +++ b/pkgs/development/python-modules/adbc-driver-postgresql/default.nix @@ -17,7 +17,6 @@ buildPythonPackage (finalAttrs: { pname = "adbc-driver-postgresql"; version = "1.12.0"; pyproject = true; - __structuredAttrs = true; src = fetchPypi { pname = "adbc_driver_postgresql"; From 677995bebe3d696acdf6038e79d3ee6794b5fffe Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 22:48:38 +0200 Subject: [PATCH 0435/2378] python3Packages.adbc-driver-sqlite: remove redundant structuredAttrs --- pkgs/development/python-modules/adbc-driver-sqlite/default.nix | 1 - 1 file changed, 1 deletion(-) diff --git a/pkgs/development/python-modules/adbc-driver-sqlite/default.nix b/pkgs/development/python-modules/adbc-driver-sqlite/default.nix index 2ff8a655d5f8..7d12834f1d49 100644 --- a/pkgs/development/python-modules/adbc-driver-sqlite/default.nix +++ b/pkgs/development/python-modules/adbc-driver-sqlite/default.nix @@ -22,7 +22,6 @@ buildPythonPackage (finalAttrs: { pname = "adbc-driver-sqlite"; version = "1.12.0"; pyproject = true; - __structuredAttrs = true; src = fetchPypi { pname = "adbc_driver_sqlite"; From ef3b079c6fb51e59c189206a90d5d0aecf2630cc Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 22:48:38 +0200 Subject: [PATCH 0436/2378] python3Packages.adbutils: remove redundant structuredAttrs --- pkgs/development/python-modules/adbutils/default.nix | 1 - 1 file changed, 1 deletion(-) diff --git a/pkgs/development/python-modules/adbutils/default.nix b/pkgs/development/python-modules/adbutils/default.nix index 61787192397b..b19efa2e5758 100644 --- a/pkgs/development/python-modules/adbutils/default.nix +++ b/pkgs/development/python-modules/adbutils/default.nix @@ -16,7 +16,6 @@ buildPythonPackage (finalAttrs: { pname = "adbutils"; version = "2.12.0"; pyproject = true; - __structuredAttrs = true; src = fetchFromGitHub { owner = "openatx"; From c5ac300cce916361c8beae81c633ddec5048cfd7 Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 22:48:39 +0200 Subject: [PATCH 0437/2378] python3Packages.adsbcot: remove redundant structuredAttrs --- pkgs/development/python-modules/adsbcot/default.nix | 1 - 1 file changed, 1 deletion(-) diff --git a/pkgs/development/python-modules/adsbcot/default.nix b/pkgs/development/python-modules/adsbcot/default.nix index 2d58a591b977..10eecfa5ba0a 100644 --- a/pkgs/development/python-modules/adsbcot/default.nix +++ b/pkgs/development/python-modules/adsbcot/default.nix @@ -14,7 +14,6 @@ buildPythonPackage (finalAttrs: { pname = "adsbcot"; version = "9.0.1"; pyproject = true; - __structuredAttrs = true; src = fetchFromGitHub { owner = "snstac"; From d07172fd5958f6b1dc1f5a2ef6d231f154d15052 Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 22:48:39 +0200 Subject: [PATCH 0438/2378] python3Packages.agent-client-protocol: remove redundant structuredAttrs --- .../development/python-modules/agent-client-protocol/default.nix | 1 - 1 file changed, 1 deletion(-) diff --git a/pkgs/development/python-modules/agent-client-protocol/default.nix b/pkgs/development/python-modules/agent-client-protocol/default.nix index be7a56f36f30..3a1703ce8557 100644 --- a/pkgs/development/python-modules/agent-client-protocol/default.nix +++ b/pkgs/development/python-modules/agent-client-protocol/default.nix @@ -25,7 +25,6 @@ buildPythonPackage (finalAttrs: { pname = "agent-client-protocol"; version = "0.12.1"; pyproject = true; - __structuredAttrs = true; src = fetchFromGitHub { owner = "agentclientprotocol"; From 2531f2324be06a020c311e1afc6945900a343f2c Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 22:48:39 +0200 Subject: [PATCH 0439/2378] python3Packages.aiofile: remove redundant structuredAttrs --- pkgs/development/python-modules/aiofile/default.nix | 1 - 1 file changed, 1 deletion(-) diff --git a/pkgs/development/python-modules/aiofile/default.nix b/pkgs/development/python-modules/aiofile/default.nix index f411ba9b5842..dd90317a813d 100644 --- a/pkgs/development/python-modules/aiofile/default.nix +++ b/pkgs/development/python-modules/aiofile/default.nix @@ -19,7 +19,6 @@ buildPythonPackage (finalAttrs: { pname = "aiofile"; version = "3.12.3"; pyproject = true; - __structuredAttrs = true; src = fetchFromGitHub { owner = "mosquito"; From 0a14bbf8cffefe750d2b6216f1c861076aa54a69 Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 22:48:40 +0200 Subject: [PATCH 0440/2378] python3Packages.aiohomematic: remove redundant structuredAttrs --- pkgs/development/python-modules/aiohomematic/default.nix | 1 - 1 file changed, 1 deletion(-) diff --git a/pkgs/development/python-modules/aiohomematic/default.nix b/pkgs/development/python-modules/aiohomematic/default.nix index 4b342ee50189..ef1625dce271 100644 --- a/pkgs/development/python-modules/aiohomematic/default.nix +++ b/pkgs/development/python-modules/aiohomematic/default.nix @@ -21,7 +21,6 @@ buildPythonPackage (finalAttrs: { pname = "aiohomematic"; version = "2026.10.5"; pyproject = true; - __structuredAttrs = true; disabled = pythonOlder "3.14"; From 245cc5fea63737a12c1767c40afb0e5d322fbaea Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 22:48:40 +0200 Subject: [PATCH 0441/2378] python3Packages.aiomysql: remove redundant structuredAttrs --- pkgs/development/python-modules/aiomysql/default.nix | 1 - 1 file changed, 1 deletion(-) diff --git a/pkgs/development/python-modules/aiomysql/default.nix b/pkgs/development/python-modules/aiomysql/default.nix index 57ec0b009e41..28c0c54df699 100644 --- a/pkgs/development/python-modules/aiomysql/default.nix +++ b/pkgs/development/python-modules/aiomysql/default.nix @@ -15,7 +15,6 @@ buildPythonPackage (finalAttrs: { pname = "aiomysql"; version = "0.3.2"; pyproject = true; - __structuredAttrs = true; src = fetchFromGitHub { owner = "aio-libs"; From 930626591a1c03c2c572c5b1a2ea089ea3320a2d Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 22:48:40 +0200 Subject: [PATCH 0442/2378] python3Packages.aioredis: remove redundant structuredAttrs --- pkgs/development/python-modules/aioredis/default.nix | 2 -- 1 file changed, 2 deletions(-) diff --git a/pkgs/development/python-modules/aioredis/default.nix b/pkgs/development/python-modules/aioredis/default.nix index 3ad6b3966487..f70e9658d03e 100644 --- a/pkgs/development/python-modules/aioredis/default.nix +++ b/pkgs/development/python-modules/aioredis/default.nix @@ -15,8 +15,6 @@ buildPythonPackage (finalAttrs: { version = "2.0.1"; pyproject = true; - __structuredAttrs = true; - src = fetchPypi { inherit (finalAttrs) pname version; hash = "sha256-6qUar5k/LXH1S3BSfEQEN7plNAWIr+t4bNh8Vcic2Y4="; From 839a5fbe740b0ef393a27afa1af3c8b1cdecfc9e Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 22:48:40 +0200 Subject: [PATCH 0443/2378] python3Packages.aiosmtplib: remove redundant structuredAttrs --- pkgs/development/python-modules/aiosmtplib/default.nix | 1 - 1 file changed, 1 deletion(-) diff --git a/pkgs/development/python-modules/aiosmtplib/default.nix b/pkgs/development/python-modules/aiosmtplib/default.nix index 523cec381f7c..e5b5aa77dc67 100644 --- a/pkgs/development/python-modules/aiosmtplib/default.nix +++ b/pkgs/development/python-modules/aiosmtplib/default.nix @@ -18,7 +18,6 @@ buildPythonPackage (finalAttrs: { pname = "aiosmtplib"; version = "5.1.3"; pyproject = true; - __structuredAttrs = true; src = fetchFromGitHub { owner = "cole"; From 25539cf395a23364973e9e894a449fdc2601392a Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 22:48:41 +0200 Subject: [PATCH 0444/2378] python3Packages.aiospinel: remove redundant structuredAttrs --- pkgs/development/python-modules/aiospinel/default.nix | 2 -- 1 file changed, 2 deletions(-) diff --git a/pkgs/development/python-modules/aiospinel/default.nix b/pkgs/development/python-modules/aiospinel/default.nix index 1e5156451762..11d1f7b7d2f2 100644 --- a/pkgs/development/python-modules/aiospinel/default.nix +++ b/pkgs/development/python-modules/aiospinel/default.nix @@ -43,8 +43,6 @@ buildPythonPackage (finalAttrs: { "aiospinel" ]; - __structuredAttrs = true; - meta = { description = "Asyncio implementation of the Spinel protocol used to communicate with OpenThread RCPs over a serial connection"; homepage = "https://github.com/home-assistant-libs/aiospinel"; From 3c7f007ab9faa0308d4adc86cda6c5b89f58edd6 Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 22:48:41 +0200 Subject: [PATCH 0445/2378] python3Packages.aiothreads: remove redundant structuredAttrs --- pkgs/development/python-modules/aiothreads/default.nix | 2 -- 1 file changed, 2 deletions(-) diff --git a/pkgs/development/python-modules/aiothreads/default.nix b/pkgs/development/python-modules/aiothreads/default.nix index c3ab811f4adb..9f1f6f7ed106 100644 --- a/pkgs/development/python-modules/aiothreads/default.nix +++ b/pkgs/development/python-modules/aiothreads/default.nix @@ -16,8 +16,6 @@ buildPythonPackage (finalAttrs: { version = "1.1.1"; pyproject = true; - __structuredAttrs = true; - src = fetchFromGitHub { owner = "mosquito"; repo = "aiothreads"; From e4ddb0a6dd10fe6f83a732c86b0b751c8dd2d375 Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 22:48:41 +0200 Subject: [PATCH 0446/2378] python3Packages.aiovban-pyaudio: remove redundant structuredAttrs --- pkgs/development/python-modules/aiovban-pyaudio/default.nix | 2 -- 1 file changed, 2 deletions(-) diff --git a/pkgs/development/python-modules/aiovban-pyaudio/default.nix b/pkgs/development/python-modules/aiovban-pyaudio/default.nix index d4d74d872661..a246719cbe0c 100644 --- a/pkgs/development/python-modules/aiovban-pyaudio/default.nix +++ b/pkgs/development/python-modules/aiovban-pyaudio/default.nix @@ -32,8 +32,6 @@ buildPythonPackage (finalAttrs: { ]; }; - __structuredAttrs = true; - meta = { changelog = "https://github.com/wmbest2/aiovban/releases/tag/${finalAttrs.src.tag}"; description = "PyAudio wrapper for aiovban"; From 2a6521b80e7f1077e6a99f275b1cceb79f46ed0c Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 22:48:42 +0200 Subject: [PATCH 0447/2378] python3Packages.aircot: remove redundant structuredAttrs --- pkgs/development/python-modules/aircot/default.nix | 1 - 1 file changed, 1 deletion(-) diff --git a/pkgs/development/python-modules/aircot/default.nix b/pkgs/development/python-modules/aircot/default.nix index 9f08de388143..d22c3e876d92 100644 --- a/pkgs/development/python-modules/aircot/default.nix +++ b/pkgs/development/python-modules/aircot/default.nix @@ -10,7 +10,6 @@ buildPythonPackage (finalAttrs: { pname = "aircot"; version = "4.0.2"; pyproject = true; - __structuredAttrs = true; src = fetchFromGitHub { owner = "snstac"; From 2cac0e9d23e972db27de6cda9a5b9f5da7bb135f Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 22:48:42 +0200 Subject: [PATCH 0448/2378] python3Packages.airly: remove redundant structuredAttrs --- pkgs/development/python-modules/airly/default.nix | 2 -- 1 file changed, 2 deletions(-) diff --git a/pkgs/development/python-modules/airly/default.nix b/pkgs/development/python-modules/airly/default.nix index 2c14b7f96962..7d663e964173 100644 --- a/pkgs/development/python-modules/airly/default.nix +++ b/pkgs/development/python-modules/airly/default.nix @@ -15,8 +15,6 @@ buildPythonPackage (finalAttrs: { version = "1.1.0"; pyproject = true; - __structuredAttrs = true; - src = fetchFromGitHub { owner = "ak-ambi"; repo = "python-airly"; From 28415c010c403b45e66b40d040164d401b6f35cf Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 22:48:42 +0200 Subject: [PATCH 0449/2378] python3Packages.aiscot: remove redundant structuredAttrs --- pkgs/development/python-modules/aiscot/default.nix | 1 - 1 file changed, 1 deletion(-) diff --git a/pkgs/development/python-modules/aiscot/default.nix b/pkgs/development/python-modules/aiscot/default.nix index a3f5c4a03bf1..a1df69929e68 100644 --- a/pkgs/development/python-modules/aiscot/default.nix +++ b/pkgs/development/python-modules/aiscot/default.nix @@ -11,7 +11,6 @@ buildPythonPackage (finalAttrs: { pname = "aiscot"; version = "7.1.3"; pyproject = true; - __structuredAttrs = true; src = fetchFromGitHub { owner = "snstac"; From f26b38f87c34b8ee763f4174845aac7f6d8cc716 Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 22:48:42 +0200 Subject: [PATCH 0450/2378] python3Packages.aistore: remove redundant structuredAttrs --- pkgs/development/python-modules/aistore/default.nix | 1 - 1 file changed, 1 deletion(-) diff --git a/pkgs/development/python-modules/aistore/default.nix b/pkgs/development/python-modules/aistore/default.nix index 4abb04b2c0ad..c1935cce94db 100644 --- a/pkgs/development/python-modules/aistore/default.nix +++ b/pkgs/development/python-modules/aistore/default.nix @@ -44,7 +44,6 @@ buildPythonPackage (finalAttrs: { pname = "aistore"; version = "1.26.0"; pyproject = true; - __structuredAttrs = true; # Tags on GitHub do not match src = fetchPypi { From fb02701b5f962bb0c16e9c26433d02a2b06f35c1 Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 22:48:43 +0200 Subject: [PATCH 0451/2378] python3Packages.albucore: remove redundant structuredAttrs --- pkgs/development/python-modules/albucore/default.nix | 1 - 1 file changed, 1 deletion(-) diff --git a/pkgs/development/python-modules/albucore/default.nix b/pkgs/development/python-modules/albucore/default.nix index 7158b48c67a6..027047158c09 100644 --- a/pkgs/development/python-modules/albucore/default.nix +++ b/pkgs/development/python-modules/albucore/default.nix @@ -21,7 +21,6 @@ buildPythonPackage (finalAttrs: { pname = "albucore"; version = "0.2.4"; pyproject = true; - __structuredAttrs = true; src = fetchFromGitHub { owner = "albumentations-team"; From 6e6e9ab8407410a78d573e6d6faaf9f1c5b75dc3 Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 22:48:43 +0200 Subject: [PATCH 0452/2378] python3Packages.albumentationsx: remove redundant structuredAttrs --- pkgs/development/python-modules/albumentationsx/default.nix | 1 - 1 file changed, 1 deletion(-) diff --git a/pkgs/development/python-modules/albumentationsx/default.nix b/pkgs/development/python-modules/albumentationsx/default.nix index 9f0390968f30..41030b905845 100644 --- a/pkgs/development/python-modules/albumentationsx/default.nix +++ b/pkgs/development/python-modules/albumentationsx/default.nix @@ -39,7 +39,6 @@ buildPythonPackage (finalAttrs: { pname = "albumentationsx"; version = "2.3.3"; pyproject = true; - __structuredAttrs = true; src = fetchFromGitHub { owner = "albumentations-team"; From 5a41d2e237218d680c281a3bace968ef490b203f Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 22:48:43 +0200 Subject: [PATCH 0453/2378] python3Packages.ale-py: remove redundant structuredAttrs --- pkgs/development/python-modules/ale-py/default.nix | 1 - 1 file changed, 1 deletion(-) diff --git a/pkgs/development/python-modules/ale-py/default.nix b/pkgs/development/python-modules/ale-py/default.nix index 0711d50e8663..d76dd1024c30 100644 --- a/pkgs/development/python-modules/ale-py/default.nix +++ b/pkgs/development/python-modules/ale-py/default.nix @@ -34,7 +34,6 @@ buildPythonPackage (finalAttrs: { pname = "ale-py"; version = "0.12.1"; pyproject = true; - __structuredAttrs = true; src = fetchFromGitHub { owner = "Farama-Foundation"; From d5bf0ecf1ed2a81a510aa6e26cfd8759c2b0aeaf Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 22:48:44 +0200 Subject: [PATCH 0454/2378] python3Packages.alibabacloud-actiontrail20200706: remove redundant structuredAttrs --- .../python-modules/alibabacloud-actiontrail20200706/default.nix | 2 -- 1 file changed, 2 deletions(-) diff --git a/pkgs/development/python-modules/alibabacloud-actiontrail20200706/default.nix b/pkgs/development/python-modules/alibabacloud-actiontrail20200706/default.nix index 5482393be588..c2f92e235ccf 100644 --- a/pkgs/development/python-modules/alibabacloud-actiontrail20200706/default.nix +++ b/pkgs/development/python-modules/alibabacloud-actiontrail20200706/default.nix @@ -13,8 +13,6 @@ buildPythonPackage (finalAttrs: { version = "2.6.0"; pyproject = true; - __structuredAttrs = true; - src = fetchPypi { pname = "alibabacloud_actiontrail20200706"; inherit (finalAttrs) version; From beb2658a59efb76595ccc2090f6f737069a1d69c Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 22:48:44 +0200 Subject: [PATCH 0455/2378] python3Packages.alibabacloud-cs20151215: remove redundant structuredAttrs --- .../python-modules/alibabacloud-cs20151215/default.nix | 2 -- 1 file changed, 2 deletions(-) diff --git a/pkgs/development/python-modules/alibabacloud-cs20151215/default.nix b/pkgs/development/python-modules/alibabacloud-cs20151215/default.nix index acc68a5b2323..2f424cca61e5 100644 --- a/pkgs/development/python-modules/alibabacloud-cs20151215/default.nix +++ b/pkgs/development/python-modules/alibabacloud-cs20151215/default.nix @@ -12,8 +12,6 @@ buildPythonPackage (finalAttrs: { version = "7.2.0"; pyproject = true; - __structuredAttrs = true; - src = fetchPypi { pname = "alibabacloud_cs20151215"; inherit (finalAttrs) version; From 8615d64c21f0256a696d7acd87fb0d9c79f30c37 Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 22:48:44 +0200 Subject: [PATCH 0456/2378] python3Packages.alibabacloud-darabonba-array: remove redundant structuredAttrs --- .../python-modules/alibabacloud-darabonba-array/default.nix | 2 -- 1 file changed, 2 deletions(-) diff --git a/pkgs/development/python-modules/alibabacloud-darabonba-array/default.nix b/pkgs/development/python-modules/alibabacloud-darabonba-array/default.nix index fdef2c05d581..53b71878154f 100644 --- a/pkgs/development/python-modules/alibabacloud-darabonba-array/default.nix +++ b/pkgs/development/python-modules/alibabacloud-darabonba-array/default.nix @@ -10,8 +10,6 @@ buildPythonPackage (finalAttrs: { version = "0.1.0"; pyproject = true; - __structuredAttrs = true; - src = fetchPypi { pname = "alibabacloud_darabonba_array"; inherit (finalAttrs) version; From 6c8d8c4437db7f4d1967dd58f2947c7fdb8cb649 Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 22:48:44 +0200 Subject: [PATCH 0457/2378] python3Packages.alibabacloud-darabonba-encode-util: remove redundant structuredAttrs --- .../alibabacloud-darabonba-encode-util/default.nix | 2 -- 1 file changed, 2 deletions(-) diff --git a/pkgs/development/python-modules/alibabacloud-darabonba-encode-util/default.nix b/pkgs/development/python-modules/alibabacloud-darabonba-encode-util/default.nix index 5f20c5a8b646..470cf6d356ee 100644 --- a/pkgs/development/python-modules/alibabacloud-darabonba-encode-util/default.nix +++ b/pkgs/development/python-modules/alibabacloud-darabonba-encode-util/default.nix @@ -10,8 +10,6 @@ buildPythonPackage (finalAttrs: { version = "0.0.3"; pyproject = true; - __structuredAttrs = true; - src = fetchPypi { pname = "alibabacloud_darabonba_encode_util"; inherit (finalAttrs) version; From ed17d483af97277ffd2531e5038aa04aff978822 Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 22:48:45 +0200 Subject: [PATCH 0458/2378] python3Packages.alibabacloud-darabonba-map: remove redundant structuredAttrs --- .../python-modules/alibabacloud-darabonba-map/default.nix | 2 -- 1 file changed, 2 deletions(-) diff --git a/pkgs/development/python-modules/alibabacloud-darabonba-map/default.nix b/pkgs/development/python-modules/alibabacloud-darabonba-map/default.nix index 9f005664d0bb..edbb0a77f3bb 100644 --- a/pkgs/development/python-modules/alibabacloud-darabonba-map/default.nix +++ b/pkgs/development/python-modules/alibabacloud-darabonba-map/default.nix @@ -10,8 +10,6 @@ buildPythonPackage (finalAttrs: { version = "0.0.1"; pyproject = true; - __structuredAttrs = true; - src = fetchPypi { pname = "alibabacloud_darabonba_map"; inherit (finalAttrs) version; From 17b392cbe70c62cef4acbbb490e2d7293f5834bf Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 22:48:45 +0200 Subject: [PATCH 0459/2378] python3Packages.alibabacloud-darabonba-signature-util: remove redundant structuredAttrs --- .../alibabacloud-darabonba-signature-util/default.nix | 2 -- 1 file changed, 2 deletions(-) diff --git a/pkgs/development/python-modules/alibabacloud-darabonba-signature-util/default.nix b/pkgs/development/python-modules/alibabacloud-darabonba-signature-util/default.nix index 51abf003111a..3c7340ab2dde 100644 --- a/pkgs/development/python-modules/alibabacloud-darabonba-signature-util/default.nix +++ b/pkgs/development/python-modules/alibabacloud-darabonba-signature-util/default.nix @@ -11,8 +11,6 @@ buildPythonPackage (finalAttrs: { version = "0.0.4"; pyproject = true; - __structuredAttrs = true; - src = fetchPypi { pname = "alibabacloud_darabonba_signature_util"; inherit (finalAttrs) version; From e4cfb60c18b74107b6815dfcadbcde86569c6345 Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 22:48:45 +0200 Subject: [PATCH 0460/2378] python3Packages.alibabacloud-darabonba-string: remove redundant structuredAttrs --- .../python-modules/alibabacloud-darabonba-string/default.nix | 2 -- 1 file changed, 2 deletions(-) diff --git a/pkgs/development/python-modules/alibabacloud-darabonba-string/default.nix b/pkgs/development/python-modules/alibabacloud-darabonba-string/default.nix index d23204c52fda..57a698ae13ab 100644 --- a/pkgs/development/python-modules/alibabacloud-darabonba-string/default.nix +++ b/pkgs/development/python-modules/alibabacloud-darabonba-string/default.nix @@ -10,8 +10,6 @@ buildPythonPackage (finalAttrs: { version = "0.0.4"; pyproject = true; - __structuredAttrs = true; - src = fetchPypi { inherit (finalAttrs) version pname; hash = "sha256-7GYUwESNrcvF5GZIWDih+M/dkRE1vqc54gsUURJwxvc="; From 3d2289a12b283acf391bcaa984f6657334f60763 Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 22:48:46 +0200 Subject: [PATCH 0461/2378] python3Packages.alibabacloud-darabonba-time: remove redundant structuredAttrs --- .../python-modules/alibabacloud-darabonba-time/default.nix | 2 -- 1 file changed, 2 deletions(-) diff --git a/pkgs/development/python-modules/alibabacloud-darabonba-time/default.nix b/pkgs/development/python-modules/alibabacloud-darabonba-time/default.nix index 6c4c0b0096cf..c9ec5b84dffc 100644 --- a/pkgs/development/python-modules/alibabacloud-darabonba-time/default.nix +++ b/pkgs/development/python-modules/alibabacloud-darabonba-time/default.nix @@ -10,8 +10,6 @@ buildPythonPackage (finalAttrs: { version = "0.0.1"; pyproject = true; - __structuredAttrs = true; - src = fetchPypi { pname = "alibabacloud_darabonba_time"; inherit (finalAttrs) version; From 63cca326c715f3614370d446fee7bdea88e8f007 Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 22:48:46 +0200 Subject: [PATCH 0462/2378] python3Packages.alibabacloud-ecs20140526: remove redundant structuredAttrs --- .../python-modules/alibabacloud-ecs20140526/default.nix | 2 -- 1 file changed, 2 deletions(-) diff --git a/pkgs/development/python-modules/alibabacloud-ecs20140526/default.nix b/pkgs/development/python-modules/alibabacloud-ecs20140526/default.nix index b60b79a4b5d3..206eb06e57c0 100644 --- a/pkgs/development/python-modules/alibabacloud-ecs20140526/default.nix +++ b/pkgs/development/python-modules/alibabacloud-ecs20140526/default.nix @@ -12,8 +12,6 @@ buildPythonPackage (finalAttrs: { version = "7.11.6"; pyproject = true; - __structuredAttrs = true; - src = fetchPypi { pname = "alibabacloud_ecs20140526"; inherit (finalAttrs) version; From 32194b1d99238b2e7f4dec4f774d915c081c430f Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 22:48:46 +0200 Subject: [PATCH 0463/2378] python3Packages.alibabacloud-gateway-oss-util: remove redundant structuredAttrs --- .../python-modules/alibabacloud-gateway-oss-util/default.nix | 2 -- 1 file changed, 2 deletions(-) diff --git a/pkgs/development/python-modules/alibabacloud-gateway-oss-util/default.nix b/pkgs/development/python-modules/alibabacloud-gateway-oss-util/default.nix index 508fa9515da4..700dc8a371d7 100644 --- a/pkgs/development/python-modules/alibabacloud-gateway-oss-util/default.nix +++ b/pkgs/development/python-modules/alibabacloud-gateway-oss-util/default.nix @@ -10,8 +10,6 @@ buildPythonPackage (finalAttrs: { version = "0.0.13"; pyproject = true; - __structuredAttrs = true; - src = fetchPypi { pname = "alibabacloud_gateway_oss_util"; inherit (finalAttrs) version; From d8a0271f4ea74eb41a18a722bfc3943a17e11fa9 Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 22:48:46 +0200 Subject: [PATCH 0464/2378] python3Packages.alibabacloud-gateway-oss: remove redundant structuredAttrs --- .../python-modules/alibabacloud-gateway-oss/default.nix | 2 -- 1 file changed, 2 deletions(-) diff --git a/pkgs/development/python-modules/alibabacloud-gateway-oss/default.nix b/pkgs/development/python-modules/alibabacloud-gateway-oss/default.nix index 4e3df395d334..8af2f058f562 100644 --- a/pkgs/development/python-modules/alibabacloud-gateway-oss/default.nix +++ b/pkgs/development/python-modules/alibabacloud-gateway-oss/default.nix @@ -23,8 +23,6 @@ buildPythonPackage (finalAttrs: { version = "0.0.29"; pyproject = true; - __structuredAttrs = true; - src = fetchPypi { pname = "alibabacloud_gateway_oss"; inherit (finalAttrs) version; From 42c2fb709b626cf4d091d2909023c280faf5887f Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 22:48:47 +0200 Subject: [PATCH 0465/2378] python3Packages.alibabacloud-gateway-sls-util: remove redundant structuredAttrs --- .../python-modules/alibabacloud-gateway-sls-util/default.nix | 2 -- 1 file changed, 2 deletions(-) diff --git a/pkgs/development/python-modules/alibabacloud-gateway-sls-util/default.nix b/pkgs/development/python-modules/alibabacloud-gateway-sls-util/default.nix index 21566831604b..88b499cabced 100644 --- a/pkgs/development/python-modules/alibabacloud-gateway-sls-util/default.nix +++ b/pkgs/development/python-modules/alibabacloud-gateway-sls-util/default.nix @@ -13,8 +13,6 @@ buildPythonPackage (finalAttrs: { version = "0.4.1"; pyproject = true; - __structuredAttrs = true; - src = fetchPypi { pname = "alibabacloud_gateway_sls_util"; inherit (finalAttrs) version; From 0d85b3392fc7142965ebad7aea43ec1f47a695ea Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 22:48:47 +0200 Subject: [PATCH 0466/2378] python3Packages.alibabacloud-gateway-sls: remove redundant structuredAttrs --- .../python-modules/alibabacloud-gateway-sls/default.nix | 2 -- 1 file changed, 2 deletions(-) diff --git a/pkgs/development/python-modules/alibabacloud-gateway-sls/default.nix b/pkgs/development/python-modules/alibabacloud-gateway-sls/default.nix index d97e0b43c31e..a7bccf531da0 100644 --- a/pkgs/development/python-modules/alibabacloud-gateway-sls/default.nix +++ b/pkgs/development/python-modules/alibabacloud-gateway-sls/default.nix @@ -19,8 +19,6 @@ buildPythonPackage (finalAttrs: { version = "0.4.2"; pyproject = true; - __structuredAttrs = true; - src = fetchPypi { pname = "alibabacloud_gateway_sls"; inherit (finalAttrs) version; From d92c8c1d0b4d1e6ac236ff0c4a1765ae2e58bed3 Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 22:48:47 +0200 Subject: [PATCH 0467/2378] python3Packages.alibabacloud-gateway-spi: remove redundant structuredAttrs --- .../python-modules/alibabacloud-gateway-spi/default.nix | 2 -- 1 file changed, 2 deletions(-) diff --git a/pkgs/development/python-modules/alibabacloud-gateway-spi/default.nix b/pkgs/development/python-modules/alibabacloud-gateway-spi/default.nix index eaeca6fb43a8..ff513166e549 100644 --- a/pkgs/development/python-modules/alibabacloud-gateway-spi/default.nix +++ b/pkgs/development/python-modules/alibabacloud-gateway-spi/default.nix @@ -11,8 +11,6 @@ buildPythonPackage (finalAttrs: { version = "0.0.4"; pyproject = true; - __structuredAttrs = true; - src = fetchPypi { pname = "alibabacloud_gateway_spi"; inherit (finalAttrs) version; From e26afaa6be3a145bd198d7201660274c12aa21ec Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 22:48:48 +0200 Subject: [PATCH 0468/2378] python3Packages.alibabacloud-oss-util: remove redundant structuredAttrs --- .../python-modules/alibabacloud-oss-util/default.nix | 2 -- 1 file changed, 2 deletions(-) diff --git a/pkgs/development/python-modules/alibabacloud-oss-util/default.nix b/pkgs/development/python-modules/alibabacloud-oss-util/default.nix index 3e792fd07dec..f1f49804f2ba 100644 --- a/pkgs/development/python-modules/alibabacloud-oss-util/default.nix +++ b/pkgs/development/python-modules/alibabacloud-oss-util/default.nix @@ -11,8 +11,6 @@ buildPythonPackage (finalAttrs: { version = "0.0.6"; pyproject = true; - __structuredAttrs = true; - src = fetchPypi { pname = "alibabacloud_oss_util"; inherit (finalAttrs) version; From 0d456f8f5a45e139d3b420f9295e1b9ef9f5e5af Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 22:48:48 +0200 Subject: [PATCH 0469/2378] python3Packages.alibabacloud-oss20190517: remove redundant structuredAttrs --- .../python-modules/alibabacloud-oss20190517/default.nix | 2 -- 1 file changed, 2 deletions(-) diff --git a/pkgs/development/python-modules/alibabacloud-oss20190517/default.nix b/pkgs/development/python-modules/alibabacloud-oss20190517/default.nix index d1d8f72b3e16..5a43a6ce7b71 100644 --- a/pkgs/development/python-modules/alibabacloud-oss20190517/default.nix +++ b/pkgs/development/python-modules/alibabacloud-oss20190517/default.nix @@ -15,8 +15,6 @@ buildPythonPackage (finalAttrs: { version = "1.0.6"; pyproject = true; - __structuredAttrs = true; - src = fetchPypi { pname = "alibabacloud_oss20190517"; inherit (finalAttrs) version; From 3ab4814779dd9eb44f4ca34a7481ee10af8fa4a4 Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 22:48:48 +0200 Subject: [PATCH 0470/2378] python3Packages.alibabacloud-ram20150501: remove redundant structuredAttrs --- .../python-modules/alibabacloud-ram20150501/default.nix | 2 -- 1 file changed, 2 deletions(-) diff --git a/pkgs/development/python-modules/alibabacloud-ram20150501/default.nix b/pkgs/development/python-modules/alibabacloud-ram20150501/default.nix index 98b43d74dfc6..e8d40f0a9cdd 100644 --- a/pkgs/development/python-modules/alibabacloud-ram20150501/default.nix +++ b/pkgs/development/python-modules/alibabacloud-ram20150501/default.nix @@ -14,8 +14,6 @@ buildPythonPackage (finalAttrs: { version = "1.3.0"; pyproject = true; - __structuredAttrs = true; - src = fetchPypi { pname = "alibabacloud_ram20150501"; inherit (finalAttrs) version; From 399f5346a00aa77bcb564c0cc04ae869822bf159 Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 22:48:48 +0200 Subject: [PATCH 0471/2378] python3Packages.alibabacloud-rds20140815: remove redundant structuredAttrs --- .../python-modules/alibabacloud-rds20140815/default.nix | 2 -- 1 file changed, 2 deletions(-) diff --git a/pkgs/development/python-modules/alibabacloud-rds20140815/default.nix b/pkgs/development/python-modules/alibabacloud-rds20140815/default.nix index 8d2091dcd6cc..ee4517e8efa0 100644 --- a/pkgs/development/python-modules/alibabacloud-rds20140815/default.nix +++ b/pkgs/development/python-modules/alibabacloud-rds20140815/default.nix @@ -14,8 +14,6 @@ buildPythonPackage (finalAttrs: { version = "16.0.0"; pyproject = true; - __structuredAttrs = true; - src = fetchPypi { pname = "alibabacloud_rds20140815"; inherit (finalAttrs) version; From 2d07531af803d5dbccf4e5e0659e610a98099d13 Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 22:48:49 +0200 Subject: [PATCH 0472/2378] python3Packages.alibabacloud-sas20181203: remove redundant structuredAttrs --- .../python-modules/alibabacloud-sas20181203/default.nix | 2 -- 1 file changed, 2 deletions(-) diff --git a/pkgs/development/python-modules/alibabacloud-sas20181203/default.nix b/pkgs/development/python-modules/alibabacloud-sas20181203/default.nix index c564cbaad9b3..2a049f5fda6c 100644 --- a/pkgs/development/python-modules/alibabacloud-sas20181203/default.nix +++ b/pkgs/development/python-modules/alibabacloud-sas20181203/default.nix @@ -12,8 +12,6 @@ buildPythonPackage (finalAttrs: { version = "10.2.1"; pyproject = true; - __structuredAttrs = true; - src = fetchPypi { pname = "alibabacloud_sas20181203"; inherit (finalAttrs) version; From fac1c5651da7d6eeb0be29bd1ceba02f3cb0d8aa Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 22:48:49 +0200 Subject: [PATCH 0473/2378] python3Packages.alibabacloud-sls20201230: remove redundant structuredAttrs --- .../python-modules/alibabacloud-sls20201230/default.nix | 2 -- 1 file changed, 2 deletions(-) diff --git a/pkgs/development/python-modules/alibabacloud-sls20201230/default.nix b/pkgs/development/python-modules/alibabacloud-sls20201230/default.nix index f57828702108..a9cb45c3627e 100644 --- a/pkgs/development/python-modules/alibabacloud-sls20201230/default.nix +++ b/pkgs/development/python-modules/alibabacloud-sls20201230/default.nix @@ -13,8 +13,6 @@ buildPythonPackage (finalAttrs: { version = "5.15.1"; pyproject = true; - __structuredAttrs = true; - src = fetchPypi { pname = "alibabacloud_sls20201230"; inherit (finalAttrs) version; From d42d7cf6cebe5a15f4cabf12d5ad8358f83f3ff9 Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 22:48:49 +0200 Subject: [PATCH 0474/2378] python3Packages.alibabacloud-sts20150401: remove redundant structuredAttrs --- .../python-modules/alibabacloud-sts20150401/default.nix | 2 -- 1 file changed, 2 deletions(-) diff --git a/pkgs/development/python-modules/alibabacloud-sts20150401/default.nix b/pkgs/development/python-modules/alibabacloud-sts20150401/default.nix index 553e38a09bfe..24a124736bf8 100644 --- a/pkgs/development/python-modules/alibabacloud-sts20150401/default.nix +++ b/pkgs/development/python-modules/alibabacloud-sts20150401/default.nix @@ -12,8 +12,6 @@ buildPythonPackage (finalAttrs: { version = "1.2.0"; pyproject = true; - __structuredAttrs = true; - src = fetchPypi { pname = "alibabacloud_sts20150401"; inherit (finalAttrs) version; From eee8f74fa13b4954b0c495f063279e34f7ab5ded Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 22:48:49 +0200 Subject: [PATCH 0475/2378] python3Packages.alibabacloud-tea-util: remove redundant structuredAttrs --- .../python-modules/alibabacloud-tea-util/default.nix | 2 -- 1 file changed, 2 deletions(-) diff --git a/pkgs/development/python-modules/alibabacloud-tea-util/default.nix b/pkgs/development/python-modules/alibabacloud-tea-util/default.nix index b33dfa243c98..86a8074558f0 100644 --- a/pkgs/development/python-modules/alibabacloud-tea-util/default.nix +++ b/pkgs/development/python-modules/alibabacloud-tea-util/default.nix @@ -11,8 +11,6 @@ buildPythonPackage (finalAttrs: { version = "0.3.15"; pyproject = true; - __structuredAttrs = true; - src = fetchPypi { pname = "alibabacloud_tea_util"; inherit (finalAttrs) version; From c4ab0058182323b6b9bcbf1813d8f51a6625f543 Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 22:48:50 +0200 Subject: [PATCH 0476/2378] python3Packages.alibabacloud-vpc20160428: remove redundant structuredAttrs --- .../python-modules/alibabacloud-vpc20160428/default.nix | 2 -- 1 file changed, 2 deletions(-) diff --git a/pkgs/development/python-modules/alibabacloud-vpc20160428/default.nix b/pkgs/development/python-modules/alibabacloud-vpc20160428/default.nix index 7360695e2175..b1545c8953cf 100644 --- a/pkgs/development/python-modules/alibabacloud-vpc20160428/default.nix +++ b/pkgs/development/python-modules/alibabacloud-vpc20160428/default.nix @@ -12,8 +12,6 @@ buildPythonPackage (finalAttrs: { version = "7.2.2"; pyproject = true; - __structuredAttrs = true; - src = fetchPypi { pname = "alibabacloud_vpc20160428"; inherit (finalAttrs) version; From 6f3b7a19641869cccf8be5a60cc2263dd2caf3dc Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 22:48:50 +0200 Subject: [PATCH 0477/2378] python3Packages.aliyun-log-fastpb: remove redundant structuredAttrs --- pkgs/development/python-modules/aliyun-log-fastpb/default.nix | 2 -- 1 file changed, 2 deletions(-) diff --git a/pkgs/development/python-modules/aliyun-log-fastpb/default.nix b/pkgs/development/python-modules/aliyun-log-fastpb/default.nix index f6ed9f4bdfe1..89b36f7b2244 100644 --- a/pkgs/development/python-modules/aliyun-log-fastpb/default.nix +++ b/pkgs/development/python-modules/aliyun-log-fastpb/default.nix @@ -13,8 +13,6 @@ buildPythonPackage (finalAttrs: { version = "0.3.0"; pyproject = true; - __structuredAttrs = true; - src = fetchPypi { pname = "aliyun_log_fastpb"; inherit (finalAttrs) version; From 3939b30bb72006e6efa361a2eacf8fc5d404140f Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 22:48:50 +0200 Subject: [PATCH 0478/2378] python3Packages.alphashape: remove redundant structuredAttrs --- pkgs/development/python-modules/alphashape/default.nix | 1 - 1 file changed, 1 deletion(-) diff --git a/pkgs/development/python-modules/alphashape/default.nix b/pkgs/development/python-modules/alphashape/default.nix index 06c793bb64cb..dcf4e1a9813d 100644 --- a/pkgs/development/python-modules/alphashape/default.nix +++ b/pkgs/development/python-modules/alphashape/default.nix @@ -25,7 +25,6 @@ buildPythonPackage (finalAttrs: { pname = "alphashape"; version = "1.3.1"; pyproject = true; - __structuredAttrs = true; src = fetchFromGitHub { owner = "bellockk"; From f53d96f677476817d53325422b82cb2d2aad2b30 Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 22:48:51 +0200 Subject: [PATCH 0479/2378] python3Packages.anndata: remove redundant structuredAttrs --- pkgs/development/python-modules/anndata/default.nix | 1 - 1 file changed, 1 deletion(-) diff --git a/pkgs/development/python-modules/anndata/default.nix b/pkgs/development/python-modules/anndata/default.nix index 4117ac0ec2c7..70c9c8801046 100644 --- a/pkgs/development/python-modules/anndata/default.nix +++ b/pkgs/development/python-modules/anndata/default.nix @@ -42,7 +42,6 @@ buildPythonPackage (finalAttrs: { pname = "anndata"; version = "0.13.3.post0"; pyproject = true; - __structuredAttrs = true; src = fetchFromGitHub { owner = "scverse"; From d60fd26a3acf03b8deb1118f0c7ec446df9f16a2 Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 22:48:51 +0200 Subject: [PATCH 0480/2378] python3Packages.anthropic: remove redundant structuredAttrs --- pkgs/development/python-modules/anthropic/0.nix | 2 -- pkgs/development/python-modules/anthropic/default.nix | 1 - 2 files changed, 3 deletions(-) diff --git a/pkgs/development/python-modules/anthropic/0.nix b/pkgs/development/python-modules/anthropic/0.nix index b20d75c55d3f..ff2ed6a84fce 100644 --- a/pkgs/development/python-modules/anthropic/0.nix +++ b/pkgs/development/python-modules/anthropic/0.nix @@ -133,8 +133,6 @@ buildPythonPackage (finalAttrs: { "-Wignore::DeprecationWarning" ]; - __structuredAttrs = true; - meta = { description = "Anthropic's safety-first language model APIs"; homepage = "https://github.com/anthropics/anthropic-sdk-python"; diff --git a/pkgs/development/python-modules/anthropic/default.nix b/pkgs/development/python-modules/anthropic/default.nix index bea437ce633b..f46a68a7ba6c 100644 --- a/pkgs/development/python-modules/anthropic/default.nix +++ b/pkgs/development/python-modules/anthropic/default.nix @@ -40,7 +40,6 @@ buildPythonPackage (finalAttrs: { pname = "anthropic"; version = "1.8.0"; pyproject = true; - __structuredAttrs = true; src = fetchFromGitHub { owner = "anthropics"; From 4b9b87b7cdcc20e37258b8b1deed909943d38791 Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 22:48:51 +0200 Subject: [PATCH 0481/2378] python3Packages.apache-beam: remove redundant structuredAttrs --- pkgs/development/python-modules/apache-beam/default.nix | 1 - 1 file changed, 1 deletion(-) diff --git a/pkgs/development/python-modules/apache-beam/default.nix b/pkgs/development/python-modules/apache-beam/default.nix index 7675694f7d25..002a3e6d8dcb 100644 --- a/pkgs/development/python-modules/apache-beam/default.nix +++ b/pkgs/development/python-modules/apache-beam/default.nix @@ -68,7 +68,6 @@ buildPythonPackage (finalAttrs: { pname = "apache-beam"; version = "2.75.0"; pyproject = true; - __structuredAttrs = true; src = fetchFromGitHub { owner = "apache"; From 516b069fb2c01f5152d46f31021293f1c09f90c7 Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 22:48:52 +0200 Subject: [PATCH 0482/2378] python3Packages.apache-tvm-ffi: remove redundant structuredAttrs --- pkgs/development/python-modules/apache-tvm-ffi/default.nix | 1 - 1 file changed, 1 deletion(-) diff --git a/pkgs/development/python-modules/apache-tvm-ffi/default.nix b/pkgs/development/python-modules/apache-tvm-ffi/default.nix index b7834b42f58c..b9937a4b8c54 100644 --- a/pkgs/development/python-modules/apache-tvm-ffi/default.nix +++ b/pkgs/development/python-modules/apache-tvm-ffi/default.nix @@ -24,7 +24,6 @@ buildPythonPackage (finalAttrs: { pname = "apache-tvm-ffi"; version = "0.1.14-post1"; pyproject = true; - __structuredAttrs = true; src = fetchFromGitHub { owner = "apache"; From a949d30e93b10b5fece3f8a8d2530fb7ab8c96cb Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 22:48:52 +0200 Subject: [PATCH 0483/2378] python3Packages.apex: remove redundant structuredAttrs --- pkgs/development/python-modules/apex/default.nix | 1 - 1 file changed, 1 deletion(-) diff --git a/pkgs/development/python-modules/apex/default.nix b/pkgs/development/python-modules/apex/default.nix index d5a848739967..f4cb95a5bb5a 100644 --- a/pkgs/development/python-modules/apex/default.nix +++ b/pkgs/development/python-modules/apex/default.nix @@ -37,7 +37,6 @@ buildPythonPackage.override { inherit (torch) stdenv; } (finalAttrs: { pname = "apex"; version = "25.09"; pyproject = true; - __structuredAttrs = true; src = fetchFromGitHub { owner = "nvidia"; From 012fa1f28156eb1908b26fc7f3c3673351aa62f0 Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 22:48:52 +0200 Subject: [PATCH 0484/2378] python3Packages.apksigtool: remove redundant structuredAttrs --- pkgs/development/python-modules/apksigtool/default.nix | 1 - 1 file changed, 1 deletion(-) diff --git a/pkgs/development/python-modules/apksigtool/default.nix b/pkgs/development/python-modules/apksigtool/default.nix index 7b8d2f82717d..ab9fef574b5b 100644 --- a/pkgs/development/python-modules/apksigtool/default.nix +++ b/pkgs/development/python-modules/apksigtool/default.nix @@ -14,7 +14,6 @@ buildPythonPackage (finalAttrs: { pname = "apksigtool"; version = "0.1.0"; pyproject = true; - __structuredAttrs = true; src = fetchFromGitHub { owner = "obfusk"; From 7a8be6f46e7fe16241ca05a8b13e59cade960248 Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 22:48:52 +0200 Subject: [PATCH 0485/2378] python3Packages.applicationinsights: remove redundant structuredAttrs --- pkgs/development/python-modules/applicationinsights/default.nix | 2 -- 1 file changed, 2 deletions(-) diff --git a/pkgs/development/python-modules/applicationinsights/default.nix b/pkgs/development/python-modules/applicationinsights/default.nix index 49f58a6f8cfe..21f05475e67b 100644 --- a/pkgs/development/python-modules/applicationinsights/default.nix +++ b/pkgs/development/python-modules/applicationinsights/default.nix @@ -11,8 +11,6 @@ buildPythonPackage (finalAttrs: { pyproject = true; pname = "applicationinsights"; - __structuredAttrs = true; - src = fetchPypi { inherit (finalAttrs) pname version; hash = "sha256-C3YfPvBoCs9HMZBt/BgH+qbypXFornRZLbAISmCZ97M="; From 98817e5064c7edbd6fad013b940efd86de076681 Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 22:48:53 +0200 Subject: [PATCH 0486/2378] python3Packages.area: remove redundant structuredAttrs --- pkgs/development/python-modules/area/default.nix | 2 -- 1 file changed, 2 deletions(-) diff --git a/pkgs/development/python-modules/area/default.nix b/pkgs/development/python-modules/area/default.nix index b9fbb93227d2..53294072ea2a 100644 --- a/pkgs/development/python-modules/area/default.nix +++ b/pkgs/development/python-modules/area/default.nix @@ -10,8 +10,6 @@ buildPythonPackage (finalAttrs: { version = "1.1.1"; pyproject = true; - __structuredAttrs = true; - src = fetchPypi { inherit (finalAttrs) pname version; hash = "sha256-yuu5Zmjd7dtQ5/Vu0jbaO4RFn262fwMGplLBTiuHZaI="; From 47c39f9572a2671e327fdf51ac52f575101125ae Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 22:48:53 +0200 Subject: [PATCH 0487/2378] python3Packages.argparse-addons: remove redundant structuredAttrs --- pkgs/development/python-modules/argparse-addons/default.nix | 2 -- 1 file changed, 2 deletions(-) diff --git a/pkgs/development/python-modules/argparse-addons/default.nix b/pkgs/development/python-modules/argparse-addons/default.nix index 20e119b5b01c..b4e693ae1b99 100644 --- a/pkgs/development/python-modules/argparse-addons/default.nix +++ b/pkgs/development/python-modules/argparse-addons/default.nix @@ -10,8 +10,6 @@ buildPythonPackage (finalAttrs: { version = "0.12.0"; pyproject = true; - __structuredAttrs = true; - src = fetchPypi { pname = "argparse_addons"; inherit (finalAttrs) version; From d4bcb23cfb00af23e2e91a9b3653087f1b4acf28 Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 22:48:53 +0200 Subject: [PATCH 0488/2378] python3Packages.arpeggio: remove redundant structuredAttrs --- pkgs/development/python-modules/arpeggio/default.nix | 2 -- 1 file changed, 2 deletions(-) diff --git a/pkgs/development/python-modules/arpeggio/default.nix b/pkgs/development/python-modules/arpeggio/default.nix index a2a2d0844231..38d09312daad 100644 --- a/pkgs/development/python-modules/arpeggio/default.nix +++ b/pkgs/development/python-modules/arpeggio/default.nix @@ -11,8 +11,6 @@ buildPythonPackage (finalAttrs: { version = "2.0.3"; pyproject = true; - __structuredAttrs = true; - src = fetchPypi { pname = "Arpeggio"; inherit (finalAttrs) version; From b86aa415712cdb62716480458502a5a3a9e97dc3 Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 22:48:54 +0200 Subject: [PATCH 0489/2378] python3Packages.arpy: remove redundant structuredAttrs --- pkgs/development/python-modules/arpy/default.nix | 2 -- 1 file changed, 2 deletions(-) diff --git a/pkgs/development/python-modules/arpy/default.nix b/pkgs/development/python-modules/arpy/default.nix index f4dc4ca11a1a..00c2a71be2d8 100644 --- a/pkgs/development/python-modules/arpy/default.nix +++ b/pkgs/development/python-modules/arpy/default.nix @@ -11,8 +11,6 @@ buildPythonPackage (finalAttrs: { version = "2.3.0"; pyproject = true; - __structuredAttrs = true; - src = fetchFromGitHub { owner = "viraptor"; repo = "arpy"; From e8486e045ab133fd95ccd8d35425c1fe6ca074a0 Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 22:48:54 +0200 Subject: [PATCH 0490/2378] python3Packages.array-api-compat: remove redundant structuredAttrs --- pkgs/development/python-modules/array-api-compat/default.nix | 1 - 1 file changed, 1 deletion(-) diff --git a/pkgs/development/python-modules/array-api-compat/default.nix b/pkgs/development/python-modules/array-api-compat/default.nix index 383dd9cc332b..577711e55a45 100644 --- a/pkgs/development/python-modules/array-api-compat/default.nix +++ b/pkgs/development/python-modules/array-api-compat/default.nix @@ -25,7 +25,6 @@ buildPythonPackage (finalAttrs: { pname = "array-api-compat"; version = "1.15"; pyproject = true; - __structuredAttrs = true; src = fetchFromGitHub { owner = "data-apis"; From 5aaa256299c09e37739fadfda0ba1cee5a474617 Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 22:48:54 +0200 Subject: [PATCH 0491/2378] python3Packages.arviz-base: remove redundant structuredAttrs --- pkgs/development/python-modules/arviz-base/default.nix | 1 - 1 file changed, 1 deletion(-) diff --git a/pkgs/development/python-modules/arviz-base/default.nix b/pkgs/development/python-modules/arviz-base/default.nix index c85c438ea8a2..2451862a6c39 100644 --- a/pkgs/development/python-modules/arviz-base/default.nix +++ b/pkgs/development/python-modules/arviz-base/default.nix @@ -27,7 +27,6 @@ buildPythonPackage (finalAttrs: { pname = "arviz-base"; inherit (arviz) version; pyproject = true; - __structuredAttrs = true; src = fetchFromGitHub { owner = "arviz-devs"; From cf190abbe5d9e2b136cc411c588b15a45adb131e Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 22:48:54 +0200 Subject: [PATCH 0492/2378] python3Packages.arviz-plots: remove redundant structuredAttrs --- pkgs/development/python-modules/arviz-plots/default.nix | 1 - 1 file changed, 1 deletion(-) diff --git a/pkgs/development/python-modules/arviz-plots/default.nix b/pkgs/development/python-modules/arviz-plots/default.nix index 985551deab73..40ce8bf8214c 100644 --- a/pkgs/development/python-modules/arviz-plots/default.nix +++ b/pkgs/development/python-modules/arviz-plots/default.nix @@ -44,7 +44,6 @@ buildPythonPackage (finalAttrs: { pname = "arviz-plots"; inherit (arviz) version; pyproject = true; - __structuredAttrs = true; src = fetchFromGitHub { owner = "arviz-devs"; From c209ea4ea06d374bb06c6761d5801d75942a1228 Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 22:48:55 +0200 Subject: [PATCH 0493/2378] python3Packages.arviz-stats: remove redundant structuredAttrs --- pkgs/development/python-modules/arviz-stats/default.nix | 1 - 1 file changed, 1 deletion(-) diff --git a/pkgs/development/python-modules/arviz-stats/default.nix b/pkgs/development/python-modules/arviz-stats/default.nix index cb8c29bf0f7f..5b5e1fb36882 100644 --- a/pkgs/development/python-modules/arviz-stats/default.nix +++ b/pkgs/development/python-modules/arviz-stats/default.nix @@ -41,7 +41,6 @@ buildPythonPackage (finalAttrs: { pname = "arviz-stats"; inherit (arviz) version; pyproject = true; - __structuredAttrs = true; src = fetchFromGitHub { owner = "arviz-devs"; From 190efac3c8e71cb8bf1bff7ea918f1374a56e038 Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 22:48:55 +0200 Subject: [PATCH 0494/2378] python3Packages.arviz: remove redundant structuredAttrs --- pkgs/development/python-modules/arviz/default.nix | 1 - 1 file changed, 1 deletion(-) diff --git a/pkgs/development/python-modules/arviz/default.nix b/pkgs/development/python-modules/arviz/default.nix index db1e5b500e39..261592a6644d 100644 --- a/pkgs/development/python-modules/arviz/default.nix +++ b/pkgs/development/python-modules/arviz/default.nix @@ -19,7 +19,6 @@ buildPythonPackage (finalAttrs: { pname = "arviz"; version = "1.3.0"; pyproject = true; - __structuredAttrs = true; src = fetchFromGitHub { owner = "arviz-devs"; From a94eed0c168788d1a218e4a85e60bcf934ddf778 Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 22:48:55 +0200 Subject: [PATCH 0495/2378] python3Packages.arxiv2bib: remove redundant structuredAttrs --- pkgs/development/python-modules/arxiv2bib/default.nix | 2 -- 1 file changed, 2 deletions(-) diff --git a/pkgs/development/python-modules/arxiv2bib/default.nix b/pkgs/development/python-modules/arxiv2bib/default.nix index a27a25aed637..4d9c1a037099 100644 --- a/pkgs/development/python-modules/arxiv2bib/default.nix +++ b/pkgs/development/python-modules/arxiv2bib/default.nix @@ -12,8 +12,6 @@ buildPythonPackage (finalAttrs: { version = "1.0.8"; pyproject = true; - __structuredAttrs = true; - # Missing tests on Pypi src = fetchFromGitHub { owner = "nathangrigg"; From 65c87674c87b6ec9f60e0db03491a2019c4d7c73 Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 22:48:56 +0200 Subject: [PATCH 0496/2378] python3Packages.asndb: remove redundant structuredAttrs --- pkgs/development/python-modules/asndb/default.nix | 2 -- 1 file changed, 2 deletions(-) diff --git a/pkgs/development/python-modules/asndb/default.nix b/pkgs/development/python-modules/asndb/default.nix index 5058b59362a6..6339734fc597 100644 --- a/pkgs/development/python-modules/asndb/default.nix +++ b/pkgs/development/python-modules/asndb/default.nix @@ -15,8 +15,6 @@ buildPythonPackage (finalAttrs: { version = "1.1.0"; pyproject = true; - __structuredAttrs = true; - src = fetchPypi { inherit (finalAttrs) pname version; hash = "sha256-Q1qXQepm1ouBfJwQVHKfiMPV66lLlsqZGxWa1Asj0Mo="; From de0c8fc65e0f7268b771282298a088c6f83b76cd Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 22:48:56 +0200 Subject: [PATCH 0497/2378] python3Packages.asynch: remove redundant structuredAttrs --- pkgs/development/python-modules/asynch/default.nix | 1 - 1 file changed, 1 deletion(-) diff --git a/pkgs/development/python-modules/asynch/default.nix b/pkgs/development/python-modules/asynch/default.nix index ef360881b2d7..c32a3e468444 100644 --- a/pkgs/development/python-modules/asynch/default.nix +++ b/pkgs/development/python-modules/asynch/default.nix @@ -21,7 +21,6 @@ buildPythonPackage (finalAttrs: { pname = "asynch"; version = "0.4.0"; pyproject = true; - __structuredAttrs = true; src = fetchFromGitHub { owner = "long2ice"; From bce5f9ffedcd33b51214add92aafb89b8d6e6916 Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 22:48:56 +0200 Subject: [PATCH 0498/2378] python3Packages.asyncpraw: remove redundant structuredAttrs --- pkgs/development/python-modules/asyncpraw/default.nix | 2 -- 1 file changed, 2 deletions(-) diff --git a/pkgs/development/python-modules/asyncpraw/default.nix b/pkgs/development/python-modules/asyncpraw/default.nix index 82cee3aaaa6e..d93ca750fea4 100644 --- a/pkgs/development/python-modules/asyncpraw/default.nix +++ b/pkgs/development/python-modules/asyncpraw/default.nix @@ -20,8 +20,6 @@ buildPythonPackage (finalAttrs: { version = "8.0.3"; pyproject = true; - __structuredAttrs = true; - src = fetchFromGitHub { owner = "praw-dev"; repo = "asyncpraw"; From e376c2b49d6549970a9bf238fae22486d3e44645 Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 22:48:56 +0200 Subject: [PATCH 0499/2378] python3Packages.autofaiss: remove redundant structuredAttrs --- pkgs/development/python-modules/autofaiss/default.nix | 1 - 1 file changed, 1 deletion(-) diff --git a/pkgs/development/python-modules/autofaiss/default.nix b/pkgs/development/python-modules/autofaiss/default.nix index 654fdb48380b..890e7c8cb8c3 100644 --- a/pkgs/development/python-modules/autofaiss/default.nix +++ b/pkgs/development/python-modules/autofaiss/default.nix @@ -22,7 +22,6 @@ buildPythonPackage (finalAttrs: { pname = "autofaiss"; version = "2.18.0"; pyproject = true; - __structuredAttrs = true; src = fetchFromGitHub { owner = "criteo"; From 3abda2c89eea71909deb303032e9a2b394b0a6a9 Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 22:48:57 +0200 Subject: [PATCH 0500/2378] python3Packages.autopxd2: remove redundant structuredAttrs --- pkgs/development/python-modules/autopxd2/default.nix | 1 - 1 file changed, 1 deletion(-) diff --git a/pkgs/development/python-modules/autopxd2/default.nix b/pkgs/development/python-modules/autopxd2/default.nix index 220fa2cbd00f..aed92811a1ae 100644 --- a/pkgs/development/python-modules/autopxd2/default.nix +++ b/pkgs/development/python-modules/autopxd2/default.nix @@ -13,7 +13,6 @@ buildPythonPackage rec { pname = "autopxd2"; version = "3.2.3"; pyproject = true; - __structuredAttrs = true; src = fetchPypi { pname = "autopxd2"; From cdb7b2f6fa8955e50ed90fce8e14403bd08f4e31 Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 22:48:57 +0200 Subject: [PATCH 0501/2378] python3Packages.av: remove redundant structuredAttrs --- pkgs/development/python-modules/av/default.nix | 1 - 1 file changed, 1 deletion(-) diff --git a/pkgs/development/python-modules/av/default.nix b/pkgs/development/python-modules/av/default.nix index ed146e326bd8..fbd683ad2c0a 100644 --- a/pkgs/development/python-modules/av/default.nix +++ b/pkgs/development/python-modules/av/default.nix @@ -26,7 +26,6 @@ buildPythonPackage (finalAttrs: { pname = "av"; version = "19.0.1"; pyproject = true; - __structuredAttrs = true; src = fetchFromGitHub { owner = "PyAV-Org"; From afa40fbb6aa963a75cc668cad6088647006268fe Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 22:48:57 +0200 Subject: [PATCH 0502/2378] python3Packages.awkward-cpp: remove redundant structuredAttrs --- pkgs/development/python-modules/awkward-cpp/default.nix | 1 - 1 file changed, 1 deletion(-) diff --git a/pkgs/development/python-modules/awkward-cpp/default.nix b/pkgs/development/python-modules/awkward-cpp/default.nix index 508fd4536990..637ec42f2898 100644 --- a/pkgs/development/python-modules/awkward-cpp/default.nix +++ b/pkgs/development/python-modules/awkward-cpp/default.nix @@ -19,7 +19,6 @@ buildPythonPackage (finalAttrs: { pname = "awkward-cpp"; version = "57"; pyproject = true; - __structuredAttrs = true; src = fetchPypi { pname = "awkward_cpp"; From 63ef54f3deffd27145ad5774a1e65f1dac6009d7 Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 22:48:58 +0200 Subject: [PATCH 0503/2378] python3Packages.awkward: remove redundant structuredAttrs --- pkgs/development/python-modules/awkward/default.nix | 1 - 1 file changed, 1 deletion(-) diff --git a/pkgs/development/python-modules/awkward/default.nix b/pkgs/development/python-modules/awkward/default.nix index 0bead4f2d926..c79e30f21746 100644 --- a/pkgs/development/python-modules/awkward/default.nix +++ b/pkgs/development/python-modules/awkward/default.nix @@ -26,7 +26,6 @@ buildPythonPackage (finalAttrs: { pname = "awkward"; version = "2.14.0"; pyproject = true; - __structuredAttrs = true; src = fetchFromGitHub { owner = "scikit-hep"; From d6c9cf100c1572052b4e119df9be0e540b57f9a8 Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 22:48:58 +0200 Subject: [PATCH 0504/2378] python3Packages.ax-platform: remove redundant structuredAttrs --- pkgs/development/python-modules/ax-platform/default.nix | 1 - 1 file changed, 1 deletion(-) diff --git a/pkgs/development/python-modules/ax-platform/default.nix b/pkgs/development/python-modules/ax-platform/default.nix index 6254cf13b416..8feebb490eed 100644 --- a/pkgs/development/python-modules/ax-platform/default.nix +++ b/pkgs/development/python-modules/ax-platform/default.nix @@ -35,7 +35,6 @@ buildPythonPackage (finalAttrs: { pname = "ax-platform"; version = "1.3.1"; pyproject = true; - __structuredAttrs = true; src = fetchFromGitHub { owner = "facebook"; From 2190d25363b90dc5a6295f991cf1df6ffbe3ea6a Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 22:48:58 +0200 Subject: [PATCH 0505/2378] python3Packages.azure-ai-vision-imageanalysis: remove redundant structuredAttrs --- .../python-modules/azure-ai-vision-imageanalysis/default.nix | 1 - 1 file changed, 1 deletion(-) diff --git a/pkgs/development/python-modules/azure-ai-vision-imageanalysis/default.nix b/pkgs/development/python-modules/azure-ai-vision-imageanalysis/default.nix index 00156c47e701..779eaa3e808b 100644 --- a/pkgs/development/python-modules/azure-ai-vision-imageanalysis/default.nix +++ b/pkgs/development/python-modules/azure-ai-vision-imageanalysis/default.nix @@ -12,7 +12,6 @@ buildPythonPackage (finalAttrs: { pname = "azure-ai-vision-imageanalysis"; version = "1.0.0"; pyproject = true; - __structuredAttrs = true; src = fetchFromGitHub { owner = "Azure"; From 29709d420c11950488e0c00bdcd0f5910943ba1c Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 22:48:58 +0200 Subject: [PATCH 0506/2378] python3Packages.azure-keyvault-nspkg: remove redundant structuredAttrs --- .../development/python-modules/azure-keyvault-nspkg/default.nix | 2 -- 1 file changed, 2 deletions(-) diff --git a/pkgs/development/python-modules/azure-keyvault-nspkg/default.nix b/pkgs/development/python-modules/azure-keyvault-nspkg/default.nix index 8880107a9047..6b75446256c0 100644 --- a/pkgs/development/python-modules/azure-keyvault-nspkg/default.nix +++ b/pkgs/development/python-modules/azure-keyvault-nspkg/default.nix @@ -13,8 +13,6 @@ buildPythonPackage (finalAttrs: { version = "1.0.0"; pyproject = true; - __structuredAttrs = true; - src = fetchPypi { inherit (finalAttrs) pname version; extension = "zip"; From 60c41ec737de85866c9c4248b38550c5bf78a5af Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 22:48:59 +0200 Subject: [PATCH 0507/2378] python3Packages.azure-keyvault: remove redundant structuredAttrs --- pkgs/development/python-modules/azure-keyvault/default.nix | 2 -- 1 file changed, 2 deletions(-) diff --git a/pkgs/development/python-modules/azure-keyvault/default.nix b/pkgs/development/python-modules/azure-keyvault/default.nix index 07a2a407f1b8..fa14fc299dba 100644 --- a/pkgs/development/python-modules/azure-keyvault/default.nix +++ b/pkgs/development/python-modules/azure-keyvault/default.nix @@ -13,8 +13,6 @@ buildPythonPackage (finalAttrs: { version = "4.2.0"; pyproject = true; - __structuredAttrs = true; - src = fetchPypi { inherit (finalAttrs) pname version; extension = "zip"; From 9c9382078e67f40ad75309b5984bef3be155ad0a Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 22:48:59 +0200 Subject: [PATCH 0508/2378] python3Packages.azure-kusto-data: remove redundant structuredAttrs --- pkgs/development/python-modules/azure-kusto-data/default.nix | 1 - 1 file changed, 1 deletion(-) diff --git a/pkgs/development/python-modules/azure-kusto-data/default.nix b/pkgs/development/python-modules/azure-kusto-data/default.nix index 4aece96fb20b..9dc667615e7d 100644 --- a/pkgs/development/python-modules/azure-kusto-data/default.nix +++ b/pkgs/development/python-modules/azure-kusto-data/default.nix @@ -34,7 +34,6 @@ buildPythonPackage (finalAttrs: { pname = "azure-kusto-data"; version = "6.0.4"; pyproject = true; - __structuredAttrs = true; src = fetchFromGitHub { owner = "Azure"; From 4bcba329c1f83a114539758d06586d620c13071c Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 22:48:59 +0200 Subject: [PATCH 0509/2378] python3Packages.azure-loganalytics: remove redundant structuredAttrs --- pkgs/development/python-modules/azure-loganalytics/default.nix | 1 - 1 file changed, 1 deletion(-) diff --git a/pkgs/development/python-modules/azure-loganalytics/default.nix b/pkgs/development/python-modules/azure-loganalytics/default.nix index 5224e1c61b2e..525423e3d986 100644 --- a/pkgs/development/python-modules/azure-loganalytics/default.nix +++ b/pkgs/development/python-modules/azure-loganalytics/default.nix @@ -11,7 +11,6 @@ buildPythonPackage (finalAttrs: { version = "0.1.1"; pyproject = true; - __structuredAttrs = true; pname = "azure-loganalytics"; src = fetchPypi { From 5cf2d7522539758f27ccd753c98222f736d58c53 Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 22:49:00 +0200 Subject: [PATCH 0510/2378] python3Packages.azure-mgmt-authorization: remove redundant structuredAttrs --- .../python-modules/azure-mgmt-authorization/default.nix | 2 -- 1 file changed, 2 deletions(-) diff --git a/pkgs/development/python-modules/azure-mgmt-authorization/default.nix b/pkgs/development/python-modules/azure-mgmt-authorization/default.nix index c3fe9442a19b..276e2554ecca 100644 --- a/pkgs/development/python-modules/azure-mgmt-authorization/default.nix +++ b/pkgs/development/python-modules/azure-mgmt-authorization/default.nix @@ -16,8 +16,6 @@ buildPythonPackage (finalAttrs: { version = "4.0.0"; pyproject = true; - __structuredAttrs = true; - src = fetchPypi { inherit (finalAttrs) pname version; extension = "zip"; From f1b82be6faacae4441ce6f81f56816bbe3bcf3d8 Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 22:49:00 +0200 Subject: [PATCH 0511/2378] python3Packages.azure-mgmt-batchai: remove redundant structuredAttrs --- pkgs/development/python-modules/azure-mgmt-batchai/default.nix | 2 -- 1 file changed, 2 deletions(-) diff --git a/pkgs/development/python-modules/azure-mgmt-batchai/default.nix b/pkgs/development/python-modules/azure-mgmt-batchai/default.nix index 04f8506fdbeb..78f67d8983b9 100644 --- a/pkgs/development/python-modules/azure-mgmt-batchai/default.nix +++ b/pkgs/development/python-modules/azure-mgmt-batchai/default.nix @@ -13,8 +13,6 @@ buildPythonPackage (finalAttrs: { version = "7.0.0"; pyproject = true; - __structuredAttrs = true; - src = fetchPypi { inherit (finalAttrs) version; pname = "azure_mgmt_batchai"; From e50472ff0cc27a31c8c152e993a3095106959fdf Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 22:49:00 +0200 Subject: [PATCH 0512/2378] python3Packages.azure-mgmt-cdn: remove redundant structuredAttrs --- pkgs/development/python-modules/azure-mgmt-cdn/default.nix | 2 -- 1 file changed, 2 deletions(-) diff --git a/pkgs/development/python-modules/azure-mgmt-cdn/default.nix b/pkgs/development/python-modules/azure-mgmt-cdn/default.nix index 42fd03a6dee8..8b3341db7710 100644 --- a/pkgs/development/python-modules/azure-mgmt-cdn/default.nix +++ b/pkgs/development/python-modules/azure-mgmt-cdn/default.nix @@ -13,8 +13,6 @@ buildPythonPackage (finalAttrs: { version = "13.1.1"; pyproject = true; - __structuredAttrs = true; - src = fetchPypi { inherit (finalAttrs) pname version; hash = "sha256-RmMwTzG2Zy3sMgx857qXFcK5nn2LaEs3XwtO/9qQIQw="; From 7706872df1ea7032e7613f45c0e7e74a6f416901 Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 22:49:00 +0200 Subject: [PATCH 0513/2378] python3Packages.azure-mgmt-common: remove redundant structuredAttrs --- pkgs/development/python-modules/azure-mgmt-common/default.nix | 1 - 1 file changed, 1 deletion(-) diff --git a/pkgs/development/python-modules/azure-mgmt-common/default.nix b/pkgs/development/python-modules/azure-mgmt-common/default.nix index 7fa9fbf4249a..8792b079ad39 100644 --- a/pkgs/development/python-modules/azure-mgmt-common/default.nix +++ b/pkgs/development/python-modules/azure-mgmt-common/default.nix @@ -15,7 +15,6 @@ buildPythonPackage (finalAttrs: { version = "0.20.0"; pyproject = true; - __structuredAttrs = true; pname = "azure-mgmt-common"; src = fetchPypi { From cf1339502607e01aaab87c4a08d6f14007207d0c Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 22:49:01 +0200 Subject: [PATCH 0514/2378] python3Packages.azure-mgmt-core: remove redundant structuredAttrs --- pkgs/development/python-modules/azure-mgmt-core/default.nix | 2 -- 1 file changed, 2 deletions(-) diff --git a/pkgs/development/python-modules/azure-mgmt-core/default.nix b/pkgs/development/python-modules/azure-mgmt-core/default.nix index ab802204010e..201b5a0d33fe 100644 --- a/pkgs/development/python-modules/azure-mgmt-core/default.nix +++ b/pkgs/development/python-modules/azure-mgmt-core/default.nix @@ -12,8 +12,6 @@ buildPythonPackage (finalAttrs: { version = "1.6.0"; pyproject = true; - __structuredAttrs = true; - src = fetchPypi { pname = "azure_mgmt_core"; inherit (finalAttrs) version; From fa7d34220fb8ef874b08c5803bbba48cc9b2ba6c Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 22:49:01 +0200 Subject: [PATCH 0515/2378] python3Packages.azure-mgmt-datalake-analytics: remove redundant structuredAttrs --- .../python-modules/azure-mgmt-datalake-analytics/default.nix | 2 -- 1 file changed, 2 deletions(-) diff --git a/pkgs/development/python-modules/azure-mgmt-datalake-analytics/default.nix b/pkgs/development/python-modules/azure-mgmt-datalake-analytics/default.nix index 1e1ecd10b08a..d88641b92a81 100644 --- a/pkgs/development/python-modules/azure-mgmt-datalake-analytics/default.nix +++ b/pkgs/development/python-modules/azure-mgmt-datalake-analytics/default.nix @@ -13,8 +13,6 @@ buildPythonPackage (finalAttrs: { version = "0.6.0"; pyproject = true; - __structuredAttrs = true; - src = fetchPypi { inherit (finalAttrs) pname version; extension = "zip"; From efa476be33c2dbd3f58aea0a5bf6fca8e4787bf6 Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 22:49:01 +0200 Subject: [PATCH 0516/2378] python3Packages.azure-mgmt-datalake-nspkg: remove redundant structuredAttrs --- .../python-modules/azure-mgmt-datalake-nspkg/default.nix | 2 -- 1 file changed, 2 deletions(-) diff --git a/pkgs/development/python-modules/azure-mgmt-datalake-nspkg/default.nix b/pkgs/development/python-modules/azure-mgmt-datalake-nspkg/default.nix index f9c27c9929bb..6c2085696ced 100644 --- a/pkgs/development/python-modules/azure-mgmt-datalake-nspkg/default.nix +++ b/pkgs/development/python-modules/azure-mgmt-datalake-nspkg/default.nix @@ -11,8 +11,6 @@ buildPythonPackage (finalAttrs: { version = "3.0.1"; pyproject = true; - __structuredAttrs = true; - src = fetchPypi { inherit (finalAttrs) pname version; extension = "zip"; From e98d34808b5aed66bee9b12a7615e819f8065395 Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 22:49:01 +0200 Subject: [PATCH 0517/2378] python3Packages.azure-mgmt-devspaces: remove redundant structuredAttrs --- .../development/python-modules/azure-mgmt-devspaces/default.nix | 2 -- 1 file changed, 2 deletions(-) diff --git a/pkgs/development/python-modules/azure-mgmt-devspaces/default.nix b/pkgs/development/python-modules/azure-mgmt-devspaces/default.nix index 56e286dd4019..64117b682d8e 100644 --- a/pkgs/development/python-modules/azure-mgmt-devspaces/default.nix +++ b/pkgs/development/python-modules/azure-mgmt-devspaces/default.nix @@ -13,8 +13,6 @@ buildPythonPackage (finalAttrs: { version = "0.2.0"; pyproject = true; - __structuredAttrs = true; - src = fetchPypi { inherit (finalAttrs) pname version; extension = "zip"; From 40f8c8630be6199f04e253c02db6a6d66b5fae6e Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 22:49:02 +0200 Subject: [PATCH 0518/2378] python3Packages.azure-mgmt-devtestlabs: remove redundant structuredAttrs --- .../python-modules/azure-mgmt-devtestlabs/default.nix | 2 -- 1 file changed, 2 deletions(-) diff --git a/pkgs/development/python-modules/azure-mgmt-devtestlabs/default.nix b/pkgs/development/python-modules/azure-mgmt-devtestlabs/default.nix index 4d2e0df42b4c..2e9867ae5658 100644 --- a/pkgs/development/python-modules/azure-mgmt-devtestlabs/default.nix +++ b/pkgs/development/python-modules/azure-mgmt-devtestlabs/default.nix @@ -16,8 +16,6 @@ buildPythonPackage (finalAttrs: { version = "9.0.0"; pyproject = true; - __structuredAttrs = true; - src = fetchPypi { inherit (finalAttrs) pname version; extension = "zip"; From fd9d474d43f89a116e023f2d7e9789d4d6293cac Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 22:49:02 +0200 Subject: [PATCH 0519/2378] python3Packages.azure-mgmt-domainregistration: remove redundant structuredAttrs --- .../python-modules/azure-mgmt-domainregistration/default.nix | 1 - 1 file changed, 1 deletion(-) diff --git a/pkgs/development/python-modules/azure-mgmt-domainregistration/default.nix b/pkgs/development/python-modules/azure-mgmt-domainregistration/default.nix index 8ba6a9bac958..746fae309ab9 100644 --- a/pkgs/development/python-modules/azure-mgmt-domainregistration/default.nix +++ b/pkgs/development/python-modules/azure-mgmt-domainregistration/default.nix @@ -14,7 +14,6 @@ buildPythonPackage (finalAttrs: { pname = "azure-mgmt-domainregistration"; version = "1.0.0"; pyproject = true; - __structuredAttrs = true; src = fetchPypi { pname = "azure_mgmt_domainregistration"; From bf296a6c67dfde862fc680fffdb44c81ea51fbb7 Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 22:49:02 +0200 Subject: [PATCH 0520/2378] python3Packages.azure-mgmt-hanaonazure: remove redundant structuredAttrs --- .../python-modules/azure-mgmt-hanaonazure/default.nix | 2 -- 1 file changed, 2 deletions(-) diff --git a/pkgs/development/python-modules/azure-mgmt-hanaonazure/default.nix b/pkgs/development/python-modules/azure-mgmt-hanaonazure/default.nix index ad748df07389..ebc6b518b9dc 100644 --- a/pkgs/development/python-modules/azure-mgmt-hanaonazure/default.nix +++ b/pkgs/development/python-modules/azure-mgmt-hanaonazure/default.nix @@ -16,8 +16,6 @@ buildPythonPackage (finalAttrs: { version = "1.0.0"; pyproject = true; - __structuredAttrs = true; - src = fetchPypi { inherit (finalAttrs) pname version; extension = "zip"; From be03bade5a05b205873b46eb2646b8fb3cfd5f7d Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 22:49:03 +0200 Subject: [PATCH 0521/2378] python3Packages.azure-mgmt-iotcentral: remove redundant structuredAttrs --- .../python-modules/azure-mgmt-iotcentral/default.nix | 2 -- 1 file changed, 2 deletions(-) diff --git a/pkgs/development/python-modules/azure-mgmt-iotcentral/default.nix b/pkgs/development/python-modules/azure-mgmt-iotcentral/default.nix index abe83beecdf5..3e9370787762 100644 --- a/pkgs/development/python-modules/azure-mgmt-iotcentral/default.nix +++ b/pkgs/development/python-modules/azure-mgmt-iotcentral/default.nix @@ -16,8 +16,6 @@ buildPythonPackage (finalAttrs: { version = "9.0.0"; pyproject = true; - __structuredAttrs = true; - src = fetchPypi { inherit (finalAttrs) pname version; extension = "zip"; From 405d9fd127e0fcaafc1e6404c23b91b20aff6dee Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 22:49:03 +0200 Subject: [PATCH 0522/2378] python3Packages.azure-mgmt-iothubprovisioningservices: remove redundant structuredAttrs --- .../azure-mgmt-iothubprovisioningservices/default.nix | 2 -- 1 file changed, 2 deletions(-) diff --git a/pkgs/development/python-modules/azure-mgmt-iothubprovisioningservices/default.nix b/pkgs/development/python-modules/azure-mgmt-iothubprovisioningservices/default.nix index 55f3581a98f1..bc5201693893 100644 --- a/pkgs/development/python-modules/azure-mgmt-iothubprovisioningservices/default.nix +++ b/pkgs/development/python-modules/azure-mgmt-iothubprovisioningservices/default.nix @@ -15,8 +15,6 @@ buildPythonPackage (finalAttrs: { version = "1.1.0"; pyproject = true; - __structuredAttrs = true; - src = fetchPypi { inherit (finalAttrs) pname version; extension = "zip"; From f641d1a9e8e1d7e7fb822a0c2dafd3fc10f662e6 Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 22:49:03 +0200 Subject: [PATCH 0523/2378] python3Packages.azure-mgmt-loganalytics: remove redundant structuredAttrs --- .../python-modules/azure-mgmt-loganalytics/default.nix | 2 -- 1 file changed, 2 deletions(-) diff --git a/pkgs/development/python-modules/azure-mgmt-loganalytics/default.nix b/pkgs/development/python-modules/azure-mgmt-loganalytics/default.nix index 4c7e79bad362..45a250c879d6 100644 --- a/pkgs/development/python-modules/azure-mgmt-loganalytics/default.nix +++ b/pkgs/development/python-modules/azure-mgmt-loganalytics/default.nix @@ -14,8 +14,6 @@ buildPythonPackage (finalAttrs: { version = "12.0.0"; pyproject = true; - __structuredAttrs = true; - src = fetchPypi { inherit (finalAttrs) pname version; extension = "zip"; From 01549a6223a446fcf51ab0bb74b81d77d5b5cf67 Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 22:49:03 +0200 Subject: [PATCH 0524/2378] python3Packages.azure-mgmt-machinelearningcompute: remove redundant structuredAttrs --- .../azure-mgmt-machinelearningcompute/default.nix | 2 -- 1 file changed, 2 deletions(-) diff --git a/pkgs/development/python-modules/azure-mgmt-machinelearningcompute/default.nix b/pkgs/development/python-modules/azure-mgmt-machinelearningcompute/default.nix index ecea97d1ff64..0f3ec86c65aa 100644 --- a/pkgs/development/python-modules/azure-mgmt-machinelearningcompute/default.nix +++ b/pkgs/development/python-modules/azure-mgmt-machinelearningcompute/default.nix @@ -14,8 +14,6 @@ buildPythonPackage (finalAttrs: { version = "0.4.1"; pyproject = true; - __structuredAttrs = true; - src = fetchPypi { inherit (finalAttrs) pname version; extension = "zip"; From 58e7581d0971805335657a71e01f284cac6ab49a Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 22:49:04 +0200 Subject: [PATCH 0525/2378] python3Packages.azure-mgmt-managementpartner: remove redundant structuredAttrs --- .../python-modules/azure-mgmt-managementpartner/default.nix | 2 -- 1 file changed, 2 deletions(-) diff --git a/pkgs/development/python-modules/azure-mgmt-managementpartner/default.nix b/pkgs/development/python-modules/azure-mgmt-managementpartner/default.nix index b745239db374..98bdb1c0fb93 100644 --- a/pkgs/development/python-modules/azure-mgmt-managementpartner/default.nix +++ b/pkgs/development/python-modules/azure-mgmt-managementpartner/default.nix @@ -14,8 +14,6 @@ buildPythonPackage (finalAttrs: { version = "1.0.0"; pyproject = true; - __structuredAttrs = true; - src = fetchPypi { inherit (finalAttrs) pname version; extension = "zip"; From 7e1e9c499ab345822e344dc1dcf2167680006a16 Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 22:49:04 +0200 Subject: [PATCH 0526/2378] python3Packages.azure-mgmt-maps: remove redundant structuredAttrs --- pkgs/development/python-modules/azure-mgmt-maps/default.nix | 2 -- 1 file changed, 2 deletions(-) diff --git a/pkgs/development/python-modules/azure-mgmt-maps/default.nix b/pkgs/development/python-modules/azure-mgmt-maps/default.nix index 713621e7c2eb..0c564f9427aa 100644 --- a/pkgs/development/python-modules/azure-mgmt-maps/default.nix +++ b/pkgs/development/python-modules/azure-mgmt-maps/default.nix @@ -14,8 +14,6 @@ buildPythonPackage (finalAttrs: { version = "2.1.0"; pyproject = true; - __structuredAttrs = true; - src = fetchPypi { inherit (finalAttrs) pname version; hash = "sha256-XVaml4UuVBanYYHxjB1YT/PvExzgAPbD4gI3Hbc0dI0="; From aa34482e82d04a5a6e006fb553cb5136072d41f3 Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 22:49:04 +0200 Subject: [PATCH 0527/2378] python3Packages.azure-mgmt-marketplaceordering: remove redundant structuredAttrs --- .../python-modules/azure-mgmt-marketplaceordering/default.nix | 2 -- 1 file changed, 2 deletions(-) diff --git a/pkgs/development/python-modules/azure-mgmt-marketplaceordering/default.nix b/pkgs/development/python-modules/azure-mgmt-marketplaceordering/default.nix index c1665509d223..64eb1d35b8b0 100644 --- a/pkgs/development/python-modules/azure-mgmt-marketplaceordering/default.nix +++ b/pkgs/development/python-modules/azure-mgmt-marketplaceordering/default.nix @@ -16,8 +16,6 @@ buildPythonPackage (finalAttrs: { version = "1.1.0"; pyproject = true; - __structuredAttrs = true; - src = fetchPypi { inherit (finalAttrs) pname version; extension = "zip"; From 14bad1b6a520d105522b937ed7912689ae113b27 Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 22:49:05 +0200 Subject: [PATCH 0528/2378] python3Packages.azure-mgmt-notificationhubs: remove redundant structuredAttrs --- .../python-modules/azure-mgmt-notificationhubs/default.nix | 2 -- 1 file changed, 2 deletions(-) diff --git a/pkgs/development/python-modules/azure-mgmt-notificationhubs/default.nix b/pkgs/development/python-modules/azure-mgmt-notificationhubs/default.nix index 10f3e7e3b1e8..65210a128cf1 100644 --- a/pkgs/development/python-modules/azure-mgmt-notificationhubs/default.nix +++ b/pkgs/development/python-modules/azure-mgmt-notificationhubs/default.nix @@ -15,8 +15,6 @@ buildPythonPackage (finalAttrs: { version = "8.0.0"; pyproject = true; - __structuredAttrs = true; - src = fetchPypi { inherit (finalAttrs) pname version; extension = "zip"; From b5d49090cf5b7a7536dd9f91187e6e60f6055452 Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 22:49:05 +0200 Subject: [PATCH 0529/2378] python3Packages.azure-mgmt-nspkg: remove redundant structuredAttrs --- pkgs/development/python-modules/azure-mgmt-nspkg/default.nix | 2 -- 1 file changed, 2 deletions(-) diff --git a/pkgs/development/python-modules/azure-mgmt-nspkg/default.nix b/pkgs/development/python-modules/azure-mgmt-nspkg/default.nix index 1749a7074989..bf9852f3056b 100644 --- a/pkgs/development/python-modules/azure-mgmt-nspkg/default.nix +++ b/pkgs/development/python-modules/azure-mgmt-nspkg/default.nix @@ -11,8 +11,6 @@ buildPythonPackage (finalAttrs: { version = "3.0.2"; pyproject = true; - __structuredAttrs = true; - src = fetchPypi { inherit (finalAttrs) pname version; extension = "zip"; From 213e5c42e67c5a67bff7df98f12301535b2b8e17 Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 22:49:05 +0200 Subject: [PATCH 0530/2378] python3Packages.azure-mgmt-rdbms: remove redundant structuredAttrs --- pkgs/development/python-modules/azure-mgmt-rdbms/default.nix | 2 -- 1 file changed, 2 deletions(-) diff --git a/pkgs/development/python-modules/azure-mgmt-rdbms/default.nix b/pkgs/development/python-modules/azure-mgmt-rdbms/default.nix index 1fc4634c1474..0c6d054bde3d 100644 --- a/pkgs/development/python-modules/azure-mgmt-rdbms/default.nix +++ b/pkgs/development/python-modules/azure-mgmt-rdbms/default.nix @@ -16,8 +16,6 @@ buildPythonPackage (finalAttrs: { version = "10.1.0"; pyproject = true; - __structuredAttrs = true; - src = fetchPypi { inherit (finalAttrs) pname version; extension = "zip"; From c495441cc340a3b6fb76e0230318e20a52bbe1d8 Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 22:49:05 +0200 Subject: [PATCH 0531/2378] python3Packages.azure-mgmt-redis: remove redundant structuredAttrs --- pkgs/development/python-modules/azure-mgmt-redis/default.nix | 2 -- 1 file changed, 2 deletions(-) diff --git a/pkgs/development/python-modules/azure-mgmt-redis/default.nix b/pkgs/development/python-modules/azure-mgmt-redis/default.nix index 60f829c75b4e..aa173f035e82 100644 --- a/pkgs/development/python-modules/azure-mgmt-redis/default.nix +++ b/pkgs/development/python-modules/azure-mgmt-redis/default.nix @@ -13,8 +13,6 @@ buildPythonPackage (finalAttrs: { version = "14.5.0"; pyproject = true; - __structuredAttrs = true; - src = fetchPypi { inherit (finalAttrs) version; pname = "azure_mgmt_redis"; From 1cc898e8819f28147ae7780799ff45c69a5b11d3 Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 22:49:06 +0200 Subject: [PATCH 0532/2378] python3Packages.azure-mgmt-servicelinker: remove redundant structuredAttrs --- .../python-modules/azure-mgmt-servicelinker/default.nix | 2 -- 1 file changed, 2 deletions(-) diff --git a/pkgs/development/python-modules/azure-mgmt-servicelinker/default.nix b/pkgs/development/python-modules/azure-mgmt-servicelinker/default.nix index d4a78e59962f..f962e7717d25 100644 --- a/pkgs/development/python-modules/azure-mgmt-servicelinker/default.nix +++ b/pkgs/development/python-modules/azure-mgmt-servicelinker/default.nix @@ -13,8 +13,6 @@ buildPythonPackage (finalAttrs: { version = "1.1.0"; pyproject = true; - __structuredAttrs = true; - src = fetchPypi { inherit (finalAttrs) pname version; hash = "sha256-QVw6Y9HachwBRwCbF0cSGLCAkSJtNnXBvsj5YX1TmJU="; From ba0d9eac7c5cd8ba868855d65a22fd19819df4a9 Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 22:49:06 +0200 Subject: [PATCH 0533/2378] python3Packages.azure-mgmt-signalr: remove redundant structuredAttrs --- pkgs/development/python-modules/azure-mgmt-signalr/default.nix | 2 -- 1 file changed, 2 deletions(-) diff --git a/pkgs/development/python-modules/azure-mgmt-signalr/default.nix b/pkgs/development/python-modules/azure-mgmt-signalr/default.nix index dbd255d38d1e..7ddf473b67b7 100644 --- a/pkgs/development/python-modules/azure-mgmt-signalr/default.nix +++ b/pkgs/development/python-modules/azure-mgmt-signalr/default.nix @@ -14,8 +14,6 @@ buildPythonPackage (finalAttrs: { version = "2.0.0b2"; pyproject = true; - __structuredAttrs = true; - src = fetchPypi { inherit (finalAttrs) pname version; extension = "tar.gz"; From 666c770b44ffaaf038f313b46371f93b4412e9b9 Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 22:49:06 +0200 Subject: [PATCH 0534/2378] python3Packages.azure-mgmt-sql: remove redundant structuredAttrs --- pkgs/development/python-modules/azure-mgmt-sql/default.nix | 2 -- 1 file changed, 2 deletions(-) diff --git a/pkgs/development/python-modules/azure-mgmt-sql/default.nix b/pkgs/development/python-modules/azure-mgmt-sql/default.nix index 26a058b44fbc..062d7df78b84 100644 --- a/pkgs/development/python-modules/azure-mgmt-sql/default.nix +++ b/pkgs/development/python-modules/azure-mgmt-sql/default.nix @@ -16,8 +16,6 @@ buildPythonPackage (finalAttrs: { version = "3.0.1"; pyproject = true; - __structuredAttrs = true; - src = fetchPypi { inherit (finalAttrs) pname version; extension = "zip"; From 7c6b9dd54cea6e40c513f8706f1d7784e6b645aa Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 22:49:06 +0200 Subject: [PATCH 0535/2378] python3Packages.azure-mgmt-subscription: remove redundant structuredAttrs --- .../python-modules/azure-mgmt-subscription/default.nix | 2 -- 1 file changed, 2 deletions(-) diff --git a/pkgs/development/python-modules/azure-mgmt-subscription/default.nix b/pkgs/development/python-modules/azure-mgmt-subscription/default.nix index 15dd01bb3b28..5e8177ee95dc 100644 --- a/pkgs/development/python-modules/azure-mgmt-subscription/default.nix +++ b/pkgs/development/python-modules/azure-mgmt-subscription/default.nix @@ -16,8 +16,6 @@ buildPythonPackage (finalAttrs: { version = "3.1.1"; pyproject = true; - __structuredAttrs = true; - src = fetchPypi { inherit (finalAttrs) pname version; extension = "zip"; From 279eae9b3b19bf14e75c1558308c886e395c2f02 Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 22:49:07 +0200 Subject: [PATCH 0536/2378] python3Packages.azure-mgmt-trafficmanager: remove redundant structuredAttrs --- .../python-modules/azure-mgmt-trafficmanager/default.nix | 2 -- 1 file changed, 2 deletions(-) diff --git a/pkgs/development/python-modules/azure-mgmt-trafficmanager/default.nix b/pkgs/development/python-modules/azure-mgmt-trafficmanager/default.nix index 99a2ee0040ea..874445f418d6 100644 --- a/pkgs/development/python-modules/azure-mgmt-trafficmanager/default.nix +++ b/pkgs/development/python-modules/azure-mgmt-trafficmanager/default.nix @@ -16,8 +16,6 @@ buildPythonPackage (finalAttrs: { version = "1.1.0"; pyproject = true; - __structuredAttrs = true; - src = fetchPypi { inherit (finalAttrs) pname version; extension = "zip"; From 7725a97f6c8990fbc78f7634a5e882e20695ae2a Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 22:49:07 +0200 Subject: [PATCH 0537/2378] python3Packages.azure-nspkg: remove redundant structuredAttrs --- pkgs/development/python-modules/azure-nspkg/default.nix | 1 - 1 file changed, 1 deletion(-) diff --git a/pkgs/development/python-modules/azure-nspkg/default.nix b/pkgs/development/python-modules/azure-nspkg/default.nix index 09b9893ceaa9..df47edce9ac0 100644 --- a/pkgs/development/python-modules/azure-nspkg/default.nix +++ b/pkgs/development/python-modules/azure-nspkg/default.nix @@ -9,7 +9,6 @@ buildPythonPackage (finalAttrs: { version = "3.0.2"; pyproject = true; - __structuredAttrs = true; pname = "azure-nspkg"; src = fetchPypi { From 5d34dc86fa76897db2985fd26fec5836e6424db1 Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 22:49:07 +0200 Subject: [PATCH 0538/2378] python3Packages.azure-servicefabric: remove redundant structuredAttrs --- pkgs/development/python-modules/azure-servicefabric/default.nix | 2 -- 1 file changed, 2 deletions(-) diff --git a/pkgs/development/python-modules/azure-servicefabric/default.nix b/pkgs/development/python-modules/azure-servicefabric/default.nix index 9e10d5c81611..4f3af749f2d9 100644 --- a/pkgs/development/python-modules/azure-servicefabric/default.nix +++ b/pkgs/development/python-modules/azure-servicefabric/default.nix @@ -12,8 +12,6 @@ buildPythonPackage (finalAttrs: { version = "8.2.0.0"; pyproject = true; - __structuredAttrs = true; - src = fetchPypi { inherit (finalAttrs) pname version; extension = "zip"; From 50d3daa0254e316ec9b664934a99313497c139e2 Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 22:49:08 +0200 Subject: [PATCH 0539/2378] python3Packages.azure-storage-common: remove redundant structuredAttrs --- .../development/python-modules/azure-storage-common/default.nix | 2 -- 1 file changed, 2 deletions(-) diff --git a/pkgs/development/python-modules/azure-storage-common/default.nix b/pkgs/development/python-modules/azure-storage-common/default.nix index 3b05afab23a2..8723b2fbca22 100644 --- a/pkgs/development/python-modules/azure-storage-common/default.nix +++ b/pkgs/development/python-modules/azure-storage-common/default.nix @@ -16,8 +16,6 @@ buildPythonPackage (finalAttrs: { version = "2.1.0"; pyproject = true; - __structuredAttrs = true; - src = fetchPypi { inherit (finalAttrs) pname version; hash = "sha256-zO3vXGcie8TWZw/9N87Bj7UpobfDpeU+QJbrDPI9xz8="; From d5cabd13344440cec089894052edbfc424c801e9 Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 22:49:08 +0200 Subject: [PATCH 0540/2378] python3Packages.azure-storage-file: remove redundant structuredAttrs --- pkgs/development/python-modules/azure-storage-file/default.nix | 2 -- 1 file changed, 2 deletions(-) diff --git a/pkgs/development/python-modules/azure-storage-file/default.nix b/pkgs/development/python-modules/azure-storage-file/default.nix index 440ba22c21ae..d6bacd8a7dee 100644 --- a/pkgs/development/python-modules/azure-storage-file/default.nix +++ b/pkgs/development/python-modules/azure-storage-file/default.nix @@ -14,8 +14,6 @@ buildPythonPackage (finalAttrs: { version = "2.1.0"; pyproject = true; - __structuredAttrs = true; - src = fetchPypi { inherit (finalAttrs) pname version; hash = "sha256-NVm5x6sTRQxm6oM+uCwoIzvuJPG9jKGap9J/jCPVvFM="; From 975002bb2444381fbdc981d7a143bfc16651df4d Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 22:49:08 +0200 Subject: [PATCH 0541/2378] python3Packages.azure-storage-nspkg: remove redundant structuredAttrs --- pkgs/development/python-modules/azure-storage-nspkg/default.nix | 2 -- 1 file changed, 2 deletions(-) diff --git a/pkgs/development/python-modules/azure-storage-nspkg/default.nix b/pkgs/development/python-modules/azure-storage-nspkg/default.nix index bbd7c2c59420..b6c5ba701843 100644 --- a/pkgs/development/python-modules/azure-storage-nspkg/default.nix +++ b/pkgs/development/python-modules/azure-storage-nspkg/default.nix @@ -11,8 +11,6 @@ buildPythonPackage (finalAttrs: { version = "3.1.0"; pyproject = true; - __structuredAttrs = true; - src = fetchPypi { inherit (finalAttrs) pname version; hash = "sha256-bzu+hlLV9UJ2fYQz5/lrjff1GHdAVax8ku18qF9lOBE="; From dab5f14fb876757872b9a5d85d4e854d9a31f60f Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 22:49:08 +0200 Subject: [PATCH 0542/2378] python3Packages.azure-synapse-artifacts: remove redundant structuredAttrs --- .../python-modules/azure-synapse-artifacts/default.nix | 2 -- 1 file changed, 2 deletions(-) diff --git a/pkgs/development/python-modules/azure-synapse-artifacts/default.nix b/pkgs/development/python-modules/azure-synapse-artifacts/default.nix index 7bb296f2e0e6..f8bad39ce660 100644 --- a/pkgs/development/python-modules/azure-synapse-artifacts/default.nix +++ b/pkgs/development/python-modules/azure-synapse-artifacts/default.nix @@ -14,8 +14,6 @@ buildPythonPackage (finalAttrs: { version = "0.22.0"; pyproject = true; - __structuredAttrs = true; - src = fetchPypi { pname = "azure_synapse_artifacts"; inherit (finalAttrs) version; From 057236e81708217af9d086f6a74ad893927b0a46 Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 22:49:09 +0200 Subject: [PATCH 0543/2378] python3Packages.babelgladeextractor: remove redundant structuredAttrs --- pkgs/development/python-modules/babelgladeextractor/default.nix | 2 -- 1 file changed, 2 deletions(-) diff --git a/pkgs/development/python-modules/babelgladeextractor/default.nix b/pkgs/development/python-modules/babelgladeextractor/default.nix index 81c9f15f3920..ad817850c13d 100644 --- a/pkgs/development/python-modules/babelgladeextractor/default.nix +++ b/pkgs/development/python-modules/babelgladeextractor/default.nix @@ -12,8 +12,6 @@ buildPythonPackage (finalAttrs: { version = "0.7.0"; pyproject = true; - __structuredAttrs = true; - disabled = (!isPy3k); # uses python3 specific file io in setup.py src = fetchPypi { From 46b84794826810c4f60776e3b6d40756d581b422 Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 22:49:09 +0200 Subject: [PATCH 0544/2378] python3Packages.bahttext: remove redundant structuredAttrs --- pkgs/development/python-modules/bahttext/default.nix | 1 - 1 file changed, 1 deletion(-) diff --git a/pkgs/development/python-modules/bahttext/default.nix b/pkgs/development/python-modules/bahttext/default.nix index 5f8500900ada..c766f413ecfe 100644 --- a/pkgs/development/python-modules/bahttext/default.nix +++ b/pkgs/development/python-modules/bahttext/default.nix @@ -11,7 +11,6 @@ buildPythonPackage (finalAttrs: { pname = "bahttext"; version = "1.0.2-unstable-2020-05-31"; pyproject = true; - __structuredAttrs = true; src = fetchFromGitHub { owner = "sekz"; From 1da1b0a5d60afc2c6b4dce89a08112338e59fb42 Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 22:49:09 +0200 Subject: [PATCH 0545/2378] python3Packages.bambi: remove redundant structuredAttrs --- pkgs/development/python-modules/bambi/default.nix | 1 - 1 file changed, 1 deletion(-) diff --git a/pkgs/development/python-modules/bambi/default.nix b/pkgs/development/python-modules/bambi/default.nix index 77c26e40b298..2e4fd2a14fc8 100644 --- a/pkgs/development/python-modules/bambi/default.nix +++ b/pkgs/development/python-modules/bambi/default.nix @@ -31,7 +31,6 @@ buildPythonPackage (finalAttrs: { pname = "bambi"; version = "0.21.0"; pyproject = true; - __structuredAttrs = true; src = fetchFromGitHub { owner = "bambinos"; From 2acbc6a3573a608bdd0d276e0560f596492b1fd8 Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 22:49:10 +0200 Subject: [PATCH 0546/2378] python3Packages.bandcamp-api: remove redundant structuredAttrs --- pkgs/development/python-modules/bandcamp-api/default.nix | 2 -- 1 file changed, 2 deletions(-) diff --git a/pkgs/development/python-modules/bandcamp-api/default.nix b/pkgs/development/python-modules/bandcamp-api/default.nix index a1fbaaffc8bb..c70e1659c48c 100644 --- a/pkgs/development/python-modules/bandcamp-api/default.nix +++ b/pkgs/development/python-modules/bandcamp-api/default.nix @@ -15,8 +15,6 @@ buildPythonPackage (finalAttrs: { version = "0.2.3"; pyproject = true; - __structuredAttrs = true; - src = fetchPypi { pname = "bandcamp_api"; inherit (finalAttrs) version; From 451abd8ea3657ea5f5f11f276b0dfbb06998e030 Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 22:49:10 +0200 Subject: [PATCH 0547/2378] python3Packages.bangla: remove redundant structuredAttrs --- pkgs/development/python-modules/bangla/default.nix | 2 -- 1 file changed, 2 deletions(-) diff --git a/pkgs/development/python-modules/bangla/default.nix b/pkgs/development/python-modules/bangla/default.nix index ce3ff769ef0e..c44b7941bde9 100644 --- a/pkgs/development/python-modules/bangla/default.nix +++ b/pkgs/development/python-modules/bangla/default.nix @@ -10,8 +10,6 @@ buildPythonPackage (finalAttrs: { version = "0.0.6"; pyproject = true; - __structuredAttrs = true; - src = fetchPypi { inherit (finalAttrs) pname version; hash = "sha256-r/5AaVajaWNRwTRkY3O59+aWewrJ2Rnclnc29n3GCxs="; From 0fc290f1da005669724852262c81970aea6b5fa4 Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 22:49:10 +0200 Subject: [PATCH 0548/2378] python3Packages.bap: remove redundant structuredAttrs --- pkgs/development/python-modules/bap/default.nix | 2 -- 1 file changed, 2 deletions(-) diff --git a/pkgs/development/python-modules/bap/default.nix b/pkgs/development/python-modules/bap/default.nix index cecfbf1a1309..2a0f9487d240 100644 --- a/pkgs/development/python-modules/bap/default.nix +++ b/pkgs/development/python-modules/bap/default.nix @@ -12,8 +12,6 @@ buildPythonPackage (finalAttrs: { version = "1.3.1"; pyproject = true; - __structuredAttrs = true; - src = fetchFromGitHub { owner = "BinaryAnalysisPlatform"; repo = "bap-python"; From b3a9cf33088ddd44bec1d2c30e404f398f30cafd Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 22:49:10 +0200 Subject: [PATCH 0549/2378] python3Packages.baron: remove redundant structuredAttrs --- pkgs/development/python-modules/baron/default.nix | 2 -- 1 file changed, 2 deletions(-) diff --git a/pkgs/development/python-modules/baron/default.nix b/pkgs/development/python-modules/baron/default.nix index 36421a2d87a5..0955bc9a4cec 100644 --- a/pkgs/development/python-modules/baron/default.nix +++ b/pkgs/development/python-modules/baron/default.nix @@ -13,8 +13,6 @@ buildPythonPackage (finalAttrs: { version = "0.10.1"; pyproject = true; - __structuredAttrs = true; - src = fetchPypi { inherit (finalAttrs) pname version; hash = "sha256-r4Iq1E1OtCXIUW30I5rE/bqf2zmO935JJM18m0BFvC8="; From ba24e0c7345775d304aa3a40e6c6699b152239cb Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 22:49:11 +0200 Subject: [PATCH 0550/2378] python3Packages.base36: remove redundant structuredAttrs --- pkgs/development/python-modules/base36/default.nix | 2 -- 1 file changed, 2 deletions(-) diff --git a/pkgs/development/python-modules/base36/default.nix b/pkgs/development/python-modules/base36/default.nix index 69555c07ce71..58b502c32897 100644 --- a/pkgs/development/python-modules/base36/default.nix +++ b/pkgs/development/python-modules/base36/default.nix @@ -11,8 +11,6 @@ buildPythonPackage (finalAttrs: { version = "0.1.1"; pyproject = true; - __structuredAttrs = true; - src = fetchFromGitHub { owner = "tonyseek"; repo = "python-base36"; From 58d62958f85a2ae463ee6112750578e617380309 Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 22:49:11 +0200 Subject: [PATCH 0551/2378] python3Packages.base58check: remove redundant structuredAttrs --- pkgs/development/python-modules/base58check/default.nix | 2 -- 1 file changed, 2 deletions(-) diff --git a/pkgs/development/python-modules/base58check/default.nix b/pkgs/development/python-modules/base58check/default.nix index 378f7f84fc1b..da887bac8658 100644 --- a/pkgs/development/python-modules/base58check/default.nix +++ b/pkgs/development/python-modules/base58check/default.nix @@ -11,8 +11,6 @@ buildPythonPackage (finalAttrs: { version = "1.0.2"; pyproject = true; - __structuredAttrs = true; - build-system = [ setuptools ]; src = fetchFromGitHub { From 930223492518f7f67ec17ec4002a4a81d1bf1f2e Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 22:49:11 +0200 Subject: [PATCH 0552/2378] python3Packages.baseline: remove redundant structuredAttrs --- pkgs/development/python-modules/baseline/default.nix | 2 -- 1 file changed, 2 deletions(-) diff --git a/pkgs/development/python-modules/baseline/default.nix b/pkgs/development/python-modules/baseline/default.nix index 218888366bae..5a8378d79ce2 100644 --- a/pkgs/development/python-modules/baseline/default.nix +++ b/pkgs/development/python-modules/baseline/default.nix @@ -12,8 +12,6 @@ buildPythonPackage { version = "1.2.1"; pyproject = true; - __structuredAttrs = true; - disabled = !isPy3k; src = fetchFromGitHub { From e8311d70bb5bd0f55306d5d93404081f5b5e50ac Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 22:49:12 +0200 Subject: [PATCH 0553/2378] python3Packages.baselines: remove redundant structuredAttrs --- pkgs/development/python-modules/baselines/default.nix | 1 - 1 file changed, 1 deletion(-) diff --git a/pkgs/development/python-modules/baselines/default.nix b/pkgs/development/python-modules/baselines/default.nix index 067ba844d4f0..563952f43915 100644 --- a/pkgs/development/python-modules/baselines/default.nix +++ b/pkgs/development/python-modules/baselines/default.nix @@ -24,7 +24,6 @@ buildPythonPackage { pname = "baselines"; version = "0.1.6"; # remember to manually adjust the rev pyproject = true; - __structuredAttrs = true; src = fetchFromGitHub { owner = "openai"; From 14295b7cac3be3e0b0c90186a1783551c7e5ea5b Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 22:49:12 +0200 Subject: [PATCH 0554/2378] python3Packages.bashlex: remove redundant structuredAttrs --- pkgs/development/python-modules/bashlex/default.nix | 2 -- 1 file changed, 2 deletions(-) diff --git a/pkgs/development/python-modules/bashlex/default.nix b/pkgs/development/python-modules/bashlex/default.nix index 9bbabfbc6e98..afd6e10ed394 100644 --- a/pkgs/development/python-modules/bashlex/default.nix +++ b/pkgs/development/python-modules/bashlex/default.nix @@ -13,8 +13,6 @@ buildPythonPackage (finalAttrs: { pyproject = true; - __structuredAttrs = true; - src = fetchFromGitHub { owner = "idank"; repo = "bashlex"; From 7625646b47274c8ef22343903b1226f7aa7daab5 Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 22:49:12 +0200 Subject: [PATCH 0555/2378] python3Packages.basiciw: remove redundant structuredAttrs --- pkgs/development/python-modules/basiciw/default.nix | 2 -- 1 file changed, 2 deletions(-) diff --git a/pkgs/development/python-modules/basiciw/default.nix b/pkgs/development/python-modules/basiciw/default.nix index 38c4f313ef31..9341e560e84f 100644 --- a/pkgs/development/python-modules/basiciw/default.nix +++ b/pkgs/development/python-modules/basiciw/default.nix @@ -13,8 +13,6 @@ buildPythonPackage (finalAttrs: { version = "0.2.2"; pyproject = true; - __structuredAttrs = true; - disabled = isPyPy; src = fetchPypi { From 1ac70a166acbdd7f29ace8414df53939617cf99c Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 22:49:12 +0200 Subject: [PATCH 0556/2378] python3Packages.batchspawner: remove redundant structuredAttrs --- pkgs/development/python-modules/batchspawner/default.nix | 1 - 1 file changed, 1 deletion(-) diff --git a/pkgs/development/python-modules/batchspawner/default.nix b/pkgs/development/python-modules/batchspawner/default.nix index d580f493c553..7bb4be51f6c2 100644 --- a/pkgs/development/python-modules/batchspawner/default.nix +++ b/pkgs/development/python-modules/batchspawner/default.nix @@ -20,7 +20,6 @@ buildPythonPackage (finalAttrs: { pname = "batchspawner"; version = "1.3.0"; pyproject = true; - __structuredAttrs = true; src = fetchFromGitHub { owner = "jupyterhub"; From ce818b12cefead5d8c0c4a7fe7f8e1b71bcafb11 Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 22:49:13 +0200 Subject: [PATCH 0557/2378] python3Packages.baycomp: remove redundant structuredAttrs --- pkgs/development/python-modules/baycomp/default.nix | 2 -- 1 file changed, 2 deletions(-) diff --git a/pkgs/development/python-modules/baycomp/default.nix b/pkgs/development/python-modules/baycomp/default.nix index 06d982616bdd..5ff3c41185e0 100644 --- a/pkgs/development/python-modules/baycomp/default.nix +++ b/pkgs/development/python-modules/baycomp/default.nix @@ -14,8 +14,6 @@ buildPythonPackage (finalAttrs: { version = "1.0.3"; pyproject = true; - __structuredAttrs = true; - src = fetchPypi { inherit (finalAttrs) pname version; hash = "sha256-MrJa17FtWyUd259hEKMtezlTuYcJbaHSXvJ3k10l2uw="; From c401dbb32292f7e087a813f0bc5fc1dff4a05bf4 Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 22:49:13 +0200 Subject: [PATCH 0558/2378] python3Packages.bbpb: remove redundant structuredAttrs --- pkgs/development/python-modules/bbpb/default.nix | 2 -- 1 file changed, 2 deletions(-) diff --git a/pkgs/development/python-modules/bbpb/default.nix b/pkgs/development/python-modules/bbpb/default.nix index e92544a0a68b..6b0d587d9eeb 100644 --- a/pkgs/development/python-modules/bbpb/default.nix +++ b/pkgs/development/python-modules/bbpb/default.nix @@ -12,8 +12,6 @@ buildPythonPackage (finalAttrs: { version = "1.4.2"; pyproject = true; - __structuredAttrs = true; - src = fetchPypi { inherit (finalAttrs) pname version; hash = "sha256-A0RpkbxQDPyd0gSebMlImXnhV8Xst5PieTarPVedNJY="; From 9021fa848d2dd7d661a2b5ace8ad0d5edd7717f2 Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 22:49:13 +0200 Subject: [PATCH 0559/2378] python3Packages.bc-jsonpath-ng: remove redundant structuredAttrs --- pkgs/development/python-modules/bc-jsonpath-ng/default.nix | 2 -- 1 file changed, 2 deletions(-) diff --git a/pkgs/development/python-modules/bc-jsonpath-ng/default.nix b/pkgs/development/python-modules/bc-jsonpath-ng/default.nix index 59a20a28af2d..a8a7b86226bc 100644 --- a/pkgs/development/python-modules/bc-jsonpath-ng/default.nix +++ b/pkgs/development/python-modules/bc-jsonpath-ng/default.nix @@ -13,8 +13,6 @@ buildPythonPackage (finalAttrs: { version = "1.6.1"; pyproject = true; - __structuredAttrs = true; - src = fetchFromGitHub { owner = "bridgecrewio"; repo = "jsonpath-ng"; From 111d4d54b445fc285c9b6e9ef5648d70384dcae8 Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 22:49:14 +0200 Subject: [PATCH 0560/2378] python3Packages.bcdoc: remove redundant structuredAttrs --- pkgs/development/python-modules/bcdoc/default.nix | 2 -- 1 file changed, 2 deletions(-) diff --git a/pkgs/development/python-modules/bcdoc/default.nix b/pkgs/development/python-modules/bcdoc/default.nix index ac66aa8e5cd4..102fc03c5230 100644 --- a/pkgs/development/python-modules/bcdoc/default.nix +++ b/pkgs/development/python-modules/bcdoc/default.nix @@ -12,8 +12,6 @@ buildPythonPackage (finalAttrs: { version = "0.16.0"; pyproject = true; - __structuredAttrs = true; - src = fetchPypi { inherit (finalAttrs) pname version; hash = "sha256-9WjBguBog77PcZbyJwUkNc/9RWBHAMgjYsp300J7YgI="; From 5bb0344279bc5ab943c06442f4d5827e7be6df76 Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 22:49:14 +0200 Subject: [PATCH 0561/2378] python3Packages.bcf: remove redundant structuredAttrs --- pkgs/development/python-modules/bcf/default.nix | 2 -- 1 file changed, 2 deletions(-) diff --git a/pkgs/development/python-modules/bcf/default.nix b/pkgs/development/python-modules/bcf/default.nix index a50da1f740da..64bb9f6e120f 100644 --- a/pkgs/development/python-modules/bcf/default.nix +++ b/pkgs/development/python-modules/bcf/default.nix @@ -19,8 +19,6 @@ buildPythonPackage (finalAttrs: { version = "1.9.1"; pyproject = true; - __structuredAttrs = true; - src = fetchFromGitHub { owner = "hardwario"; repo = "bch-firmware-tool"; From 1ae8479bd69e58cfbcd160458416e223b452c1be Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 22:49:14 +0200 Subject: [PATCH 0562/2378] python3Packages.bcg: remove redundant structuredAttrs --- pkgs/development/python-modules/bcg/default.nix | 2 -- 1 file changed, 2 deletions(-) diff --git a/pkgs/development/python-modules/bcg/default.nix b/pkgs/development/python-modules/bcg/default.nix index c1a511defad5..66dcb6eed67a 100644 --- a/pkgs/development/python-modules/bcg/default.nix +++ b/pkgs/development/python-modules/bcg/default.nix @@ -19,8 +19,6 @@ buildPythonPackage (finalAttrs: { version = "1.17.0"; pyproject = true; - __structuredAttrs = true; - src = fetchFromGitHub { owner = "hardwario"; repo = "bch-gateway"; From 2d5437d0d0f28804e0f299fc329e5035600e6590 Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 22:49:14 +0200 Subject: [PATCH 0563/2378] python3Packages.bch: remove redundant structuredAttrs --- pkgs/development/python-modules/bch/default.nix | 2 -- 1 file changed, 2 deletions(-) diff --git a/pkgs/development/python-modules/bch/default.nix b/pkgs/development/python-modules/bch/default.nix index c947beafd19b..a389ac05b37f 100644 --- a/pkgs/development/python-modules/bch/default.nix +++ b/pkgs/development/python-modules/bch/default.nix @@ -14,8 +14,6 @@ buildPythonPackage (finalAttrs: { version = "1.2.1"; pyproject = true; - __structuredAttrs = true; - src = fetchFromGitHub { owner = "hardwario"; repo = "bch-control-tool"; From 0a00bcd7e1de78358521b0b52b29b8adaf6ff234 Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 22:49:15 +0200 Subject: [PATCH 0564/2378] python3Packages.beanstalkc: remove redundant structuredAttrs --- pkgs/development/python-modules/beanstalkc/default.nix | 2 -- 1 file changed, 2 deletions(-) diff --git a/pkgs/development/python-modules/beanstalkc/default.nix b/pkgs/development/python-modules/beanstalkc/default.nix index 65e66ae844eb..af00d7ac16a4 100644 --- a/pkgs/development/python-modules/beanstalkc/default.nix +++ b/pkgs/development/python-modules/beanstalkc/default.nix @@ -10,8 +10,6 @@ buildPythonPackage (finalAttrs: { version = "0.5.2"; pyproject = true; - __structuredAttrs = true; - src = fetchFromGitHub { owner = "bosondata"; repo = "beanstalkc"; From 31011222b2416b61de3c8a4cad4afc651c448acc Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 22:49:15 +0200 Subject: [PATCH 0565/2378] python3Packages.beautiful-date: remove redundant structuredAttrs --- pkgs/development/python-modules/beautiful-date/default.nix | 2 -- 1 file changed, 2 deletions(-) diff --git a/pkgs/development/python-modules/beautiful-date/default.nix b/pkgs/development/python-modules/beautiful-date/default.nix index abaf49324d9f..c6e57a2f9577 100644 --- a/pkgs/development/python-modules/beautiful-date/default.nix +++ b/pkgs/development/python-modules/beautiful-date/default.nix @@ -13,8 +13,6 @@ buildPythonPackage (finalAttrs: { version = "2.3.0"; pyproject = true; - __structuredAttrs = true; - src = fetchFromGitHub { owner = "kuzmoyev"; repo = "beautiful-date"; From 9b255ae355b03095a9599ae070bb46197f3661b0 Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 22:49:15 +0200 Subject: [PATCH 0566/2378] python3Packages.beautifultable: remove redundant structuredAttrs --- pkgs/development/python-modules/beautifultable/default.nix | 2 -- 1 file changed, 2 deletions(-) diff --git a/pkgs/development/python-modules/beautifultable/default.nix b/pkgs/development/python-modules/beautifultable/default.nix index c78f95c6da7e..275974dfc111 100644 --- a/pkgs/development/python-modules/beautifultable/default.nix +++ b/pkgs/development/python-modules/beautifultable/default.nix @@ -12,8 +12,6 @@ buildPythonPackage (finalAttrs: { version = "1.1.0"; pyproject = true; - __structuredAttrs = true; - src = fetchFromGitHub { owner = "pri22296"; repo = "beautifultable"; From 76afab8e8fe08143518ab0b8c8f5943bb5ccda7d Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 22:49:16 +0200 Subject: [PATCH 0567/2378] python3Packages.bech32: remove redundant structuredAttrs --- pkgs/development/python-modules/bech32/default.nix | 2 -- 1 file changed, 2 deletions(-) diff --git a/pkgs/development/python-modules/bech32/default.nix b/pkgs/development/python-modules/bech32/default.nix index 2a754b268943..21c18068c8ee 100644 --- a/pkgs/development/python-modules/bech32/default.nix +++ b/pkgs/development/python-modules/bech32/default.nix @@ -9,8 +9,6 @@ buildPythonPackage (finalAttrs: { version = "1.2.0"; pyproject = true; - __structuredAttrs = true; - src = fetchPypi { inherit (finalAttrs) pname version; hash = "sha256-fW24IUYDvXhx/PpsCCbvaLhbCr2Q+iHChanF4h0r2Jk="; From 65bffdb9bad1cc53ada772315acc3e9eb16b9a3a Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 22:49:16 +0200 Subject: [PATCH 0568/2378] python3Packages.before-after: remove redundant structuredAttrs --- pkgs/development/python-modules/before-after/default.nix | 2 -- 1 file changed, 2 deletions(-) diff --git a/pkgs/development/python-modules/before-after/default.nix b/pkgs/development/python-modules/before-after/default.nix index 5d6a58aad6d4..26b9f69db923 100644 --- a/pkgs/development/python-modules/before-after/default.nix +++ b/pkgs/development/python-modules/before-after/default.nix @@ -12,8 +12,6 @@ buildPythonPackage (finalAttrs: { version = "1.0.1"; pyproject = true; - __structuredAttrs = true; - src = fetchPypi { pname = "before_after"; inherit (finalAttrs) version; From aec1d4f37fa9263805e55329b1b3f6dd69c58982 Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 22:49:16 +0200 Subject: [PATCH 0569/2378] python3Packages.bencode-py: remove redundant structuredAttrs --- pkgs/development/python-modules/bencode-py/default.nix | 2 -- 1 file changed, 2 deletions(-) diff --git a/pkgs/development/python-modules/bencode-py/default.nix b/pkgs/development/python-modules/bencode-py/default.nix index c79d2d71e040..4c2fa7077f8d 100644 --- a/pkgs/development/python-modules/bencode-py/default.nix +++ b/pkgs/development/python-modules/bencode-py/default.nix @@ -12,8 +12,6 @@ buildPythonPackage (finalAttrs: { version = "4.1.0"; pyproject = true; - __structuredAttrs = true; - src = fetchFromGitHub { owner = "fuzeman"; repo = "bencode.py"; From 4416cf02f89087d4d5d527c7cdd9c01037c6b9a4 Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 22:49:17 +0200 Subject: [PATCH 0570/2378] python3Packages.bencoder: remove redundant structuredAttrs --- pkgs/development/python-modules/bencoder/default.nix | 2 -- 1 file changed, 2 deletions(-) diff --git a/pkgs/development/python-modules/bencoder/default.nix b/pkgs/development/python-modules/bencoder/default.nix index 51ab63bab42e..dec61d902245 100644 --- a/pkgs/development/python-modules/bencoder/default.nix +++ b/pkgs/development/python-modules/bencoder/default.nix @@ -9,8 +9,6 @@ buildPythonPackage (finalAttrs: { version = "0.2.0"; pyproject = true; - __structuredAttrs = true; - src = fetchPypi { inherit (finalAttrs) pname version; hash = "sha256-rENvM/3X51stkFdJHSq+77VjHvsTyBNAPbCtsRq1L8I="; From ae0823b7055198eaf030a4ceb5a8c9dbbe562229 Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 22:49:17 +0200 Subject: [PATCH 0571/2378] python3Packages.betacode: remove redundant structuredAttrs --- pkgs/development/python-modules/betacode/default.nix | 2 -- 1 file changed, 2 deletions(-) diff --git a/pkgs/development/python-modules/betacode/default.nix b/pkgs/development/python-modules/betacode/default.nix index 1bed1e9678ea..f4261ae60478 100644 --- a/pkgs/development/python-modules/betacode/default.nix +++ b/pkgs/development/python-modules/betacode/default.nix @@ -11,8 +11,6 @@ buildPythonPackage (finalAttrs: { version = "1.1"; pyproject = true; - __structuredAttrs = true; - src = fetchPypi { inherit (finalAttrs) pname version; hash = "sha256-TKYetG25qcvnbyvWAfGlouYDLSg0MnPOsPlWUrLCUR4="; From 0411e8fae278ab7e21599a466d5dece672969d05 Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 22:49:17 +0200 Subject: [PATCH 0572/2378] python3Packages.betamax-serializers: remove redundant structuredAttrs --- pkgs/development/python-modules/betamax-serializers/default.nix | 2 -- 1 file changed, 2 deletions(-) diff --git a/pkgs/development/python-modules/betamax-serializers/default.nix b/pkgs/development/python-modules/betamax-serializers/default.nix index 1935df0d69c8..b872cfb9be5b 100644 --- a/pkgs/development/python-modules/betamax-serializers/default.nix +++ b/pkgs/development/python-modules/betamax-serializers/default.nix @@ -12,8 +12,6 @@ buildPythonPackage (finalAttrs: { version = "0.2.1"; pyproject = true; - __structuredAttrs = true; - src = fetchPypi { inherit (finalAttrs) pname version; hash = "sha256-NFxBmxtzFx8pUcYqw8cBd1rEt24T6GRk6/D/KpeOSUk="; From e32ba7196df890a78a16d46d78b68363ee90f181 Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 22:49:17 +0200 Subject: [PATCH 0573/2378] python3Packages.bibtexparser: remove redundant structuredAttrs --- pkgs/development/python-modules/bibtexparser/default.nix | 2 -- 1 file changed, 2 deletions(-) diff --git a/pkgs/development/python-modules/bibtexparser/default.nix b/pkgs/development/python-modules/bibtexparser/default.nix index 2c4088a88201..4dc37a08d1e6 100644 --- a/pkgs/development/python-modules/bibtexparser/default.nix +++ b/pkgs/development/python-modules/bibtexparser/default.nix @@ -12,8 +12,6 @@ buildPythonPackage (finalAttrs: { version = "1.4.4"; pyproject = true; - __structuredAttrs = true; - src = fetchFromGitHub { owner = "sciunto-org"; repo = "python-${finalAttrs.pname}"; From b0964fcccb966030a1455ecec0ee26f8e9fca282 Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 22:49:18 +0200 Subject: [PATCH 0574/2378] python3Packages.binaryornot: remove redundant structuredAttrs --- pkgs/development/python-modules/binaryornot/default.nix | 2 -- 1 file changed, 2 deletions(-) diff --git a/pkgs/development/python-modules/binaryornot/default.nix b/pkgs/development/python-modules/binaryornot/default.nix index 5b2461587826..1027ece4085e 100644 --- a/pkgs/development/python-modules/binaryornot/default.nix +++ b/pkgs/development/python-modules/binaryornot/default.nix @@ -12,8 +12,6 @@ buildPythonPackage (finalAttrs: { version = "0.6.0"; pyproject = true; - __structuredAttrs = true; - src = fetchPypi { inherit (finalAttrs) pname version; hash = "sha256-zI1Xz6cddP+MKKdyZzTVOoUdAvrZ46VYH7gH+Yn3AvA="; From f3e6104b299037e1fa412b3e8507245cf7fcb09a Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 22:49:18 +0200 Subject: [PATCH 0575/2378] python3Packages.bincopy: remove redundant structuredAttrs --- pkgs/development/python-modules/bincopy/default.nix | 2 -- 1 file changed, 2 deletions(-) diff --git a/pkgs/development/python-modules/bincopy/default.nix b/pkgs/development/python-modules/bincopy/default.nix index 60e426e49590..3c9cff55daa6 100644 --- a/pkgs/development/python-modules/bincopy/default.nix +++ b/pkgs/development/python-modules/bincopy/default.nix @@ -14,8 +14,6 @@ buildPythonPackage (finalAttrs: { version = "20.1.1"; pyproject = true; - __structuredAttrs = true; - src = fetchPypi { inherit (finalAttrs) pname version; hash = "sha256-6UpJi5pKvnZwPDdyqtRm8VY7T8mAnaeWXxG8dwlAk7k="; From 5573038fffb9ad76d8a5df532b5b8ae35f06ab73 Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 22:49:18 +0200 Subject: [PATCH 0576/2378] python3Packages.binho-host-adapter: remove redundant structuredAttrs --- pkgs/development/python-modules/binho-host-adapter/default.nix | 2 -- 1 file changed, 2 deletions(-) diff --git a/pkgs/development/python-modules/binho-host-adapter/default.nix b/pkgs/development/python-modules/binho-host-adapter/default.nix index 97ce7bfe5cf8..707f94ef2b61 100644 --- a/pkgs/development/python-modules/binho-host-adapter/default.nix +++ b/pkgs/development/python-modules/binho-host-adapter/default.nix @@ -11,8 +11,6 @@ buildPythonPackage (finalAttrs: { version = "0.1.6"; pyproject = true; - __structuredAttrs = true; - src = fetchPypi { inherit (finalAttrs) pname version; hash = "sha256-Hm2nqE4gjBO19IkGbwV3S/8dWT0PW/HKFJwrjoPq6FY="; From c7d4d40610131816db13960b5870da044f9282bf Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 22:49:19 +0200 Subject: [PATCH 0577/2378] python3Packages.biplist: remove redundant structuredAttrs --- pkgs/development/python-modules/biplist/default.nix | 2 -- 1 file changed, 2 deletions(-) diff --git a/pkgs/development/python-modules/biplist/default.nix b/pkgs/development/python-modules/biplist/default.nix index 00c7cc807262..a5c647ccd60b 100644 --- a/pkgs/development/python-modules/biplist/default.nix +++ b/pkgs/development/python-modules/biplist/default.nix @@ -11,8 +11,6 @@ buildPythonPackage (finalAttrs: { version = "1.0.3"; pyproject = true; - __structuredAttrs = true; - src = fetchPypi { inherit (finalAttrs) pname version; hash = "sha256-TAVJdkxf5QsoBC7CGqLhT+GiIk4jmh2ud9nn85MqpMY="; From c2d2efd634e028214d8396f29907782cf2ad359c Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 22:49:19 +0200 Subject: [PATCH 0578/2378] python3Packages.bittensor-core: remove redundant structuredAttrs --- pkgs/development/python-modules/bittensor-core/default.nix | 2 -- 1 file changed, 2 deletions(-) diff --git a/pkgs/development/python-modules/bittensor-core/default.nix b/pkgs/development/python-modules/bittensor-core/default.nix index fab4773a2247..54d6c394bf4d 100644 --- a/pkgs/development/python-modules/bittensor-core/default.nix +++ b/pkgs/development/python-modules/bittensor-core/default.nix @@ -13,8 +13,6 @@ buildPythonPackage (finalAttrs: { version = "0.1.3"; pyproject = true; - __structuredAttrs = true; - src = fetchPypi { pname = "bittensor_core"; inherit (finalAttrs) version; From 51735bd421867c07d51630314a24432f35288120 Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 22:49:19 +0200 Subject: [PATCH 0579/2378] python3Packages.bittensor: remove redundant structuredAttrs --- pkgs/development/python-modules/bittensor/default.nix | 2 -- 1 file changed, 2 deletions(-) diff --git a/pkgs/development/python-modules/bittensor/default.nix b/pkgs/development/python-modules/bittensor/default.nix index 07407864e267..ab823414db80 100644 --- a/pkgs/development/python-modules/bittensor/default.nix +++ b/pkgs/development/python-modules/bittensor/default.nix @@ -24,8 +24,6 @@ buildPythonPackage (finalAttrs: { version = "11.1.0"; pyproject = true; - __structuredAttrs = true; - src = fetchPypi { inherit (finalAttrs) pname version; hash = "sha256-l75+nVI8o22T7dx7ljGLQqe72VErU8dXxYB6fa+0Nx0="; From 46ce6e9c3bf0045943075baed00da985227c5bba Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 22:49:19 +0200 Subject: [PATCH 0580/2378] python3Packages.bitvavo-aio: remove redundant structuredAttrs --- pkgs/development/python-modules/bitvavo-aio/default.nix | 2 -- 1 file changed, 2 deletions(-) diff --git a/pkgs/development/python-modules/bitvavo-aio/default.nix b/pkgs/development/python-modules/bitvavo-aio/default.nix index 3ee94a68f024..60bb17450f15 100644 --- a/pkgs/development/python-modules/bitvavo-aio/default.nix +++ b/pkgs/development/python-modules/bitvavo-aio/default.nix @@ -11,8 +11,6 @@ buildPythonPackage (finalAttrs: { version = "1.0.3"; pyproject = true; - __structuredAttrs = true; - src = fetchFromGitHub { owner = "cyberjunky"; repo = "bitvavo-aio"; From 32c53a3140ae57e136d6e300319e5fca77e13853 Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 22:49:20 +0200 Subject: [PATCH 0581/2378] python3Packages.blackjax: remove redundant structuredAttrs --- pkgs/development/python-modules/blackjax/default.nix | 1 - 1 file changed, 1 deletion(-) diff --git a/pkgs/development/python-modules/blackjax/default.nix b/pkgs/development/python-modules/blackjax/default.nix index dc69d3102673..3cc6e2e83982 100644 --- a/pkgs/development/python-modules/blackjax/default.nix +++ b/pkgs/development/python-modules/blackjax/default.nix @@ -30,7 +30,6 @@ buildPythonPackage (finalAttrs: { pname = "blackjax"; version = "1.7.1"; pyproject = true; - __structuredAttrs = true; src = fetchFromGitHub { owner = "blackjax-devs"; From bbd9d0a5d439e686c4f19faa363cc9a8f2f5fa95 Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 22:49:20 +0200 Subject: [PATCH 0582/2378] python3Packages.blastdns: remove redundant structuredAttrs --- pkgs/development/python-modules/blastdns/default.nix | 2 -- 1 file changed, 2 deletions(-) diff --git a/pkgs/development/python-modules/blastdns/default.nix b/pkgs/development/python-modules/blastdns/default.nix index 77c7ea11b3ac..503a8ea68496 100644 --- a/pkgs/development/python-modules/blastdns/default.nix +++ b/pkgs/development/python-modules/blastdns/default.nix @@ -17,8 +17,6 @@ buildPythonPackage (finalAttrs: { version = "1.9.1-unstable-2026-04-15"; pyproject = true; - __structuredAttrs = true; - __darwinAllowLocalNetworking = true; src = fetchFromGitHub { From b1b31379246e66e191c22e217c3eadea9a5e5029 Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 22:49:20 +0200 Subject: [PATCH 0583/2378] python3Packages.blasthttp: remove redundant structuredAttrs --- pkgs/development/python-modules/blasthttp/default.nix | 2 -- 1 file changed, 2 deletions(-) diff --git a/pkgs/development/python-modules/blasthttp/default.nix b/pkgs/development/python-modules/blasthttp/default.nix index fc1c79dd4ee6..82056cc88113 100644 --- a/pkgs/development/python-modules/blasthttp/default.nix +++ b/pkgs/development/python-modules/blasthttp/default.nix @@ -18,8 +18,6 @@ buildPythonPackage (finalAttrs: { version = "0.10.0"; pyproject = true; - __structuredAttrs = true; - src = fetchPypi { inherit (finalAttrs) pname version; hash = "sha256-UDTqxGTFMGaV9UpDRo65OqqavTZq4UIyC3K5t+e9W9s="; From fb6b5e88341047723dc46974bdf19213af7b2e03 Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 22:49:21 +0200 Subject: [PATCH 0584/2378] python3Packages.bleach-allowlist: remove redundant structuredAttrs --- pkgs/development/python-modules/bleach-allowlist/default.nix | 2 -- 1 file changed, 2 deletions(-) diff --git a/pkgs/development/python-modules/bleach-allowlist/default.nix b/pkgs/development/python-modules/bleach-allowlist/default.nix index 3cfdea9dc06c..870266a36292 100644 --- a/pkgs/development/python-modules/bleach-allowlist/default.nix +++ b/pkgs/development/python-modules/bleach-allowlist/default.nix @@ -11,8 +11,6 @@ buildPythonPackage (finalAttrs: { version = "1.0.3"; pyproject = true; - __structuredAttrs = true; - src = fetchPypi { inherit (finalAttrs) pname version; hash = "sha256-VuIghgeaDmoxAK6Z5NuvIOslhUhlmOsOmUAIoRQo2ps="; From d055509c34134ca8a103785bf665d421e1ba9a5d Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 22:49:21 +0200 Subject: [PATCH 0585/2378] python3Packages.blinkstick: remove redundant structuredAttrs --- pkgs/development/python-modules/blinkstick/default.nix | 2 -- 1 file changed, 2 deletions(-) diff --git a/pkgs/development/python-modules/blinkstick/default.nix b/pkgs/development/python-modules/blinkstick/default.nix index 61ac0b0c0670..8a71287045e2 100644 --- a/pkgs/development/python-modules/blinkstick/default.nix +++ b/pkgs/development/python-modules/blinkstick/default.nix @@ -11,8 +11,6 @@ buildPythonPackage { version = "1.2.0-unstable-2023-05-04"; pyproject = true; - __structuredAttrs = true; - src = fetchFromGitHub { owner = "arvydas"; repo = "blinkstick-python"; From 833a1f00391d7690944cf4feb74d220462a59fcc Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 22:49:21 +0200 Subject: [PATCH 0586/2378] python3Packages.blobfile: remove redundant structuredAttrs --- pkgs/development/python-modules/blobfile/default.nix | 2 -- 1 file changed, 2 deletions(-) diff --git a/pkgs/development/python-modules/blobfile/default.nix b/pkgs/development/python-modules/blobfile/default.nix index 432df8f753ad..d13e57f46867 100644 --- a/pkgs/development/python-modules/blobfile/default.nix +++ b/pkgs/development/python-modules/blobfile/default.nix @@ -14,8 +14,6 @@ buildPythonPackage (finalAttrs: { version = "3.2.0"; pyproject = true; - __structuredAttrs = true; - src = fetchFromGitHub { owner = "christopher-hesse"; repo = "blobfile"; From c28c3ac0204423a160d0a196397f8e3c7cc18144 Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 22:49:21 +0200 Subject: [PATCH 0587/2378] python3Packages.bluepy-devices: remove redundant structuredAttrs --- pkgs/development/python-modules/bluepy-devices/default.nix | 2 -- 1 file changed, 2 deletions(-) diff --git a/pkgs/development/python-modules/bluepy-devices/default.nix b/pkgs/development/python-modules/bluepy-devices/default.nix index 88dd89ab7099..eb07982023c9 100644 --- a/pkgs/development/python-modules/bluepy-devices/default.nix +++ b/pkgs/development/python-modules/bluepy-devices/default.nix @@ -11,8 +11,6 @@ buildPythonPackage (finalAttrs: { version = "0.2.1"; pyproject = true; - __structuredAttrs = true; - src = fetchPypi { pname = "bluepy_devices"; inherit (finalAttrs) version; From 9f0e2c5c18abf044d882d4a0b034027944eff4f6 Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 22:49:22 +0200 Subject: [PATCH 0588/2378] python3Packages.bluepy: remove redundant structuredAttrs --- pkgs/development/python-modules/bluepy/default.nix | 2 -- 1 file changed, 2 deletions(-) diff --git a/pkgs/development/python-modules/bluepy/default.nix b/pkgs/development/python-modules/bluepy/default.nix index 910bd7e2996d..1b5b0e141516 100644 --- a/pkgs/development/python-modules/bluepy/default.nix +++ b/pkgs/development/python-modules/bluepy/default.nix @@ -12,8 +12,6 @@ buildPythonPackage (finalAttrs: { version = "1.3.0"; pyproject = true; - __structuredAttrs = true; - src = fetchPypi { inherit (finalAttrs) pname version; hash = "sha256-KnHtr+EDVl+5kCVv82JMFlMDaoN9/JDh4yuDn4OXHOw="; From 48b21eb496b1db12f911c7791e6e3e9037aaa315 Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 22:49:22 +0200 Subject: [PATCH 0589/2378] python3Packages.bluezero: remove redundant structuredAttrs --- pkgs/development/python-modules/bluezero/default.nix | 1 - 1 file changed, 1 deletion(-) diff --git a/pkgs/development/python-modules/bluezero/default.nix b/pkgs/development/python-modules/bluezero/default.nix index a14ee9c1789c..819ad804c017 100644 --- a/pkgs/development/python-modules/bluezero/default.nix +++ b/pkgs/development/python-modules/bluezero/default.nix @@ -11,7 +11,6 @@ buildPythonPackage (finalAttrs: { pname = "bluezero"; version = "0.9.1"; pyproject = true; - __structuredAttrs = true; src = fetchFromGitHub { owner = "ukBaz"; From 593d6e9d5548d44fb006c01e586e08716c9c11c8 Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 22:49:22 +0200 Subject: [PATCH 0590/2378] python3Packages.bnnumerizer: remove redundant structuredAttrs --- pkgs/development/python-modules/bnnumerizer/default.nix | 2 -- 1 file changed, 2 deletions(-) diff --git a/pkgs/development/python-modules/bnnumerizer/default.nix b/pkgs/development/python-modules/bnnumerizer/default.nix index a5544f9f4557..c63cc5f4b7b0 100644 --- a/pkgs/development/python-modules/bnnumerizer/default.nix +++ b/pkgs/development/python-modules/bnnumerizer/default.nix @@ -10,8 +10,6 @@ buildPythonPackage (finalAttrs: { version = "0.0.2"; pyproject = true; - __structuredAttrs = true; - src = fetchPypi { inherit (finalAttrs) pname version; hash = "sha256-Qd9v0Le1GqTsR3a2ZDzt6+5f0R4zXX1W1KIMCFFeXw0="; From 5da4400f865d31d0bdbf173df248c375140916c4 Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 22:49:23 +0200 Subject: [PATCH 0591/2378] python3Packages.bnunicodenormalizer: remove redundant structuredAttrs --- pkgs/development/python-modules/bnunicodenormalizer/default.nix | 2 -- 1 file changed, 2 deletions(-) diff --git a/pkgs/development/python-modules/bnunicodenormalizer/default.nix b/pkgs/development/python-modules/bnunicodenormalizer/default.nix index a2ec53d92153..31db4a716274 100644 --- a/pkgs/development/python-modules/bnunicodenormalizer/default.nix +++ b/pkgs/development/python-modules/bnunicodenormalizer/default.nix @@ -11,8 +11,6 @@ buildPythonPackage (finalAttrs: { version = "0.1.7"; pyproject = true; - __structuredAttrs = true; - src = fetchPypi { inherit (finalAttrs) pname version; hash = "sha256-hqNInMgcc9KvtOJlvS0Ni8UvyKI3TiEMiZ4CYJQLwJE="; From a5cd9077de2489c505c6faafaf776680dc07d5b3 Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 22:49:23 +0200 Subject: [PATCH 0592/2378] python3Packages.boa-api: remove redundant structuredAttrs --- pkgs/development/python-modules/boa-api/default.nix | 2 -- 1 file changed, 2 deletions(-) diff --git a/pkgs/development/python-modules/boa-api/default.nix b/pkgs/development/python-modules/boa-api/default.nix index a47328534272..29d7d62c295c 100644 --- a/pkgs/development/python-modules/boa-api/default.nix +++ b/pkgs/development/python-modules/boa-api/default.nix @@ -10,8 +10,6 @@ buildPythonPackage (finalAttrs: { version = "0.1.14"; pyproject = true; - __structuredAttrs = true; - src = fetchFromGitHub { owner = "boalang"; repo = "api-python"; From 156500086ae73c34b5aee911314b530133c23ec6 Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 22:49:23 +0200 Subject: [PATCH 0593/2378] python3Packages.bond-api: remove redundant structuredAttrs --- pkgs/development/python-modules/bond-api/default.nix | 2 -- 1 file changed, 2 deletions(-) diff --git a/pkgs/development/python-modules/bond-api/default.nix b/pkgs/development/python-modules/bond-api/default.nix index f950446355e3..f0f86201f87c 100644 --- a/pkgs/development/python-modules/bond-api/default.nix +++ b/pkgs/development/python-modules/bond-api/default.nix @@ -14,8 +14,6 @@ buildPythonPackage (finalAttrs: { version = "0.1.18"; pyproject = true; - __structuredAttrs = true; - src = fetchFromGitHub { owner = "prystupa"; repo = "bond-api"; From c73e03dfa87fb173312deea516017fd95a0e30c6 Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 22:49:23 +0200 Subject: [PATCH 0594/2378] python3Packages.bond-async: remove redundant structuredAttrs --- pkgs/development/python-modules/bond-async/default.nix | 2 -- 1 file changed, 2 deletions(-) diff --git a/pkgs/development/python-modules/bond-async/default.nix b/pkgs/development/python-modules/bond-async/default.nix index 800f8ac7b725..6f7ae08bbe4b 100644 --- a/pkgs/development/python-modules/bond-async/default.nix +++ b/pkgs/development/python-modules/bond-async/default.nix @@ -16,8 +16,6 @@ buildPythonPackage (finalAttrs: { pyproject = true; - __structuredAttrs = true; - src = fetchFromGitHub { owner = "bondhome"; repo = "bond-async"; From 92a65e16b9c36d6ad7902192fc321d5191e7907d Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 22:49:24 +0200 Subject: [PATCH 0595/2378] python3Packages.boolean-py: remove redundant structuredAttrs --- pkgs/development/python-modules/boolean-py/default.nix | 2 -- 1 file changed, 2 deletions(-) diff --git a/pkgs/development/python-modules/boolean-py/default.nix b/pkgs/development/python-modules/boolean-py/default.nix index 66957c8846e7..c92cb6fbc4a3 100644 --- a/pkgs/development/python-modules/boolean-py/default.nix +++ b/pkgs/development/python-modules/boolean-py/default.nix @@ -11,8 +11,6 @@ buildPythonPackage (finalAttrs: { version = "5.0"; pyproject = true; - __structuredAttrs = true; - src = fetchFromGitHub { owner = "bastikr"; repo = "boolean.py"; From d8e2b5b90d376e3c6695a2b7f6076d675d89fc30 Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 22:49:24 +0200 Subject: [PATCH 0596/2378] python3Packages.boost-histogram: remove redundant structuredAttrs --- pkgs/development/python-modules/boost-histogram/default.nix | 1 - 1 file changed, 1 deletion(-) diff --git a/pkgs/development/python-modules/boost-histogram/default.nix b/pkgs/development/python-modules/boost-histogram/default.nix index 2b04a751713f..3f85509f057b 100644 --- a/pkgs/development/python-modules/boost-histogram/default.nix +++ b/pkgs/development/python-modules/boost-histogram/default.nix @@ -32,7 +32,6 @@ buildPythonPackage (finalAttrs: { pname = "boost-histogram"; version = "1.8.1"; pyproject = true; - __structuredAttrs = true; src = fetchFromGitHub { owner = "scikit-hep"; From bea2a9d843887602e3cee863587533a9be7f7bee Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 22:49:24 +0200 Subject: [PATCH 0597/2378] python3Packages.borb: remove redundant structuredAttrs --- pkgs/development/python-modules/borb/2.nix | 1 - 1 file changed, 1 deletion(-) diff --git a/pkgs/development/python-modules/borb/2.nix b/pkgs/development/python-modules/borb/2.nix index 01a6d8a218eb..e56567067698 100644 --- a/pkgs/development/python-modules/borb/2.nix +++ b/pkgs/development/python-modules/borb/2.nix @@ -20,7 +20,6 @@ buildPythonPackage (finalAttrs: { pname = "borb"; version = "2.1.25"; pyproject = true; - __structuredAttrs = true; src = fetchPypi { inherit (finalAttrs) pname version; From 83edae5eb4e31612e758a016234e17751c555b34 Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 22:49:25 +0200 Subject: [PATCH 0598/2378] python3Packages.botorch: remove redundant structuredAttrs --- pkgs/development/python-modules/botorch/default.nix | 1 - 1 file changed, 1 deletion(-) diff --git a/pkgs/development/python-modules/botorch/default.nix b/pkgs/development/python-modules/botorch/default.nix index 0bcaf74767cd..d1fc495abf3a 100644 --- a/pkgs/development/python-modules/botorch/default.nix +++ b/pkgs/development/python-modules/botorch/default.nix @@ -34,7 +34,6 @@ buildPythonPackage (finalAttrs: { pname = "botorch"; version = "0.18.1"; pyproject = true; - __structuredAttrs = true; src = fetchFromGitHub { owner = "meta-pytorch"; From 58aac0b1f36dfb3e499864d022947c6935533a1b Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 22:49:25 +0200 Subject: [PATCH 0599/2378] python3Packages.bottleneck: remove redundant structuredAttrs --- pkgs/development/python-modules/bottleneck/default.nix | 2 -- 1 file changed, 2 deletions(-) diff --git a/pkgs/development/python-modules/bottleneck/default.nix b/pkgs/development/python-modules/bottleneck/default.nix index 9d655d87f282..8f0f7c68162e 100644 --- a/pkgs/development/python-modules/bottleneck/default.nix +++ b/pkgs/development/python-modules/bottleneck/default.nix @@ -14,8 +14,6 @@ buildPythonPackage (finalAttrs: { version = "1.6.0"; pyproject = true; - __structuredAttrs = true; - src = fetchPypi { inherit (finalAttrs) pname version; hash = "sha256-Ao1G7ksCWtmrTXmSQROBb4JfYrF7h8nh0NjOFEpKDjE="; From 923550f2c50a3ded80862fb00b249623b14360df Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 22:49:25 +0200 Subject: [PATCH 0600/2378] python3Packages.bqplot: remove redundant structuredAttrs --- pkgs/development/python-modules/bqplot/default.nix | 1 - 1 file changed, 1 deletion(-) diff --git a/pkgs/development/python-modules/bqplot/default.nix b/pkgs/development/python-modules/bqplot/default.nix index 590614e4d586..a470f23f0c4c 100644 --- a/pkgs/development/python-modules/bqplot/default.nix +++ b/pkgs/development/python-modules/bqplot/default.nix @@ -29,7 +29,6 @@ buildPythonPackage (finalAttrs: { pname = "bqplot"; version = "0.13.1"; pyproject = true; - __structuredAttrs = true; src = fetchFromGitHub { owner = "bqplot"; From 8657bd93fb9781b46ac2e823a6f8c8cc878faa1f Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 22:49:25 +0200 Subject: [PATCH 0601/2378] python3Packages.bqscales: remove redundant structuredAttrs --- pkgs/development/python-modules/bqscales/default.nix | 1 - 1 file changed, 1 deletion(-) diff --git a/pkgs/development/python-modules/bqscales/default.nix b/pkgs/development/python-modules/bqscales/default.nix index 26acff9b8c84..388dac68b57d 100644 --- a/pkgs/development/python-modules/bqscales/default.nix +++ b/pkgs/development/python-modules/bqscales/default.nix @@ -26,7 +26,6 @@ buildPythonPackage (finalAttrs: { pname = "bqscales"; version = "0.3.7"; pyproject = true; - __structuredAttrs = true; src = fetchFromGitHub { owner = "bqplot"; From a9bd373690140cc8055e1c843962d7514b8e3f1e Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 22:49:26 +0200 Subject: [PATCH 0602/2378] python3Packages.braintree: remove redundant structuredAttrs --- pkgs/development/python-modules/braintree/default.nix | 2 -- 1 file changed, 2 deletions(-) diff --git a/pkgs/development/python-modules/braintree/default.nix b/pkgs/development/python-modules/braintree/default.nix index 629fb8bfd999..d85fdd5dc798 100644 --- a/pkgs/development/python-modules/braintree/default.nix +++ b/pkgs/development/python-modules/braintree/default.nix @@ -12,8 +12,6 @@ buildPythonPackage (finalAttrs: { version = "4.47.0"; pyproject = true; - __structuredAttrs = true; - src = fetchFromGitHub { owner = "braintree"; repo = "braintree_python"; From 0956ef4c9f71c40f6d8f8e6e838ab4e4831e2e25 Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 22:49:26 +0200 Subject: [PATCH 0603/2378] python3Packages.bravia-tv: remove redundant structuredAttrs --- pkgs/development/python-modules/bravia-tv/default.nix | 2 -- 1 file changed, 2 deletions(-) diff --git a/pkgs/development/python-modules/bravia-tv/default.nix b/pkgs/development/python-modules/bravia-tv/default.nix index 6198bd8a8dc2..3a9677b40d98 100644 --- a/pkgs/development/python-modules/bravia-tv/default.nix +++ b/pkgs/development/python-modules/bravia-tv/default.nix @@ -11,8 +11,6 @@ buildPythonPackage (finalAttrs: { version = "1.0.11"; pyproject = true; - __structuredAttrs = true; - src = fetchFromGitHub { owner = "dcnielsen90"; repo = "python-bravia-tv"; From 0eabe92d514981b44d98d7217ed11ade530a6439 Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 22:49:26 +0200 Subject: [PATCH 0604/2378] python3Packages.brax: remove redundant structuredAttrs --- pkgs/development/python-modules/brax/default.nix | 1 - 1 file changed, 1 deletion(-) diff --git a/pkgs/development/python-modules/brax/default.nix b/pkgs/development/python-modules/brax/default.nix index dbde33329245..9cec2db7179c 100644 --- a/pkgs/development/python-modules/brax/default.nix +++ b/pkgs/development/python-modules/brax/default.nix @@ -39,7 +39,6 @@ buildPythonPackage (finalAttrs: { pname = "brax"; version = "0.14.2"; pyproject = true; - __structuredAttrs = true; src = fetchFromGitHub { owner = "google"; From a1fb0842a6a6816de5452b1267e32ef7fe9b2d2d Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 22:49:27 +0200 Subject: [PATCH 0605/2378] python3Packages.brelpy: remove redundant structuredAttrs --- pkgs/development/python-modules/brelpy/default.nix | 2 -- 1 file changed, 2 deletions(-) diff --git a/pkgs/development/python-modules/brelpy/default.nix b/pkgs/development/python-modules/brelpy/default.nix index cb7d87995360..c35ef9ee5337 100644 --- a/pkgs/development/python-modules/brelpy/default.nix +++ b/pkgs/development/python-modules/brelpy/default.nix @@ -11,8 +11,6 @@ buildPythonPackage (finalAttrs: { version = "0.0.3"; pyproject = true; - __structuredAttrs = true; - src = fetchPypi { inherit (finalAttrs) pname version; hash = "sha256-MYWSKYd7emHZfY+W/UweQtTg62GSUMybpecL9BR8dhg="; From 573f443d9fe8b43efabaf7f7d9c6ec8826b7d748 Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 22:49:27 +0200 Subject: [PATCH 0606/2378] python3Packages.brotli-asgi: remove redundant structuredAttrs --- pkgs/development/python-modules/brotli-asgi/default.nix | 2 -- 1 file changed, 2 deletions(-) diff --git a/pkgs/development/python-modules/brotli-asgi/default.nix b/pkgs/development/python-modules/brotli-asgi/default.nix index ea364531ee6a..9a664cf154f9 100644 --- a/pkgs/development/python-modules/brotli-asgi/default.nix +++ b/pkgs/development/python-modules/brotli-asgi/default.nix @@ -17,8 +17,6 @@ buildPythonPackage (finalAttrs: { version = "1.6.0"; pyproject = true; - __structuredAttrs = true; - src = fetchFromGitHub { owner = "fullonic"; repo = "brotli-asgi"; From c50d46a76d4b3b76163f61ebe0e98bf238a381e4 Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 22:49:27 +0200 Subject: [PATCH 0607/2378] python3Packages.brottsplatskartan: remove redundant structuredAttrs --- pkgs/development/python-modules/brottsplatskartan/default.nix | 2 -- 1 file changed, 2 deletions(-) diff --git a/pkgs/development/python-modules/brottsplatskartan/default.nix b/pkgs/development/python-modules/brottsplatskartan/default.nix index 8559aaff9dc3..6daa962178fb 100644 --- a/pkgs/development/python-modules/brottsplatskartan/default.nix +++ b/pkgs/development/python-modules/brottsplatskartan/default.nix @@ -13,8 +13,6 @@ buildPythonPackage (finalAttrs: { version = "1.0.5"; pyproject = true; - __structuredAttrs = true; - src = fetchFromGitHub { owner = "chrillux"; repo = "brottsplatskartan"; From 0d41ac5a427baba88bfc8c094b99dcce8a0a9ecd Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 22:49:27 +0200 Subject: [PATCH 0608/2378] python3Packages.brunt: remove redundant structuredAttrs --- pkgs/development/python-modules/brunt/default.nix | 2 -- 1 file changed, 2 deletions(-) diff --git a/pkgs/development/python-modules/brunt/default.nix b/pkgs/development/python-modules/brunt/default.nix index bb01d9cc5ae4..229174b2bc32 100644 --- a/pkgs/development/python-modules/brunt/default.nix +++ b/pkgs/development/python-modules/brunt/default.nix @@ -16,8 +16,6 @@ buildPythonPackage (finalAttrs: { pyproject = true; - __structuredAttrs = true; - src = fetchPypi { inherit (finalAttrs) pname version; hash = "sha256-5wRifce5wKUMZ66Q8dMgsU+Z8rL8m/HvBGGxQdzxvOk="; From 03be133890e6e3ecaa480cece32e074b30e36500 Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 22:49:28 +0200 Subject: [PATCH 0609/2378] python3Packages.bsdiff4: remove redundant structuredAttrs --- pkgs/development/python-modules/bsdiff4/default.nix | 2 -- 1 file changed, 2 deletions(-) diff --git a/pkgs/development/python-modules/bsdiff4/default.nix b/pkgs/development/python-modules/bsdiff4/default.nix index 7800d69a3194..0e30abceb947 100644 --- a/pkgs/development/python-modules/bsdiff4/default.nix +++ b/pkgs/development/python-modules/bsdiff4/default.nix @@ -10,8 +10,6 @@ buildPythonPackage (finalAttrs: { version = "1.2.6"; pyproject = true; - __structuredAttrs = true; - src = fetchPypi { inherit (finalAttrs) pname version; hash = "sha256-KrV9AaeLOeKeWszJz+rUEwmC3tncy8QmG9DpxR1rdR0="; From f1496a26988773d5c554273ef3cbec1a8c79beee Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 22:49:28 +0200 Subject: [PATCH 0610/2378] python3Packages.bt-decode: remove redundant structuredAttrs --- pkgs/development/python-modules/bt-decode/default.nix | 2 -- 1 file changed, 2 deletions(-) diff --git a/pkgs/development/python-modules/bt-decode/default.nix b/pkgs/development/python-modules/bt-decode/default.nix index 94a4714a1bc0..15d4c4c0a570 100644 --- a/pkgs/development/python-modules/bt-decode/default.nix +++ b/pkgs/development/python-modules/bt-decode/default.nix @@ -12,8 +12,6 @@ buildPythonPackage (finalAttrs: { version = "0.8.0"; pyproject = true; - __structuredAttrs = true; - src = fetchFromGitHub { owner = "latent-to"; repo = "bt-decode"; From b7de3913b93560c6e5856f63a49ce7c4212c3343 Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 22:49:28 +0200 Subject: [PATCH 0611/2378] python3Packages.bt-proximity: remove redundant structuredAttrs --- pkgs/development/python-modules/bt-proximity/default.nix | 2 -- 1 file changed, 2 deletions(-) diff --git a/pkgs/development/python-modules/bt-proximity/default.nix b/pkgs/development/python-modules/bt-proximity/default.nix index 27f16ed0e0db..0649d5a73937 100644 --- a/pkgs/development/python-modules/bt-proximity/default.nix +++ b/pkgs/development/python-modules/bt-proximity/default.nix @@ -11,8 +11,6 @@ buildPythonPackage (finalAttrs: { version = "0.2.1"; pyproject = true; - __structuredAttrs = true; - src = fetchPypi { pname = "bt_proximity"; inherit (finalAttrs) version; From 37f580880d53193a00a597287fd734ffff482f22 Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 22:49:29 +0200 Subject: [PATCH 0612/2378] python3Packages.cachy: remove redundant structuredAttrs --- pkgs/development/python-modules/cachy/default.nix | 2 -- 1 file changed, 2 deletions(-) diff --git a/pkgs/development/python-modules/cachy/default.nix b/pkgs/development/python-modules/cachy/default.nix index fbf8d9bddcdf..19f08a2a9ba9 100644 --- a/pkgs/development/python-modules/cachy/default.nix +++ b/pkgs/development/python-modules/cachy/default.nix @@ -13,8 +13,6 @@ buildPythonPackage (finalAttrs: { version = "0.3.0"; pyproject = true; - __structuredAttrs = true; - src = fetchPypi { inherit (finalAttrs) pname version; hash = "sha256-GGWB9M60Kgu+BAxAfac8FAkjebHkwOMn/bcq5KmyabE="; From a382cf51cf0ea37fd74e5fcdec452333b7d1ed60 Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 22:49:29 +0200 Subject: [PATCH 0613/2378] python3Packages.caido-schema-proxy: remove redundant structuredAttrs --- pkgs/development/python-modules/caido-schema-proxy/default.nix | 2 -- 1 file changed, 2 deletions(-) diff --git a/pkgs/development/python-modules/caido-schema-proxy/default.nix b/pkgs/development/python-modules/caido-schema-proxy/default.nix index 86074c163fb9..11e5332ecfc7 100644 --- a/pkgs/development/python-modules/caido-schema-proxy/default.nix +++ b/pkgs/development/python-modules/caido-schema-proxy/default.nix @@ -11,8 +11,6 @@ buildPythonPackage (finalAttrs: { version = "0.58.3"; pyproject = true; - __structuredAttrs = true; - src = fetchPypi { pname = "caido_schema_proxy"; inherit (finalAttrs) version; From 952e946d598b81c1e1d1c401ab4154814c82d8db Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 22:49:29 +0200 Subject: [PATCH 0614/2378] python3Packages.caido-sdk-client: remove redundant structuredAttrs --- pkgs/development/python-modules/caido-sdk-client/default.nix | 2 -- 1 file changed, 2 deletions(-) diff --git a/pkgs/development/python-modules/caido-sdk-client/default.nix b/pkgs/development/python-modules/caido-sdk-client/default.nix index 789fe086bdd0..c43ae15e741c 100644 --- a/pkgs/development/python-modules/caido-sdk-client/default.nix +++ b/pkgs/development/python-modules/caido-sdk-client/default.nix @@ -17,8 +17,6 @@ buildPythonPackage (finalAttrs: { version = "0.3.2"; pyproject = true; - __structuredAttrs = true; - src = fetchPypi { pname = "caido_sdk_client"; inherit (finalAttrs) version; From 68d1bf7d4d43a2b6ece71664a25f8b3f2cc5d914 Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 22:49:29 +0200 Subject: [PATCH 0615/2378] python3Packages.caido-server-auth: remove redundant structuredAttrs --- pkgs/development/python-modules/caido-server-auth/default.nix | 2 -- 1 file changed, 2 deletions(-) diff --git a/pkgs/development/python-modules/caido-server-auth/default.nix b/pkgs/development/python-modules/caido-server-auth/default.nix index d13f58306b0d..5894b83641b7 100644 --- a/pkgs/development/python-modules/caido-server-auth/default.nix +++ b/pkgs/development/python-modules/caido-server-auth/default.nix @@ -12,8 +12,6 @@ buildPythonPackage (finalAttrs: { version = "0.1.3"; pyproject = true; - __structuredAttrs = true; - src = fetchPypi { pname = "caido_server_auth"; inherit (finalAttrs) version; From 89415f134df621fd65f2bce2bc7c0371bb1adade Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 22:49:30 +0200 Subject: [PATCH 0616/2378] python3Packages.caio: remove redundant structuredAttrs --- pkgs/development/python-modules/caio/default.nix | 1 - 1 file changed, 1 deletion(-) diff --git a/pkgs/development/python-modules/caio/default.nix b/pkgs/development/python-modules/caio/default.nix index 303a38350ab6..92d1f210d47f 100644 --- a/pkgs/development/python-modules/caio/default.nix +++ b/pkgs/development/python-modules/caio/default.nix @@ -17,7 +17,6 @@ buildPythonPackage (finalAttrs: { pname = "caio"; version = "0.12.9"; pyproject = true; - __structuredAttrs = true; src = fetchFromGitHub { owner = "mosquito"; From 33dfda55352bc04b87e3f19e07b9d395819b8c39 Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 22:49:30 +0200 Subject: [PATCH 0617/2378] python3Packages.calysto: remove redundant structuredAttrs --- pkgs/development/python-modules/calysto/default.nix | 2 -- 1 file changed, 2 deletions(-) diff --git a/pkgs/development/python-modules/calysto/default.nix b/pkgs/development/python-modules/calysto/default.nix index befb8548787d..7deaf543fe3a 100644 --- a/pkgs/development/python-modules/calysto/default.nix +++ b/pkgs/development/python-modules/calysto/default.nix @@ -15,8 +15,6 @@ buildPythonPackage (finalAttrs: { version = "1.0.6"; pyproject = true; - __structuredAttrs = true; - src = fetchFromGitHub { owner = "Calysto"; repo = "calysto"; From f358ecf5309faa4b7a954328366bdfe4149aee82 Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 22:49:30 +0200 Subject: [PATCH 0618/2378] python3Packages.cardimpose: remove redundant structuredAttrs --- pkgs/development/python-modules/cardimpose/default.nix | 2 -- 1 file changed, 2 deletions(-) diff --git a/pkgs/development/python-modules/cardimpose/default.nix b/pkgs/development/python-modules/cardimpose/default.nix index ce16b137cea7..fd613553ecae 100644 --- a/pkgs/development/python-modules/cardimpose/default.nix +++ b/pkgs/development/python-modules/cardimpose/default.nix @@ -10,8 +10,6 @@ buildPythonPackage (finalAttrs: { version = "0.2.2"; pyproject = true; - __structuredAttrs = true; - # Get source from Pypi as the GitHub repository doesn't have any version # indicators, so there's no way to tell when a new version is available or # what the version should be. From cf9de10d88c41ecc63e9400bf57d053f10038f6e Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 22:49:31 +0200 Subject: [PATCH 0619/2378] python3Packages.cart: remove redundant structuredAttrs --- pkgs/development/python-modules/cart/default.nix | 2 -- 1 file changed, 2 deletions(-) diff --git a/pkgs/development/python-modules/cart/default.nix b/pkgs/development/python-modules/cart/default.nix index 9683ba9f0f52..fd1c20a84dc8 100644 --- a/pkgs/development/python-modules/cart/default.nix +++ b/pkgs/development/python-modules/cart/default.nix @@ -12,8 +12,6 @@ buildPythonPackage (finalAttrs: { version = "1.2.3"; pyproject = true; - __structuredAttrs = true; - src = fetchFromGitHub { owner = "CybercentreCanada"; repo = "cart"; From d0dc394cf108684f7adf62df97154cdf62126fa2 Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 22:49:31 +0200 Subject: [PATCH 0620/2378] python3Packages.cartopy: remove redundant structuredAttrs --- pkgs/development/python-modules/cartopy/default.nix | 1 - 1 file changed, 1 deletion(-) diff --git a/pkgs/development/python-modules/cartopy/default.nix b/pkgs/development/python-modules/cartopy/default.nix index 5af5274ce5a3..b2f507188ebd 100644 --- a/pkgs/development/python-modules/cartopy/default.nix +++ b/pkgs/development/python-modules/cartopy/default.nix @@ -37,7 +37,6 @@ buildPythonPackage (finalAttrs: { pname = "cartopy"; version = "0.26.0"; pyproject = true; - __structuredAttrs = true; src = fetchFromGitHub { owner = "SciTools"; From 66075c7414180e04ae7c1bdcc06e941d9eaf429e Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 22:49:31 +0200 Subject: [PATCH 0621/2378] python3Packages.cccolutils: remove redundant structuredAttrs --- pkgs/development/python-modules/cccolutils/default.nix | 2 -- 1 file changed, 2 deletions(-) diff --git a/pkgs/development/python-modules/cccolutils/default.nix b/pkgs/development/python-modules/cccolutils/default.nix index 569016231253..5cfd6348a4ea 100644 --- a/pkgs/development/python-modules/cccolutils/default.nix +++ b/pkgs/development/python-modules/cccolutils/default.nix @@ -15,8 +15,6 @@ buildPythonPackage (finalAttrs: { version = "1.5"; pyproject = true; - __structuredAttrs = true; - src = fetchPypi { pname = "CCColUtils"; inherit (finalAttrs) version; From 19f04df87694c932c722476513468b7c8b8ff03b Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 22:49:31 +0200 Subject: [PATCH 0622/2378] python3Packages.cel-python: remove redundant structuredAttrs --- pkgs/development/python-modules/cel-python/default.nix | 1 - 1 file changed, 1 deletion(-) diff --git a/pkgs/development/python-modules/cel-python/default.nix b/pkgs/development/python-modules/cel-python/default.nix index 46ce25d69767..01fbc68ff0b9 100644 --- a/pkgs/development/python-modules/cel-python/default.nix +++ b/pkgs/development/python-modules/cel-python/default.nix @@ -21,7 +21,6 @@ buildPythonPackage (finalAttrs: { pname = "cel-python"; version = "0.5.0"; pyproject = true; - __structuredAttrs = true; src = fetchFromGitHub { owner = "cloud-custodian"; From 4dc9b813dec7ff62fe36196caac3c08413173d91 Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 22:49:32 +0200 Subject: [PATCH 0623/2378] python3Packages.certvalidator: remove redundant structuredAttrs --- pkgs/development/python-modules/certvalidator/default.nix | 2 -- 1 file changed, 2 deletions(-) diff --git a/pkgs/development/python-modules/certvalidator/default.nix b/pkgs/development/python-modules/certvalidator/default.nix index ff2967b46aa7..a444ac6a9d7a 100644 --- a/pkgs/development/python-modules/certvalidator/default.nix +++ b/pkgs/development/python-modules/certvalidator/default.nix @@ -13,8 +13,6 @@ buildPythonPackage (finalAttrs: { version = "0.11.1"; pyproject = true; - __structuredAttrs = true; - src = fetchFromGitHub { owner = "wbond"; repo = "certvalidator"; From 20f345ab19809edb52050bf04b9897a429934a35 Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 22:49:32 +0200 Subject: [PATCH 0624/2378] python3Packages.chardet: remove redundant structuredAttrs --- pkgs/development/python-modules/chardet/5.nix | 2 -- 1 file changed, 2 deletions(-) diff --git a/pkgs/development/python-modules/chardet/5.nix b/pkgs/development/python-modules/chardet/5.nix index 50959e4753fd..1fd7dfbd5c03 100644 --- a/pkgs/development/python-modules/chardet/5.nix +++ b/pkgs/development/python-modules/chardet/5.nix @@ -12,8 +12,6 @@ buildPythonPackage (finalAttrs: { version = "5.2.0"; pyproject = true; - __structuredAttrs = true; - src = fetchPypi { inherit (finalAttrs) pname version; hash = "sha256-Gztv9HmoxBS8P6LAhSmVaVxKAm3NbQYzst0JLKOcHPc="; From 76ec07d6740d5d8d26d34a91750d5f5bed38e714 Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 22:49:32 +0200 Subject: [PATCH 0625/2378] python3Packages.chat-downloader: remove redundant structuredAttrs --- pkgs/development/python-modules/chat-downloader/default.nix | 2 -- 1 file changed, 2 deletions(-) diff --git a/pkgs/development/python-modules/chat-downloader/default.nix b/pkgs/development/python-modules/chat-downloader/default.nix index 10e08d167a4b..7607f0b0d43c 100644 --- a/pkgs/development/python-modules/chat-downloader/default.nix +++ b/pkgs/development/python-modules/chat-downloader/default.nix @@ -16,8 +16,6 @@ buildPythonPackage (finalAttrs: { version = "0.2.8"; pyproject = true; - __structuredAttrs = true; - src = fetchPypi { inherit (finalAttrs) version pname; hash = "sha256-WBasBhefgRkOdMdz2K/agvS+cY6m3/33wiu+Jl4d1Cg="; From 7046550bd3375b83447bbf6cc456e1f29f952ffd Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 22:49:33 +0200 Subject: [PATCH 0626/2378] python3Packages.chatlas: remove redundant structuredAttrs --- pkgs/development/python-modules/chatlas/default.nix | 1 - 1 file changed, 1 deletion(-) diff --git a/pkgs/development/python-modules/chatlas/default.nix b/pkgs/development/python-modules/chatlas/default.nix index e22be2fab3af..61a6c21e1c1c 100644 --- a/pkgs/development/python-modules/chatlas/default.nix +++ b/pkgs/development/python-modules/chatlas/default.nix @@ -33,7 +33,6 @@ buildPythonPackage (finalAttrs: { pname = "chatlas"; version = "0.17.0"; pyproject = true; - __structuredAttrs = true; src = fetchFromGitHub { owner = "posit-dev"; From 509d01420f4d343692d47e84c7b9f9ecffbdb9e1 Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 22:49:33 +0200 Subject: [PATCH 0627/2378] python3Packages.checksumdir: remove redundant structuredAttrs --- pkgs/development/python-modules/checksumdir/default.nix | 1 - 1 file changed, 1 deletion(-) diff --git a/pkgs/development/python-modules/checksumdir/default.nix b/pkgs/development/python-modules/checksumdir/default.nix index d648dc07d257..625bc1ddc39d 100644 --- a/pkgs/development/python-modules/checksumdir/default.nix +++ b/pkgs/development/python-modules/checksumdir/default.nix @@ -14,7 +14,6 @@ buildPythonPackage (finalAttrs: { pname = "checksumdir"; version = "1.3.0"; pyproject = true; - __structuredAttrs = true; src = fetchFromGitHub { owner = "to-mc"; From cf730b47e90facb2114de086b1f1c8a442a36d94 Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 22:49:33 +0200 Subject: [PATCH 0628/2378] python3Packages.chex: remove redundant structuredAttrs --- pkgs/development/python-modules/chex/default.nix | 1 - 1 file changed, 1 deletion(-) diff --git a/pkgs/development/python-modules/chex/default.nix b/pkgs/development/python-modules/chex/default.nix index bdd741606efe..f3c6eecc7838 100644 --- a/pkgs/development/python-modules/chex/default.nix +++ b/pkgs/development/python-modules/chex/default.nix @@ -24,7 +24,6 @@ buildPythonPackage (finalAttrs: { pname = "chex"; version = "0.1.92"; pyproject = true; - __structuredAttrs = true; src = fetchFromGitHub { owner = "google-deepmind"; From cb35074491a72804d597b82edbc5de09f5d3bfce Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 22:49:33 +0200 Subject: [PATCH 0629/2378] python3Packages.chirpstack-api: remove redundant structuredAttrs --- pkgs/development/python-modules/chirpstack-api/default.nix | 2 -- 1 file changed, 2 deletions(-) diff --git a/pkgs/development/python-modules/chirpstack-api/default.nix b/pkgs/development/python-modules/chirpstack-api/default.nix index 5a2365b7929e..7578111c5211 100644 --- a/pkgs/development/python-modules/chirpstack-api/default.nix +++ b/pkgs/development/python-modules/chirpstack-api/default.nix @@ -12,8 +12,6 @@ buildPythonPackage (finalAttrs: { version = "3.12.5"; pyproject = true; - __structuredAttrs = true; - src = fetchFromGitHub { owner = "brocaar"; repo = "chirpstack-api"; From 6fe887c7ca7f211d6947e29cd21939774fa1b067 Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 22:49:34 +0200 Subject: [PATCH 0630/2378] python3Packages.chromadb: remove redundant structuredAttrs --- pkgs/development/python-modules/chromadb/default.nix | 1 - 1 file changed, 1 deletion(-) diff --git a/pkgs/development/python-modules/chromadb/default.nix b/pkgs/development/python-modules/chromadb/default.nix index 1939b406b46c..3c5fb0b6cdfd 100644 --- a/pkgs/development/python-modules/chromadb/default.nix +++ b/pkgs/development/python-modules/chromadb/default.nix @@ -70,7 +70,6 @@ buildPythonPackage (finalAttrs: { pname = "chromadb"; version = "1.5.9"; pyproject = true; - __structuredAttrs = true; src = fetchFromGitHub { owner = "chroma-core"; From 529e8b144062bf07769b4ca4893c6b4ade80de09 Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 22:49:34 +0200 Subject: [PATCH 0631/2378] python3Packages.ci-info: remove redundant structuredAttrs --- pkgs/development/python-modules/ci-info/default.nix | 2 -- 1 file changed, 2 deletions(-) diff --git a/pkgs/development/python-modules/ci-info/default.nix b/pkgs/development/python-modules/ci-info/default.nix index 19113e766c3f..a06f21102544 100644 --- a/pkgs/development/python-modules/ci-info/default.nix +++ b/pkgs/development/python-modules/ci-info/default.nix @@ -11,8 +11,6 @@ buildPythonPackage (finalAttrs: { version = "0.4.0"; pyproject = true; - __structuredAttrs = true; - src = fetchPypi { pname = "ci_info"; inherit (finalAttrs) version; From bd36b1cb1e92a0c1321fc49eadeb2b79f93e3989 Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 22:49:34 +0200 Subject: [PATCH 0632/2378] python3Packages.ci-py: remove redundant structuredAttrs --- pkgs/development/python-modules/ci-py/default.nix | 2 -- 1 file changed, 2 deletions(-) diff --git a/pkgs/development/python-modules/ci-py/default.nix b/pkgs/development/python-modules/ci-py/default.nix index 66c2d4a8a257..dc67934de471 100644 --- a/pkgs/development/python-modules/ci-py/default.nix +++ b/pkgs/development/python-modules/ci-py/default.nix @@ -11,8 +11,6 @@ buildPythonPackage (finalAttrs: { version = "1.0.0"; pyproject = true; - __structuredAttrs = true; - src = fetchPypi { inherit (finalAttrs) pname version; hash = "sha256-R/6bLsXOKGxiJDZUvvOuvLp3usEhfg698qvvgOwBXYk="; From f96ef5af69c36978680d3fcb3a7f03309ad307b9 Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 22:49:35 +0200 Subject: [PATCH 0633/2378] python3Packages.circuit-webhook: remove redundant structuredAttrs --- pkgs/development/python-modules/circuit-webhook/default.nix | 2 -- 1 file changed, 2 deletions(-) diff --git a/pkgs/development/python-modules/circuit-webhook/default.nix b/pkgs/development/python-modules/circuit-webhook/default.nix index 890ab09cb001..29b6fe132843 100644 --- a/pkgs/development/python-modules/circuit-webhook/default.nix +++ b/pkgs/development/python-modules/circuit-webhook/default.nix @@ -10,8 +10,6 @@ buildPythonPackage (finalAttrs: { version = "1.0.1"; pyproject = true; - __structuredAttrs = true; - src = fetchPypi { inherit (finalAttrs) pname version; hash = "sha256-NhePKBfzdkw7iVHmVrOxf8ZcQrb1Sq2xMIfu4P9+Ppw="; From 8086158214ab6388529cd6e691e98244e8f539b8 Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 22:49:35 +0200 Subject: [PATCH 0634/2378] python3Packages.circuitbreaker: remove redundant structuredAttrs --- pkgs/development/python-modules/circuitbreaker/default.nix | 2 -- 1 file changed, 2 deletions(-) diff --git a/pkgs/development/python-modules/circuitbreaker/default.nix b/pkgs/development/python-modules/circuitbreaker/default.nix index 03bab2d1eab0..a1fbb7c9145c 100644 --- a/pkgs/development/python-modules/circuitbreaker/default.nix +++ b/pkgs/development/python-modules/circuitbreaker/default.nix @@ -13,8 +13,6 @@ buildPythonPackage (finalAttrs: { version = "2.1.3"; pyproject = true; - __structuredAttrs = true; - src = fetchFromGitHub { owner = "fabfuel"; repo = "circuitbreaker"; From ce71653777b0b8ef601e887a168dff3850e07421 Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 22:49:35 +0200 Subject: [PATCH 0635/2378] python3Packages.ciscomobilityexpress: remove redundant structuredAttrs --- .../development/python-modules/ciscomobilityexpress/default.nix | 2 -- 1 file changed, 2 deletions(-) diff --git a/pkgs/development/python-modules/ciscomobilityexpress/default.nix b/pkgs/development/python-modules/ciscomobilityexpress/default.nix index fc2f4d186d96..c81d8023f54a 100644 --- a/pkgs/development/python-modules/ciscomobilityexpress/default.nix +++ b/pkgs/development/python-modules/ciscomobilityexpress/default.nix @@ -12,8 +12,6 @@ buildPythonPackage (finalAttrs: { version = "1.0.2"; pyproject = true; - __structuredAttrs = true; - src = fetchPypi { inherit (finalAttrs) pname version; hash = "sha256-2HhyRVmOg3GoO6pNsd+UnYqULEPxNFT6Ju47CcPMr8A="; From aae86288d3b634ac46f13c62a32b36c06e28cd0d Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 22:49:36 +0200 Subject: [PATCH 0636/2378] python3Packages.citeproc-py-styles: remove redundant structuredAttrs --- pkgs/development/python-modules/citeproc-py-styles/default.nix | 1 - 1 file changed, 1 deletion(-) diff --git a/pkgs/development/python-modules/citeproc-py-styles/default.nix b/pkgs/development/python-modules/citeproc-py-styles/default.nix index 327f2b0679e6..6c2c8e87ecf4 100644 --- a/pkgs/development/python-modules/citeproc-py-styles/default.nix +++ b/pkgs/development/python-modules/citeproc-py-styles/default.nix @@ -12,7 +12,6 @@ buildPythonPackage (finalAttrs: { pname = "citeproc-py-styles"; version = "0.1.6"; pyproject = true; - __structuredAttrs = true; src = fetchFromGitHub { owner = "inveniosoftware"; From 93d0b2690655f5287f632fb6958d96dd09242225 Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 22:49:36 +0200 Subject: [PATCH 0637/2378] python3Packages.clarabel: remove redundant structuredAttrs --- pkgs/development/python-modules/clarabel/default.nix | 2 -- 1 file changed, 2 deletions(-) diff --git a/pkgs/development/python-modules/clarabel/default.nix b/pkgs/development/python-modules/clarabel/default.nix index 0f650f7f928b..adbaa94bbf18 100644 --- a/pkgs/development/python-modules/clarabel/default.nix +++ b/pkgs/development/python-modules/clarabel/default.nix @@ -17,8 +17,6 @@ buildPythonPackage (finalAttrs: { version = "0.11.1"; pyproject = true; - __structuredAttrs = true; - # upstream does not provide Cargo.lock outside of PyPI src = fetchPypi { inherit (finalAttrs) pname version; From a9de0cff27f398ae64341573aa42ccaa1302bcf5 Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 22:49:36 +0200 Subject: [PATCH 0638/2378] python3Packages.classify-imports: remove redundant structuredAttrs --- pkgs/development/python-modules/classify-imports/default.nix | 2 -- 1 file changed, 2 deletions(-) diff --git a/pkgs/development/python-modules/classify-imports/default.nix b/pkgs/development/python-modules/classify-imports/default.nix index b526b1168d79..33b5431a2efc 100644 --- a/pkgs/development/python-modules/classify-imports/default.nix +++ b/pkgs/development/python-modules/classify-imports/default.nix @@ -11,8 +11,6 @@ buildPythonPackage (finalAttrs: { version = "4.5.0"; pyproject = true; - __structuredAttrs = true; - src = fetchFromGitHub { owner = "asottile"; repo = "classify-imports"; From 581d99a3e02e1d1c82e98e5b02098f527c23f726 Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 22:49:37 +0200 Subject: [PATCH 0639/2378] python3Packages.clean-fid: remove redundant structuredAttrs --- pkgs/development/python-modules/clean-fid/default.nix | 2 -- 1 file changed, 2 deletions(-) diff --git a/pkgs/development/python-modules/clean-fid/default.nix b/pkgs/development/python-modules/clean-fid/default.nix index 7f1b5ce2c914..5254e98bccd9 100644 --- a/pkgs/development/python-modules/clean-fid/default.nix +++ b/pkgs/development/python-modules/clean-fid/default.nix @@ -19,8 +19,6 @@ buildPythonPackage { version = "0.1.35"; pyproject = true; - __structuredAttrs = true; - src = fetchFromGitHub { owner = "GaParmar"; repo = "clean-fid"; From 1193d7a250650c5c05007e1b87ce5c57f92adb01 Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 22:49:37 +0200 Subject: [PATCH 0640/2378] python3Packages.clf: remove redundant structuredAttrs --- pkgs/development/python-modules/clf/default.nix | 2 -- 1 file changed, 2 deletions(-) diff --git a/pkgs/development/python-modules/clf/default.nix b/pkgs/development/python-modules/clf/default.nix index c52aa46c9bbf..85370074505d 100644 --- a/pkgs/development/python-modules/clf/default.nix +++ b/pkgs/development/python-modules/clf/default.nix @@ -13,8 +13,6 @@ buildPythonPackage (finalAttrs: { version = "0.5.7"; pyproject = true; - __structuredAttrs = true; - src = fetchPypi { inherit (finalAttrs) pname version; hash = "sha256-q8kZoemWZ/Mv3eFd+0vFJ9viLPhqF6y3ikSdfy3+k34="; From 27f941ca8b9af57505b391dbad14e4d74be46978 Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 22:49:37 +0200 Subject: [PATCH 0641/2378] python3Packages.click-command-tree: remove redundant structuredAttrs --- pkgs/development/python-modules/click-command-tree/default.nix | 2 -- 1 file changed, 2 deletions(-) diff --git a/pkgs/development/python-modules/click-command-tree/default.nix b/pkgs/development/python-modules/click-command-tree/default.nix index bf1141b0c81c..6e67b31c24ae 100644 --- a/pkgs/development/python-modules/click-command-tree/default.nix +++ b/pkgs/development/python-modules/click-command-tree/default.nix @@ -12,8 +12,6 @@ buildPythonPackage (finalAttrs: { version = "1.2.0"; pyproject = true; - __structuredAttrs = true; - src = fetchFromGitHub { owner = "whwright"; repo = "click-command-tree"; From 64e860ce64f8901d5d352f93c1aca5bbab2032b1 Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 22:49:37 +0200 Subject: [PATCH 0642/2378] python3Packages.click-completion: remove redundant structuredAttrs --- pkgs/development/python-modules/click-completion/default.nix | 2 -- 1 file changed, 2 deletions(-) diff --git a/pkgs/development/python-modules/click-completion/default.nix b/pkgs/development/python-modules/click-completion/default.nix index 73e077d49377..a01790da9628 100644 --- a/pkgs/development/python-modules/click-completion/default.nix +++ b/pkgs/development/python-modules/click-completion/default.nix @@ -16,8 +16,6 @@ buildPythonPackage (finalAttrs: { version = "0.5.2"; pyproject = true; - __structuredAttrs = true; - src = fetchPypi { pname = "click-completion"; inherit (finalAttrs) version; From f74d193daa720641d489aac8d5b43a6dd275da12 Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 22:49:38 +0200 Subject: [PATCH 0643/2378] python3Packages.click-configfile: remove redundant structuredAttrs --- pkgs/development/python-modules/click-configfile/default.nix | 2 -- 1 file changed, 2 deletions(-) diff --git a/pkgs/development/python-modules/click-configfile/default.nix b/pkgs/development/python-modules/click-configfile/default.nix index ab9d11277324..f736a613d2f1 100644 --- a/pkgs/development/python-modules/click-configfile/default.nix +++ b/pkgs/development/python-modules/click-configfile/default.nix @@ -13,8 +13,6 @@ buildPythonPackage (finalAttrs: { version = "0.2.3"; pyproject = true; - __structuredAttrs = true; - src = fetchPypi { pname = "click-configfile"; inherit (finalAttrs) version; From 34c119dee6a46adeafecb828e163cdfdbc78bfe1 Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 22:49:38 +0200 Subject: [PATCH 0644/2378] python3Packages.click-help-colors: remove redundant structuredAttrs --- pkgs/development/python-modules/click-help-colors/default.nix | 2 -- 1 file changed, 2 deletions(-) diff --git a/pkgs/development/python-modules/click-help-colors/default.nix b/pkgs/development/python-modules/click-help-colors/default.nix index d3c04fd8a10b..4b8d0624897c 100644 --- a/pkgs/development/python-modules/click-help-colors/default.nix +++ b/pkgs/development/python-modules/click-help-colors/default.nix @@ -12,8 +12,6 @@ buildPythonPackage (finalAttrs: { version = "0.9.4"; pyproject = true; - __structuredAttrs = true; - src = fetchPypi { pname = "click-help-colors"; inherit (finalAttrs) version; From 6dc6460a4d7d30fd15bed3c1e619b4242178d930 Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 22:49:38 +0200 Subject: [PATCH 0645/2378] python3Packages.click-log: remove redundant structuredAttrs --- pkgs/development/python-modules/click-log/default.nix | 2 -- 1 file changed, 2 deletions(-) diff --git a/pkgs/development/python-modules/click-log/default.nix b/pkgs/development/python-modules/click-log/default.nix index b37c2293c082..3d94bd0ec960 100644 --- a/pkgs/development/python-modules/click-log/default.nix +++ b/pkgs/development/python-modules/click-log/default.nix @@ -12,8 +12,6 @@ buildPythonPackage (finalAttrs: { version = "0.4.0"; pyproject = true; - __structuredAttrs = true; - src = fetchPypi { pname = "click-log"; inherit (finalAttrs) version; From badf46a22708ca8cd62d7327ee0564ffae0ee8ae Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 22:49:39 +0200 Subject: [PATCH 0646/2378] python3Packages.clickhouse-driver: remove redundant structuredAttrs --- pkgs/development/python-modules/clickhouse-driver/default.nix | 2 -- 1 file changed, 2 deletions(-) diff --git a/pkgs/development/python-modules/clickhouse-driver/default.nix b/pkgs/development/python-modules/clickhouse-driver/default.nix index f0b154bd3494..3afa4fd27467 100644 --- a/pkgs/development/python-modules/clickhouse-driver/default.nix +++ b/pkgs/development/python-modules/clickhouse-driver/default.nix @@ -20,8 +20,6 @@ buildPythonPackage (finalAttrs: { version = "0.2.11"; pyproject = true; - __structuredAttrs = true; - # pypi source doesn't contain tests src = fetchFromGitHub { owner = "mymarilyn"; From 365b4492e6d8d1fe501dcfc5b90f0985815fcbd7 Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 22:49:39 +0200 Subject: [PATCH 0647/2378] python3Packages.cligj: remove redundant structuredAttrs --- pkgs/development/python-modules/cligj/default.nix | 2 -- 1 file changed, 2 deletions(-) diff --git a/pkgs/development/python-modules/cligj/default.nix b/pkgs/development/python-modules/cligj/default.nix index 69231498e0b1..d52ebcde0208 100644 --- a/pkgs/development/python-modules/cligj/default.nix +++ b/pkgs/development/python-modules/cligj/default.nix @@ -12,8 +12,6 @@ buildPythonPackage (finalAttrs: { version = "0.7.2"; pyproject = true; - __structuredAttrs = true; - src = fetchFromGitHub { owner = "mapbox"; repo = "cligj"; From 8dd3f232c4ad3591c5dda76ceb3aedab2b488d77 Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 22:49:39 +0200 Subject: [PATCH 0648/2378] python3Packages.clintermission: remove redundant structuredAttrs --- pkgs/development/python-modules/clintermission/default.nix | 2 -- 1 file changed, 2 deletions(-) diff --git a/pkgs/development/python-modules/clintermission/default.nix b/pkgs/development/python-modules/clintermission/default.nix index 1223836774d0..15e319a7c63f 100644 --- a/pkgs/development/python-modules/clintermission/default.nix +++ b/pkgs/development/python-modules/clintermission/default.nix @@ -11,8 +11,6 @@ buildPythonPackage (finalAttrs: { version = "0.3.1"; pyproject = true; - __structuredAttrs = true; - src = fetchFromGitHub { owner = "sebageek"; repo = "clintermission"; From 5f1f6a6416a2ab87e9c78e0c908eaf1df576b58b Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 22:49:39 +0200 Subject: [PATCH 0649/2378] python3Packages.clip: remove redundant structuredAttrs --- pkgs/development/python-modules/clip/default.nix | 2 -- 1 file changed, 2 deletions(-) diff --git a/pkgs/development/python-modules/clip/default.nix b/pkgs/development/python-modules/clip/default.nix index c1051a15b140..5adc72d025a1 100644 --- a/pkgs/development/python-modules/clip/default.nix +++ b/pkgs/development/python-modules/clip/default.nix @@ -15,8 +15,6 @@ buildPythonPackage { version = "1.0-unstable-2022-07-27"; pyproject = true; - __structuredAttrs = true; - src = fetchFromGitHub { owner = "openai"; repo = "clip"; From e7094d65cf78aa0b477af7a5a7a0ac35f53cabd1 Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 22:49:40 +0200 Subject: [PATCH 0650/2378] python3Packages.clu: remove redundant structuredAttrs --- pkgs/development/python-modules/clu/default.nix | 1 - 1 file changed, 1 deletion(-) diff --git a/pkgs/development/python-modules/clu/default.nix b/pkgs/development/python-modules/clu/default.nix index 5818e92219e3..b4f506dc347c 100644 --- a/pkgs/development/python-modules/clu/default.nix +++ b/pkgs/development/python-modules/clu/default.nix @@ -31,7 +31,6 @@ buildPythonPackage (finalAttrs: { pname = "clu"; version = "0.0.12"; pyproject = true; - __structuredAttrs = true; src = fetchFromGitHub { owner = "google"; From ee7462d1deb508193ccf9a5480ca8d7620fd4fa1 Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 22:49:40 +0200 Subject: [PATCH 0651/2378] python3Packages.cmake-parser: remove redundant structuredAttrs --- pkgs/development/python-modules/cmake-parser/default.nix | 1 - 1 file changed, 1 deletion(-) diff --git a/pkgs/development/python-modules/cmake-parser/default.nix b/pkgs/development/python-modules/cmake-parser/default.nix index 2ad7294720c1..d9ea8d084b38 100644 --- a/pkgs/development/python-modules/cmake-parser/default.nix +++ b/pkgs/development/python-modules/cmake-parser/default.nix @@ -12,7 +12,6 @@ buildPythonPackage (finalAttrs: { pname = "cmake-parser"; version = "0.9.2"; pyproject = true; - __structuredAttrs = true; src = fetchFromGitHub { owner = "roehling"; From f2af572654cc1da8e8d3581cb65183446b10edbd Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 22:49:40 +0200 Subject: [PATCH 0652/2378] python3Packages.cmdline: remove redundant structuredAttrs --- pkgs/development/python-modules/cmdline/default.nix | 2 -- 1 file changed, 2 deletions(-) diff --git a/pkgs/development/python-modules/cmdline/default.nix b/pkgs/development/python-modules/cmdline/default.nix index 797bb24169f4..3807c561271d 100644 --- a/pkgs/development/python-modules/cmdline/default.nix +++ b/pkgs/development/python-modules/cmdline/default.nix @@ -11,8 +11,6 @@ buildPythonPackage (finalAttrs: { version = "0.2.0"; pyproject = true; - __structuredAttrs = true; - src = fetchPypi { inherit (finalAttrs) pname version; hash = "sha256-fPavU1SYkrIhjC9WoZnf9UpzO+XFUVwP1iaBIHCwqGo="; From 1e54ab77a503a0ad1a1f3bcf1617bbfbeab48f24 Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 22:49:41 +0200 Subject: [PATCH 0653/2378] python3Packages.cmigemo: remove redundant structuredAttrs --- pkgs/development/python-modules/cmigemo/default.nix | 2 -- 1 file changed, 2 deletions(-) diff --git a/pkgs/development/python-modules/cmigemo/default.nix b/pkgs/development/python-modules/cmigemo/default.nix index 8f187d6430a2..037c1b414484 100644 --- a/pkgs/development/python-modules/cmigemo/default.nix +++ b/pkgs/development/python-modules/cmigemo/default.nix @@ -14,8 +14,6 @@ buildPythonPackage (finalAttrs: { version = "0.1.6"; pyproject = true; - __structuredAttrs = true; - src = fetchPypi { inherit (finalAttrs) pname version; hash = "sha256-cxOqMAf2dgCwZuBKSAXkRFY9FRNB3rMwE1tNzfZERiY="; From f493ae59a37b98519e8fb37548d38671d8e72bd2 Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 22:49:41 +0200 Subject: [PATCH 0654/2378] python3Packages.cmudict: remove redundant structuredAttrs --- pkgs/development/python-modules/cmudict/default.nix | 2 -- 1 file changed, 2 deletions(-) diff --git a/pkgs/development/python-modules/cmudict/default.nix b/pkgs/development/python-modules/cmudict/default.nix index 819e349b7b97..8eec27da6aa3 100644 --- a/pkgs/development/python-modules/cmudict/default.nix +++ b/pkgs/development/python-modules/cmudict/default.nix @@ -14,8 +14,6 @@ buildPythonPackage (finalAttrs: { version = "1.1.3"; pyproject = true; - __structuredAttrs = true; - src = fetchFromGitHub { owner = "prosegrinder"; repo = "python-cmudict"; From 0c3c71e1a3cdac5e45072c5376a6e62d4c371e19 Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 22:49:41 +0200 Subject: [PATCH 0655/2378] python3Packages.co2signal: remove redundant structuredAttrs --- pkgs/development/python-modules/co2signal/default.nix | 2 -- 1 file changed, 2 deletions(-) diff --git a/pkgs/development/python-modules/co2signal/default.nix b/pkgs/development/python-modules/co2signal/default.nix index 3c2e674ab5ee..171e16f8b920 100644 --- a/pkgs/development/python-modules/co2signal/default.nix +++ b/pkgs/development/python-modules/co2signal/default.nix @@ -11,8 +11,6 @@ buildPythonPackage (finalAttrs: { version = "0.4.2"; pyproject = true; - __structuredAttrs = true; - src = fetchPypi { inherit (finalAttrs) version; pname = "CO2Signal"; From 1b9160ea77acecca0182d101f92b93dc5c4a6eea Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 22:49:41 +0200 Subject: [PATCH 0656/2378] python3Packages.cobs: remove redundant structuredAttrs --- pkgs/development/python-modules/cobs/default.nix | 2 -- 1 file changed, 2 deletions(-) diff --git a/pkgs/development/python-modules/cobs/default.nix b/pkgs/development/python-modules/cobs/default.nix index 2dc6ba4641db..2c9a30c7454e 100644 --- a/pkgs/development/python-modules/cobs/default.nix +++ b/pkgs/development/python-modules/cobs/default.nix @@ -10,8 +10,6 @@ buildPythonPackage (finalAttrs: { version = "1.2.2"; pyproject = true; - __structuredAttrs = true; - src = fetchPypi { inherit (finalAttrs) pname version; hash = "sha256-291eMhEdcnhvg9DCaSFdzWrGKbGsGWLGh4Ih87LKmNo="; From 9e0bfd0ff59820e32a9c72feb678d111aa1805f5 Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 22:49:42 +0200 Subject: [PATCH 0657/2378] python3Packages.cock: remove redundant structuredAttrs --- pkgs/development/python-modules/cock/default.nix | 2 -- 1 file changed, 2 deletions(-) diff --git a/pkgs/development/python-modules/cock/default.nix b/pkgs/development/python-modules/cock/default.nix index 7344a660f155..e3e16c8ac274 100644 --- a/pkgs/development/python-modules/cock/default.nix +++ b/pkgs/development/python-modules/cock/default.nix @@ -13,8 +13,6 @@ buildPythonPackage (finalAttrs: { version = "0.11.0"; pyproject = true; - __structuredAttrs = true; - src = fetchPypi { inherit (finalAttrs) pname version; hash = "sha256-Hi8aFxATsYcEO6qNzZnF73V8WLTQjb6Dw2xF4VgT2o4="; From b7757f47ec665ce9178aa9dec6d904d065987f43 Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 22:49:42 +0200 Subject: [PATCH 0658/2378] python3Packages.codecarbon: remove redundant structuredAttrs --- pkgs/development/python-modules/codecarbon/default.nix | 1 - 1 file changed, 1 deletion(-) diff --git a/pkgs/development/python-modules/codecarbon/default.nix b/pkgs/development/python-modules/codecarbon/default.nix index c43e4d85f452..3817a47be147 100644 --- a/pkgs/development/python-modules/codecarbon/default.nix +++ b/pkgs/development/python-modules/codecarbon/default.nix @@ -50,7 +50,6 @@ buildPythonPackage (finalAttrs: { pname = "codecarbon"; version = "3.2.8"; pyproject = true; - __structuredAttrs = true; src = fetchFromGitHub { owner = "mlco2"; From cfb52a947f4d780e8e73a38f0be29c1de6520d08 Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 22:49:42 +0200 Subject: [PATCH 0659/2378] python3Packages.coffea: remove redundant structuredAttrs --- pkgs/development/python-modules/coffea/default.nix | 1 - 1 file changed, 1 deletion(-) diff --git a/pkgs/development/python-modules/coffea/default.nix b/pkgs/development/python-modules/coffea/default.nix index 56afeb0ef84f..cb43e37c715d 100644 --- a/pkgs/development/python-modules/coffea/default.nix +++ b/pkgs/development/python-modules/coffea/default.nix @@ -46,7 +46,6 @@ buildPythonPackage (finalAttrs: { pname = "coffea"; version = "2026.9.0"; pyproject = true; - __structuredAttrs = true; src = fetchFromGitHub { owner = "CoffeaTeam"; From 663fc64f1f0ee219b2f3ee79b57086226638edfc Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 22:49:43 +0200 Subject: [PATCH 0660/2378] python3Packages.coiled: remove redundant structuredAttrs --- pkgs/development/python-modules/coiled/default.nix | 1 - 1 file changed, 1 deletion(-) diff --git a/pkgs/development/python-modules/coiled/default.nix b/pkgs/development/python-modules/coiled/default.nix index 9a0d1852f8b0..d065c6cf4f9e 100644 --- a/pkgs/development/python-modules/coiled/default.nix +++ b/pkgs/development/python-modules/coiled/default.nix @@ -41,7 +41,6 @@ buildPythonPackage (finalAttrs: { pname = "coiled"; version = "1.135.4"; pyproject = true; - __structuredAttrs = true; src = fetchPypi { inherit (finalAttrs) pname version; From 4ffa4f6bff56a51bcd578938839d4b8ae2607175 Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 22:49:43 +0200 Subject: [PATCH 0661/2378] python3Packages.colanderalchemy: remove redundant structuredAttrs --- pkgs/development/python-modules/colanderalchemy/default.nix | 2 -- 1 file changed, 2 deletions(-) diff --git a/pkgs/development/python-modules/colanderalchemy/default.nix b/pkgs/development/python-modules/colanderalchemy/default.nix index daa9a5371ed2..fdf710b356b5 100644 --- a/pkgs/development/python-modules/colanderalchemy/default.nix +++ b/pkgs/development/python-modules/colanderalchemy/default.nix @@ -12,8 +12,6 @@ buildPythonPackage (finalAttrs: { version = "0.3.4"; pyproject = true; - __structuredAttrs = true; - src = fetchPypi { inherit (finalAttrs) version; pname = "ColanderAlchemy"; From c032b917b9e0b6de2fc9d94178c0d8c96dd550af Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 22:49:43 +0200 Subject: [PATCH 0662/2378] python3Packages.colorlover: remove redundant structuredAttrs --- pkgs/development/python-modules/colorlover/default.nix | 2 -- 1 file changed, 2 deletions(-) diff --git a/pkgs/development/python-modules/colorlover/default.nix b/pkgs/development/python-modules/colorlover/default.nix index 1a22b37d4b02..173825697c67 100644 --- a/pkgs/development/python-modules/colorlover/default.nix +++ b/pkgs/development/python-modules/colorlover/default.nix @@ -10,8 +10,6 @@ buildPythonPackage (finalAttrs: { version = "0.3.0"; pyproject = true; - __structuredAttrs = true; - src = fetchPypi { inherit (finalAttrs) pname version; hash = "sha256-uPtyRqtG4fXmcVZJRTwXYuJFpRXeX/LStKq3puZ/pOI="; From 3f3dba6d0c589ad23a4d98eec4cd90e1f1d72486 Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 22:49:43 +0200 Subject: [PATCH 0663/2378] python3Packages.colorspacious: remove redundant structuredAttrs --- pkgs/development/python-modules/colorspacious/default.nix | 2 -- 1 file changed, 2 deletions(-) diff --git a/pkgs/development/python-modules/colorspacious/default.nix b/pkgs/development/python-modules/colorspacious/default.nix index a52c46e37bcd..4201090f9353 100644 --- a/pkgs/development/python-modules/colorspacious/default.nix +++ b/pkgs/development/python-modules/colorspacious/default.nix @@ -11,8 +11,6 @@ buildPythonPackage (finalAttrs: { version = "1.1.2"; pyproject = true; - __structuredAttrs = true; - src = fetchPypi { inherit (finalAttrs) pname version; hash = "sha256-XpBy6M3KiJ2sRFw1yTYqIsz3WOl7ALef8NWnuj4Rthg="; From 9529aafe8e3bab1d1e3400ff626eace41beac510 Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 22:49:44 +0200 Subject: [PATCH 0664/2378] python3Packages.colorthief: remove redundant structuredAttrs --- pkgs/development/python-modules/colorthief/default.nix | 2 -- 1 file changed, 2 deletions(-) diff --git a/pkgs/development/python-modules/colorthief/default.nix b/pkgs/development/python-modules/colorthief/default.nix index 90731608b21b..a4a966f649a3 100644 --- a/pkgs/development/python-modules/colorthief/default.nix +++ b/pkgs/development/python-modules/colorthief/default.nix @@ -11,8 +11,6 @@ buildPythonPackage (finalAttrs: { version = "0.2.1"; pyproject = true; - __structuredAttrs = true; - src = fetchFromGitHub { owner = "fengsp"; repo = "color-thief-py"; From 44e6ed7f4ba49557f90689e230334df50f043ba5 Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 22:49:44 +0200 Subject: [PATCH 0665/2378] python3Packages.colorzero: remove redundant structuredAttrs --- pkgs/development/python-modules/colorzero/default.nix | 2 -- 1 file changed, 2 deletions(-) diff --git a/pkgs/development/python-modules/colorzero/default.nix b/pkgs/development/python-modules/colorzero/default.nix index df23010b310c..4ea9623e594d 100644 --- a/pkgs/development/python-modules/colorzero/default.nix +++ b/pkgs/development/python-modules/colorzero/default.nix @@ -13,8 +13,6 @@ buildPythonPackage (finalAttrs: { version = "2.0"; pyproject = true; - __structuredAttrs = true; - src = fetchFromGitHub { owner = "waveform80"; repo = "colorzero"; From 104a08dcdaedfe86d561912c9a7feb005886622d Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 22:49:44 +0200 Subject: [PATCH 0666/2378] python3Packages.colout: remove redundant structuredAttrs --- pkgs/development/python-modules/colout/default.nix | 2 -- 1 file changed, 2 deletions(-) diff --git a/pkgs/development/python-modules/colout/default.nix b/pkgs/development/python-modules/colout/default.nix index 4dc1096fda69..148ba0a27f7b 100644 --- a/pkgs/development/python-modules/colout/default.nix +++ b/pkgs/development/python-modules/colout/default.nix @@ -13,8 +13,6 @@ buildPythonPackage (finalAttrs: { version = "1.1"; pyproject = true; - __structuredAttrs = true; - src = fetchFromGitHub { owner = "nojhan"; repo = "colout"; From ac1d72a561eef2a35a2a2de5ffb17301efa336d8 Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 22:49:44 +0200 Subject: [PATCH 0667/2378] python3Packages.comet-ml: remove redundant structuredAttrs --- pkgs/development/python-modules/comet-ml/default.nix | 1 - 1 file changed, 1 deletion(-) diff --git a/pkgs/development/python-modules/comet-ml/default.nix b/pkgs/development/python-modules/comet-ml/default.nix index f7c7e51eccf1..74d94b24985d 100644 --- a/pkgs/development/python-modules/comet-ml/default.nix +++ b/pkgs/development/python-modules/comet-ml/default.nix @@ -26,7 +26,6 @@ buildPythonPackage (finalAttrs: { pname = "comet-ml"; version = "3.58.6"; pyproject = true; - __structuredAttrs = true; # No GitHub repository src = fetchPypi { From 0f068be70c392018ceaa2c4a478850a6de678bcd Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 22:49:45 +0200 Subject: [PATCH 0668/2378] python3Packages.cometblue-lite: remove redundant structuredAttrs --- pkgs/development/python-modules/cometblue-lite/default.nix | 2 -- 1 file changed, 2 deletions(-) diff --git a/pkgs/development/python-modules/cometblue-lite/default.nix b/pkgs/development/python-modules/cometblue-lite/default.nix index 10a10a284cee..81a8084a1762 100644 --- a/pkgs/development/python-modules/cometblue-lite/default.nix +++ b/pkgs/development/python-modules/cometblue-lite/default.nix @@ -12,8 +12,6 @@ buildPythonPackage (finalAttrs: { version = "0.7.0"; pyproject = true; - __structuredAttrs = true; - src = fetchFromGitHub { owner = "neffs"; repo = "python-cometblue_lite"; From faaa19d1612ab38c97895d67809b975d62068352 Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 22:49:45 +0200 Subject: [PATCH 0669/2378] python3Packages.commandparse: remove redundant structuredAttrs --- pkgs/development/python-modules/commandparse/default.nix | 2 -- 1 file changed, 2 deletions(-) diff --git a/pkgs/development/python-modules/commandparse/default.nix b/pkgs/development/python-modules/commandparse/default.nix index a3cc49b4b88f..a0858212cbd5 100644 --- a/pkgs/development/python-modules/commandparse/default.nix +++ b/pkgs/development/python-modules/commandparse/default.nix @@ -10,8 +10,6 @@ buildPythonPackage (finalAttrs: { version = "1.1.2"; pyproject = true; - __structuredAttrs = true; - src = fetchPypi { inherit (finalAttrs) pname version; hash = "sha256-S9e90BtS6qMjFtYUmgC0w4IKQP8q1iR2tGqq5l2+n6o="; From d1a2c5d8a1cefadcfbbc42975e44f72ca1bb3ac2 Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 22:49:45 +0200 Subject: [PATCH 0670/2378] python3Packages.conda: remove redundant structuredAttrs --- pkgs/development/python-modules/conda/default.nix | 1 - 1 file changed, 1 deletion(-) diff --git a/pkgs/development/python-modules/conda/default.nix b/pkgs/development/python-modules/conda/default.nix index 8264c4fe5d84..d70a5041b063 100644 --- a/pkgs/development/python-modules/conda/default.nix +++ b/pkgs/development/python-modules/conda/default.nix @@ -26,7 +26,6 @@ defaultPkgPath ? "~/.conda/pkgs", # default path to store download conda packages }: buildPythonPackage rec { - __structuredAttrs = true; pname = "conda"; version = "26.5.2"; pyproject = true; From b179962b84a0bcb2007a73798aef9bf3b00e1a47 Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 22:49:46 +0200 Subject: [PATCH 0671/2378] python3Packages.conduit: remove redundant structuredAttrs --- pkgs/development/python-modules/conduit/default.nix | 1 - 1 file changed, 1 deletion(-) diff --git a/pkgs/development/python-modules/conduit/default.nix b/pkgs/development/python-modules/conduit/default.nix index 837eec0364d1..4574c1456d88 100644 --- a/pkgs/development/python-modules/conduit/default.nix +++ b/pkgs/development/python-modules/conduit/default.nix @@ -30,7 +30,6 @@ buildPythonPackage { buildInputs ; pyproject = true; - __structuredAttrs = true; postPatch = (conduit.postPatch or "") + '' substituteInPlace pyproject.toml \ From 78eaa44aab82f21c4b059dbb6a2e7795ac829ac8 Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 22:49:46 +0200 Subject: [PATCH 0672/2378] python3Packages.configclass: remove redundant structuredAttrs --- pkgs/development/python-modules/configclass/default.nix | 2 -- 1 file changed, 2 deletions(-) diff --git a/pkgs/development/python-modules/configclass/default.nix b/pkgs/development/python-modules/configclass/default.nix index 874bda10e19e..7531f2472ea1 100644 --- a/pkgs/development/python-modules/configclass/default.nix +++ b/pkgs/development/python-modules/configclass/default.nix @@ -12,8 +12,6 @@ buildPythonPackage (finalAttrs: { version = "0.2.0"; pyproject = true; - __structuredAttrs = true; - src = fetchPypi { inherit (finalAttrs) pname version; hash = "sha256-aoDKBuDxJCeXbVwCXhse6FCbDDM30/Xa8p9qRvDkWBk="; From b8f80b1b7fbb5677836033cae7de063a0bc476e1 Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 22:49:47 +0200 Subject: [PATCH 0673/2378] python3Packages.configobj: remove redundant structuredAttrs --- pkgs/development/python-modules/configobj/default.nix | 2 -- 1 file changed, 2 deletions(-) diff --git a/pkgs/development/python-modules/configobj/default.nix b/pkgs/development/python-modules/configobj/default.nix index e534598e202a..bf22f73fd60c 100644 --- a/pkgs/development/python-modules/configobj/default.nix +++ b/pkgs/development/python-modules/configobj/default.nix @@ -13,8 +13,6 @@ buildPythonPackage (finalAttrs: { version = "5.0.9"; pyproject = true; - __structuredAttrs = true; - src = fetchFromGitHub { owner = "DiffSK"; repo = "configobj"; From cea70db418f9eb65b6f6a3165aaea50a5b2e8429 Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 22:49:47 +0200 Subject: [PATCH 0674/2378] python3Packages.configupdater: remove redundant structuredAttrs --- pkgs/development/python-modules/configupdater/default.nix | 2 -- 1 file changed, 2 deletions(-) diff --git a/pkgs/development/python-modules/configupdater/default.nix b/pkgs/development/python-modules/configupdater/default.nix index 78684ec66246..4bf6b8b1056d 100644 --- a/pkgs/development/python-modules/configupdater/default.nix +++ b/pkgs/development/python-modules/configupdater/default.nix @@ -13,8 +13,6 @@ buildPythonPackage (finalAttrs: { version = "3.2"; pyproject = true; - __structuredAttrs = true; - src = fetchPypi { inherit (finalAttrs) version; pname = "ConfigUpdater"; From 28898d34b123507b7cb0eaaa84b7b3d84134877b Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 22:49:47 +0200 Subject: [PATCH 0675/2378] python3Packages.confluent-kafka: remove redundant structuredAttrs --- pkgs/development/python-modules/confluent-kafka/default.nix | 1 - 1 file changed, 1 deletion(-) diff --git a/pkgs/development/python-modules/confluent-kafka/default.nix b/pkgs/development/python-modules/confluent-kafka/default.nix index d016506f5344..b63cadf8c5fb 100644 --- a/pkgs/development/python-modules/confluent-kafka/default.nix +++ b/pkgs/development/python-modules/confluent-kafka/default.nix @@ -55,7 +55,6 @@ buildPythonPackage (finalAttrs: { pname = "confluent-kafka"; version = "2.15.0"; pyproject = true; - __structuredAttrs = true; src = fetchFromGitHub { owner = "confluentinc"; From f59102e9826812d70a12ff4b31b6b12ed2baa389 Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 22:49:47 +0200 Subject: [PATCH 0676/2378] python3Packages.connection-pool: remove redundant structuredAttrs --- pkgs/development/python-modules/connection-pool/default.nix | 2 -- 1 file changed, 2 deletions(-) diff --git a/pkgs/development/python-modules/connection-pool/default.nix b/pkgs/development/python-modules/connection-pool/default.nix index d5a120da5bee..07ceccdc4acf 100644 --- a/pkgs/development/python-modules/connection-pool/default.nix +++ b/pkgs/development/python-modules/connection-pool/default.nix @@ -11,8 +11,6 @@ buildPythonPackage (finalAttrs: { version = "0.0.3"; pyproject = true; - __structuredAttrs = true; - disabled = !isPy3k; src = fetchPypi { From 9996c68238072951e3cfc538c4511cce19bbb518 Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 22:49:48 +0200 Subject: [PATCH 0677/2378] python3Packages.connectrpc: remove redundant structuredAttrs --- pkgs/development/python-modules/connectrpc/default.nix | 1 - 1 file changed, 1 deletion(-) diff --git a/pkgs/development/python-modules/connectrpc/default.nix b/pkgs/development/python-modules/connectrpc/default.nix index 48b39ddc61c9..817fd0ab6dc8 100644 --- a/pkgs/development/python-modules/connectrpc/default.nix +++ b/pkgs/development/python-modules/connectrpc/default.nix @@ -24,7 +24,6 @@ buildPythonPackage (finalAttrs: { pname = "connectrpc"; version = "0.11.1"; pyproject = true; - __structuredAttrs = true; src = fetchFromGitHub { owner = "connectrpc"; From 66b41d627cf50b871760f0dfd904050112163dfd Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 22:49:48 +0200 Subject: [PATCH 0678/2378] python3Packages.connio: remove redundant structuredAttrs --- pkgs/development/python-modules/connio/default.nix | 2 -- 1 file changed, 2 deletions(-) diff --git a/pkgs/development/python-modules/connio/default.nix b/pkgs/development/python-modules/connio/default.nix index be94e342bea0..1412b7b783dc 100644 --- a/pkgs/development/python-modules/connio/default.nix +++ b/pkgs/development/python-modules/connio/default.nix @@ -12,8 +12,6 @@ buildPythonPackage (finalAttrs: { version = "0.2.0"; pyproject = true; - __structuredAttrs = true; - src = fetchFromGitHub { owner = "tiagocoutinho"; repo = "connio"; From 64de4996071c5790d51242d61cb5b482cf609fe5 Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 22:49:48 +0200 Subject: [PATCH 0679/2378] python3Packages.contexter: remove redundant structuredAttrs --- pkgs/development/python-modules/contexter/default.nix | 2 -- 1 file changed, 2 deletions(-) diff --git a/pkgs/development/python-modules/contexter/default.nix b/pkgs/development/python-modules/contexter/default.nix index 26419faf1517..0498638686cf 100644 --- a/pkgs/development/python-modules/contexter/default.nix +++ b/pkgs/development/python-modules/contexter/default.nix @@ -10,8 +10,6 @@ buildPythonPackage (finalAttrs: { version = "0.1.4"; pyproject = true; - __structuredAttrs = true; - src = fetchPypi { inherit (finalAttrs) pname version; hash = "sha256-xzCJCxqRUFFBSmNQ2Ooc3cp9Adj3Vrre2zC5vzBeoKg="; From 2541e76c19c9b99c92a903838aae4c163047742a Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 22:49:49 +0200 Subject: [PATCH 0680/2378] python3Packages.cookies: remove redundant structuredAttrs --- pkgs/development/python-modules/cookies/default.nix | 2 -- 1 file changed, 2 deletions(-) diff --git a/pkgs/development/python-modules/cookies/default.nix b/pkgs/development/python-modules/cookies/default.nix index 4cdf625dd0ea..77b7e066a68c 100644 --- a/pkgs/development/python-modules/cookies/default.nix +++ b/pkgs/development/python-modules/cookies/default.nix @@ -12,8 +12,6 @@ buildPythonPackage (finalAttrs: { version = "2.2.1"; pyproject = true; - __structuredAttrs = true; - src = fetchPypi { inherit (finalAttrs) pname version; hash = "sha256-1raYeIyuTPpOYu+GQ6nKMyt5vZbLMUKUuGSujX6z7o4="; From 7bb3ab5c8fe1306e3a756b27922cac833ae167c7 Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 22:49:49 +0200 Subject: [PATCH 0681/2378] python3Packages.correctionlib: remove redundant structuredAttrs --- pkgs/development/python-modules/correctionlib/default.nix | 1 - 1 file changed, 1 deletion(-) diff --git a/pkgs/development/python-modules/correctionlib/default.nix b/pkgs/development/python-modules/correctionlib/default.nix index b0848eccacae..b995cf50fec4 100644 --- a/pkgs/development/python-modules/correctionlib/default.nix +++ b/pkgs/development/python-modules/correctionlib/default.nix @@ -35,7 +35,6 @@ buildPythonPackage (finalAttrs: { pname = "correctionlib"; version = "2.9.0"; pyproject = true; - __structuredAttrs = true; src = fetchFromGitHub { owner = "cms-nanoAOD"; From 90573de3f25c43e251b1ad4cb7dd079d70c8bc36 Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 22:49:49 +0200 Subject: [PATCH 0682/2378] python3Packages.cot: remove redundant structuredAttrs --- pkgs/development/python-modules/cot/default.nix | 2 -- 1 file changed, 2 deletions(-) diff --git a/pkgs/development/python-modules/cot/default.nix b/pkgs/development/python-modules/cot/default.nix index afad1d849138..a2b41b80690f 100644 --- a/pkgs/development/python-modules/cot/default.nix +++ b/pkgs/development/python-modules/cot/default.nix @@ -22,8 +22,6 @@ buildPythonPackage (finalAttrs: { version = "2.2.1"; pyproject = true; - __structuredAttrs = true; - src = fetchPypi { pname = "cot"; inherit (finalAttrs) version; From 198ddd72127a348d527ff2f93fed1ae6ff38d10a Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 22:49:49 +0200 Subject: [PATCH 0683/2378] python3Packages.courlan: remove redundant structuredAttrs --- pkgs/development/python-modules/courlan/default.nix | 1 - 1 file changed, 1 deletion(-) diff --git a/pkgs/development/python-modules/courlan/default.nix b/pkgs/development/python-modules/courlan/default.nix index 86da2f43e917..9e483cfe413c 100644 --- a/pkgs/development/python-modules/courlan/default.nix +++ b/pkgs/development/python-modules/courlan/default.nix @@ -21,7 +21,6 @@ buildPythonPackage (finalAttrs: { pname = "courlan"; version = "1.4.0"; pyproject = true; - __structuredAttrs = true; src = fetchFromGitHub { owner = "adbar"; From b3359298373d145ff0c0f6fa917900beb1ecb6d0 Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 22:49:50 +0200 Subject: [PATCH 0684/2378] python3Packages.cramjam: remove redundant structuredAttrs --- pkgs/development/python-modules/cramjam/default.nix | 1 - 1 file changed, 1 deletion(-) diff --git a/pkgs/development/python-modules/cramjam/default.nix b/pkgs/development/python-modules/cramjam/default.nix index 27e77cb047a9..5e3daf372c5e 100644 --- a/pkgs/development/python-modules/cramjam/default.nix +++ b/pkgs/development/python-modules/cramjam/default.nix @@ -16,7 +16,6 @@ buildPythonPackage (finalAttrs: { pname = "cramjam"; version = "2.13.0"; pyproject = true; - __structuredAttrs = true; src = fetchFromGitHub { owner = "milesgranger"; From 9138f21a8296ec922ed6cdf9996b3567285890e0 Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 22:49:50 +0200 Subject: [PATCH 0685/2378] python3Packages.crawl4ai: remove redundant structuredAttrs --- pkgs/development/python-modules/crawl4ai/default.nix | 2 -- 1 file changed, 2 deletions(-) diff --git a/pkgs/development/python-modules/crawl4ai/default.nix b/pkgs/development/python-modules/crawl4ai/default.nix index 76367c8fbe48..b7694f94e335 100644 --- a/pkgs/development/python-modules/crawl4ai/default.nix +++ b/pkgs/development/python-modules/crawl4ai/default.nix @@ -55,8 +55,6 @@ buildPythonPackage (finalAttrs: { version = "0.9.1"; pyproject = true; - __structuredAttrs = true; - src = fetchFromGitHub { owner = "unclecode"; repo = "crawl4ai"; From a51f81c3255af49a77ca7c38e546922880f4f4a3 Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 22:49:50 +0200 Subject: [PATCH 0686/2378] python3Packages.crayons: remove redundant structuredAttrs --- pkgs/development/python-modules/crayons/default.nix | 2 -- 1 file changed, 2 deletions(-) diff --git a/pkgs/development/python-modules/crayons/default.nix b/pkgs/development/python-modules/crayons/default.nix index 70c9181836a8..9d3036e21bfd 100644 --- a/pkgs/development/python-modules/crayons/default.nix +++ b/pkgs/development/python-modules/crayons/default.nix @@ -11,8 +11,6 @@ buildPythonPackage (finalAttrs: { version = "0.4.0"; pyproject = true; - __structuredAttrs = true; - src = fetchPypi { inherit (finalAttrs) pname version; hash = "sha256-vTO3VHgA8s+9JrOEMfnmS0h6fedKlHsPr8ibRaYBgT8="; From f517f956de6340c6d32d558c59d5cdd265137156 Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 22:49:51 +0200 Subject: [PATCH 0687/2378] python3Packages.crcmod: remove redundant structuredAttrs --- pkgs/development/python-modules/crcmod/default.nix | 2 -- 1 file changed, 2 deletions(-) diff --git a/pkgs/development/python-modules/crcmod/default.nix b/pkgs/development/python-modules/crcmod/default.nix index 297092c167fc..b4c7aec73d10 100644 --- a/pkgs/development/python-modules/crcmod/default.nix +++ b/pkgs/development/python-modules/crcmod/default.nix @@ -10,8 +10,6 @@ buildPythonPackage (finalAttrs: { version = "1.7"; pyproject = true; - __structuredAttrs = true; - src = fetchPypi { inherit (finalAttrs) pname version; hash = "sha256-3HBRoNtfK9SGZamQ0+wcwwWkZqdzWMpEkoJvQfKDYB4="; From a11f38dad2609d348f4fb1ab6e71159d0f97ce19 Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 22:49:51 +0200 Subject: [PATCH 0688/2378] python3Packages.credsweeper: remove redundant structuredAttrs --- pkgs/development/python-modules/credsweeper/default.nix | 1 - 1 file changed, 1 deletion(-) diff --git a/pkgs/development/python-modules/credsweeper/default.nix b/pkgs/development/python-modules/credsweeper/default.nix index 1ef07b2f6045..93b1f9bc3eac 100644 --- a/pkgs/development/python-modules/credsweeper/default.nix +++ b/pkgs/development/python-modules/credsweeper/default.nix @@ -47,7 +47,6 @@ buildPythonPackage (finalAttrs: { pname = "credsweeper"; version = "1.19.3"; pyproject = true; - __structuredAttrs = true; src = fetchFromGitHub { owner = "Samsung"; From 9af6846c97bd3da22ab25be5f50002fcc464895c Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 22:49:51 +0200 Subject: [PATCH 0689/2378] python3Packages.crewai-cli: remove redundant structuredAttrs --- pkgs/development/python-modules/crewai-cli/default.nix | 1 - 1 file changed, 1 deletion(-) diff --git a/pkgs/development/python-modules/crewai-cli/default.nix b/pkgs/development/python-modules/crewai-cli/default.nix index e3a04429b1ba..d3d00f10fa6b 100644 --- a/pkgs/development/python-modules/crewai-cli/default.nix +++ b/pkgs/development/python-modules/crewai-cli/default.nix @@ -43,7 +43,6 @@ buildPythonPackage (finalAttrs: { pname = "crewai-cli"; version = "1.15.18"; pyproject = true; - __structuredAttrs = true; inherit (crewai-core) src; From d29727a26cf8ee24adc844012a877a54f8b85142 Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 22:49:51 +0200 Subject: [PATCH 0690/2378] python3Packages.crewai-core: remove redundant structuredAttrs --- pkgs/development/python-modules/crewai-core/default.nix | 1 - 1 file changed, 1 deletion(-) diff --git a/pkgs/development/python-modules/crewai-core/default.nix b/pkgs/development/python-modules/crewai-core/default.nix index 8d80fe2845ef..76f722743870 100644 --- a/pkgs/development/python-modules/crewai-core/default.nix +++ b/pkgs/development/python-modules/crewai-core/default.nix @@ -28,7 +28,6 @@ buildPythonPackage (finalAttrs: { pname = "crewai-core"; version = "1.15.18"; pyproject = true; - __structuredAttrs = true; src = fetchFromGitHub { owner = "crewAIInc"; From 07e7fe45565bef653b9ea05b68f9d9378299a2ac Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 22:49:52 +0200 Subject: [PATCH 0691/2378] python3Packages.crewai: remove redundant structuredAttrs --- pkgs/development/python-modules/crewai/default.nix | 1 - 1 file changed, 1 deletion(-) diff --git a/pkgs/development/python-modules/crewai/default.nix b/pkgs/development/python-modules/crewai/default.nix index 22ba8bb51314..1dae74988994 100644 --- a/pkgs/development/python-modules/crewai/default.nix +++ b/pkgs/development/python-modules/crewai/default.nix @@ -61,7 +61,6 @@ buildPythonPackage (finalAttrs: { pname = "crewai"; version = "1.15.18"; pyproject = true; - __structuredAttrs = true; inherit (crewai-core) src; From e9e44e802f33a776ef3bd1202ac2949df08ff499 Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 22:49:52 +0200 Subject: [PATCH 0692/2378] python3Packages.crossplane: remove redundant structuredAttrs --- pkgs/development/python-modules/crossplane/default.nix | 1 - 1 file changed, 1 deletion(-) diff --git a/pkgs/development/python-modules/crossplane/default.nix b/pkgs/development/python-modules/crossplane/default.nix index 7593ca417249..e1cdbee5a46f 100644 --- a/pkgs/development/python-modules/crossplane/default.nix +++ b/pkgs/development/python-modules/crossplane/default.nix @@ -10,7 +10,6 @@ buildPythonPackage (finalAttrs: { pname = "crossplane"; version = "0.5.8"; pyproject = true; - __structuredAttrs = true; src = fetchFromGitHub { owner = "nginxinc"; From 7a5acc103c80954f1c077a2f153d9ccf62e701f0 Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 22:49:53 +0200 Subject: [PATCH 0693/2378] python3Packages.crownstone-core: remove redundant structuredAttrs --- pkgs/development/python-modules/crownstone-core/default.nix | 2 -- 1 file changed, 2 deletions(-) diff --git a/pkgs/development/python-modules/crownstone-core/default.nix b/pkgs/development/python-modules/crownstone-core/default.nix index 7a08825f3e8f..48efa638f46a 100644 --- a/pkgs/development/python-modules/crownstone-core/default.nix +++ b/pkgs/development/python-modules/crownstone-core/default.nix @@ -12,8 +12,6 @@ buildPythonPackage (finalAttrs: { version = "3.2.1"; pyproject = true; - __structuredAttrs = true; - src = fetchFromGitHub { owner = "crownstone"; repo = "crownstone-lib-python-core"; From 5a1d4ddcfd7b474f16495f184ec96356ba4d00b9 Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 22:49:53 +0200 Subject: [PATCH 0694/2378] python3Packages.crownstone-uart: remove redundant structuredAttrs --- pkgs/development/python-modules/crownstone-uart/default.nix | 2 -- 1 file changed, 2 deletions(-) diff --git a/pkgs/development/python-modules/crownstone-uart/default.nix b/pkgs/development/python-modules/crownstone-uart/default.nix index 763c430f2499..a5d74a2802d2 100644 --- a/pkgs/development/python-modules/crownstone-uart/default.nix +++ b/pkgs/development/python-modules/crownstone-uart/default.nix @@ -12,8 +12,6 @@ buildPythonPackage (finalAttrs: { version = "2.7.0"; pyproject = true; - __structuredAttrs = true; - src = fetchFromGitHub { owner = "crownstone"; repo = "crownstone-lib-python-uart"; From bb9b26a5ca17e92f44353b4245239bdfa5294790 Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 22:49:53 +0200 Subject: [PATCH 0695/2378] python3Packages.cryptomobile: remove redundant structuredAttrs --- pkgs/development/python-modules/cryptomobile/default.nix | 1 - 1 file changed, 1 deletion(-) diff --git a/pkgs/development/python-modules/cryptomobile/default.nix b/pkgs/development/python-modules/cryptomobile/default.nix index 576b88aa0aae..c13994d80971 100644 --- a/pkgs/development/python-modules/cryptomobile/default.nix +++ b/pkgs/development/python-modules/cryptomobile/default.nix @@ -12,7 +12,6 @@ buildPythonPackage (finalAttrs: { pname = "cryptomobile"; version = "0-unstable-2025-08-30"; pyproject = true; - __structuredAttrs = true; src = fetchFromGitHub { owner = "mitshell"; From f517ce221d0d5161890b999e93e44f2d4aab3e43 Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 22:49:53 +0200 Subject: [PATCH 0696/2378] python3Packages.cson: remove redundant structuredAttrs --- pkgs/development/python-modules/cson/default.nix | 2 -- 1 file changed, 2 deletions(-) diff --git a/pkgs/development/python-modules/cson/default.nix b/pkgs/development/python-modules/cson/default.nix index 341fdd05b92e..9873c4726c4c 100644 --- a/pkgs/development/python-modules/cson/default.nix +++ b/pkgs/development/python-modules/cson/default.nix @@ -11,8 +11,6 @@ buildPythonPackage (finalAttrs: { version = "0.8"; pyproject = true; - __structuredAttrs = true; - src = fetchPypi { inherit (finalAttrs) pname version; hash = "sha256-7owBZvzR9ReJiHGX4+g1Sse++jlvwpcGvOta8l7cngE="; From 619acd64294d2e5eb8f98ef474cced680ee579bf Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 22:49:54 +0200 Subject: [PATCH 0697/2378] python3Packages.csrmesh: remove redundant structuredAttrs --- pkgs/development/python-modules/csrmesh/default.nix | 2 -- 1 file changed, 2 deletions(-) diff --git a/pkgs/development/python-modules/csrmesh/default.nix b/pkgs/development/python-modules/csrmesh/default.nix index 3bc3a6468d14..b0206feaf3c3 100644 --- a/pkgs/development/python-modules/csrmesh/default.nix +++ b/pkgs/development/python-modules/csrmesh/default.nix @@ -12,8 +12,6 @@ buildPythonPackage (finalAttrs: { version = "0.10.0"; pyproject = true; - __structuredAttrs = true; - src = fetchPypi { inherit (finalAttrs) pname version; hash = "sha256-T6ETVrEjFoZ2LwE3F8OvLdK9Y9ZvwBk33o5dT0pVnw4="; From 98e49acf67526d760d2e74b3765f603beab9cb28 Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 22:49:54 +0200 Subject: [PATCH 0698/2378] python3Packages.cssmin: remove redundant structuredAttrs --- pkgs/development/python-modules/cssmin/default.nix | 2 -- 1 file changed, 2 deletions(-) diff --git a/pkgs/development/python-modules/cssmin/default.nix b/pkgs/development/python-modules/cssmin/default.nix index c2c727c4b921..60f3e215fb28 100644 --- a/pkgs/development/python-modules/cssmin/default.nix +++ b/pkgs/development/python-modules/cssmin/default.nix @@ -10,8 +10,6 @@ buildPythonPackage (finalAttrs: { version = "0.2.0"; pyproject = true; - __structuredAttrs = true; - src = fetchPypi { inherit (finalAttrs) pname version; hash = "sha256-4BLwzIQB788mIDMjOQEVZHOK4yvoyEsuQ86L6uwQZ7Y="; From 7c409eca97d54f3289dffb3c111830db3701cd20 Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 22:49:54 +0200 Subject: [PATCH 0699/2378] python3Packages.ct3: remove redundant structuredAttrs --- pkgs/development/python-modules/ct3/default.nix | 2 -- 1 file changed, 2 deletions(-) diff --git a/pkgs/development/python-modules/ct3/default.nix b/pkgs/development/python-modules/ct3/default.nix index 74c48f1e5c85..14fa50b9338f 100644 --- a/pkgs/development/python-modules/ct3/default.nix +++ b/pkgs/development/python-modules/ct3/default.nix @@ -10,8 +10,6 @@ buildPythonPackage (finalAttrs: { version = "3.4.0.post5"; pyproject = true; - __structuredAttrs = true; - src = fetchFromGitHub { owner = "CheetahTemplate3"; repo = "cheetah3"; From 94386f32ff839f2a076fe1c006e203c02fe94b88 Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 22:49:55 +0200 Subject: [PATCH 0700/2378] python3Packages.cuda-bindings: remove redundant structuredAttrs --- pkgs/development/python-modules/cuda-bindings/default.nix | 1 - 1 file changed, 1 deletion(-) diff --git a/pkgs/development/python-modules/cuda-bindings/default.nix b/pkgs/development/python-modules/cuda-bindings/default.nix index 24eafaad0a28..56630b4563ed 100644 --- a/pkgs/development/python-modules/cuda-bindings/default.nix +++ b/pkgs/development/python-modules/cuda-bindings/default.nix @@ -78,7 +78,6 @@ buildPythonPackage (finalAttrs: { pname = "cuda-bindings"; inherit (versionSpecificAttrs) version; pyproject = true; - __structuredAttrs = true; src = fetchFromGitHub { owner = "NVIDIA"; From 142dfd65fa0ed56d8f0a1a9b194020055f1c0865 Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 22:49:55 +0200 Subject: [PATCH 0701/2378] python3Packages.cuda-cccl: remove redundant structuredAttrs --- pkgs/development/python-modules/cuda-cccl/default.nix | 1 - 1 file changed, 1 deletion(-) diff --git a/pkgs/development/python-modules/cuda-cccl/default.nix b/pkgs/development/python-modules/cuda-cccl/default.nix index b7432b844347..92557998cfa7 100644 --- a/pkgs/development/python-modules/cuda-cccl/default.nix +++ b/pkgs/development/python-modules/cuda-cccl/default.nix @@ -33,7 +33,6 @@ buildPythonPackage.override { stdenv = cudaPackages.backendStdenv; } (finalAttrs pname = "cuda-cccl"; version = "1.2.1"; pyproject = true; - __structuredAttrs = true; src = fetchFromGitHub { owner = "NVIDIA"; From 2a539861e737c64f19f4aa578c4792c384b68e57 Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 22:49:55 +0200 Subject: [PATCH 0702/2378] python3Packages.cuda-core: remove redundant structuredAttrs --- pkgs/development/python-modules/cuda-core/default.nix | 1 - 1 file changed, 1 deletion(-) diff --git a/pkgs/development/python-modules/cuda-core/default.nix b/pkgs/development/python-modules/cuda-core/default.nix index 4db759088e95..d25db0a682ea 100644 --- a/pkgs/development/python-modules/cuda-core/default.nix +++ b/pkgs/development/python-modules/cuda-core/default.nix @@ -34,7 +34,6 @@ buildPythonPackage.override { stdenv = cudaPackages.backendStdenv; } (finalAttrs pname = "cuda-core"; version = "1.0.1"; pyproject = true; - __structuredAttrs = true; src = fetchFromGitHub { owner = "NVIDIA"; From 67b5778528953ad1dfc3c5660ab7be47a979db05 Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 22:49:55 +0200 Subject: [PATCH 0703/2378] python3Packages.cuda-pathfinder: remove redundant structuredAttrs --- pkgs/development/python-modules/cuda-pathfinder/default.nix | 1 - 1 file changed, 1 deletion(-) diff --git a/pkgs/development/python-modules/cuda-pathfinder/default.nix b/pkgs/development/python-modules/cuda-pathfinder/default.nix index e0ca2f6f0d78..26dd30703287 100644 --- a/pkgs/development/python-modules/cuda-pathfinder/default.nix +++ b/pkgs/development/python-modules/cuda-pathfinder/default.nix @@ -16,7 +16,6 @@ buildPythonPackage (finalAttrs: { pname = "cuda-pathfinder"; version = "1.8.3"; pyproject = true; - __structuredAttrs = true; src = fetchFromGitHub { owner = "NVIDIA"; From 11d80df7f45ed479647b22923ff717b895052dca Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 22:49:56 +0200 Subject: [PATCH 0704/2378] python3Packages.cuda-tile: remove redundant structuredAttrs --- pkgs/development/python-modules/cuda-tile/default.nix | 1 - 1 file changed, 1 deletion(-) diff --git a/pkgs/development/python-modules/cuda-tile/default.nix b/pkgs/development/python-modules/cuda-tile/default.nix index 7e4baa83da35..48706f532c95 100644 --- a/pkgs/development/python-modules/cuda-tile/default.nix +++ b/pkgs/development/python-modules/cuda-tile/default.nix @@ -52,7 +52,6 @@ buildPythonPackage.override { stdenv = cudaPackages.backendStdenv; } (finalAttrs pname = "cuda-tile"; version = "1.4.0"; pyproject = true; - __structuredAttrs = true; src = fetchFromGitHub { owner = "NVIDIA"; From 6c0eb66165334ee38024adf7bbac3e95550257ce Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 22:49:56 +0200 Subject: [PATCH 0705/2378] python3Packages.cupy: remove redundant structuredAttrs --- pkgs/development/python-modules/cupy/default.nix | 1 - 1 file changed, 1 deletion(-) diff --git a/pkgs/development/python-modules/cupy/default.nix b/pkgs/development/python-modules/cupy/default.nix index cd14c844dd99..a3580e57efbd 100644 --- a/pkgs/development/python-modules/cupy/default.nix +++ b/pkgs/development/python-modules/cupy/default.nix @@ -21,7 +21,6 @@ buildPythonPackage.override { stdenv = cudaPackages.backendStdenv; } (finalAttrs pname = "cupy"; version = "14.2.0"; pyproject = true; - __structuredAttrs = true; src = fetchFromGitHub { owner = "cupy"; From 91588457608764176ccbb26b873d391e885a42a4 Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 22:49:56 +0200 Subject: [PATCH 0706/2378] python3Packages.curlify: remove redundant structuredAttrs --- pkgs/development/python-modules/curlify/default.nix | 2 -- 1 file changed, 2 deletions(-) diff --git a/pkgs/development/python-modules/curlify/default.nix b/pkgs/development/python-modules/curlify/default.nix index 7d591e4c2730..ac9c09711368 100644 --- a/pkgs/development/python-modules/curlify/default.nix +++ b/pkgs/development/python-modules/curlify/default.nix @@ -11,8 +11,6 @@ buildPythonPackage { version = "2.2.1"; pyproject = true; - __structuredAttrs = true; - src = fetchFromGitHub { owner = "ofw"; repo = "curlify"; From 7536b7efccc51c38cff6120a98589456c3376662 Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 22:49:57 +0200 Subject: [PATCH 0707/2378] python3Packages.cutie: remove redundant structuredAttrs --- pkgs/development/python-modules/cutie/default.nix | 1 - 1 file changed, 1 deletion(-) diff --git a/pkgs/development/python-modules/cutie/default.nix b/pkgs/development/python-modules/cutie/default.nix index 60025fa60a4c..a072a1836a88 100644 --- a/pkgs/development/python-modules/cutie/default.nix +++ b/pkgs/development/python-modules/cutie/default.nix @@ -18,7 +18,6 @@ buildPythonPackage (finalAttrs: { pname = "cutie"; version = "0.3.2"; pyproject = true; - __structuredAttrs = true; src = fetchFromGitHub { owner = "kamik423"; From 9e4c2ea7e80fceed605f0a4a4504c609ee89134f Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 22:49:57 +0200 Subject: [PATCH 0708/2378] python3Packages.cutlass: remove redundant structuredAttrs --- pkgs/development/python-modules/cutlass/default.nix | 1 - 1 file changed, 1 deletion(-) diff --git a/pkgs/development/python-modules/cutlass/default.nix b/pkgs/development/python-modules/cutlass/default.nix index 9a9b9951731d..ae34cfef8df2 100644 --- a/pkgs/development/python-modules/cutlass/default.nix +++ b/pkgs/development/python-modules/cutlass/default.nix @@ -21,7 +21,6 @@ buildPythonPackage (finalAttrs: { pname = "cutlass"; version = "0.9.0"; pyproject = true; - __structuredAttrs = true; # No tags on GitHub src = fetchPypi { From 63c1c281ed6984e96d706a21ded582dcbe33a4d5 Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 22:49:57 +0200 Subject: [PATCH 0709/2378] python3Packages.cvxopt: remove redundant structuredAttrs --- pkgs/development/python-modules/cvxopt/default.nix | 2 -- 1 file changed, 2 deletions(-) diff --git a/pkgs/development/python-modules/cvxopt/default.nix b/pkgs/development/python-modules/cvxopt/default.nix index 52ce851715f9..0626fb21ee40 100644 --- a/pkgs/development/python-modules/cvxopt/default.nix +++ b/pkgs/development/python-modules/cvxopt/default.nix @@ -24,8 +24,6 @@ buildPythonPackage (finalAttrs: { version = "1.3.3"; pyproject = true; - __structuredAttrs = true; - disabled = isPyPy; # hangs at [translation:info] src = fetchPypi { From b8e182ecb7aa1d10b4a7d837013c3296d70b171a Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 22:49:58 +0200 Subject: [PATCH 0710/2378] python3Packages.cvxpy: remove redundant structuredAttrs --- pkgs/development/python-modules/cvxpy/default.nix | 1 - 1 file changed, 1 deletion(-) diff --git a/pkgs/development/python-modules/cvxpy/default.nix b/pkgs/development/python-modules/cvxpy/default.nix index d5bd7f374de5..d29aa44dc844 100644 --- a/pkgs/development/python-modules/cvxpy/default.nix +++ b/pkgs/development/python-modules/cvxpy/default.nix @@ -30,7 +30,6 @@ buildPythonPackage (finalAttrs: { pname = "cvxpy"; version = "1.9.3"; pyproject = true; - __structuredAttrs = true; src = fetchFromGitHub { owner = "cvxpy"; From c279827e12c18f9e1e300fa2156dbaa10a213612 Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 22:49:58 +0200 Subject: [PATCH 0711/2378] python3Packages.cwsandbox: remove redundant structuredAttrs --- pkgs/development/python-modules/cwsandbox/default.nix | 1 - 1 file changed, 1 deletion(-) diff --git a/pkgs/development/python-modules/cwsandbox/default.nix b/pkgs/development/python-modules/cwsandbox/default.nix index 97f44f37d234..335bd4d98683 100644 --- a/pkgs/development/python-modules/cwsandbox/default.nix +++ b/pkgs/development/python-modules/cwsandbox/default.nix @@ -24,7 +24,6 @@ buildPythonPackage (finalAttrs: { pname = "cwsandbox"; version = "1.7.0"; pyproject = true; - __structuredAttrs = true; src = fetchFromGitHub { owner = "coreweave"; From f835e331ff48e91d650dc7b835b2ca79edb1bef0 Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 22:49:58 +0200 Subject: [PATCH 0712/2378] python3Packages.cyclebane: remove redundant structuredAttrs --- pkgs/development/python-modules/cyclebane/default.nix | 1 - 1 file changed, 1 deletion(-) diff --git a/pkgs/development/python-modules/cyclebane/default.nix b/pkgs/development/python-modules/cyclebane/default.nix index f77eb533eed2..40e8fc676a3d 100644 --- a/pkgs/development/python-modules/cyclebane/default.nix +++ b/pkgs/development/python-modules/cyclebane/default.nix @@ -22,7 +22,6 @@ buildPythonPackage (finalAttrs: { pname = "cyclebane"; version = "26.9.0"; pyproject = true; - __structuredAttrs = true; src = fetchFromGitHub { owner = "scipp"; From 13d5c52b9f95e1c649c0d5b3f72da84647d8eef9 Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 22:49:59 +0200 Subject: [PATCH 0713/2378] python3Packages.cyscale: remove redundant structuredAttrs --- pkgs/development/python-modules/cyscale/default.nix | 2 -- 1 file changed, 2 deletions(-) diff --git a/pkgs/development/python-modules/cyscale/default.nix b/pkgs/development/python-modules/cyscale/default.nix index 7cab3bef478d..32254fa10607 100644 --- a/pkgs/development/python-modules/cyscale/default.nix +++ b/pkgs/development/python-modules/cyscale/default.nix @@ -13,8 +13,6 @@ buildPythonPackage (finalAttrs: { version = "0.8.0"; pyproject = true; - __structuredAttrs = true; - src = fetchFromGitHub { owner = "latent-to"; repo = "cyscale"; From 2db6153a823c231f15cdf556048da34f270c7a2e Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 22:49:59 +0200 Subject: [PATCH 0714/2378] python3Packages.cyvcf2: remove redundant structuredAttrs --- pkgs/development/python-modules/cyvcf2/default.nix | 1 - 1 file changed, 1 deletion(-) diff --git a/pkgs/development/python-modules/cyvcf2/default.nix b/pkgs/development/python-modules/cyvcf2/default.nix index a29f7f21b2b7..49b4528f2a11 100644 --- a/pkgs/development/python-modules/cyvcf2/default.nix +++ b/pkgs/development/python-modules/cyvcf2/default.nix @@ -29,7 +29,6 @@ buildPythonPackage (finalAttrs: { pname = "cyvcf2"; version = "0.34.0"; pyproject = true; - __structuredAttrs = true; src = fetchFromGitHub { owner = "brentp"; From 3f4e9e31aa2983d4dc2fcf78855e76a7c82a10a3 Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 22:49:59 +0200 Subject: [PATCH 0715/2378] python3Packages.daemonize: remove redundant structuredAttrs --- pkgs/development/python-modules/daemonize/default.nix | 2 -- 1 file changed, 2 deletions(-) diff --git a/pkgs/development/python-modules/daemonize/default.nix b/pkgs/development/python-modules/daemonize/default.nix index 303edd210447..0bc237a0cdee 100644 --- a/pkgs/development/python-modules/daemonize/default.nix +++ b/pkgs/development/python-modules/daemonize/default.nix @@ -10,8 +10,6 @@ buildPythonPackage (finalAttrs: { version = "2.5.0"; pyproject = true; - __structuredAttrs = true; - src = fetchPypi { inherit (finalAttrs) pname version; hash = "sha256-3QJuT/jSLLAW7SEwvHOLfUsdpZfvk8B00q255N6gi8M="; From a9d6136a29c6a3feb8bc0eb0ecf6ab5bac711427 Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 22:49:59 +0200 Subject: [PATCH 0716/2378] python3Packages.daemonocle: remove redundant structuredAttrs --- pkgs/development/python-modules/daemonocle/default.nix | 2 -- 1 file changed, 2 deletions(-) diff --git a/pkgs/development/python-modules/daemonocle/default.nix b/pkgs/development/python-modules/daemonocle/default.nix index 0d6c8f55ada0..4167fa051b5e 100644 --- a/pkgs/development/python-modules/daemonocle/default.nix +++ b/pkgs/development/python-modules/daemonocle/default.nix @@ -14,8 +14,6 @@ buildPythonPackage (finalAttrs: { version = "1.2.3"; pyproject = true; - __structuredAttrs = true; - src = fetchFromGitHub { owner = "jnrbsn"; repo = "daemonocle"; From 072d18bff23ecf8ea9ec4218cacf8c22162202aa Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 22:50:00 +0200 Subject: [PATCH 0717/2378] python3Packages.daff: remove redundant structuredAttrs --- pkgs/development/python-modules/daff/default.nix | 2 -- 1 file changed, 2 deletions(-) diff --git a/pkgs/development/python-modules/daff/default.nix b/pkgs/development/python-modules/daff/default.nix index 239b46660a09..7a2368c2d84c 100644 --- a/pkgs/development/python-modules/daff/default.nix +++ b/pkgs/development/python-modules/daff/default.nix @@ -10,8 +10,6 @@ buildPythonPackage (finalAttrs: { version = "1.4.2"; pyproject = true; - __structuredAttrs = true; - src = fetchPypi { inherit (finalAttrs) pname version; hash = "sha256-R/A5Htp+K1AR98ysAGuReKzLRlvLlKLJ8oQlf/9dJoY="; From 54661470515413ba1f0a31b3e7c6374e2016c6bd Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 22:50:00 +0200 Subject: [PATCH 0718/2378] python3Packages.daft: remove redundant structuredAttrs --- pkgs/development/python-modules/daft/default.nix | 1 - 1 file changed, 1 deletion(-) diff --git a/pkgs/development/python-modules/daft/default.nix b/pkgs/development/python-modules/daft/default.nix index cbb957fa85b3..5dec28d368ba 100644 --- a/pkgs/development/python-modules/daft/default.nix +++ b/pkgs/development/python-modules/daft/default.nix @@ -80,7 +80,6 @@ buildPythonPackage (finalAttrs: { pname = "daft"; version = "0.7.25"; pyproject = true; - __structuredAttrs = true; src = fetchFromGitHub { owner = "Eventual-Inc"; From 126f467ba19d93419658af1e1428815c5bbc3d55 Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 22:50:00 +0200 Subject: [PATCH 0719/2378] python3Packages.darabonba-core: remove redundant structuredAttrs --- pkgs/development/python-modules/darabonba-core/default.nix | 2 -- 1 file changed, 2 deletions(-) diff --git a/pkgs/development/python-modules/darabonba-core/default.nix b/pkgs/development/python-modules/darabonba-core/default.nix index 5a4a16476fb5..5452552b411e 100644 --- a/pkgs/development/python-modules/darabonba-core/default.nix +++ b/pkgs/development/python-modules/darabonba-core/default.nix @@ -14,8 +14,6 @@ buildPythonPackage (finalAttrs: { version = "1.0.9"; pyproject = true; - __structuredAttrs = true; - src = fetchPypi { pname = "darabonba_core"; inherit (finalAttrs) version; From 24ca38134de83243ece3fbe9becf69355a7ee2de Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 22:50:01 +0200 Subject: [PATCH 0720/2378] python3Packages.dash-core-components: remove redundant structuredAttrs --- .../development/python-modules/dash-core-components/default.nix | 2 -- 1 file changed, 2 deletions(-) diff --git a/pkgs/development/python-modules/dash-core-components/default.nix b/pkgs/development/python-modules/dash-core-components/default.nix index 575b4e569e01..080e35bca6ef 100644 --- a/pkgs/development/python-modules/dash-core-components/default.nix +++ b/pkgs/development/python-modules/dash-core-components/default.nix @@ -10,8 +10,6 @@ buildPythonPackage (finalAttrs: { version = "2.0.0"; pyproject = true; - __structuredAttrs = true; - src = fetchPypi { pname = "dash_core_components"; inherit (finalAttrs) version; From c30f7feb3c9bc3dc700046d7db211f3eb326f5c8 Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 22:50:01 +0200 Subject: [PATCH 0721/2378] python3Packages.dash-html-components: remove redundant structuredAttrs --- .../development/python-modules/dash-html-components/default.nix | 2 -- 1 file changed, 2 deletions(-) diff --git a/pkgs/development/python-modules/dash-html-components/default.nix b/pkgs/development/python-modules/dash-html-components/default.nix index 10abb56efcc3..afe2fc9c6826 100644 --- a/pkgs/development/python-modules/dash-html-components/default.nix +++ b/pkgs/development/python-modules/dash-html-components/default.nix @@ -10,8 +10,6 @@ buildPythonPackage (finalAttrs: { version = "2.0.0"; pyproject = true; - __structuredAttrs = true; - src = fetchPypi { pname = "dash_html_components"; inherit (finalAttrs) version; From 1c12c4041757dafd02ab13e552c01ccd5f3617ac Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 22:50:01 +0200 Subject: [PATCH 0722/2378] python3Packages.dash-table: remove redundant structuredAttrs --- pkgs/development/python-modules/dash-table/default.nix | 2 -- 1 file changed, 2 deletions(-) diff --git a/pkgs/development/python-modules/dash-table/default.nix b/pkgs/development/python-modules/dash-table/default.nix index 9e33d7d94978..9e8cb67b5706 100644 --- a/pkgs/development/python-modules/dash-table/default.nix +++ b/pkgs/development/python-modules/dash-table/default.nix @@ -10,8 +10,6 @@ buildPythonPackage (finalAttrs: { version = "5.0.0"; pyproject = true; - __structuredAttrs = true; - src = fetchPypi { pname = "dash_table"; inherit (finalAttrs) version; From 53298d46e1a19e21bbf3ea7f1b9549c789309996 Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 22:50:01 +0200 Subject: [PATCH 0723/2378] python3Packages.dashing: remove redundant structuredAttrs --- pkgs/development/python-modules/dashing/default.nix | 2 -- 1 file changed, 2 deletions(-) diff --git a/pkgs/development/python-modules/dashing/default.nix b/pkgs/development/python-modules/dashing/default.nix index 30c4bd106c12..07cfa5afb58e 100644 --- a/pkgs/development/python-modules/dashing/default.nix +++ b/pkgs/development/python-modules/dashing/default.nix @@ -11,8 +11,6 @@ buildPythonPackage (finalAttrs: { version = "0.1.0"; pyproject = true; - __structuredAttrs = true; - src = fetchPypi { inherit (finalAttrs) pname version; hash = "sha256-JRRgjg8pp3Xb0bERFWEhnOg9U8+kuqL+QQH6uE/Vbxs="; From 15a2a708e3b9f6af866a3373cf424e75f2182ff4 Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 22:50:02 +0200 Subject: [PATCH 0724/2378] python3Packages.dashscope: remove redundant structuredAttrs --- pkgs/development/python-modules/dashscope/default.nix | 2 -- 1 file changed, 2 deletions(-) diff --git a/pkgs/development/python-modules/dashscope/default.nix b/pkgs/development/python-modules/dashscope/default.nix index 013d53902bf7..541265676730 100644 --- a/pkgs/development/python-modules/dashscope/default.nix +++ b/pkgs/development/python-modules/dashscope/default.nix @@ -30,8 +30,6 @@ buildPythonPackage rec { version = "1.26.6"; pyproject = true; - __structuredAttrs = true; - src = fetchFromGitHub { owner = "dashscope"; repo = "dashscope-sdk-python"; From 2606d33dec4fd9f9a35fde6492e364ba531f5a2d Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 22:50:02 +0200 Subject: [PATCH 0725/2378] python3Packages.dask-glm: remove redundant structuredAttrs --- pkgs/development/python-modules/dask-glm/default.nix | 1 - 1 file changed, 1 deletion(-) diff --git a/pkgs/development/python-modules/dask-glm/default.nix b/pkgs/development/python-modules/dask-glm/default.nix index 9c4045be8fc4..34d49bad47f3 100644 --- a/pkgs/development/python-modules/dask-glm/default.nix +++ b/pkgs/development/python-modules/dask-glm/default.nix @@ -27,7 +27,6 @@ buildPythonPackage (finalAttrs: { pname = "dask-glm"; version = "0.4.0"; pyproject = true; - __structuredAttrs = true; src = fetchFromGitHub { owner = "dask"; From 2b2163f483d550255ee05d746e26cad5c290d4b6 Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 22:50:02 +0200 Subject: [PATCH 0726/2378] python3Packages.dask-image: remove redundant structuredAttrs --- pkgs/development/python-modules/dask-image/default.nix | 1 - 1 file changed, 1 deletion(-) diff --git a/pkgs/development/python-modules/dask-image/default.nix b/pkgs/development/python-modules/dask-image/default.nix index 7f90dcc8c18b..4f6cec9b9fb2 100644 --- a/pkgs/development/python-modules/dask-image/default.nix +++ b/pkgs/development/python-modules/dask-image/default.nix @@ -23,7 +23,6 @@ buildPythonPackage (finalAttrs: { pname = "dask-image"; version = "2026.5.0"; pyproject = true; - __structuredAttrs = true; src = fetchFromGitHub { owner = "dask"; From 6b2c7270c65879dd66253a6900f2ebcd5066d38a Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 22:50:03 +0200 Subject: [PATCH 0727/2378] python3Packages.dask-ml: remove redundant structuredAttrs --- pkgs/development/python-modules/dask-ml/default.nix | 1 - 1 file changed, 1 deletion(-) diff --git a/pkgs/development/python-modules/dask-ml/default.nix b/pkgs/development/python-modules/dask-ml/default.nix index 842cbad62466..7bef97f6a235 100644 --- a/pkgs/development/python-modules/dask-ml/default.nix +++ b/pkgs/development/python-modules/dask-ml/default.nix @@ -28,7 +28,6 @@ buildPythonPackage (finalAttrs: { pname = "dask-ml"; version = "2025.1.0"; pyproject = true; - __structuredAttrs = true; src = fetchFromGitHub { owner = "dask"; From 11c1bece6370e7c13e2468f9ac5fb174c4f12f20 Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 22:50:03 +0200 Subject: [PATCH 0728/2378] python3Packages.dask: remove redundant structuredAttrs --- pkgs/development/python-modules/dask/default.nix | 1 - 1 file changed, 1 deletion(-) diff --git a/pkgs/development/python-modules/dask/default.nix b/pkgs/development/python-modules/dask/default.nix index 691504cc6a98..190745a85582 100644 --- a/pkgs/development/python-modules/dask/default.nix +++ b/pkgs/development/python-modules/dask/default.nix @@ -46,7 +46,6 @@ buildPythonPackage (finalAttrs: { pname = "dask"; version = "2026.8.0"; pyproject = true; - __structuredAttrs = true; src = fetchFromGitHub { owner = "dask"; From 339e87d1c97879c26bbbb3f42b6a42a46ba3584f Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 22:50:03 +0200 Subject: [PATCH 0729/2378] python3Packages.data-password-entropy: remove redundant structuredAttrs --- .../python-modules/data-password-entropy/default.nix | 2 -- 1 file changed, 2 deletions(-) diff --git a/pkgs/development/python-modules/data-password-entropy/default.nix b/pkgs/development/python-modules/data-password-entropy/default.nix index 1cf30486671f..d8785a4f2253 100644 --- a/pkgs/development/python-modules/data-password-entropy/default.nix +++ b/pkgs/development/python-modules/data-password-entropy/default.nix @@ -11,8 +11,6 @@ buildPythonPackage (finalAttrs: { version = "1.0"; pyproject = true; - __structuredAttrs = true; - src = fetchFromGitHub { owner = "alistratov"; repo = "password-entropy-py"; From abcd8e0ecfad8c29cef973ae794f09714c53629d Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 22:50:03 +0200 Subject: [PATCH 0730/2378] python3Packages.databricks-sdk: remove redundant structuredAttrs --- pkgs/development/python-modules/databricks-sdk/default.nix | 1 - 1 file changed, 1 deletion(-) diff --git a/pkgs/development/python-modules/databricks-sdk/default.nix b/pkgs/development/python-modules/databricks-sdk/default.nix index 07cd5ad647c6..67af0008bedc 100644 --- a/pkgs/development/python-modules/databricks-sdk/default.nix +++ b/pkgs/development/python-modules/databricks-sdk/default.nix @@ -24,7 +24,6 @@ buildPythonPackage (finalAttrs: { pname = "databricks-sdk"; version = "0.140.0"; pyproject = true; - __structuredAttrs = true; src = fetchFromGitHub { owner = "databricks"; From 3132b5133d3962da766938f0fb79fb5a3e5f4e10 Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 22:50:04 +0200 Subject: [PATCH 0731/2378] python3Packages.datafusion: remove redundant structuredAttrs --- pkgs/development/python-modules/datafusion/default.nix | 1 - 1 file changed, 1 deletion(-) diff --git a/pkgs/development/python-modules/datafusion/default.nix b/pkgs/development/python-modules/datafusion/default.nix index 1fc347993392..70b0d09267eb 100644 --- a/pkgs/development/python-modules/datafusion/default.nix +++ b/pkgs/development/python-modules/datafusion/default.nix @@ -30,7 +30,6 @@ buildPythonPackage (finalAttrs: { # WARNING: Ensure rerun-sdk is compatible with this version of datafusion version = "54.0.0"; pyproject = true; - __structuredAttrs = true; src = fetchFromGitHub { name = "datafusion-source"; From 1de6ce1c72dedf50f481caccc1000ed64f22c577 Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 22:50:04 +0200 Subject: [PATCH 0732/2378] python3Packages.datalab-platform: remove redundant structuredAttrs --- pkgs/development/python-modules/datalab-platform/default.nix | 1 - 1 file changed, 1 deletion(-) diff --git a/pkgs/development/python-modules/datalab-platform/default.nix b/pkgs/development/python-modules/datalab-platform/default.nix index 0c6d7302a28a..dd7a1d0a4491 100644 --- a/pkgs/development/python-modules/datalab-platform/default.nix +++ b/pkgs/development/python-modules/datalab-platform/default.nix @@ -55,7 +55,6 @@ buildPythonPackage (finalAttrs: { pname = "datalab-platform"; version = "1.2.2"; pyproject = true; - __structuredAttrs = true; src = fetchFromGitHub { owner = "DataLab-Platform"; From 85f3cf10f6905209d7237e265b9bbf7181405f52 Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 22:50:04 +0200 Subject: [PATCH 0733/2378] python3Packages.datamodel-code-generator: remove redundant structuredAttrs --- .../python-modules/datamodel-code-generator/default.nix | 1 - 1 file changed, 1 deletion(-) diff --git a/pkgs/development/python-modules/datamodel-code-generator/default.nix b/pkgs/development/python-modules/datamodel-code-generator/default.nix index 552f1dac8ac4..bb409608780e 100644 --- a/pkgs/development/python-modules/datamodel-code-generator/default.nix +++ b/pkgs/development/python-modules/datamodel-code-generator/default.nix @@ -53,7 +53,6 @@ buildPythonPackage (finalAttrs: { pname = "datamodel-code-generator"; version = "0.71.0"; pyproject = true; - __structuredAttrs = true; src = fetchFromGitHub { owner = "koxudaxi"; From 2ef186ad7a59614546fb3841817d4802f833b553 Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 22:50:05 +0200 Subject: [PATCH 0734/2378] python3Packages.datefinder: remove redundant structuredAttrs --- pkgs/development/python-modules/datefinder/default.nix | 2 -- 1 file changed, 2 deletions(-) diff --git a/pkgs/development/python-modules/datefinder/default.nix b/pkgs/development/python-modules/datefinder/default.nix index e69eb68848fd..7d4a87e9cd2c 100644 --- a/pkgs/development/python-modules/datefinder/default.nix +++ b/pkgs/development/python-modules/datefinder/default.nix @@ -14,8 +14,6 @@ buildPythonPackage (finalAttrs: { version = "0.7.3"; pyproject = true; - __structuredAttrs = true; - src = fetchFromGitHub { owner = "akoumjian"; repo = "datefinder"; From 85dc71776e0a12a824e38015d07369fc5520d746 Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 22:50:05 +0200 Subject: [PATCH 0735/2378] python3Packages.dateutils: remove redundant structuredAttrs --- pkgs/development/python-modules/dateutils/default.nix | 2 -- 1 file changed, 2 deletions(-) diff --git a/pkgs/development/python-modules/dateutils/default.nix b/pkgs/development/python-modules/dateutils/default.nix index 193cc01e797b..9f06eec5a51b 100644 --- a/pkgs/development/python-modules/dateutils/default.nix +++ b/pkgs/development/python-modules/dateutils/default.nix @@ -12,8 +12,6 @@ buildPythonPackage (finalAttrs: { version = "0.6.12"; pyproject = true; - __structuredAttrs = true; - src = fetchPypi { pname = "dateutils"; inherit (finalAttrs) version; From f072ccf52de0b5d6663488177f246f5b2fc57fe9 Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 22:50:05 +0200 Subject: [PATCH 0736/2378] python3Packages.dawg-python: remove redundant structuredAttrs --- pkgs/development/python-modules/dawg-python/default.nix | 2 -- 1 file changed, 2 deletions(-) diff --git a/pkgs/development/python-modules/dawg-python/default.nix b/pkgs/development/python-modules/dawg-python/default.nix index cef1c82cd2ee..0e7e5e3def6b 100644 --- a/pkgs/development/python-modules/dawg-python/default.nix +++ b/pkgs/development/python-modules/dawg-python/default.nix @@ -10,8 +10,6 @@ buildPythonPackage (finalAttrs: { version = "0.7.2"; pyproject = true; - __structuredAttrs = true; - src = fetchPypi { inherit (finalAttrs) version; pname = "DAWG-Python"; From ed3b634c6c353dd6422ac9fe513f42793480130b Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 22:50:05 +0200 Subject: [PATCH 0737/2378] python3Packages.dbf: remove redundant structuredAttrs --- pkgs/development/python-modules/dbf/default.nix | 2 -- 1 file changed, 2 deletions(-) diff --git a/pkgs/development/python-modules/dbf/default.nix b/pkgs/development/python-modules/dbf/default.nix index f1af77599783..3032b869bfa7 100644 --- a/pkgs/development/python-modules/dbf/default.nix +++ b/pkgs/development/python-modules/dbf/default.nix @@ -13,8 +13,6 @@ buildPythonPackage (finalAttrs: { version = "0.99.11"; pyproject = true; - __structuredAttrs = true; - src = fetchPypi { pname = "dbf"; inherit (finalAttrs) version; From a0ef93c3da3bee61a36e4d000d58f4f9fb258286 Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 22:50:06 +0200 Subject: [PATCH 0738/2378] python3Packages.dbfread: remove redundant structuredAttrs --- pkgs/development/python-modules/dbfread/default.nix | 2 -- 1 file changed, 2 deletions(-) diff --git a/pkgs/development/python-modules/dbfread/default.nix b/pkgs/development/python-modules/dbfread/default.nix index 2585a330dc32..5acf6b578cd1 100644 --- a/pkgs/development/python-modules/dbfread/default.nix +++ b/pkgs/development/python-modules/dbfread/default.nix @@ -10,8 +10,6 @@ buildPythonPackage (finalAttrs: { version = "2.0.7"; pyproject = true; - __structuredAttrs = true; - src = fetchPypi { inherit (finalAttrs) pname version; hash = "sha256-B8iprwb/rT9vA+j+ka19JzPjGibStyxN1M+64H7jtz0="; From 3bc28f6ca5d30a46103a7880953eb0e2383f6ce4 Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 22:50:06 +0200 Subject: [PATCH 0739/2378] python3Packages.dbus-client-gen: remove redundant structuredAttrs --- pkgs/development/python-modules/dbus-client-gen/default.nix | 2 -- 1 file changed, 2 deletions(-) diff --git a/pkgs/development/python-modules/dbus-client-gen/default.nix b/pkgs/development/python-modules/dbus-client-gen/default.nix index 7bc0ddb1e339..04dde58d844d 100644 --- a/pkgs/development/python-modules/dbus-client-gen/default.nix +++ b/pkgs/development/python-modules/dbus-client-gen/default.nix @@ -10,8 +10,6 @@ buildPythonPackage (finalAttrs: { version = "0.5.1"; pyproject = true; - __structuredAttrs = true; - src = fetchPypi { inherit (finalAttrs) pname version; hash = "sha256-vRXo72aWoreH/VwzdEAOgoGSRzRf7vy8Z/IA+lnLoWw="; From f358a73c07de677d2761d49729e4c20125a81750 Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 22:50:06 +0200 Subject: [PATCH 0740/2378] python3Packages.dbus-python-client-gen: remove redundant structuredAttrs --- .../python-modules/dbus-python-client-gen/default.nix | 2 -- 1 file changed, 2 deletions(-) diff --git a/pkgs/development/python-modules/dbus-python-client-gen/default.nix b/pkgs/development/python-modules/dbus-python-client-gen/default.nix index ae980dd92afd..ea6f6c59346c 100644 --- a/pkgs/development/python-modules/dbus-python-client-gen/default.nix +++ b/pkgs/development/python-modules/dbus-python-client-gen/default.nix @@ -13,8 +13,6 @@ buildPythonPackage (finalAttrs: { version = "0.8.5"; pyproject = true; - __structuredAttrs = true; - src = fetchFromGitHub { owner = "stratis-storage"; repo = "dbus-python-client-gen"; From cfcbc2660adeee692f711da3107c3f0b1d938d2f Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 22:50:07 +0200 Subject: [PATCH 0741/2378] python3Packages.dbus-signature-pyparsing: remove redundant structuredAttrs --- .../python-modules/dbus-signature-pyparsing/default.nix | 2 -- 1 file changed, 2 deletions(-) diff --git a/pkgs/development/python-modules/dbus-signature-pyparsing/default.nix b/pkgs/development/python-modules/dbus-signature-pyparsing/default.nix index 532f329c855e..a22206cf59eb 100644 --- a/pkgs/development/python-modules/dbus-signature-pyparsing/default.nix +++ b/pkgs/development/python-modules/dbus-signature-pyparsing/default.nix @@ -14,8 +14,6 @@ buildPythonPackage (finalAttrs: { version = "0.4.3"; pyproject = true; - __structuredAttrs = true; - src = fetchFromGitHub { owner = "stratis-storage"; repo = "dbus-signature-pyparsing"; From 1a62cba9a49c4b24595fcdccf133e74af291773f Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 22:50:07 +0200 Subject: [PATCH 0742/2378] python3Packages.deap: remove redundant structuredAttrs --- pkgs/development/python-modules/deap/default.nix | 2 -- 1 file changed, 2 deletions(-) diff --git a/pkgs/development/python-modules/deap/default.nix b/pkgs/development/python-modules/deap/default.nix index 370aa72af51e..77cf0445f685 100644 --- a/pkgs/development/python-modules/deap/default.nix +++ b/pkgs/development/python-modules/deap/default.nix @@ -13,8 +13,6 @@ buildPythonPackage (finalAttrs: { version = "1.4.4"; pyproject = true; - __structuredAttrs = true; - src = fetchPypi { inherit (finalAttrs) version; pname = "deap"; From c897e87b59b8a9a93e3d2d57d332d9ac93a51c12 Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 22:50:07 +0200 Subject: [PATCH 0743/2378] python3Packages.deemix: remove redundant structuredAttrs --- pkgs/development/python-modules/deemix/default.nix | 2 -- 1 file changed, 2 deletions(-) diff --git a/pkgs/development/python-modules/deemix/default.nix b/pkgs/development/python-modules/deemix/default.nix index f431e762f5c5..5b6204308ec9 100644 --- a/pkgs/development/python-modules/deemix/default.nix +++ b/pkgs/development/python-modules/deemix/default.nix @@ -16,8 +16,6 @@ buildPythonPackage (finalAttrs: { version = "3.6.6"; pyproject = true; - __structuredAttrs = true; - src = fetchPypi { inherit (finalAttrs) pname version; hash = "sha256-xEahzA1PIrGPfnnOcuXQLVQpSVOUFk6/0v9ViLgWCwk="; From 6763a19096497becab563e2c5085ff03c1277ae1 Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 22:50:07 +0200 Subject: [PATCH 0744/2378] python3Packages.deep-gemm: remove redundant structuredAttrs --- pkgs/development/python-modules/deep-gemm/default.nix | 1 - 1 file changed, 1 deletion(-) diff --git a/pkgs/development/python-modules/deep-gemm/default.nix b/pkgs/development/python-modules/deep-gemm/default.nix index ff203dbaf8ee..1b2d4bf7f961 100644 --- a/pkgs/development/python-modules/deep-gemm/default.nix +++ b/pkgs/development/python-modules/deep-gemm/default.nix @@ -39,7 +39,6 @@ buildPythonPackage.override { inherit (torch) stdenv; } (finalAttrs: { pname = "deep-gemm"; version = "2.1.1.post3"; pyproject = true; - __structuredAttrs = true; src = fetchFromGitHub { owner = "deepseek-ai"; From f54b8e0bd53a30a3e18f0e3850218cee99b9d440 Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 22:50:08 +0200 Subject: [PATCH 0745/2378] python3Packages.deepsearch-toolkit: remove redundant structuredAttrs --- pkgs/development/python-modules/deepsearch-toolkit/default.nix | 1 - 1 file changed, 1 deletion(-) diff --git a/pkgs/development/python-modules/deepsearch-toolkit/default.nix b/pkgs/development/python-modules/deepsearch-toolkit/default.nix index 6bcb4fb230e4..9cafe886b389 100644 --- a/pkgs/development/python-modules/deepsearch-toolkit/default.nix +++ b/pkgs/development/python-modules/deepsearch-toolkit/default.nix @@ -30,7 +30,6 @@ buildPythonPackage (finalAttrs: { pname = "deepsearch-toolkit"; version = "2.0.1"; pyproject = true; - __structuredAttrs = true; src = fetchFromGitHub { owner = "DS4SD"; From 020d42dfade17c45a9a0133d596b5f8a646eaaf1 Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 22:50:08 +0200 Subject: [PATCH 0746/2378] python3Packages.deepspeed: remove redundant structuredAttrs --- pkgs/development/python-modules/deepspeed/default.nix | 1 - 1 file changed, 1 deletion(-) diff --git a/pkgs/development/python-modules/deepspeed/default.nix b/pkgs/development/python-modules/deepspeed/default.nix index 7542f9b6c0f8..ca306b94123f 100644 --- a/pkgs/development/python-modules/deepspeed/default.nix +++ b/pkgs/development/python-modules/deepspeed/default.nix @@ -53,7 +53,6 @@ buildPythonPackage.override { inherit (torch) stdenv; } (finalAttrs: { pname = "deepspeed"; version = "0.19.6"; pyproject = true; - __structuredAttrs = true; src = fetchFromGitHub { owner = "deepspeedai"; From 595f0ada99cfb0ef1ae89a08d68853261dac3402 Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 22:50:08 +0200 Subject: [PATCH 0747/2378] python3Packages.deeptoolsintervals: remove redundant structuredAttrs --- pkgs/development/python-modules/deeptoolsintervals/default.nix | 2 -- 1 file changed, 2 deletions(-) diff --git a/pkgs/development/python-modules/deeptoolsintervals/default.nix b/pkgs/development/python-modules/deeptoolsintervals/default.nix index f94a2f59d303..09de932ad4ed 100644 --- a/pkgs/development/python-modules/deeptoolsintervals/default.nix +++ b/pkgs/development/python-modules/deeptoolsintervals/default.nix @@ -13,8 +13,6 @@ buildPythonPackage (finalAttrs: { version = "0.1.9"; pyproject = true; - __structuredAttrs = true; - src = fetchPypi { inherit (finalAttrs) pname version; hash = "sha256-fZTDb9K28Q2LmeU20mcugiiXHx/IEEl9M1J7uixA1PY="; From b6f18f5c832be90cd63bf0920706787f21995e65 Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 22:50:09 +0200 Subject: [PATCH 0748/2378] python3Packages.deepwave: remove redundant structuredAttrs --- pkgs/development/python-modules/deepwave/default.nix | 1 - 1 file changed, 1 deletion(-) diff --git a/pkgs/development/python-modules/deepwave/default.nix b/pkgs/development/python-modules/deepwave/default.nix index 8c6f561dde13..226361c41262 100644 --- a/pkgs/development/python-modules/deepwave/default.nix +++ b/pkgs/development/python-modules/deepwave/default.nix @@ -23,7 +23,6 @@ buildPythonPackage (finalAttrs: { pname = "deepwave"; version = "0.0.27"; pyproject = true; - __structuredAttrs = true; src = fetchFromGitHub { owner = "ar4"; From 223ca96cee71d5aacdacde738bf585868c606816 Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 22:50:09 +0200 Subject: [PATCH 0749/2378] python3Packages.deezer-py: remove redundant structuredAttrs --- pkgs/development/python-modules/deezer-py/default.nix | 2 -- 1 file changed, 2 deletions(-) diff --git a/pkgs/development/python-modules/deezer-py/default.nix b/pkgs/development/python-modules/deezer-py/default.nix index 762d090c4083..d53b985a6084 100644 --- a/pkgs/development/python-modules/deezer-py/default.nix +++ b/pkgs/development/python-modules/deezer-py/default.nix @@ -11,8 +11,6 @@ buildPythonPackage (finalAttrs: { version = "1.3.7"; pyproject = true; - __structuredAttrs = true; - src = fetchPypi { inherit (finalAttrs) pname version; hash = "sha256-saMy+IeAy6H9SgS8XHnZ9klFerGyr+vQqhuCtimgbEo="; From 2cb8eef39f57b1d4c5ae802d585f466530a4da55 Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 22:50:09 +0200 Subject: [PATCH 0750/2378] python3Packages.defcon: remove redundant structuredAttrs --- pkgs/development/python-modules/defcon/default.nix | 2 -- 1 file changed, 2 deletions(-) diff --git a/pkgs/development/python-modules/defcon/default.nix b/pkgs/development/python-modules/defcon/default.nix index 94776ee4149d..90263ec50a19 100644 --- a/pkgs/development/python-modules/defcon/default.nix +++ b/pkgs/development/python-modules/defcon/default.nix @@ -14,8 +14,6 @@ buildPythonPackage (finalAttrs: { version = "0.12.2"; pyproject = true; - __structuredAttrs = true; - src = fetchPypi { inherit (finalAttrs) pname version; hash = "sha256-Jd/n/QFSzPKSyxkNGSikfViImcILBGhUKT4DnhyT5eA="; From 3c54d70583a1b372bc3c52cf673dad11f667a48d Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 22:50:09 +0200 Subject: [PATCH 0751/2378] python3Packages.defusedcsv: remove redundant structuredAttrs --- pkgs/development/python-modules/defusedcsv/default.nix | 2 -- 1 file changed, 2 deletions(-) diff --git a/pkgs/development/python-modules/defusedcsv/default.nix b/pkgs/development/python-modules/defusedcsv/default.nix index 0979007e04d0..77b8a64d6838 100644 --- a/pkgs/development/python-modules/defusedcsv/default.nix +++ b/pkgs/development/python-modules/defusedcsv/default.nix @@ -13,8 +13,6 @@ buildPythonPackage (finalAttrs: { version = "3.0.0"; pyproject = true; - __structuredAttrs = true; - src = fetchFromGitHub { owner = "raphaelm"; repo = "defusedcsv"; From 16bfe8c2766e61821757a7b54b247dc710d60674 Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 22:50:10 +0200 Subject: [PATCH 0752/2378] python3Packages.delorean: remove redundant structuredAttrs --- pkgs/development/python-modules/delorean/default.nix | 2 -- 1 file changed, 2 deletions(-) diff --git a/pkgs/development/python-modules/delorean/default.nix b/pkgs/development/python-modules/delorean/default.nix index b3e3f31eab2e..f103440eddf5 100644 --- a/pkgs/development/python-modules/delorean/default.nix +++ b/pkgs/development/python-modules/delorean/default.nix @@ -15,8 +15,6 @@ buildPythonPackage (finalAttrs: { version = "1.0.0"; pyproject = true; - __structuredAttrs = true; - src = fetchPypi { pname = "Delorean"; inherit (finalAttrs) version; From 31cdfb749699911bba3f3a17ff7eb7c484ec333b Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 22:50:10 +0200 Subject: [PATCH 0753/2378] python3Packages.demjson3: remove redundant structuredAttrs --- pkgs/development/python-modules/demjson3/default.nix | 2 -- 1 file changed, 2 deletions(-) diff --git a/pkgs/development/python-modules/demjson3/default.nix b/pkgs/development/python-modules/demjson3/default.nix index 2c6101fa4d3b..952d0dc932e9 100644 --- a/pkgs/development/python-modules/demjson3/default.nix +++ b/pkgs/development/python-modules/demjson3/default.nix @@ -11,8 +11,6 @@ buildPythonPackage (finalAttrs: { version = "3.0.6"; pyproject = true; - __structuredAttrs = true; - src = fetchPypi { inherit (finalAttrs) pname version; hash = "sha256-N8g7DG6wjSXe/IjfCipIddWKeAmpZQvW7uev2AU826w="; From 5b991da908ba7d8bc0a3d5d3ada23b2164f3f7e3 Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 22:50:10 +0200 Subject: [PATCH 0754/2378] python3Packages.dependency-injector: remove redundant structuredAttrs --- pkgs/development/python-modules/dependency-injector/default.nix | 1 - 1 file changed, 1 deletion(-) diff --git a/pkgs/development/python-modules/dependency-injector/default.nix b/pkgs/development/python-modules/dependency-injector/default.nix index a5c1a78e34fe..1dda64477e3b 100644 --- a/pkgs/development/python-modules/dependency-injector/default.nix +++ b/pkgs/development/python-modules/dependency-injector/default.nix @@ -29,7 +29,6 @@ buildPythonPackage (finalAttrs: { pname = "dependency-injector"; version = "4.49.1"; pyproject = true; - __structuredAttrs = true; src = fetchFromGitHub { owner = "ets-labs"; From d3c23c24276f91e3e0afe5591176d760813c0248 Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 22:50:11 +0200 Subject: [PATCH 0755/2378] python3Packages.devito: remove redundant structuredAttrs --- pkgs/development/python-modules/devito/default.nix | 1 - 1 file changed, 1 deletion(-) diff --git a/pkgs/development/python-modules/devito/default.nix b/pkgs/development/python-modules/devito/default.nix index a647cfbd9eff..68026c9214ad 100644 --- a/pkgs/development/python-modules/devito/default.nix +++ b/pkgs/development/python-modules/devito/default.nix @@ -34,7 +34,6 @@ buildPythonPackage (finalAttrs: { pname = "devito"; version = "4.8.23"; pyproject = true; - __structuredAttrs = true; src = fetchFromGitHub { owner = "devitocodes"; From 968f137678ea83af1fc359457b55c1eff66f45e2 Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 22:50:11 +0200 Subject: [PATCH 0756/2378] python3Packages.digi-xbee: remove redundant structuredAttrs --- pkgs/development/python-modules/digi-xbee/default.nix | 1 - 1 file changed, 1 deletion(-) diff --git a/pkgs/development/python-modules/digi-xbee/default.nix b/pkgs/development/python-modules/digi-xbee/default.nix index 35e6bcc381de..f5ff2eb22c07 100644 --- a/pkgs/development/python-modules/digi-xbee/default.nix +++ b/pkgs/development/python-modules/digi-xbee/default.nix @@ -11,7 +11,6 @@ buildPythonPackage (finalAttrs: { pname = "digi-xbee"; version = "1.5.0"; - __structuredAttrs = true; pyproject = true; src = fetchPypi { From 3ddf3fe638c6f583a7c2f9689bcab4e871b7d82d Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 22:50:11 +0200 Subject: [PATCH 0757/2378] python3Packages.dirsearch: remove redundant structuredAttrs --- pkgs/development/python-modules/dirsearch/default.nix | 1 - 1 file changed, 1 deletion(-) diff --git a/pkgs/development/python-modules/dirsearch/default.nix b/pkgs/development/python-modules/dirsearch/default.nix index c9dd706b79fb..974ad46ed4b6 100644 --- a/pkgs/development/python-modules/dirsearch/default.nix +++ b/pkgs/development/python-modules/dirsearch/default.nix @@ -35,7 +35,6 @@ buildPythonPackage (finalAttrs: { pname = "dirsearch"; version = "0.5.0"; - __structuredAttrs = true; src = fetchFromGitHub { owner = "maurosoria"; From 2c48d853589ca4682dcab7b2f957264ae75f9c21 Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 22:50:11 +0200 Subject: [PATCH 0758/2378] python3Packages.dirty-equals: remove redundant structuredAttrs --- pkgs/development/python-modules/dirty-equals/default.nix | 2 -- 1 file changed, 2 deletions(-) diff --git a/pkgs/development/python-modules/dirty-equals/default.nix b/pkgs/development/python-modules/dirty-equals/default.nix index c1d5812ac9c2..3cd944948113 100644 --- a/pkgs/development/python-modules/dirty-equals/default.nix +++ b/pkgs/development/python-modules/dirty-equals/default.nix @@ -44,8 +44,6 @@ let pythonImportsCheck = [ "dirty_equals" ]; - __structuredAttrs = true; - meta = { description = "Module for doing dirty (but extremely useful) things with equals"; homepage = "https://github.com/samuelcolvin/dirty-equals"; From 7b45d521c4a62ced34285508c700145b9dffdb7a Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 22:50:12 +0200 Subject: [PATCH 0759/2378] python3Packages.diskcache: remove redundant structuredAttrs --- pkgs/development/python-modules/diskcache/default.nix | 2 -- 1 file changed, 2 deletions(-) diff --git a/pkgs/development/python-modules/diskcache/default.nix b/pkgs/development/python-modules/diskcache/default.nix index 4d76e7462215..8a1e1a1c412d 100644 --- a/pkgs/development/python-modules/diskcache/default.nix +++ b/pkgs/development/python-modules/diskcache/default.nix @@ -15,8 +15,6 @@ buildPythonPackage (finalAttrs: { version = "5.6.3"; pyproject = true; - __structuredAttrs = true; - src = fetchFromGitHub { owner = "grantjenks"; repo = "python-diskcache"; From 3462310d3dd3ff2b2287d877ce2cc896cf56ffdb Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 22:50:12 +0200 Subject: [PATCH 0760/2378] python3Packages.disposable-email-domains: remove redundant structuredAttrs --- .../python-modules/disposable-email-domains/default.nix | 1 - 1 file changed, 1 deletion(-) diff --git a/pkgs/development/python-modules/disposable-email-domains/default.nix b/pkgs/development/python-modules/disposable-email-domains/default.nix index 4b52f1a2fd21..8e8afe0e04ee 100644 --- a/pkgs/development/python-modules/disposable-email-domains/default.nix +++ b/pkgs/development/python-modules/disposable-email-domains/default.nix @@ -10,7 +10,6 @@ buildPythonPackage (finalAttrs: { pname = "disposable-email-domains"; version = "0.0.280"; pyproject = true; - __structuredAttrs = true; # No tags on GitHub src = fetchPypi { From ce592a62d3b4bde8b1928857239f7f89b04793e4 Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 22:50:12 +0200 Subject: [PATCH 0761/2378] python3Packages.dissononce: remove redundant structuredAttrs --- pkgs/development/python-modules/dissononce/default.nix | 2 -- 1 file changed, 2 deletions(-) diff --git a/pkgs/development/python-modules/dissononce/default.nix b/pkgs/development/python-modules/dissononce/default.nix index 271244054cbb..8242dc93397e 100644 --- a/pkgs/development/python-modules/dissononce/default.nix +++ b/pkgs/development/python-modules/dissononce/default.nix @@ -14,8 +14,6 @@ buildPythonPackage (finalAttrs: { version = "0.34.3"; pyproject = true; - __structuredAttrs = true; - src = fetchFromGitHub { owner = "tgalal"; repo = "dissononce"; From 473bb10c7f3c77fc6bca8035d8d7acf26852b981 Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 22:50:13 +0200 Subject: [PATCH 0762/2378] python3Packages.distrax: remove redundant structuredAttrs --- pkgs/development/python-modules/distrax/default.nix | 1 - 1 file changed, 1 deletion(-) diff --git a/pkgs/development/python-modules/distrax/default.nix b/pkgs/development/python-modules/distrax/default.nix index ded2bfc37f17..9533414583f9 100644 --- a/pkgs/development/python-modules/distrax/default.nix +++ b/pkgs/development/python-modules/distrax/default.nix @@ -25,7 +25,6 @@ buildPythonPackage (finalAttrs: { pname = "distrax"; version = "0.1.9"; pyproject = true; - __structuredAttrs = true; src = fetchFromGitHub { owner = "google-deepmind"; From e4d5aa7e4f3db5743f0cfaa10987530a35e11884 Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 22:50:13 +0200 Subject: [PATCH 0763/2378] python3Packages.distributed: remove redundant structuredAttrs --- pkgs/development/python-modules/distributed/default.nix | 1 - 1 file changed, 1 deletion(-) diff --git a/pkgs/development/python-modules/distributed/default.nix b/pkgs/development/python-modules/distributed/default.nix index a01910fa3853..a464d4e73234 100644 --- a/pkgs/development/python-modules/distributed/default.nix +++ b/pkgs/development/python-modules/distributed/default.nix @@ -28,7 +28,6 @@ buildPythonPackage (finalAttrs: { pname = "distributed"; version = "2026.8.0"; pyproject = true; - __structuredAttrs = true; src = fetchFromGitHub { owner = "dask"; From 3783cb3fefba96d8c04afc71dba4c25cf844008f Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 22:50:13 +0200 Subject: [PATCH 0764/2378] python3Packages.django-filingcabinet: remove redundant structuredAttrs --- pkgs/development/python-modules/django-filingcabinet/default.nix | 1 - 1 file changed, 1 deletion(-) diff --git a/pkgs/development/python-modules/django-filingcabinet/default.nix b/pkgs/development/python-modules/django-filingcabinet/default.nix index adec72b02708..76492457443c 100644 --- a/pkgs/development/python-modules/django-filingcabinet/default.nix +++ b/pkgs/development/python-modules/django-filingcabinet/default.nix @@ -43,7 +43,6 @@ buildPythonPackage (finalAttrs: { pname = "django-filingcabinet"; version = "0.17-unstable-2026-05-07"; pyproject = true; - __structuredAttrs = true; src = fetchFromGitHub { owner = "okfde"; From 6edbb2aa0f6daa27d1ec231fee862f8f943cb719 Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 22:50:13 +0200 Subject: [PATCH 0765/2378] python3Packages.django-filter: remove redundant structuredAttrs --- pkgs/development/python-modules/django-filter/default.nix | 1 - 1 file changed, 1 deletion(-) diff --git a/pkgs/development/python-modules/django-filter/default.nix b/pkgs/development/python-modules/django-filter/default.nix index ceff8f118502..4af7790ede89 100644 --- a/pkgs/development/python-modules/django-filter/default.nix +++ b/pkgs/development/python-modules/django-filter/default.nix @@ -14,7 +14,6 @@ buildPythonPackage (finalAttrs: { pname = "django-filter"; version = "26.2"; pyproject = true; - __structuredAttrs = true; src = fetchFromGitHub { owner = "carltongibson"; From 062a9c608e6fb52b196da821d4e1acaba6e834a3 Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 22:50:14 +0200 Subject: [PATCH 0766/2378] python3Packages.django-otp-webauthn: remove redundant structuredAttrs --- pkgs/development/python-modules/django-otp-webauthn/default.nix | 1 - 1 file changed, 1 deletion(-) diff --git a/pkgs/development/python-modules/django-otp-webauthn/default.nix b/pkgs/development/python-modules/django-otp-webauthn/default.nix index 780945f11ac1..6287de2de6c9 100644 --- a/pkgs/development/python-modules/django-otp-webauthn/default.nix +++ b/pkgs/development/python-modules/django-otp-webauthn/default.nix @@ -22,7 +22,6 @@ buildPythonPackage (finalAttrs: { pname = "django-otp-webauthn"; version = "0.10.3"; pyproject = true; - __structuredAttrs = true; src = fetchFromGitHub { owner = "Stormbase"; From 41584156d3d49d9c44e079094c592214f96cd7f7 Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 22:50:14 +0200 Subject: [PATCH 0767/2378] python3Packages.django-paintstore: remove redundant structuredAttrs --- pkgs/development/python-modules/django-paintstore/default.nix | 2 -- 1 file changed, 2 deletions(-) diff --git a/pkgs/development/python-modules/django-paintstore/default.nix b/pkgs/development/python-modules/django-paintstore/default.nix index e0bcbd7dcacd..cf6f80a174a2 100644 --- a/pkgs/development/python-modules/django-paintstore/default.nix +++ b/pkgs/development/python-modules/django-paintstore/default.nix @@ -10,8 +10,6 @@ buildPythonPackage (finalAttrs: { version = "0.2"; pyproject = true; - __structuredAttrs = true; - src = fetchPypi { inherit (finalAttrs) pname version; hash = "sha256-j3MmV28GGOTwONWD27VgpZjdojp1nVj4wW4uHDZ/nYs="; From 57ba90a22780fb7b8d129e88f13690a01cb5de88 Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 22:50:14 +0200 Subject: [PATCH 0768/2378] python3Packages.django-pglocks: remove redundant structuredAttrs --- pkgs/development/python-modules/django-pglocks/default.nix | 2 -- 1 file changed, 2 deletions(-) diff --git a/pkgs/development/python-modules/django-pglocks/default.nix b/pkgs/development/python-modules/django-pglocks/default.nix index 7a672fd965a1..677b7415e289 100644 --- a/pkgs/development/python-modules/django-pglocks/default.nix +++ b/pkgs/development/python-modules/django-pglocks/default.nix @@ -12,8 +12,6 @@ buildPythonPackage (finalAttrs: { version = "1.0.4"; pyproject = true; - __structuredAttrs = true; - src = fetchPypi { inherit (finalAttrs) pname version; hash = "sha256-PEfGb7+9Jo70YmlnOgUWoDlTmwlyuO0uyc/uRMS2VSM="; From c2fa14ccf5a5de426711ed1b09cf75f43e391c7b Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 22:50:15 +0200 Subject: [PATCH 0769/2378] python3Packages.django-pgware: remove redundant structuredAttrs --- pkgs/development/python-modules/django-pgware/default.nix | 1 - 1 file changed, 1 deletion(-) diff --git a/pkgs/development/python-modules/django-pgware/default.nix b/pkgs/development/python-modules/django-pgware/default.nix index f03fbcb1c98c..24b3cd30547c 100644 --- a/pkgs/development/python-modules/django-pgware/default.nix +++ b/pkgs/development/python-modules/django-pgware/default.nix @@ -18,7 +18,6 @@ buildPythonPackage (finalAttrs: { pname = "django-pgware"; version = "1.0.0"; pyproject = true; - __structuredAttrs = true; src = fetchFromGitHub { owner = "Xof"; From 44c677dfa31c86cc4065e405d3842727ec57a6d8 Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 22:50:15 +0200 Subject: [PATCH 0770/2378] python3Packages.django-querytagger: remove redundant structuredAttrs --- pkgs/development/python-modules/django-querytagger/default.nix | 2 -- 1 file changed, 2 deletions(-) diff --git a/pkgs/development/python-modules/django-querytagger/default.nix b/pkgs/development/python-modules/django-querytagger/default.nix index c0686faf3a1d..d90d0955ba62 100644 --- a/pkgs/development/python-modules/django-querytagger/default.nix +++ b/pkgs/development/python-modules/django-querytagger/default.nix @@ -27,8 +27,6 @@ buildPythonPackage (finalAttrs: { doCheck = false; # no tests - __structuredAttrs = true; - meta = { description = "Correlate SQL query logs in your database with your Django application and logs"; homepage = "https://github.com/pretix/django-querytagger"; From 986d137c5483695411ac91b4d829d4e7b7398152 Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 22:50:15 +0200 Subject: [PATCH 0771/2378] python3Packages.django-ranged-response: remove redundant structuredAttrs --- .../python-modules/django-ranged-response/default.nix | 2 -- 1 file changed, 2 deletions(-) diff --git a/pkgs/development/python-modules/django-ranged-response/default.nix b/pkgs/development/python-modules/django-ranged-response/default.nix index 418c49c533a3..caab7c7b9731 100644 --- a/pkgs/development/python-modules/django-ranged-response/default.nix +++ b/pkgs/development/python-modules/django-ranged-response/default.nix @@ -11,8 +11,6 @@ buildPythonPackage (finalAttrs: { version = "0.2.0"; pyproject = true; - __structuredAttrs = true; - src = fetchPypi { inherit (finalAttrs) pname version; hash = "sha256-9x//NSo3MWub6tcX/Hbk3dbJuZxGgM30eDuXVa8c+YU="; From 4bae686ef467cc7ca9edad78141d2ce8deaf1155 Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 22:50:15 +0200 Subject: [PATCH 0772/2378] python3Packages.django-rest-knox: remove redundant structuredAttrs --- pkgs/development/python-modules/django-rest-knox/default.nix | 1 - 1 file changed, 1 deletion(-) diff --git a/pkgs/development/python-modules/django-rest-knox/default.nix b/pkgs/development/python-modules/django-rest-knox/default.nix index 3c2caa0a1f30..cf1231855f71 100644 --- a/pkgs/development/python-modules/django-rest-knox/default.nix +++ b/pkgs/development/python-modules/django-rest-knox/default.nix @@ -14,7 +14,6 @@ buildPythonPackage (finalAttrs: { pname = "django-rest-knox"; version = "5.1.0"; pyproject = true; - __structuredAttrs = true; src = fetchFromGitHub { owner = "jazzband"; From 407cf2c979e87e208b97c7cf24d58fc3061c277c Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 22:50:16 +0200 Subject: [PATCH 0773/2378] python3Packages.django-vpg: remove redundant structuredAttrs --- pkgs/development/python-modules/django-vpg/default.nix | 1 - 1 file changed, 1 deletion(-) diff --git a/pkgs/development/python-modules/django-vpg/default.nix b/pkgs/development/python-modules/django-vpg/default.nix index 3eb9db7f7047..f685765259e2 100644 --- a/pkgs/development/python-modules/django-vpg/default.nix +++ b/pkgs/development/python-modules/django-vpg/default.nix @@ -17,7 +17,6 @@ buildPythonPackage (finalAttrs: { pname = "django-vpg"; version = "0.4.0"; pyproject = true; - __structuredAttrs = true; src = fetchFromGitLab { owner = "glitchtip"; From ccb2334aeced516670912bea1b8d2e823e25dbe3 Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 22:50:16 +0200 Subject: [PATCH 0774/2378] python3Packages.djoser: remove redundant structuredAttrs --- pkgs/development/python-modules/djoser/default.nix | 1 - 1 file changed, 1 deletion(-) diff --git a/pkgs/development/python-modules/djoser/default.nix b/pkgs/development/python-modules/djoser/default.nix index ae496817e9ee..be44ee53ff96 100644 --- a/pkgs/development/python-modules/djoser/default.nix +++ b/pkgs/development/python-modules/djoser/default.nix @@ -12,7 +12,6 @@ buildPythonPackage rec { pname = "djoser"; version = "2.3.3"; pyproject = true; - __structuredAttrs = true; src = fetchFromGitHub { owner = "sunscrapers"; From 0c35bb9de19895789174931c2b7c5ef04f0b8d3e Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 22:50:16 +0200 Subject: [PATCH 0775/2378] python3Packages.dm-control: remove redundant structuredAttrs --- pkgs/development/python-modules/dm-control/default.nix | 1 - 1 file changed, 1 deletion(-) diff --git a/pkgs/development/python-modules/dm-control/default.nix b/pkgs/development/python-modules/dm-control/default.nix index 772670eebfe7..7abbebff8c1f 100644 --- a/pkgs/development/python-modules/dm-control/default.nix +++ b/pkgs/development/python-modules/dm-control/default.nix @@ -31,7 +31,6 @@ buildPythonPackage (finalAttrs: { pname = "dm-control"; version = "1.0.49"; pyproject = true; - __structuredAttrs = true; src = fetchFromGitHub { owner = "google-deepmind"; From 97fd9dae9baa7620ed64823f6ac5ec3f994c269a Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 22:50:17 +0200 Subject: [PATCH 0776/2378] python3Packages.doclang: remove redundant structuredAttrs --- pkgs/development/python-modules/doclang/default.nix | 1 - 1 file changed, 1 deletion(-) diff --git a/pkgs/development/python-modules/doclang/default.nix b/pkgs/development/python-modules/doclang/default.nix index 2d4d290d5794..e9e9d8ecfb23 100644 --- a/pkgs/development/python-modules/doclang/default.nix +++ b/pkgs/development/python-modules/doclang/default.nix @@ -23,7 +23,6 @@ buildPythonPackage (finalAttrs: { pname = "doclang"; version = "0.7.3"; pyproject = true; - __structuredAttrs = true; src = fetchFromGitHub { owner = "doclang-project"; From 14c7bba94a28e546bb81abe2e4efb9e7b22051ce Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 22:50:17 +0200 Subject: [PATCH 0777/2378] python3Packages.docling-core: remove redundant structuredAttrs --- pkgs/development/python-modules/docling-core/default.nix | 1 - 1 file changed, 1 deletion(-) diff --git a/pkgs/development/python-modules/docling-core/default.nix b/pkgs/development/python-modules/docling-core/default.nix index 483088d3c772..4cd3f68aefa7 100644 --- a/pkgs/development/python-modules/docling-core/default.nix +++ b/pkgs/development/python-modules/docling-core/default.nix @@ -39,7 +39,6 @@ buildPythonPackage (finalAttrs: { pname = "docling-core"; version = "2.90.0"; pyproject = true; - __structuredAttrs = true; src = fetchFromGitHub { owner = "docling-project"; From e4a0a3d51e300441b6341f1165601e9f396264c5 Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 22:50:17 +0200 Subject: [PATCH 0778/2378] python3Packages.docling-ibm-models: remove redundant structuredAttrs --- pkgs/development/python-modules/docling-ibm-models/default.nix | 1 - 1 file changed, 1 deletion(-) diff --git a/pkgs/development/python-modules/docling-ibm-models/default.nix b/pkgs/development/python-modules/docling-ibm-models/default.nix index 58ce3a5d9f9b..7898e1fd573d 100644 --- a/pkgs/development/python-modules/docling-ibm-models/default.nix +++ b/pkgs/development/python-modules/docling-ibm-models/default.nix @@ -32,7 +32,6 @@ buildPythonPackage (finalAttrs: { pname = "docling-ibm-models"; version = "3.14.0"; pyproject = true; - __structuredAttrs = true; src = fetchFromGitHub { owner = "docling-project"; From e7e971a925da805238d25cf1fb19398566a005a5 Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 22:50:17 +0200 Subject: [PATCH 0779/2378] python3Packages.docling-jobkit: remove redundant structuredAttrs --- pkgs/development/python-modules/docling-jobkit/default.nix | 1 - 1 file changed, 1 deletion(-) diff --git a/pkgs/development/python-modules/docling-jobkit/default.nix b/pkgs/development/python-modules/docling-jobkit/default.nix index e6ddff51f826..6f0f393fd520 100644 --- a/pkgs/development/python-modules/docling-jobkit/default.nix +++ b/pkgs/development/python-modules/docling-jobkit/default.nix @@ -47,7 +47,6 @@ buildPythonPackage (finalAttrs: { pname = "docling-jobkit"; version = "3.2.0"; pyproject = true; - __structuredAttrs = true; src = fetchFromGitHub { owner = "docling-project"; From 69ba8b3b3ad6eaa4a43367d740495eddc1412908 Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 22:50:18 +0200 Subject: [PATCH 0780/2378] python3Packages.docling-parse: remove redundant structuredAttrs --- pkgs/development/python-modules/docling-parse/default.nix | 1 - 1 file changed, 1 deletion(-) diff --git a/pkgs/development/python-modules/docling-parse/default.nix b/pkgs/development/python-modules/docling-parse/default.nix index 549b155ff045..bf59c501e049 100644 --- a/pkgs/development/python-modules/docling-parse/default.nix +++ b/pkgs/development/python-modules/docling-parse/default.nix @@ -34,7 +34,6 @@ buildPythonPackage (finalAttrs: { pname = "docling-parse"; version = "7.8.1"; pyproject = true; - __structuredAttrs = true; src = fetchFromGitHub { owner = "docling-project"; From cb287e10b75bf30c6ef768e6975e413fcf31126e Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 22:50:18 +0200 Subject: [PATCH 0781/2378] python3Packages.docling-serve: remove redundant structuredAttrs --- pkgs/development/python-modules/docling-serve/default.nix | 1 - 1 file changed, 1 deletion(-) diff --git a/pkgs/development/python-modules/docling-serve/default.nix b/pkgs/development/python-modules/docling-serve/default.nix index c9182ecaa97b..ac2361e99d2e 100644 --- a/pkgs/development/python-modules/docling-serve/default.nix +++ b/pkgs/development/python-modules/docling-serve/default.nix @@ -52,7 +52,6 @@ buildPythonPackage (finalAttrs: { pname = "docling-serve"; version = "1.29.0"; pyproject = true; - __structuredAttrs = true; src = fetchFromGitHub { owner = "docling-project"; From d6be3b8ac3121cc96c9686c967aac148044a5cea Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 22:50:18 +0200 Subject: [PATCH 0782/2378] python3Packages.docling-slim: remove redundant structuredAttrs --- pkgs/development/python-modules/docling-slim/default.nix | 1 - 1 file changed, 1 deletion(-) diff --git a/pkgs/development/python-modules/docling-slim/default.nix b/pkgs/development/python-modules/docling-slim/default.nix index 8ab9c98d5f45..bc29c2189604 100644 --- a/pkgs/development/python-modules/docling-slim/default.nix +++ b/pkgs/development/python-modules/docling-slim/default.nix @@ -96,7 +96,6 @@ buildPythonPackage (finalAttrs: { pname = "docling-slim"; version = "2.118.0"; pyproject = true; - __structuredAttrs = true; src = fetchFromGitHub { owner = "docling-project"; From 4bc8214734b650ce2313a3caf55e1a6bf5887a21 Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 22:50:19 +0200 Subject: [PATCH 0783/2378] python3Packages.docling: remove redundant structuredAttrs --- pkgs/development/python-modules/docling/default.nix | 1 - 1 file changed, 1 deletion(-) diff --git a/pkgs/development/python-modules/docling/default.nix b/pkgs/development/python-modules/docling/default.nix index e53352e7e101..ee8e4fcdb079 100644 --- a/pkgs/development/python-modules/docling/default.nix +++ b/pkgs/development/python-modules/docling/default.nix @@ -14,7 +14,6 @@ buildPythonPackage (finalAttrs: { pname = "docling"; inherit (docling-slim) version src; pyproject = true; - __structuredAttrs = true; sourceRoot = "${finalAttrs.src.name}/packages/docling"; From a3486227d07fab99b41b12c3c23f9dba258b8d76 Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 22:50:19 +0200 Subject: [PATCH 0784/2378] python3Packages.dpapi-ng: remove redundant structuredAttrs --- pkgs/development/python-modules/dpapi-ng/default.nix | 2 -- 1 file changed, 2 deletions(-) diff --git a/pkgs/development/python-modules/dpapi-ng/default.nix b/pkgs/development/python-modules/dpapi-ng/default.nix index fdb7a2d45487..a9961679a4ae 100644 --- a/pkgs/development/python-modules/dpapi-ng/default.nix +++ b/pkgs/development/python-modules/dpapi-ng/default.nix @@ -16,8 +16,6 @@ buildPythonPackage (finalAttrs: { version = "0.2.0"; pyproject = true; - __structuredAttrs = true; - src = fetchFromGitHub { owner = "jborean93"; repo = "dpapi-ng"; From 0a90b39362fbb0481f472a3870eb71145f12a418 Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 22:50:19 +0200 Subject: [PATCH 0785/2378] python3Packages.dpcontracts: remove redundant structuredAttrs --- pkgs/development/python-modules/dpcontracts/default.nix | 2 -- 1 file changed, 2 deletions(-) diff --git a/pkgs/development/python-modules/dpcontracts/default.nix b/pkgs/development/python-modules/dpcontracts/default.nix index f2738e1a59fa..014a76842c94 100644 --- a/pkgs/development/python-modules/dpcontracts/default.nix +++ b/pkgs/development/python-modules/dpcontracts/default.nix @@ -11,8 +11,6 @@ buildPythonPackage { version = "0.6.0-unstable-2018-11-20"; pyproject = true; - __structuredAttrs = true; - src = fetchFromGitHub { owner = "deadpixi"; repo = "contracts"; From 256d25309bcc92f0df07b5eb3ed3d8cb07987610 Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 22:50:20 +0200 Subject: [PATCH 0786/2378] python3Packages.drf-standardized-errors: remove redundant structuredAttrs --- .../python-modules/drf-standardized-errors/default.nix | 1 - 1 file changed, 1 deletion(-) diff --git a/pkgs/development/python-modules/drf-standardized-errors/default.nix b/pkgs/development/python-modules/drf-standardized-errors/default.nix index 689f17b01d94..d67c2335d9a1 100644 --- a/pkgs/development/python-modules/drf-standardized-errors/default.nix +++ b/pkgs/development/python-modules/drf-standardized-errors/default.nix @@ -16,7 +16,6 @@ buildPythonPackage (finalAttrs: { pname = "drf-standardized-errors"; version = "0.16.0"; pyproject = true; - __structuredAttrs = true; src = fetchFromGitHub { owner = "ghazi-git"; From 3fba201448298dbc94c37af81f1246fea87eb062 Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 22:50:20 +0200 Subject: [PATCH 0787/2378] python3Packages.drms: remove redundant structuredAttrs --- pkgs/development/python-modules/drms/default.nix | 1 - 1 file changed, 1 deletion(-) diff --git a/pkgs/development/python-modules/drms/default.nix b/pkgs/development/python-modules/drms/default.nix index 21a3d265d703..1031b41c08fb 100644 --- a/pkgs/development/python-modules/drms/default.nix +++ b/pkgs/development/python-modules/drms/default.nix @@ -21,7 +21,6 @@ buildPythonPackage (finalAttrs: { pname = "drms"; version = "0.9.1"; pyproject = true; - __structuredAttrs = true; src = fetchFromGitHub { owner = "sunpy"; From d2f6c024441eba02da84df855e0b4fbe3e76128a Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 22:50:20 +0200 Subject: [PATCH 0788/2378] python3Packages.dspy: remove redundant structuredAttrs --- pkgs/development/python-modules/dspy/default.nix | 1 - 1 file changed, 1 deletion(-) diff --git a/pkgs/development/python-modules/dspy/default.nix b/pkgs/development/python-modules/dspy/default.nix index e04f6f711db6..336fa7ddc722 100644 --- a/pkgs/development/python-modules/dspy/default.nix +++ b/pkgs/development/python-modules/dspy/default.nix @@ -33,7 +33,6 @@ buildPythonPackage (finalAttrs: { pname = "dspy"; version = "3.2.1"; pyproject = true; - __structuredAttrs = true; src = fetchFromGitHub { owner = "stanfordnlp"; From 4a066a1dcec9aa8a74f3b903cd1e9d56a9323120 Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 22:50:21 +0200 Subject: [PATCH 0789/2378] python3Packages.dulwich: remove redundant structuredAttrs --- pkgs/development/python-modules/dulwich/default.nix | 1 - 1 file changed, 1 deletion(-) diff --git a/pkgs/development/python-modules/dulwich/default.nix b/pkgs/development/python-modules/dulwich/default.nix index 2dc99c292293..1c1312f653bf 100644 --- a/pkgs/development/python-modules/dulwich/default.nix +++ b/pkgs/development/python-modules/dulwich/default.nix @@ -28,7 +28,6 @@ buildPythonPackage (finalAttrs: { pname = "dulwich"; version = "1.2.15"; pyproject = true; - __structuredAttrs = true; src = fetchFromGitHub { owner = "jelmer"; From 0339310ed9b6aa99aed2076b31655dbaad9f2060 Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 22:50:21 +0200 Subject: [PATCH 0790/2378] python3Packages.e2b-code-interpreter: remove redundant structuredAttrs --- pkgs/development/python-modules/e2b-code-interpreter/default.nix | 1 - 1 file changed, 1 deletion(-) diff --git a/pkgs/development/python-modules/e2b-code-interpreter/default.nix b/pkgs/development/python-modules/e2b-code-interpreter/default.nix index 3a4afdab7a73..a448de6f1c69 100644 --- a/pkgs/development/python-modules/e2b-code-interpreter/default.nix +++ b/pkgs/development/python-modules/e2b-code-interpreter/default.nix @@ -21,7 +21,6 @@ buildPythonPackage (finalAttrs: { pname = "e2b-code-interpreter"; version = "2.9.1"; pyproject = true; - __structuredAttrs = true; src = fetchFromGitHub { owner = "e2b-dev"; From 7e12a7b00f16e59ab93b5f3ecf4b8b93a4739c8a Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 22:50:21 +0200 Subject: [PATCH 0791/2378] python3Packages.e2b: remove redundant structuredAttrs --- pkgs/development/python-modules/e2b/default.nix | 1 - 1 file changed, 1 deletion(-) diff --git a/pkgs/development/python-modules/e2b/default.nix b/pkgs/development/python-modules/e2b/default.nix index 6d06c6f399e9..97a649c87c55 100644 --- a/pkgs/development/python-modules/e2b/default.nix +++ b/pkgs/development/python-modules/e2b/default.nix @@ -30,7 +30,6 @@ buildPythonPackage (finalAttrs: { pname = "e2b"; version = "2.51.0"; pyproject = true; - __structuredAttrs = true; src = fetchFromGitHub { owner = "e2b-dev"; From d1723d62fd8cb777a9cc79b90c37fbda4e0fa0c2 Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 22:50:21 +0200 Subject: [PATCH 0792/2378] python3Packages.e3nn: remove redundant structuredAttrs --- pkgs/development/python-modules/e3nn/default.nix | 1 - 1 file changed, 1 deletion(-) diff --git a/pkgs/development/python-modules/e3nn/default.nix b/pkgs/development/python-modules/e3nn/default.nix index 372a0c7359e2..0eba948b2966 100644 --- a/pkgs/development/python-modules/e3nn/default.nix +++ b/pkgs/development/python-modules/e3nn/default.nix @@ -23,7 +23,6 @@ buildPythonPackage (finalAttrs: { pname = "e3nn"; version = "0.6.0"; pyproject = true; - __structuredAttrs = true; src = fetchFromGitHub { owner = "e3nn"; From 64926abc3211f9f4b9b71b3924c8756cb7dd6460 Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 22:50:22 +0200 Subject: [PATCH 0793/2378] python3Packages.earth2studio: remove redundant structuredAttrs --- pkgs/development/python-modules/earth2studio/default.nix | 1 - 1 file changed, 1 deletion(-) diff --git a/pkgs/development/python-modules/earth2studio/default.nix b/pkgs/development/python-modules/earth2studio/default.nix index 4fdb4bf14d2d..521b2a22ebf8 100644 --- a/pkgs/development/python-modules/earth2studio/default.nix +++ b/pkgs/development/python-modules/earth2studio/default.nix @@ -47,7 +47,6 @@ buildPythonPackage (finalAttrs: { pname = "earth2studio"; version = "0.19.0"; pyproject = true; - __structuredAttrs = true; src = fetchFromGitHub { owner = "NVIDIA"; From aa90e7373b7814cc99fd5e00e3aad451963bf165 Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 22:50:22 +0200 Subject: [PATCH 0794/2378] python3Packages.easydict: remove redundant structuredAttrs --- pkgs/development/python-modules/easydict/default.nix | 2 -- 1 file changed, 2 deletions(-) diff --git a/pkgs/development/python-modules/easydict/default.nix b/pkgs/development/python-modules/easydict/default.nix index 3e2ae4397b64..a33192a9cbbd 100644 --- a/pkgs/development/python-modules/easydict/default.nix +++ b/pkgs/development/python-modules/easydict/default.nix @@ -10,8 +10,6 @@ buildPythonPackage (finalAttrs: { version = "1.13"; pyproject = true; - __structuredAttrs = true; - src = fetchPypi { inherit (finalAttrs) pname version; hash = "sha256-sRNd7bxByAEOK8H3fsl0TH+qQrzhoch0FnkUSdbId4A="; From 9ba34d3e0482c67bd974ecb0664ff9eea2e8e30a Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 22:50:22 +0200 Subject: [PATCH 0795/2378] python3Packages.easygui: remove redundant structuredAttrs --- pkgs/development/python-modules/easygui/default.nix | 2 -- 1 file changed, 2 deletions(-) diff --git a/pkgs/development/python-modules/easygui/default.nix b/pkgs/development/python-modules/easygui/default.nix index ffd99c3a4f33..bfcd69fc8fba 100644 --- a/pkgs/development/python-modules/easygui/default.nix +++ b/pkgs/development/python-modules/easygui/default.nix @@ -11,8 +11,6 @@ buildPythonPackage (finalAttrs: { version = "0.98.3"; pyproject = true; - __structuredAttrs = true; - src = fetchPypi { inherit (finalAttrs) pname version; hash = "sha256-1lP/ee4fQvY7WgkPL5jOAjNdhq2JY7POJmGAXK/pmgQ="; From 381712e0aa58bf2e6a9c64bbe366b63a4ff23970 Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 22:50:23 +0200 Subject: [PATCH 0796/2378] python3Packages.easyprocess: remove redundant structuredAttrs --- pkgs/development/python-modules/easyprocess/default.nix | 2 -- 1 file changed, 2 deletions(-) diff --git a/pkgs/development/python-modules/easyprocess/default.nix b/pkgs/development/python-modules/easyprocess/default.nix index c6cacf55bc67..7a6a829e2078 100644 --- a/pkgs/development/python-modules/easyprocess/default.nix +++ b/pkgs/development/python-modules/easyprocess/default.nix @@ -16,8 +16,6 @@ buildPythonPackage (finalAtrrs: { version = "1.1"; pyproject = true; - __structuredAttrs = true; - src = fetchPypi { pname = "EasyProcess"; inherit (finalAtrrs) version; From 47853a99d7d7eafa22b4929e20e1abcc22e43698 Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 22:50:23 +0200 Subject: [PATCH 0797/2378] python3Packages.easywatch: remove redundant structuredAttrs --- pkgs/development/python-modules/easywatch/default.nix | 2 -- 1 file changed, 2 deletions(-) diff --git a/pkgs/development/python-modules/easywatch/default.nix b/pkgs/development/python-modules/easywatch/default.nix index bf07ea00279f..f40c08810c71 100644 --- a/pkgs/development/python-modules/easywatch/default.nix +++ b/pkgs/development/python-modules/easywatch/default.nix @@ -11,8 +11,6 @@ buildPythonPackage (finalAttrs: { version = "0.0.5"; pyproject = true; - __structuredAttrs = true; - src = fetchPypi { inherit (finalAttrs) pname version; hash = "sha256-DN7XAQYIPq3m4y9m7vH5QAywOfTG9w6RxEmf/aJkgKw="; From df3d3d3171b6878ed7e10474ef02d90a4271ca38 Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 22:50:23 +0200 Subject: [PATCH 0798/2378] python3Packages.einops: remove redundant structuredAttrs --- pkgs/development/python-modules/einops/default.nix | 1 - 1 file changed, 1 deletion(-) diff --git a/pkgs/development/python-modules/einops/default.nix b/pkgs/development/python-modules/einops/default.nix index ffeefb46a57e..d8e2ec8d93c3 100644 --- a/pkgs/development/python-modules/einops/default.nix +++ b/pkgs/development/python-modules/einops/default.nix @@ -16,7 +16,6 @@ buildPythonPackage (finalAttrs: { pname = "einops"; version = "0.8.2"; pyproject = true; - __structuredAttrs = true; src = fetchFromGitHub { owner = "arogozhnikov"; From ead019fd18add40607e86885d7ba08eb73f02c85 Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 22:50:23 +0200 Subject: [PATCH 0799/2378] python3Packages.eliot: remove redundant structuredAttrs --- pkgs/development/python-modules/eliot/default.nix | 1 - 1 file changed, 1 deletion(-) diff --git a/pkgs/development/python-modules/eliot/default.nix b/pkgs/development/python-modules/eliot/default.nix index 07fc87bbb1e4..2034ac4920e7 100644 --- a/pkgs/development/python-modules/eliot/default.nix +++ b/pkgs/development/python-modules/eliot/default.nix @@ -31,7 +31,6 @@ buildPythonPackage (finalAttrs: { pname = "eliot"; version = "1.18.0"; pyproject = true; - __structuredAttrs = true; src = fetchFromGitHub { owner = "itamarst"; From 214639ca184a2c79588e11cf2d085c4b79d2cdf7 Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 22:50:24 +0200 Subject: [PATCH 0800/2378] python3Packages.emerge: remove redundant structuredAttrs --- pkgs/development/python-modules/emerge/default.nix | 1 - 1 file changed, 1 deletion(-) diff --git a/pkgs/development/python-modules/emerge/default.nix b/pkgs/development/python-modules/emerge/default.nix index 5a55d0e8261c..972d55bb3879 100644 --- a/pkgs/development/python-modules/emerge/default.nix +++ b/pkgs/development/python-modules/emerge/default.nix @@ -65,7 +65,6 @@ buildPythonPackage (finalAttrs: { pname = "emerge"; version = "2.8.9"; pyproject = true; - __structuredAttrs = true; src = fetchFromGitHub { owner = "FennisRobert"; From 709250a6227e8f24cf34f65ac7b48e3c33109798 Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 22:50:24 +0200 Subject: [PATCH 0801/2378] python3Packages.emmiai-noether: remove redundant structuredAttrs --- pkgs/development/python-modules/emmiai-noether/default.nix | 1 - 1 file changed, 1 deletion(-) diff --git a/pkgs/development/python-modules/emmiai-noether/default.nix b/pkgs/development/python-modules/emmiai-noether/default.nix index 5ee8d1ae22c3..9f8649dddf01 100644 --- a/pkgs/development/python-modules/emmiai-noether/default.nix +++ b/pkgs/development/python-modules/emmiai-noether/default.nix @@ -36,7 +36,6 @@ buildPythonPackage (finalAttrs: { pname = "emmiai-noether"; version = "2026.4.0"; pyproject = true; - __structuredAttrs = true; src = fetchFromGitHub { owner = "Emmi-AI"; From 6b1958022008121d1971002c4b16c7440c6b2f45 Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 22:50:24 +0200 Subject: [PATCH 0802/2378] python3Packages.emsutil: remove redundant structuredAttrs --- pkgs/development/python-modules/emsutil/default.nix | 1 - 1 file changed, 1 deletion(-) diff --git a/pkgs/development/python-modules/emsutil/default.nix b/pkgs/development/python-modules/emsutil/default.nix index b7d315d28144..3b57d73c8b4e 100644 --- a/pkgs/development/python-modules/emsutil/default.nix +++ b/pkgs/development/python-modules/emsutil/default.nix @@ -21,7 +21,6 @@ buildPythonPackage (finalAttrs: { pname = "emsutil"; version = "0.8.3-unstable-2026-08-03"; pyproject = true; - __structuredAttrs = true; src = fetchFromGitHub { owner = "FennisRobert"; From c50f208355d0a2c53c83740505ebf50a3a71ab31 Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 22:50:25 +0200 Subject: [PATCH 0803/2378] python3Packages.equinox: remove redundant structuredAttrs --- pkgs/development/python-modules/equinox/default.nix | 1 - 1 file changed, 1 deletion(-) diff --git a/pkgs/development/python-modules/equinox/default.nix b/pkgs/development/python-modules/equinox/default.nix index c91178541946..c23828e95b2c 100644 --- a/pkgs/development/python-modules/equinox/default.nix +++ b/pkgs/development/python-modules/equinox/default.nix @@ -23,7 +23,6 @@ buildPythonPackage (finalAttrs: { pname = "equinox"; version = "0.13.8"; pyproject = true; - __structuredAttrs = true; src = fetchFromGitHub { owner = "patrick-kidger"; From 4684bdc87b512802dcca96676a04a1903e203a93 Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 22:50:25 +0200 Subject: [PATCH 0804/2378] python3Packages.error-helper: remove redundant structuredAttrs --- pkgs/development/python-modules/error-helper/default.nix | 1 - 1 file changed, 1 deletion(-) diff --git a/pkgs/development/python-modules/error-helper/default.nix b/pkgs/development/python-modules/error-helper/default.nix index 4a93a3df9655..e2676939607d 100644 --- a/pkgs/development/python-modules/error-helper/default.nix +++ b/pkgs/development/python-modules/error-helper/default.nix @@ -11,7 +11,6 @@ buildPythonPackage (finalAttrs: { pname = "error-helper"; version = "1.5"; pyproject = true; - __structuredAttrs = true; # GitHub source doesn't build correctly (fails imports check) src = fetchPypi { From a98fe5bdb0da62d780cdc16308d51d352a0f797f Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 22:50:26 +0200 Subject: [PATCH 0805/2378] python3Packages.eth-hash: remove redundant structuredAttrs --- pkgs/development/python-modules/eth-hash/default.nix | 2 -- 1 file changed, 2 deletions(-) diff --git a/pkgs/development/python-modules/eth-hash/default.nix b/pkgs/development/python-modules/eth-hash/default.nix index c2d6683d349c..bb6598ee9600 100644 --- a/pkgs/development/python-modules/eth-hash/default.nix +++ b/pkgs/development/python-modules/eth-hash/default.nix @@ -51,8 +51,6 @@ buildPythonPackage rec { pysha3 = [ safe-pysha3 ]; }; - __structuredAttrs = true; - meta = { description = "Ethereum hashing function keccak256"; homepage = "https://github.com/ethereum/eth-hash"; From e122fb7ea0715210d32aeb5499a123942ff4eb95 Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 22:50:26 +0200 Subject: [PATCH 0806/2378] python3Packages.etils: remove redundant structuredAttrs --- pkgs/development/python-modules/etils/default.nix | 1 - 1 file changed, 1 deletion(-) diff --git a/pkgs/development/python-modules/etils/default.nix b/pkgs/development/python-modules/etils/default.nix index 6fd09b101690..db2806f42ce2 100644 --- a/pkgs/development/python-modules/etils/default.nix +++ b/pkgs/development/python-modules/etils/default.nix @@ -42,7 +42,6 @@ buildPythonPackage (finalAttrs: { pname = "etils"; version = "1.14.0"; pyproject = true; - __structuredAttrs = true; src = fetchFromGitHub { owner = "google"; From b9114cd2ec72fb191416445d68bed49300491df6 Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 22:50:26 +0200 Subject: [PATCH 0807/2378] python3Packages.evosax: remove redundant structuredAttrs --- pkgs/development/python-modules/evosax/default.nix | 1 - 1 file changed, 1 deletion(-) diff --git a/pkgs/development/python-modules/evosax/default.nix b/pkgs/development/python-modules/evosax/default.nix index 66aa3647a67b..b3281ffdfbb3 100644 --- a/pkgs/development/python-modules/evosax/default.nix +++ b/pkgs/development/python-modules/evosax/default.nix @@ -25,7 +25,6 @@ buildPythonPackage (finalAttrs: { pname = "evosax"; version = "0.3.1"; pyproject = true; - __structuredAttrs = true; src = fetchFromGitHub { owner = "RobertTLange"; From 513a519e348a67564fc1279fb7e48130bf30685b Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 22:50:26 +0200 Subject: [PATCH 0808/2378] python3Packages.exa-py: remove redundant structuredAttrs --- pkgs/development/python-modules/exa-py/default.nix | 1 - 1 file changed, 1 deletion(-) diff --git a/pkgs/development/python-modules/exa-py/default.nix b/pkgs/development/python-modules/exa-py/default.nix index 3f94eafb6f5b..8c9f31c557e0 100644 --- a/pkgs/development/python-modules/exa-py/default.nix +++ b/pkgs/development/python-modules/exa-py/default.nix @@ -26,7 +26,6 @@ buildPythonPackage (finalAttrs: { pname = "exa-py"; version = "2.25.0"; pyproject = true; - __structuredAttrs = true; # pypi doesn't include tests but there aren't any upstream git tags src = fetchFromGitHub { From f99fdedb9e50c620469f104cc1ddba27597b2136 Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 22:50:27 +0200 Subject: [PATCH 0809/2378] python3Packages.executorch: remove redundant structuredAttrs --- pkgs/development/python-modules/executorch/default.nix | 1 - 1 file changed, 1 deletion(-) diff --git a/pkgs/development/python-modules/executorch/default.nix b/pkgs/development/python-modules/executorch/default.nix index 894069746dfa..33a5ef09400d 100644 --- a/pkgs/development/python-modules/executorch/default.nix +++ b/pkgs/development/python-modules/executorch/default.nix @@ -69,7 +69,6 @@ buildPythonPackage.override { inherit (torch) stdenv; } (finalAttrs: { pname = "executorch"; version = "1.5.0"; pyproject = true; - __structuredAttrs = true; src = fetchFromGitHub { owner = "pytorch"; From a53ffb00035b05676c891c2f68a9676f796a419d Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 22:50:27 +0200 Subject: [PATCH 0810/2378] python3Packages.fabric: remove redundant structuredAttrs --- pkgs/development/python-modules/fabric/default.nix | 1 - 1 file changed, 1 deletion(-) diff --git a/pkgs/development/python-modules/fabric/default.nix b/pkgs/development/python-modules/fabric/default.nix index e56269a2a3d3..9eb00c9b08f1 100644 --- a/pkgs/development/python-modules/fabric/default.nix +++ b/pkgs/development/python-modules/fabric/default.nix @@ -17,7 +17,6 @@ buildPythonPackage rec { pname = "fabric"; version = "3.2.3"; pyproject = true; - __structuredAttrs = true; src = fetchFromGitHub { owner = "fabric"; From 2cf3b8561fa89351f26b2531d90ad8132c13be82 Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 22:50:27 +0200 Subject: [PATCH 0811/2378] python3Packages.facenet-pytorch: remove redundant structuredAttrs --- pkgs/development/python-modules/facenet-pytorch/default.nix | 1 - 1 file changed, 1 deletion(-) diff --git a/pkgs/development/python-modules/facenet-pytorch/default.nix b/pkgs/development/python-modules/facenet-pytorch/default.nix index 893d5bf43f68..fd3faa8b2a65 100644 --- a/pkgs/development/python-modules/facenet-pytorch/default.nix +++ b/pkgs/development/python-modules/facenet-pytorch/default.nix @@ -16,7 +16,6 @@ buildPythonPackage (finalAttrs: { pname = "facenet-pytorch"; version = "2.5.3"; pyproject = true; - __structuredAttrs = true; src = fetchFromGitHub { owner = "timesler"; From 7618725f65555520fc4d8a173fa97e3f267802ff Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 22:50:28 +0200 Subject: [PATCH 0812/2378] python3Packages.faiss: remove redundant structuredAttrs --- pkgs/development/python-modules/faiss/default.nix | 1 - 1 file changed, 1 deletion(-) diff --git a/pkgs/development/python-modules/faiss/default.nix b/pkgs/development/python-modules/faiss/default.nix index bf0f5dcdad32..76bb135148f8 100644 --- a/pkgs/development/python-modules/faiss/default.nix +++ b/pkgs/development/python-modules/faiss/default.nix @@ -12,7 +12,6 @@ buildPythonPackage { inherit (faiss-build) pname version; pyproject = true; - __structuredAttrs = true; src = "${lib.getOutput "dist" faiss-build}"; From fd344f9c6aebd5fb1f49840cdc939e5da90e11fc Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 22:50:28 +0200 Subject: [PATCH 0813/2378] python3Packages.fake-http-header: remove redundant structuredAttrs --- pkgs/development/python-modules/fake-http-header/default.nix | 2 -- 1 file changed, 2 deletions(-) diff --git a/pkgs/development/python-modules/fake-http-header/default.nix b/pkgs/development/python-modules/fake-http-header/default.nix index 9f5e78110fe4..4c031ddea6d3 100644 --- a/pkgs/development/python-modules/fake-http-header/default.nix +++ b/pkgs/development/python-modules/fake-http-header/default.nix @@ -11,8 +11,6 @@ buildPythonPackage (finalAttrs: { version = "0.3.5-unstable-2025-07-09"; pyproject = true; - __structuredAttrs = true; - src = fetchFromGitHub { owner = "MichaelTatarski"; repo = "fake-http-header"; From d42dc1c2cac487d7878312fdea78243ffafb6883 Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 22:50:28 +0200 Subject: [PATCH 0814/2378] python3Packages.farama-notifications: remove redundant structuredAttrs --- pkgs/development/python-modules/farama-notifications/default.nix | 1 - 1 file changed, 1 deletion(-) diff --git a/pkgs/development/python-modules/farama-notifications/default.nix b/pkgs/development/python-modules/farama-notifications/default.nix index c897be03b2ac..b400f52492da 100644 --- a/pkgs/development/python-modules/farama-notifications/default.nix +++ b/pkgs/development/python-modules/farama-notifications/default.nix @@ -9,7 +9,6 @@ buildPythonPackage (finalAttrs: { pname = "farama-notifications"; version = "0.0.6"; pyproject = true; - __structuredAttrs = true; src = fetchFromGitHub { owner = "Farama-Foundation"; From 625c227b80ea87042b35e8da6123c423893ced79 Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 22:50:28 +0200 Subject: [PATCH 0815/2378] python3Packages.fastai: remove redundant structuredAttrs --- pkgs/development/python-modules/fastai/default.nix | 1 - 1 file changed, 1 deletion(-) diff --git a/pkgs/development/python-modules/fastai/default.nix b/pkgs/development/python-modules/fastai/default.nix index b5e510ab83fc..3299b7b99482 100644 --- a/pkgs/development/python-modules/fastai/default.nix +++ b/pkgs/development/python-modules/fastai/default.nix @@ -30,7 +30,6 @@ buildPythonPackage (finalAttrs: { pname = "fastai"; version = "2.8.8"; pyproject = true; - __structuredAttrs = true; src = fetchFromGitHub { owner = "fastai"; From d5501a6826fa577d6d0280cee73c25cb06d7ddc2 Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 22:50:29 +0200 Subject: [PATCH 0816/2378] python3Packages.fastapi-pagination: remove redundant structuredAttrs --- pkgs/development/python-modules/fastapi-pagination/default.nix | 1 - 1 file changed, 1 deletion(-) diff --git a/pkgs/development/python-modules/fastapi-pagination/default.nix b/pkgs/development/python-modules/fastapi-pagination/default.nix index abe23ecaffd7..f4d337f6ffed 100644 --- a/pkgs/development/python-modules/fastapi-pagination/default.nix +++ b/pkgs/development/python-modules/fastapi-pagination/default.nix @@ -16,7 +16,6 @@ buildPythonPackage (finalAttrs: { pname = "fastapi-pagination"; version = "0.15.16"; pyproject = true; - __structuredAttrs = true; src = fetchFromGitHub { owner = "uriyyo"; From 0b0c1b4df36de02b27fcb3113bf307e723511662 Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 22:50:29 +0200 Subject: [PATCH 0817/2378] python3Packages.fastapi: remove redundant structuredAttrs --- pkgs/development/python-modules/fastapi/default.nix | 1 - 1 file changed, 1 deletion(-) diff --git a/pkgs/development/python-modules/fastapi/default.nix b/pkgs/development/python-modules/fastapi/default.nix index dd805f9b5a4e..033864f50246 100644 --- a/pkgs/development/python-modules/fastapi/default.nix +++ b/pkgs/development/python-modules/fastapi/default.nix @@ -43,7 +43,6 @@ buildPythonPackage (finalAttrs: { pname = "fastapi"; version = "0.141.1"; pyproject = true; - __structuredAttrs = true; src = fetchFromGitHub { owner = "tiangolo"; From 76a7300d6f7c9f7c67a2686d95b9e258f5d35816 Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 22:50:29 +0200 Subject: [PATCH 0818/2378] python3Packages.fastdownload: remove redundant structuredAttrs --- pkgs/development/python-modules/fastdownload/default.nix | 1 - 1 file changed, 1 deletion(-) diff --git a/pkgs/development/python-modules/fastdownload/default.nix b/pkgs/development/python-modules/fastdownload/default.nix index cc708867759f..a15174dc8738 100644 --- a/pkgs/development/python-modules/fastdownload/default.nix +++ b/pkgs/development/python-modules/fastdownload/default.nix @@ -15,7 +15,6 @@ buildPythonPackage (finalAttrs: { pname = "fastdownload"; version = "0.0.7"; pyproject = true; - __structuredAttrs = true; # No tag for 0.0.7 on GitHub src = fetchPypi { From 11d55c9761f444b7e81d9c5b2ebc778a1d83b0dc Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 22:50:30 +0200 Subject: [PATCH 0819/2378] python3Packages.fastexcel: remove redundant structuredAttrs --- pkgs/development/python-modules/fastexcel/default.nix | 1 - 1 file changed, 1 deletion(-) diff --git a/pkgs/development/python-modules/fastexcel/default.nix b/pkgs/development/python-modules/fastexcel/default.nix index 3a7abb4b32a1..519ec6e6505b 100644 --- a/pkgs/development/python-modules/fastexcel/default.nix +++ b/pkgs/development/python-modules/fastexcel/default.nix @@ -22,7 +22,6 @@ buildPythonPackage (finalAttrs: { pname = "fastexcel"; version = "0.21.0"; pyproject = true; - __structuredAttrs = true; src = fetchFromGitHub { owner = "ToucanToco"; From 824fe8493011f52fab34f35aab58d86fdb7ccc16 Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 22:50:30 +0200 Subject: [PATCH 0820/2378] python3Packages.fastjet: remove redundant structuredAttrs --- pkgs/development/python-modules/fastjet/default.nix | 1 - 1 file changed, 1 deletion(-) diff --git a/pkgs/development/python-modules/fastjet/default.nix b/pkgs/development/python-modules/fastjet/default.nix index 6fe940ed4b32..26b6adb2d1fd 100644 --- a/pkgs/development/python-modules/fastjet/default.nix +++ b/pkgs/development/python-modules/fastjet/default.nix @@ -26,7 +26,6 @@ buildPythonPackage (finalAttrs: { pname = "fastjet"; version = "3.5.2.0"; pyproject = true; - __structuredAttrs = true; src = fetchFromGitHub { owner = "scikit-hep"; From f9b73b01311555d4f83161ec28b358f8e5807473 Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 22:50:30 +0200 Subject: [PATCH 0821/2378] python3Packages.fastmcp: remove redundant structuredAttrs --- pkgs/development/python-modules/fastmcp/default.nix | 1 - 1 file changed, 1 deletion(-) diff --git a/pkgs/development/python-modules/fastmcp/default.nix b/pkgs/development/python-modules/fastmcp/default.nix index a41476c5a889..7bbadd12672e 100644 --- a/pkgs/development/python-modules/fastmcp/default.nix +++ b/pkgs/development/python-modules/fastmcp/default.nix @@ -32,7 +32,6 @@ buildPythonPackage (finalAttrs: { pname = "fastmcp"; version = "3.4.7"; pyproject = true; - __structuredAttrs = true; src = fetchFromGitHub { owner = "PrefectHQ"; From 5396c5606c44c12472f1fd2870607aaedfd25472 Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 22:50:30 +0200 Subject: [PATCH 0822/2378] python3Packages.fastmri: remove redundant structuredAttrs --- pkgs/development/python-modules/fastmri/default.nix | 1 - 1 file changed, 1 deletion(-) diff --git a/pkgs/development/python-modules/fastmri/default.nix b/pkgs/development/python-modules/fastmri/default.nix index e2e7405041e0..5aeeee76243a 100644 --- a/pkgs/development/python-modules/fastmri/default.nix +++ b/pkgs/development/python-modules/fastmri/default.nix @@ -29,7 +29,6 @@ buildPythonPackage (finalAttrs: { pname = "fastmri"; version = "0.3.0"; pyproject = true; - __structuredAttrs = true; src = fetchFromGitHub { owner = "facebookresearch"; From dfa428b3dea9609148a76e12379322c40ca24ee4 Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 22:50:31 +0200 Subject: [PATCH 0823/2378] python3Packages.fastspec: remove redundant structuredAttrs --- pkgs/development/python-modules/fastspec/default.nix | 2 -- 1 file changed, 2 deletions(-) diff --git a/pkgs/development/python-modules/fastspec/default.nix b/pkgs/development/python-modules/fastspec/default.nix index 26c522943992..5af3ffbbbe6a 100644 --- a/pkgs/development/python-modules/fastspec/default.nix +++ b/pkgs/development/python-modules/fastspec/default.nix @@ -13,8 +13,6 @@ buildPythonPackage (finalAttrs: { version = "0.2.5"; pyproject = true; - __structuredAttrs = true; - src = fetchFromGitHub { owner = "AnswerDotAI"; repo = "fastspec"; From bc022eecb6d5a7963d2c52955e34423b8c339efd Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 22:50:31 +0200 Subject: [PATCH 0824/2378] python3Packages.fasttransform: remove redundant structuredAttrs --- pkgs/development/python-modules/fasttransform/default.nix | 1 - 1 file changed, 1 deletion(-) diff --git a/pkgs/development/python-modules/fasttransform/default.nix b/pkgs/development/python-modules/fasttransform/default.nix index fb173c6beaa9..2f80ce770ca3 100644 --- a/pkgs/development/python-modules/fasttransform/default.nix +++ b/pkgs/development/python-modules/fasttransform/default.nix @@ -16,7 +16,6 @@ buildPythonPackage (finalAttrs: { pname = "fasttransform"; version = "0.0.2"; pyproject = true; - __structuredAttrs = true; src = fetchFromGitHub { owner = "AnswerDotAI"; From 919a241bb20aafbe63bcb35a8eaff7e571d94c08 Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 22:50:31 +0200 Subject: [PATCH 0825/2378] python3Packages.fasttransport: remove redundant structuredAttrs --- pkgs/development/python-modules/fasttransport/default.nix | 2 -- 1 file changed, 2 deletions(-) diff --git a/pkgs/development/python-modules/fasttransport/default.nix b/pkgs/development/python-modules/fasttransport/default.nix index 7544133ba364..2b3bd5476db4 100644 --- a/pkgs/development/python-modules/fasttransport/default.nix +++ b/pkgs/development/python-modules/fasttransport/default.nix @@ -14,8 +14,6 @@ buildPythonPackage (finalAttrs: { version = "0.0.4"; pyproject = true; - __structuredAttrs = true; - src = fetchFromGitHub { owner = "AnswerDotAI"; repo = "fasttransport"; From 6d08f06f176f2a1abaf806af566b4eac0db66bf1 Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 22:50:32 +0200 Subject: [PATCH 0826/2378] python3Packages.ffmpeg-normalize: remove redundant structuredAttrs --- pkgs/development/python-modules/ffmpeg-normalize/default.nix | 2 -- 1 file changed, 2 deletions(-) diff --git a/pkgs/development/python-modules/ffmpeg-normalize/default.nix b/pkgs/development/python-modules/ffmpeg-normalize/default.nix index 04d91b197b4f..ee9bbd1289fe 100644 --- a/pkgs/development/python-modules/ffmpeg-normalize/default.nix +++ b/pkgs/development/python-modules/ffmpeg-normalize/default.nix @@ -17,8 +17,6 @@ buildPythonPackage rec { version = "1.37.3"; pyproject = true; - __structuredAttrs = true; - src = fetchFromGitHub { owner = "slhck"; repo = "ffmpeg-normalize"; From 3dbc1b9123bebb913dc2be3dbf45946c2f6d9d15 Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 22:50:32 +0200 Subject: [PATCH 0827/2378] python3Packages.ffpyplayer: remove redundant structuredAttrs --- pkgs/development/python-modules/ffpyplayer/default.nix | 1 - 1 file changed, 1 deletion(-) diff --git a/pkgs/development/python-modules/ffpyplayer/default.nix b/pkgs/development/python-modules/ffpyplayer/default.nix index ce6b9c326709..5d259e5c675e 100644 --- a/pkgs/development/python-modules/ffpyplayer/default.nix +++ b/pkgs/development/python-modules/ffpyplayer/default.nix @@ -19,7 +19,6 @@ buildPythonPackage (finalAttrs: { pname = "ffpyplayer"; version = "4.5.3"; pyproject = true; - __structuredAttrs = true; src = fetchFromGitHub { owner = "matham"; From 4ca07f61892a8ccee1d68ace5106e1c591a4b0f4 Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 22:50:32 +0200 Subject: [PATCH 0828/2378] python3Packages.fica: remove redundant structuredAttrs --- pkgs/development/python-modules/fica/default.nix | 1 - 1 file changed, 1 deletion(-) diff --git a/pkgs/development/python-modules/fica/default.nix b/pkgs/development/python-modules/fica/default.nix index 7572997f8303..afe3adf8f16d 100644 --- a/pkgs/development/python-modules/fica/default.nix +++ b/pkgs/development/python-modules/fica/default.nix @@ -23,7 +23,6 @@ buildPythonPackage (finalAttrs: { pname = "fica"; version = "0.4.1"; pyproject = true; - __structuredAttrs = true; src = fetchFromGitHub { owner = "chrispyles"; From 955756be705bc239670cdcc568a2ea9df6b2d482 Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 22:50:32 +0200 Subject: [PATCH 0829/2378] python3Packages.finetuning-scheduler: remove redundant structuredAttrs --- pkgs/development/python-modules/finetuning-scheduler/default.nix | 1 - 1 file changed, 1 deletion(-) diff --git a/pkgs/development/python-modules/finetuning-scheduler/default.nix b/pkgs/development/python-modules/finetuning-scheduler/default.nix index 71214506a82c..418a32beb1a1 100644 --- a/pkgs/development/python-modules/finetuning-scheduler/default.nix +++ b/pkgs/development/python-modules/finetuning-scheduler/default.nix @@ -20,7 +20,6 @@ buildPythonPackage (finalAttrs: { pname = "finetuning-scheduler"; version = "2.14.1"; pyproject = true; - __structuredAttrs = true; src = fetchFromGitHub { owner = "speediedan"; From 1abf0724b828c1e6a037bc4bb26a74d7718300fd Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 22:50:33 +0200 Subject: [PATCH 0830/2378] python3Packages.finufft: remove redundant structuredAttrs --- pkgs/development/python-modules/finufft/default.nix | 1 - 1 file changed, 1 deletion(-) diff --git a/pkgs/development/python-modules/finufft/default.nix b/pkgs/development/python-modules/finufft/default.nix index 3d3098cef57f..2a963429d758 100644 --- a/pkgs/development/python-modules/finufft/default.nix +++ b/pkgs/development/python-modules/finufft/default.nix @@ -18,7 +18,6 @@ buildPythonPackage (finalAttrs: { inherit (finufft) version src; format = "other"; dontBuild = true; - __structuredAttrs = true; dependencies = [ numpy From b8b9200e396278a2b5063b94d73e9e7133d530f0 Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 22:50:33 +0200 Subject: [PATCH 0831/2378] python3Packages.fireworks-ai: remove redundant structuredAttrs --- pkgs/development/python-modules/fireworks-ai/default.nix | 1 - 1 file changed, 1 deletion(-) diff --git a/pkgs/development/python-modules/fireworks-ai/default.nix b/pkgs/development/python-modules/fireworks-ai/default.nix index 3af8f911f886..397ddc91d0ad 100644 --- a/pkgs/development/python-modules/fireworks-ai/default.nix +++ b/pkgs/development/python-modules/fireworks-ai/default.nix @@ -39,7 +39,6 @@ buildPythonPackage (finalAttrs: { pname = "fireworks-ai"; version = "1.2.11"; pyproject = true; - __structuredAttrs = true; src = fetchFromGitHub { owner = "fw-ai-external"; From 5853a747776820380b3919ac956b9506230d630e Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 22:50:33 +0200 Subject: [PATCH 0832/2378] python3Packages.fitfile: remove redundant structuredAttrs --- pkgs/development/python-modules/fitfile/default.nix | 2 -- 1 file changed, 2 deletions(-) diff --git a/pkgs/development/python-modules/fitfile/default.nix b/pkgs/development/python-modules/fitfile/default.nix index c4cbac1206b1..de1ba5c84ded 100644 --- a/pkgs/development/python-modules/fitfile/default.nix +++ b/pkgs/development/python-modules/fitfile/default.nix @@ -11,8 +11,6 @@ buildPythonPackage (finalAttrs: { version = "1.0.1"; pyproject = true; - __structuredAttrs = true; - src = fetchFromGitHub { owner = "tcgoetz"; repo = "fit"; From 6b2eb9a8965493975853a3fdfc706e58eda147cb Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 22:50:34 +0200 Subject: [PATCH 0833/2378] python3Packages.flare-capa: remove redundant structuredAttrs --- pkgs/development/python-modules/flare-capa/default.nix | 2 -- 1 file changed, 2 deletions(-) diff --git a/pkgs/development/python-modules/flare-capa/default.nix b/pkgs/development/python-modules/flare-capa/default.nix index 450c6624282d..15cfd5a00399 100644 --- a/pkgs/development/python-modules/flare-capa/default.nix +++ b/pkgs/development/python-modules/flare-capa/default.nix @@ -50,8 +50,6 @@ buildPythonPackage (finalAttrs: { version = "9.4.0"; pyproject = true; - __structuredAttrs = true; - src = fetchFromGitHub { owner = "mandiant"; repo = "capa"; From 20d7c3685976c8ba91c6edc138a273ddc7da67c5 Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 22:50:34 +0200 Subject: [PATCH 0834/2378] python3Packages.flash-attn-3: remove redundant structuredAttrs --- pkgs/development/python-modules/flash-attn-3/default.nix | 1 - 1 file changed, 1 deletion(-) diff --git a/pkgs/development/python-modules/flash-attn-3/default.nix b/pkgs/development/python-modules/flash-attn-3/default.nix index 19b6b11082b3..a835a49207c3 100644 --- a/pkgs/development/python-modules/flash-attn-3/default.nix +++ b/pkgs/development/python-modules/flash-attn-3/default.nix @@ -22,7 +22,6 @@ buildPythonPackage.override { inherit (torch) stdenv; } (finalAttrs: { pname = "flash-attn-3"; version = "3.0.0-unstable-2026-06-10"; pyproject = true; - __structuredAttrs = true; # We fetch the vendored CUTLASS submodule rather than relying on `cudaPackages.cutlass`. # FA3 reaches deep into private cute/cutlass internals and is likely to be incompatible with From 25025bc2e090235dcb8e0ea89dc74601563ebbe0 Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 22:50:34 +0200 Subject: [PATCH 0835/2378] python3Packages.flash-attn-4: remove redundant structuredAttrs --- pkgs/development/python-modules/flash-attn-4/default.nix | 1 - 1 file changed, 1 deletion(-) diff --git a/pkgs/development/python-modules/flash-attn-4/default.nix b/pkgs/development/python-modules/flash-attn-4/default.nix index b818d9144af5..48f40a173012 100644 --- a/pkgs/development/python-modules/flash-attn-4/default.nix +++ b/pkgs/development/python-modules/flash-attn-4/default.nix @@ -23,7 +23,6 @@ buildPythonPackage (finalAttrs: { pname = "flash-attn-4"; version = "4.0.0.beta35"; pyproject = true; - __structuredAttrs = true; src = fetchFromGitHub { owner = "Dao-AILab"; From 46cdbc97f6ae6cab309d01b514c786cc1024a0bc Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 22:50:34 +0200 Subject: [PATCH 0836/2378] python3Packages.flash-attn: remove redundant structuredAttrs --- pkgs/development/python-modules/flash-attn/default.nix | 1 - 1 file changed, 1 deletion(-) diff --git a/pkgs/development/python-modules/flash-attn/default.nix b/pkgs/development/python-modules/flash-attn/default.nix index 501b504d7e22..f8ea0d296c97 100644 --- a/pkgs/development/python-modules/flash-attn/default.nix +++ b/pkgs/development/python-modules/flash-attn/default.nix @@ -29,7 +29,6 @@ buildPythonPackage.override { inherit (torch) stdenv; } (finalAttrs: { pname = "flash-attn"; version = "2.8.3.post2"; pyproject = true; - __structuredAttrs = true; src = fetchFromGitHub { owner = "Dao-AILab"; From 3911e807eba998fce7a3ba8602ea1ae1ef8b8981 Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 22:50:35 +0200 Subject: [PATCH 0837/2378] python3Packages.flash-linear-attention: remove redundant structuredAttrs --- .../python-modules/flash-linear-attention/default.nix | 2 -- 1 file changed, 2 deletions(-) diff --git a/pkgs/development/python-modules/flash-linear-attention/default.nix b/pkgs/development/python-modules/flash-linear-attention/default.nix index e8ea968b3be0..917cc28f4c9d 100644 --- a/pkgs/development/python-modules/flash-linear-attention/default.nix +++ b/pkgs/development/python-modules/flash-linear-attention/default.nix @@ -27,8 +27,6 @@ buildPythonPackage (finalAttrs: { version = "0.5.2"; pyproject = true; - __structuredAttrs = true; - src = fetchFromGitHub { owner = "fla-org"; repo = "flash-linear-attention"; From 2fedfcb1592e07da5df6a402a616a98d5522b1ee Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 22:50:35 +0200 Subject: [PATCH 0838/2378] python3Packages.flash-mla: remove redundant structuredAttrs --- pkgs/development/python-modules/flash-mla/default.nix | 1 - 1 file changed, 1 deletion(-) diff --git a/pkgs/development/python-modules/flash-mla/default.nix b/pkgs/development/python-modules/flash-mla/default.nix index 34533a683320..befb7ea200a2 100644 --- a/pkgs/development/python-modules/flash-mla/default.nix +++ b/pkgs/development/python-modules/flash-mla/default.nix @@ -30,7 +30,6 @@ buildPythonPackage.override { inherit (torch) stdenv; } (finalAttrs: { pname = "flash-mla"; version = "0-unstable-2026-04-29"; pyproject = true; - __structuredAttrs = true; src = fetchFromGitHub { owner = "deepseek-ai"; From 2c179dd14657edfd835610bd52bad56fed6b36dc Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 22:50:35 +0200 Subject: [PATCH 0839/2378] python3Packages.flask-apscheduler: remove redundant structuredAttrs --- pkgs/development/python-modules/flask-apscheduler/default.nix | 1 - 1 file changed, 1 deletion(-) diff --git a/pkgs/development/python-modules/flask-apscheduler/default.nix b/pkgs/development/python-modules/flask-apscheduler/default.nix index 2a86c5c30881..642e888a43d9 100644 --- a/pkgs/development/python-modules/flask-apscheduler/default.nix +++ b/pkgs/development/python-modules/flask-apscheduler/default.nix @@ -14,7 +14,6 @@ buildPythonPackage rec { pname = "flask-apscheduler"; version = "1.13.1"; pyproject = true; - __structuredAttrs = true; src = fetchFromGitHub { owner = "viniciuschiele"; From 66b7284629b9d449cd57bc1221ccc1a41bb9a29a Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 22:50:36 +0200 Subject: [PATCH 0840/2378] python3Packages.flask-expects-json: remove redundant structuredAttrs --- pkgs/development/python-modules/flask-expects-json/default.nix | 2 -- 1 file changed, 2 deletions(-) diff --git a/pkgs/development/python-modules/flask-expects-json/default.nix b/pkgs/development/python-modules/flask-expects-json/default.nix index d104e9f3e5b4..3f39b543b5c7 100644 --- a/pkgs/development/python-modules/flask-expects-json/default.nix +++ b/pkgs/development/python-modules/flask-expects-json/default.nix @@ -13,8 +13,6 @@ buildPythonPackage (finalAttrs: { version = "1.7.0"; pyproject = true; - __structuredAttrs = true; - src = fetchFromGitHub { owner = "Fischerfredl"; repo = "flask-expects-json"; From 88d6ab5a0122aba50915ed2d39c9383c94caacd0 Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 22:50:36 +0200 Subject: [PATCH 0841/2378] python3Packages.flask-ldap3-login: remove redundant structuredAttrs --- pkgs/development/python-modules/flask-ldap3-login/default.nix | 1 - 1 file changed, 1 deletion(-) diff --git a/pkgs/development/python-modules/flask-ldap3-login/default.nix b/pkgs/development/python-modules/flask-ldap3-login/default.nix index ebbf0ed81167..658a3712b6e9 100644 --- a/pkgs/development/python-modules/flask-ldap3-login/default.nix +++ b/pkgs/development/python-modules/flask-ldap3-login/default.nix @@ -16,7 +16,6 @@ buildPythonPackage rec { pname = "flask-ldap3-login"; version = "1.0.2"; pyproject = true; - __structuredAttrs = true; src = fetchFromGitHub { owner = "nickw444"; From af9af0ff2ef4102b965901c34926fd8699d919db Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 22:50:36 +0200 Subject: [PATCH 0842/2378] python3Packages.flask-static-digest: remove redundant structuredAttrs --- pkgs/development/python-modules/flask-static-digest/default.nix | 1 - 1 file changed, 1 deletion(-) diff --git a/pkgs/development/python-modules/flask-static-digest/default.nix b/pkgs/development/python-modules/flask-static-digest/default.nix index e22833682455..7d6b3b44b79c 100644 --- a/pkgs/development/python-modules/flask-static-digest/default.nix +++ b/pkgs/development/python-modules/flask-static-digest/default.nix @@ -17,7 +17,6 @@ buildPythonPackage (finalAttrs: { pname = "flask-static-digest"; version = "0.4.1"; pyproject = true; - __structuredAttrs = true; src = fetchFromGitHub { owner = "nickjj"; From 8dd80d2082bc4e304c0489d565a8eea401d55b35 Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 22:50:36 +0200 Subject: [PATCH 0843/2378] python3Packages.flax: remove redundant structuredAttrs --- pkgs/development/python-modules/flax/default.nix | 1 - 1 file changed, 1 deletion(-) diff --git a/pkgs/development/python-modules/flax/default.nix b/pkgs/development/python-modules/flax/default.nix index 84ca27eb7623..b3960c4bb096 100644 --- a/pkgs/development/python-modules/flax/default.nix +++ b/pkgs/development/python-modules/flax/default.nix @@ -38,7 +38,6 @@ buildPythonPackage (finalAttrs: { pname = "flax"; version = "0.12.10"; pyproject = true; - __structuredAttrs = true; src = fetchFromGitHub { owner = "google"; From ee3cdb6830d073102927c084223b1f11a04e2c5b Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 22:50:37 +0200 Subject: [PATCH 0844/2378] python3Packages.formulas: remove redundant structuredAttrs --- pkgs/development/python-modules/formulas/default.nix | 1 - 1 file changed, 1 deletion(-) diff --git a/pkgs/development/python-modules/formulas/default.nix b/pkgs/development/python-modules/formulas/default.nix index 9e9fd8db0ebf..45d71a7c4ff7 100644 --- a/pkgs/development/python-modules/formulas/default.nix +++ b/pkgs/development/python-modules/formulas/default.nix @@ -47,7 +47,6 @@ buildPythonPackage (finalAttrs: { pname = "formulas"; version = "1.3.4"; pyproject = true; - __structuredAttrs = true; src = fetchFromGitHub { owner = "vinci1it2000"; From 8b43589a8f94eb8ea2bfe03172583e231d3da593 Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 22:50:37 +0200 Subject: [PATCH 0845/2378] python3Packages.foss-flame: remove redundant structuredAttrs --- pkgs/development/python-modules/foss-flame/default.nix | 1 - 1 file changed, 1 deletion(-) diff --git a/pkgs/development/python-modules/foss-flame/default.nix b/pkgs/development/python-modules/foss-flame/default.nix index e5d125716872..9c3ce73def53 100644 --- a/pkgs/development/python-modules/foss-flame/default.nix +++ b/pkgs/development/python-modules/foss-flame/default.nix @@ -20,7 +20,6 @@ buildPythonPackage (finalAttrs: { pname = "foss-flame"; version = "0.21.8"; - __structuredAttrs = true; pyproject = true; src = fetchFromGitHub { From b0fd305f870276d88b8f438272d1cde2ee0757ae Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 22:50:37 +0200 Subject: [PATCH 0846/2378] python3Packages.frictionless: remove redundant structuredAttrs --- pkgs/development/python-modules/frictionless/default.nix | 1 - 1 file changed, 1 deletion(-) diff --git a/pkgs/development/python-modules/frictionless/default.nix b/pkgs/development/python-modules/frictionless/default.nix index 83b2e5aee9af..8e7b9986cbde 100644 --- a/pkgs/development/python-modules/frictionless/default.nix +++ b/pkgs/development/python-modules/frictionless/default.nix @@ -75,7 +75,6 @@ buildPythonPackage (finalAttrs: { pname = "frictionless"; version = "5.19.0"; pyproject = true; - __structuredAttrs = true; src = fetchFromGitHub { owner = "frictionlessdata"; From 1b1420759e49c90a030bd07da394cfbc4375247f Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 22:50:38 +0200 Subject: [PATCH 0847/2378] python3Packages.friendly-traceback: remove redundant structuredAttrs --- pkgs/development/python-modules/friendly-traceback/default.nix | 1 - 1 file changed, 1 deletion(-) diff --git a/pkgs/development/python-modules/friendly-traceback/default.nix b/pkgs/development/python-modules/friendly-traceback/default.nix index 652d8b32c481..54274a63f96a 100644 --- a/pkgs/development/python-modules/friendly-traceback/default.nix +++ b/pkgs/development/python-modules/friendly-traceback/default.nix @@ -14,7 +14,6 @@ buildPythonPackage { pname = "friendly-traceback"; version = "0-unstable-2025-04-13"; pyproject = true; - __structuredAttrs = true; src = fetchFromGitHub { owner = "friendly-traceback"; From f42bf6566862191c34d54dd47c34b4cf186b71a0 Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 22:50:38 +0200 Subject: [PATCH 0848/2378] python3Packages.funsor: remove redundant structuredAttrs --- pkgs/development/python-modules/funsor/default.nix | 1 - 1 file changed, 1 deletion(-) diff --git a/pkgs/development/python-modules/funsor/default.nix b/pkgs/development/python-modules/funsor/default.nix index 4c57b7fbb58c..e21cb2cb02a4 100644 --- a/pkgs/development/python-modules/funsor/default.nix +++ b/pkgs/development/python-modules/funsor/default.nix @@ -30,7 +30,6 @@ buildPythonPackage (finalAttrs: { pname = "funsor"; version = "0.4.8"; pyproject = true; - __structuredAttrs = true; src = fetchFromGitHub { owner = "pyro-ppl"; From 503bd9ebbca0eaa4e4557cd5a22d341c03848193 Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 22:50:38 +0200 Subject: [PATCH 0849/2378] python3Packages.fuzzywuzzy: remove redundant structuredAttrs --- pkgs/development/python-modules/fuzzywuzzy/default.nix | 2 -- 1 file changed, 2 deletions(-) diff --git a/pkgs/development/python-modules/fuzzywuzzy/default.nix b/pkgs/development/python-modules/fuzzywuzzy/default.nix index 21b3fc9d7f7b..ad0895512792 100644 --- a/pkgs/development/python-modules/fuzzywuzzy/default.nix +++ b/pkgs/development/python-modules/fuzzywuzzy/default.nix @@ -13,8 +13,6 @@ buildPythonPackage (finalAttrs: { version = "0.18.0"; pyproject = true; - __structuredAttrs = true; - src = fetchPypi { inherit (finalAttrs) version; pname = "fuzzywuzzy"; From 4e6ceeca7d2f1a66d00ed59c85184ced46eefa3f Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 22:50:38 +0200 Subject: [PATCH 0850/2378] python3Packages.g2pkk: remove redundant structuredAttrs --- pkgs/development/python-modules/g2pkk/default.nix | 2 -- 1 file changed, 2 deletions(-) diff --git a/pkgs/development/python-modules/g2pkk/default.nix b/pkgs/development/python-modules/g2pkk/default.nix index a8799b75e2ec..aeb9c57d8eb8 100644 --- a/pkgs/development/python-modules/g2pkk/default.nix +++ b/pkgs/development/python-modules/g2pkk/default.nix @@ -12,8 +12,6 @@ buildPythonPackage (finalAttrs: { version = "0.1.2"; pyproject = true; - __structuredAttrs = true; - src = fetchPypi { inherit (finalAttrs) pname version; hash = "sha256-YarV1Btn1x3Sm4Vw/JDSyJy3ZJMXAQHZJJJklSG0R+Q="; From 3d2d7fe3081b88e82f2942012fe188a7cace8917 Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 22:50:39 +0200 Subject: [PATCH 0851/2378] python3Packages.gcsfs: remove redundant structuredAttrs --- pkgs/development/python-modules/gcsfs/default.nix | 1 - 1 file changed, 1 deletion(-) diff --git a/pkgs/development/python-modules/gcsfs/default.nix b/pkgs/development/python-modules/gcsfs/default.nix index 4a234157ded6..cebd466f1070 100644 --- a/pkgs/development/python-modules/gcsfs/default.nix +++ b/pkgs/development/python-modules/gcsfs/default.nix @@ -26,7 +26,6 @@ buildPythonPackage (finalAttrs: { pname = "gcsfs"; version = "2026.8.0"; pyproject = true; - __structuredAttrs = true; src = fetchFromGitHub { owner = "fsspec"; From ef7d31dd51728f57b59233220433f08e4f0f1cb2 Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 22:50:39 +0200 Subject: [PATCH 0852/2378] python3Packages.gensim: remove redundant structuredAttrs --- pkgs/development/python-modules/gensim/default.nix | 2 -- 1 file changed, 2 deletions(-) diff --git a/pkgs/development/python-modules/gensim/default.nix b/pkgs/development/python-modules/gensim/default.nix index 9f962fe3ef5d..342ecb2d018c 100644 --- a/pkgs/development/python-modules/gensim/default.nix +++ b/pkgs/development/python-modules/gensim/default.nix @@ -24,8 +24,6 @@ buildPythonPackage (finalAttrs: { version = "4.4.0"; pyproject = true; - __structuredAttrs = true; - src = fetchFromGitHub { owner = "piskvorky"; repo = "gensim"; From a0336786f107e706d022aee273eb71fbee27850b Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 22:50:39 +0200 Subject: [PATCH 0853/2378] python3Packages.geoarrow-pyarrow: remove redundant structuredAttrs --- pkgs/development/python-modules/geoarrow-pyarrow/default.nix | 1 - 1 file changed, 1 deletion(-) diff --git a/pkgs/development/python-modules/geoarrow-pyarrow/default.nix b/pkgs/development/python-modules/geoarrow-pyarrow/default.nix index d77398ec5d0e..678f6640c5d5 100644 --- a/pkgs/development/python-modules/geoarrow-pyarrow/default.nix +++ b/pkgs/development/python-modules/geoarrow-pyarrow/default.nix @@ -25,7 +25,6 @@ buildPythonPackage (finalAttrs: { pname = "geoarrow-pyarrow"; version = "0.3.0"; pyproject = true; - __structuredAttrs = true; src = fetchFromGitHub { repo = "geoarrow-python"; From fdede3c1a2421e932ebe12c71b67969b08600099 Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 22:50:40 +0200 Subject: [PATCH 0854/2378] python3Packages.geoarrow-rust-{core,io}: remove redundant structuredAttrs --- pkgs/development/python-modules/geoarrow-rust/default.nix | 1 - 1 file changed, 1 deletion(-) diff --git a/pkgs/development/python-modules/geoarrow-rust/default.nix b/pkgs/development/python-modules/geoarrow-rust/default.nix index 32161008b20e..711af3e1d30a 100644 --- a/pkgs/development/python-modules/geoarrow-rust/default.nix +++ b/pkgs/development/python-modules/geoarrow-rust/default.nix @@ -69,7 +69,6 @@ let sourceRoot = "${src.name}/python/${subdir}"; cargoRoot = ".."; - __structuredAttrs = true; nativeBuildInputs = with rustPlatform; [ cargoSetupHook From 6121d4d760f4ff95839daa44d1c9ca79ee327fc8 Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 22:50:40 +0200 Subject: [PATCH 0855/2378] python3Packages.geopandas: remove redundant structuredAttrs --- pkgs/development/python-modules/geopandas/default.nix | 1 - 1 file changed, 1 deletion(-) diff --git a/pkgs/development/python-modules/geopandas/default.nix b/pkgs/development/python-modules/geopandas/default.nix index 08701406775a..dd0ea0aa62f8 100644 --- a/pkgs/development/python-modules/geopandas/default.nix +++ b/pkgs/development/python-modules/geopandas/default.nix @@ -34,7 +34,6 @@ buildPythonPackage (finalAttrs: { pname = "geopandas"; version = "1.1.4"; pyproject = true; - __structuredAttrs = true; src = fetchFromGitHub { owner = "geopandas"; From 45e9915abf1b58e582b393df73abe044bb3d36f6 Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 22:50:40 +0200 Subject: [PATCH 0856/2378] python3Packages.geopy: remove redundant structuredAttrs --- pkgs/development/python-modules/geopy/default.nix | 2 -- 1 file changed, 2 deletions(-) diff --git a/pkgs/development/python-modules/geopy/default.nix b/pkgs/development/python-modules/geopy/default.nix index 3914d857d799..9be68280d5f9 100644 --- a/pkgs/development/python-modules/geopy/default.nix +++ b/pkgs/development/python-modules/geopy/default.nix @@ -15,8 +15,6 @@ buildPythonPackage (finalAttrs: { version = "2.5.0"; pyproject = true; - __structuredAttrs = true; - src = fetchFromGitHub { owner = "geopy"; repo = "geopy"; From c6a17435a32327d4e9414db9ab2407b7f4d43635 Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 22:50:40 +0200 Subject: [PATCH 0857/2378] python3Packages.gepa: remove redundant structuredAttrs --- pkgs/development/python-modules/gepa/default.nix | 1 - 1 file changed, 1 deletion(-) diff --git a/pkgs/development/python-modules/gepa/default.nix b/pkgs/development/python-modules/gepa/default.nix index ced60e9dd8d5..e95d5753a79e 100644 --- a/pkgs/development/python-modules/gepa/default.nix +++ b/pkgs/development/python-modules/gepa/default.nix @@ -10,7 +10,6 @@ buildPythonPackage (finalAttrs: { pname = "gepa"; version = "0.1.4"; pyproject = true; - __structuredAttrs = true; src = fetchFromGitHub { owner = "gepa-ai"; From f1cfe9e66e278fee8960ebb62de3905c9e713f4f Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 22:50:41 +0200 Subject: [PATCH 0858/2378] python3Packages.gftools: remove redundant structuredAttrs --- pkgs/development/python-modules/gftools/default.nix | 2 -- 1 file changed, 2 deletions(-) diff --git a/pkgs/development/python-modules/gftools/default.nix b/pkgs/development/python-modules/gftools/default.nix index aa7ba1c30878..41d11ba87eb9 100644 --- a/pkgs/development/python-modules/gftools/default.nix +++ b/pkgs/development/python-modules/gftools/default.nix @@ -63,8 +63,6 @@ buildPythonPackage rec { version = "0.10.1"; pyproject = true; - __structuredAttrs = true; - src = fetchFromGitHub { owner = "googlefonts"; repo = "gftools"; From 92da79939fea39208941f0131cbd75c2f4e51f7c Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 22:50:41 +0200 Subject: [PATCH 0859/2378] python3Packages.ggml-python: remove redundant structuredAttrs --- pkgs/development/python-modules/ggml-python/default.nix | 1 - 1 file changed, 1 deletion(-) diff --git a/pkgs/development/python-modules/ggml-python/default.nix b/pkgs/development/python-modules/ggml-python/default.nix index acb346e7486a..0acddc64b843 100644 --- a/pkgs/development/python-modules/ggml-python/default.nix +++ b/pkgs/development/python-modules/ggml-python/default.nix @@ -37,7 +37,6 @@ buildPythonPackage (finalAttrs: { pname = "ggml-python"; version = "0.0.45"; pyproject = true; - __structuredAttrs = true; src = fetchFromGitHub { owner = "abetlen"; From d41519cdef60ce6d8a200e69fdf00af96c508c37 Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 22:50:41 +0200 Subject: [PATCH 0860/2378] python3Packages.gibberish-detector: remove redundant structuredAttrs --- pkgs/development/python-modules/gibberish-detector/default.nix | 2 -- 1 file changed, 2 deletions(-) diff --git a/pkgs/development/python-modules/gibberish-detector/default.nix b/pkgs/development/python-modules/gibberish-detector/default.nix index 522a7fcb4224..d126d6b5dc7f 100644 --- a/pkgs/development/python-modules/gibberish-detector/default.nix +++ b/pkgs/development/python-modules/gibberish-detector/default.nix @@ -11,8 +11,6 @@ buildPythonPackage (finalAttrs: { version = "0.1.1"; pyproject = true; - __structuredAttrs = true; - src = fetchFromGitHub { owner = "domanchi"; repo = "gibberish-detector"; From bc84ac70ffe741563bf531d5d8dc7805f0f73224 Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 22:50:42 +0200 Subject: [PATCH 0861/2378] python3Packages.gilknocker: remove redundant structuredAttrs --- pkgs/development/python-modules/gilknocker/default.nix | 1 - 1 file changed, 1 deletion(-) diff --git a/pkgs/development/python-modules/gilknocker/default.nix b/pkgs/development/python-modules/gilknocker/default.nix index 6b733d96efed..c3ce5e82d4bf 100644 --- a/pkgs/development/python-modules/gilknocker/default.nix +++ b/pkgs/development/python-modules/gilknocker/default.nix @@ -22,7 +22,6 @@ buildPythonPackage (finalAttrs: { pname = "gilknocker"; version = "0.4.2-post3"; pyproject = true; - __structuredAttrs = true; src = fetchFromGitHub { owner = "milesgranger"; From bf06ad12f9589a01ee0fd102b9c778b9835fc510 Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 22:50:42 +0200 Subject: [PATCH 0862/2378] python3Packages.git-dummy: remove redundant structuredAttrs --- pkgs/development/python-modules/git-dummy/default.nix | 1 - 1 file changed, 1 deletion(-) diff --git a/pkgs/development/python-modules/git-dummy/default.nix b/pkgs/development/python-modules/git-dummy/default.nix index 4a5c6e4c3325..f3b71d669b30 100644 --- a/pkgs/development/python-modules/git-dummy/default.nix +++ b/pkgs/development/python-modules/git-dummy/default.nix @@ -20,7 +20,6 @@ buildPythonPackage (finalAttrs: { pname = "git-dummy"; version = "0.1.2"; pyproject = true; - __structuredAttrs = true; src = fetchFromGitHub { owner = "initialcommit-com"; From 23f3286582999591fc62a8a77a23b129dbfdcb64 Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 22:50:42 +0200 Subject: [PATCH 0863/2378] python3Packages.gliner: remove redundant structuredAttrs --- pkgs/development/python-modules/gliner/default.nix | 1 - 1 file changed, 1 deletion(-) diff --git a/pkgs/development/python-modules/gliner/default.nix b/pkgs/development/python-modules/gliner/default.nix index a6911bcb66ea..39548d89e02e 100644 --- a/pkgs/development/python-modules/gliner/default.nix +++ b/pkgs/development/python-modules/gliner/default.nix @@ -20,7 +20,6 @@ buildPythonPackage (finalAttrs: { pname = "gliner"; version = "0.2.29"; pyproject = true; - __structuredAttrs = true; src = fetchFromGitHub { owner = "urchade"; From 9cb1c7bdd969cc79fdffc4392b7d6b368f424e4e Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 22:50:42 +0200 Subject: [PATCH 0864/2378] python3Packages.gluonts: remove redundant structuredAttrs --- pkgs/development/python-modules/gluonts/default.nix | 1 - 1 file changed, 1 deletion(-) diff --git a/pkgs/development/python-modules/gluonts/default.nix b/pkgs/development/python-modules/gluonts/default.nix index fd823790f17c..052c502d65a3 100644 --- a/pkgs/development/python-modules/gluonts/default.nix +++ b/pkgs/development/python-modules/gluonts/default.nix @@ -34,7 +34,6 @@ buildPythonPackage (finalAttrs: { pname = "gluonts"; version = "0.17.0"; pyproject = true; - __structuredAttrs = true; src = fetchFromGitHub { owner = "awslabs"; From f737d71bf53cd6c3329329829e6540ed997b29ec Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 22:50:43 +0200 Subject: [PATCH 0865/2378] python3Packages.google-play-scraper: remove redundant structuredAttrs --- pkgs/development/python-modules/google-play-scraper/default.nix | 1 - 1 file changed, 1 deletion(-) diff --git a/pkgs/development/python-modules/google-play-scraper/default.nix b/pkgs/development/python-modules/google-play-scraper/default.nix index 3821ff5c4a9b..37b3d509ecd8 100644 --- a/pkgs/development/python-modules/google-play-scraper/default.nix +++ b/pkgs/development/python-modules/google-play-scraper/default.nix @@ -9,7 +9,6 @@ buildPythonPackage { pname = "google-play-scraper"; version = "1.2.7-unstable-2024-06-07"; pyproject = true; - __structuredAttrs = true; src = fetchFromGitHub { owner = "JoMingyu"; From 957800c7fd6fce9adb00427fc61bf20dfde06334 Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 22:50:43 +0200 Subject: [PATCH 0866/2378] python3Packages.gpuctypes: remove redundant structuredAttrs --- pkgs/development/python-modules/gpuctypes/default.nix | 1 - 1 file changed, 1 deletion(-) diff --git a/pkgs/development/python-modules/gpuctypes/default.nix b/pkgs/development/python-modules/gpuctypes/default.nix index e66bd124f35f..05af1fbbaca1 100644 --- a/pkgs/development/python-modules/gpuctypes/default.nix +++ b/pkgs/development/python-modules/gpuctypes/default.nix @@ -24,7 +24,6 @@ buildPythonPackage (finalAttrs: { pname = "gpuctypes"; version = "0.3.0"; pyproject = true; - __structuredAttrs = true; src = fetchFromGitHub { repo = "gpuctypes"; From effe1894d8e1f1cb1405c08cc360cf9720ac30e4 Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 22:50:43 +0200 Subject: [PATCH 0867/2378] python3Packages.gpxpy: remove redundant structuredAttrs --- pkgs/development/python-modules/gpxpy/default.nix | 1 - 1 file changed, 1 deletion(-) diff --git a/pkgs/development/python-modules/gpxpy/default.nix b/pkgs/development/python-modules/gpxpy/default.nix index 9dadc39692bb..aa1583270b7f 100644 --- a/pkgs/development/python-modules/gpxpy/default.nix +++ b/pkgs/development/python-modules/gpxpy/default.nix @@ -11,7 +11,6 @@ buildPythonPackage (finalAttrs: { pname = "gpxpy"; version = "1.6.2"; - __structuredAttrs = true; pyproject = true; src = fetchFromGitHub { From 6ee0b2f7fd58b50fb88b42a03baf5ec148d91c4a Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 22:50:44 +0200 Subject: [PATCH 0868/2378] python3Packages.gradio: remove redundant structuredAttrs --- pkgs/development/python-modules/gradio/default.nix | 1 - 1 file changed, 1 deletion(-) diff --git a/pkgs/development/python-modules/gradio/default.nix b/pkgs/development/python-modules/gradio/default.nix index b763c67cd9fb..1f51ce9a024a 100644 --- a/pkgs/development/python-modules/gradio/default.nix +++ b/pkgs/development/python-modules/gradio/default.nix @@ -84,7 +84,6 @@ buildPythonPackage (finalAttrs: { pname = "gradio"; version = "6.29.0"; # please always backport gradio changes pyproject = true; - __structuredAttrs = true; src = fetchFromGitHub { owner = "gradio-app"; From 3f7a65bcbb27f0484b23b84410ce314d1602f88d Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 22:50:44 +0200 Subject: [PATCH 0869/2378] python3Packages.graph-tool: remove redundant structuredAttrs --- pkgs/development/python-modules/graph-tool/default.nix | 2 -- 1 file changed, 2 deletions(-) diff --git a/pkgs/development/python-modules/graph-tool/default.nix b/pkgs/development/python-modules/graph-tool/default.nix index 2dc0c6d62a57..f9feb2b043b4 100644 --- a/pkgs/development/python-modules/graph-tool/default.nix +++ b/pkgs/development/python-modules/graph-tool/default.nix @@ -38,8 +38,6 @@ buildPythonPackage (finalAttrs: { version = "3.9"; pyproject = false; - __structuredAttrs = true; - src = fetchurl { url = "https://downloads.skewed.de/graph-tool/graph-tool-${finalAttrs.version}.tar.bz2"; hash = "sha256-gSqzV1yuE91vqtluTZMnl6enGoRICh6su4dPLrr8fGk="; From f14776573f2edc5d10d693e135dd921824247d88 Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 22:50:44 +0200 Subject: [PATCH 0870/2378] python3Packages.graphqlclient: remove redundant structuredAttrs --- pkgs/development/python-modules/graphqlclient/default.nix | 2 -- 1 file changed, 2 deletions(-) diff --git a/pkgs/development/python-modules/graphqlclient/default.nix b/pkgs/development/python-modules/graphqlclient/default.nix index 2a8263a79ffc..efa282e7b544 100644 --- a/pkgs/development/python-modules/graphqlclient/default.nix +++ b/pkgs/development/python-modules/graphqlclient/default.nix @@ -11,8 +11,6 @@ buildPythonPackage (finalAttrs: { version = "0.2.4"; pyproject = true; - __structuredAttrs = true; - src = fetchPypi { pname = "graphqlclient"; inherit (finalAttrs) version; From 79cafac2902b932a2e98c3e30649b07676ac8fd1 Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 22:50:44 +0200 Subject: [PATCH 0871/2378] python3Packages.greek-accentuation: remove redundant structuredAttrs --- pkgs/development/python-modules/greek-accentuation/default.nix | 2 -- 1 file changed, 2 deletions(-) diff --git a/pkgs/development/python-modules/greek-accentuation/default.nix b/pkgs/development/python-modules/greek-accentuation/default.nix index fb7838425bff..9f8391af57e1 100644 --- a/pkgs/development/python-modules/greek-accentuation/default.nix +++ b/pkgs/development/python-modules/greek-accentuation/default.nix @@ -9,8 +9,6 @@ buildPythonPackage (finalAttrs: { version = "1.2.0"; pyproject = true; - __structuredAttrs = true; - src = fetchPypi { pname = "greek-accentuation"; inherit (finalAttrs) version; From 188e050cb38e967d5c3380844a0bb3abd93d762c Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 22:50:45 +0200 Subject: [PATCH 0872/2378] python3Packages.green: remove redundant structuredAttrs --- pkgs/development/python-modules/green/default.nix | 2 -- 1 file changed, 2 deletions(-) diff --git a/pkgs/development/python-modules/green/default.nix b/pkgs/development/python-modules/green/default.nix index 9e5d11b502b5..e32e675551e0 100644 --- a/pkgs/development/python-modules/green/default.nix +++ b/pkgs/development/python-modules/green/default.nix @@ -14,8 +14,6 @@ buildPythonPackage (finalAttrs: { version = "4.0.2"; pyproject = true; - __structuredAttrs = true; - src = fetchPypi { pname = "green"; inherit (finalAttrs) version; From 9b59b692a3b02094330afff299b651e38f784e2c Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 22:50:45 +0200 Subject: [PATCH 0873/2378] python3Packages.gremlinpython: remove redundant structuredAttrs --- pkgs/development/python-modules/gremlinpython/default.nix | 1 - 1 file changed, 1 deletion(-) diff --git a/pkgs/development/python-modules/gremlinpython/default.nix b/pkgs/development/python-modules/gremlinpython/default.nix index 19881387cec4..4478dca2e7f1 100644 --- a/pkgs/development/python-modules/gremlinpython/default.nix +++ b/pkgs/development/python-modules/gremlinpython/default.nix @@ -15,7 +15,6 @@ }: buildPythonPackage rec { - __structuredAttrs = true; pname = "gremlinpython"; version = "3.8.0"; From ec838a718afd68846c46dbb2e1033065819c3411 Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 22:50:46 +0200 Subject: [PATCH 0874/2378] python3Packages.grequests: remove redundant structuredAttrs --- pkgs/development/python-modules/grequests/default.nix | 2 -- 1 file changed, 2 deletions(-) diff --git a/pkgs/development/python-modules/grequests/default.nix b/pkgs/development/python-modules/grequests/default.nix index dbe51a167420..19b9ec7f714f 100644 --- a/pkgs/development/python-modules/grequests/default.nix +++ b/pkgs/development/python-modules/grequests/default.nix @@ -12,8 +12,6 @@ buildPythonPackage (finalAttrs: { version = "0.7.0"; pyproject = true; - __structuredAttrs = true; - src = fetchPypi { pname = "grequests"; inherit (finalAttrs) version; From 16f27a8091e850be7d6e48ce476c5f48c8899367 Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 22:50:46 +0200 Subject: [PATCH 0875/2378] python3Packages.grip: remove redundant structuredAttrs --- pkgs/development/python-modules/grip/default.nix | 2 -- 1 file changed, 2 deletions(-) diff --git a/pkgs/development/python-modules/grip/default.nix b/pkgs/development/python-modules/grip/default.nix index 53a81d5003e8..8f992e9df07c 100644 --- a/pkgs/development/python-modules/grip/default.nix +++ b/pkgs/development/python-modules/grip/default.nix @@ -22,8 +22,6 @@ buildPythonPackage (finalAttrs: { version = "4.6.1"; pyproject = true; - __structuredAttrs = true; - src = fetchFromGitHub { owner = "joeyespo"; repo = "grip"; From 56fcd2b549592d5fc67efa5d29242bfbae3565c5 Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 22:50:46 +0200 Subject: [PATCH 0876/2378] python3Packages.groestlcoin-hash: remove redundant structuredAttrs --- pkgs/development/python-modules/groestlcoin-hash/default.nix | 2 -- 1 file changed, 2 deletions(-) diff --git a/pkgs/development/python-modules/groestlcoin-hash/default.nix b/pkgs/development/python-modules/groestlcoin-hash/default.nix index 4806e76b6182..d036f6064990 100644 --- a/pkgs/development/python-modules/groestlcoin-hash/default.nix +++ b/pkgs/development/python-modules/groestlcoin-hash/default.nix @@ -10,8 +10,6 @@ buildPythonPackage (finalAttrs: { version = "1.0.3"; pyproject = true; - __structuredAttrs = true; - src = fetchPypi { pname = "groestlcoin_hash"; inherit (finalAttrs) version; From 85cb80af059ca19c4f71fc3fd48b7019aeeb025d Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 22:50:46 +0200 Subject: [PATCH 0877/2378] python3Packages.grpcio-gcp: remove redundant structuredAttrs --- pkgs/development/python-modules/grpcio-gcp/default.nix | 2 -- 1 file changed, 2 deletions(-) diff --git a/pkgs/development/python-modules/grpcio-gcp/default.nix b/pkgs/development/python-modules/grpcio-gcp/default.nix index 7664744bc6c8..475acf2345b2 100644 --- a/pkgs/development/python-modules/grpcio-gcp/default.nix +++ b/pkgs/development/python-modules/grpcio-gcp/default.nix @@ -11,8 +11,6 @@ buildPythonPackage (finalAttrs: { version = "0.2.2"; pyproject = true; - __structuredAttrs = true; - src = fetchPypi { pname = "grpcio-gcp"; inherit (finalAttrs) version; From 6bc22d621448868865e0cb62afb67ec1c3acc728 Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 22:50:47 +0200 Subject: [PATCH 0878/2378] python3Packages.gtts-token: remove redundant structuredAttrs --- pkgs/development/python-modules/gtts-token/default.nix | 2 -- 1 file changed, 2 deletions(-) diff --git a/pkgs/development/python-modules/gtts-token/default.nix b/pkgs/development/python-modules/gtts-token/default.nix index 11eef7782fc5..4a9fc1062b40 100644 --- a/pkgs/development/python-modules/gtts-token/default.nix +++ b/pkgs/development/python-modules/gtts-token/default.nix @@ -12,8 +12,6 @@ buildPythonPackage (finalAttrs: { version = "1.1.4"; pyproject = true; - __structuredAttrs = true; - src = fetchFromGitHub { owner = "boudewijn26"; repo = "gTTS-token"; From c096ef37b5f743d7cfd7f915a3245263bd631184 Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 22:50:47 +0200 Subject: [PATCH 0879/2378] python3Packages.guessit: remove redundant structuredAttrs --- pkgs/development/python-modules/guessit/default.nix | 2 -- 1 file changed, 2 deletions(-) diff --git a/pkgs/development/python-modules/guessit/default.nix b/pkgs/development/python-modules/guessit/default.nix index d57a95009c9a..10f49b023a16 100644 --- a/pkgs/development/python-modules/guessit/default.nix +++ b/pkgs/development/python-modules/guessit/default.nix @@ -18,8 +18,6 @@ buildPythonPackage (finalAttrs: { version = "4.4.0"; pyproject = true; - __structuredAttrs = true; - src = fetchPypi { pname = "guessit"; inherit (finalAttrs) version; From a9c1a87ccef2c0ece0ef2c4eefbcea89ec56fd74 Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 22:50:47 +0200 Subject: [PATCH 0880/2378] python3Packages.gviz-api: remove redundant structuredAttrs --- pkgs/development/python-modules/gviz-api/default.nix | 2 -- 1 file changed, 2 deletions(-) diff --git a/pkgs/development/python-modules/gviz-api/default.nix b/pkgs/development/python-modules/gviz-api/default.nix index 9486849445d1..7aeeb15fbda0 100644 --- a/pkgs/development/python-modules/gviz-api/default.nix +++ b/pkgs/development/python-modules/gviz-api/default.nix @@ -11,8 +11,6 @@ buildPythonPackage (finalAttrs: { version = "1.10.0"; pyproject = true; - __structuredAttrs = true; - src = fetchPypi { inherit (finalAttrs) pname version; hash = "sha256-hGaS3YzHMiT8MbGOQVib2TThzAUJDGV2r0tLJsLnG5A="; From 55ea00ed879b6baa810dc87cf19c27dacbb604ca Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 22:50:48 +0200 Subject: [PATCH 0881/2378] python3Packages.gymnasium: remove redundant structuredAttrs --- pkgs/development/python-modules/gymnasium/default.nix | 1 - 1 file changed, 1 deletion(-) diff --git a/pkgs/development/python-modules/gymnasium/default.nix b/pkgs/development/python-modules/gymnasium/default.nix index adee12c61634..3cf34a5ec3a5 100644 --- a/pkgs/development/python-modules/gymnasium/default.nix +++ b/pkgs/development/python-modules/gymnasium/default.nix @@ -40,7 +40,6 @@ buildPythonPackage (finalAttrs: { pname = "gymnasium"; version = "1.4.0"; pyproject = true; - __structuredAttrs = true; src = fetchFromGitHub { owner = "Farama-Foundation"; From e59b5b507edb2d603353a26a9f3c6b9e9da40af2 Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 22:50:48 +0200 Subject: [PATCH 0882/2378] python3Packages.hakuin: remove redundant structuredAttrs --- pkgs/development/python-modules/hakuin/default.nix | 2 -- 1 file changed, 2 deletions(-) diff --git a/pkgs/development/python-modules/hakuin/default.nix b/pkgs/development/python-modules/hakuin/default.nix index 1f760768a110..0ebd4e0b74a5 100644 --- a/pkgs/development/python-modules/hakuin/default.nix +++ b/pkgs/development/python-modules/hakuin/default.nix @@ -15,8 +15,6 @@ buildPythonPackage (finalAttrs: { version = "0.2.2"; pyproject = true; - __structuredAttrs = true; - src = fetchFromGitHub { owner = "pruzko"; repo = "hakuin"; From 5660ce76f7feac0fe78186fb527563588451ad01 Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 22:50:48 +0200 Subject: [PATCH 0883/2378] python3Packages.hebi-py: remove redundant structuredAttrs --- pkgs/development/python-modules/hebi-py/default.nix | 1 - 1 file changed, 1 deletion(-) diff --git a/pkgs/development/python-modules/hebi-py/default.nix b/pkgs/development/python-modules/hebi-py/default.nix index 93f90a100c12..a5c4ad7fb7df 100644 --- a/pkgs/development/python-modules/hebi-py/default.nix +++ b/pkgs/development/python-modules/hebi-py/default.nix @@ -21,7 +21,6 @@ buildPythonPackage (finalAttrs: { hash = "sha256-KvAUshMFDu+QCQcdSI2i4SmnLm+sOMPvu8JUCs912Go="; }; - __structuredAttrs = true; build-system = [ setuptools patchelfUnstable # Depends on --clear-execstack which is not in any tagged release yet From 537975733c247d7ba788cffb5aaf1b77a3c3f079 Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 22:50:48 +0200 Subject: [PATCH 0884/2378] python3Packages.hepdata-converter: remove redundant structuredAttrs --- pkgs/development/python-modules/hepdata-converter/default.nix | 1 - 1 file changed, 1 deletion(-) diff --git a/pkgs/development/python-modules/hepdata-converter/default.nix b/pkgs/development/python-modules/hepdata-converter/default.nix index 1dc289c89e32..6ba25d5c48c6 100644 --- a/pkgs/development/python-modules/hepdata-converter/default.nix +++ b/pkgs/development/python-modules/hepdata-converter/default.nix @@ -14,7 +14,6 @@ buildPythonPackage (finalAttrs: { pname = "hepdata-converter"; version = "0.3.3"; pyproject = true; - __structuredAttrs = true; src = fetchFromGitHub { owner = "HEPData"; From e3f6de18ca5d076fba336caebe30cb622faee084 Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 22:50:49 +0200 Subject: [PATCH 0885/2378] python3Packages.hepdata-lib: remove redundant structuredAttrs --- pkgs/development/python-modules/hepdata-lib/default.nix | 1 - 1 file changed, 1 deletion(-) diff --git a/pkgs/development/python-modules/hepdata-lib/default.nix b/pkgs/development/python-modules/hepdata-lib/default.nix index f1b22015df34..deb4b02a6b58 100644 --- a/pkgs/development/python-modules/hepdata-lib/default.nix +++ b/pkgs/development/python-modules/hepdata-lib/default.nix @@ -19,7 +19,6 @@ buildPythonPackage (finalAttrs: { pname = "hepdata_lib"; version = "0.21.0"; pyproject = true; - __structuredAttrs = true; src = fetchFromGitHub { owner = "HEPData"; From 3d33edcd4856d30e6f2c96d752f3bc7f7917a3e5 Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 22:50:49 +0200 Subject: [PATCH 0886/2378] python3Packages.hepdata-validator: remove redundant structuredAttrs --- pkgs/development/python-modules/hepdata-validator/default.nix | 1 - 1 file changed, 1 deletion(-) diff --git a/pkgs/development/python-modules/hepdata-validator/default.nix b/pkgs/development/python-modules/hepdata-validator/default.nix index a2b4bcd2524c..c07d048d3f3c 100644 --- a/pkgs/development/python-modules/hepdata-validator/default.nix +++ b/pkgs/development/python-modules/hepdata-validator/default.nix @@ -17,7 +17,6 @@ buildPythonPackage (finalAttrs: { pname = "hepdata-validator"; version = "0.3.6"; pyproject = true; - __structuredAttrs = true; src = fetchFromGitHub { owner = "HEPData"; From 2674c613d97004fd159a9ee551d77114c97a16f8 Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 22:50:49 +0200 Subject: [PATCH 0887/2378] python3Packages.heretic-llm: remove redundant structuredAttrs --- pkgs/development/python-modules/heretic-llm/default.nix | 2 -- 1 file changed, 2 deletions(-) diff --git a/pkgs/development/python-modules/heretic-llm/default.nix b/pkgs/development/python-modules/heretic-llm/default.nix index df322e60aca3..b524a235f443 100644 --- a/pkgs/development/python-modules/heretic-llm/default.nix +++ b/pkgs/development/python-modules/heretic-llm/default.nix @@ -32,8 +32,6 @@ buildPythonPackage (finalAttrs: { version = "1.4.0"; pyproject = true; - __structuredAttrs = true; - src = fetchFromGitHub { owner = "p-e-w"; repo = "heretic"; From f50e11f72dab6d2bcfd6c7f25e470ba7239aaa8b Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 22:50:50 +0200 Subject: [PATCH 0888/2378] python3Packages.hf-gradio: remove redundant structuredAttrs --- pkgs/development/python-modules/hf-gradio/default.nix | 1 - 1 file changed, 1 deletion(-) diff --git a/pkgs/development/python-modules/hf-gradio/default.nix b/pkgs/development/python-modules/hf-gradio/default.nix index 7dfd59ce40a9..899896b88997 100644 --- a/pkgs/development/python-modules/hf-gradio/default.nix +++ b/pkgs/development/python-modules/hf-gradio/default.nix @@ -15,7 +15,6 @@ buildPythonPackage (finalAttrs: { pname = "hf-gradio"; version = "0.4.1"; pyproject = true; - __structuredAttrs = true; # No tags on GitHub # https://github.com/gradio-app/hf-gradio/issues/2 From 78811f5a06e853b779f4f170bb1ee4e7ba5c69c8 Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 22:50:50 +0200 Subject: [PATCH 0889/2378] python3Packages.hf-xet: remove redundant structuredAttrs --- pkgs/development/python-modules/hf-xet/default.nix | 1 - 1 file changed, 1 deletion(-) diff --git a/pkgs/development/python-modules/hf-xet/default.nix b/pkgs/development/python-modules/hf-xet/default.nix index ba1821fa8127..3a0f5368aa41 100644 --- a/pkgs/development/python-modules/hf-xet/default.nix +++ b/pkgs/development/python-modules/hf-xet/default.nix @@ -12,7 +12,6 @@ buildPythonPackage (finalAttrs: { pname = "hf-xet"; version = "1.6.0"; pyproject = true; - __structuredAttrs = true; src = fetchFromGitHub { owner = "huggingface"; From 3a598c09effaf8096e6e50dd0dcc22db2f32323f Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 22:50:50 +0200 Subject: [PATCH 0890/2378] python3Packages.hist: remove redundant structuredAttrs --- pkgs/development/python-modules/hist/default.nix | 1 - 1 file changed, 1 deletion(-) diff --git a/pkgs/development/python-modules/hist/default.nix b/pkgs/development/python-modules/hist/default.nix index 14ec4083611b..e22d3347b02b 100644 --- a/pkgs/development/python-modules/hist/default.nix +++ b/pkgs/development/python-modules/hist/default.nix @@ -22,7 +22,6 @@ buildPythonPackage (finalAttrs: { pname = "hist"; version = "2.12.0"; pyproject = true; - __structuredAttrs = true; src = fetchFromGitHub { owner = "scikit-hep"; From 514dbe107e3b04713db852cdae2b1c2dc1c4eeca Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 22:50:50 +0200 Subject: [PATCH 0891/2378] python3Packages.holoviews: remove redundant structuredAttrs --- pkgs/development/python-modules/holoviews/default.nix | 1 - 1 file changed, 1 deletion(-) diff --git a/pkgs/development/python-modules/holoviews/default.nix b/pkgs/development/python-modules/holoviews/default.nix index 5e99d68eb4a1..3d64f204617b 100644 --- a/pkgs/development/python-modules/holoviews/default.nix +++ b/pkgs/development/python-modules/holoviews/default.nix @@ -26,7 +26,6 @@ buildPythonPackage (finalAttrs: { pname = "holoviews"; version = "1.23.1"; pyproject = true; - __structuredAttrs = true; src = fetchFromGitHub { owner = "holoviz"; From d7019c765b00ae96cd050b89863fb3ffa65f5786 Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 22:50:51 +0200 Subject: [PATCH 0892/2378] python3Packages.hoptorch: remove redundant structuredAttrs --- pkgs/development/python-modules/hoptorch/default.nix | 1 - 1 file changed, 1 deletion(-) diff --git a/pkgs/development/python-modules/hoptorch/default.nix b/pkgs/development/python-modules/hoptorch/default.nix index 6c15e10de20b..ee136ae5a8cd 100644 --- a/pkgs/development/python-modules/hoptorch/default.nix +++ b/pkgs/development/python-modules/hoptorch/default.nix @@ -18,7 +18,6 @@ buildPythonPackage (finalAttrs: { pname = "hoptorch"; version = "0.1.4"; pyproject = true; - __structuredAttrs = true; src = fetchFromGitHub { owner = "vmoens"; From fc99e95b62fce8a4c2b3bede54791ceb5a068720 Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 22:50:51 +0200 Subject: [PATCH 0893/2378] python3Packages.htmlgen: remove redundant structuredAttrs --- pkgs/development/python-modules/htmlgen/default.nix | 1 - 1 file changed, 1 deletion(-) diff --git a/pkgs/development/python-modules/htmlgen/default.nix b/pkgs/development/python-modules/htmlgen/default.nix index 06dd10d30eb5..df0185d8bc35 100644 --- a/pkgs/development/python-modules/htmlgen/default.nix +++ b/pkgs/development/python-modules/htmlgen/default.nix @@ -17,7 +17,6 @@ buildPythonPackage (finalAttrs: { pname = "htmlgen"; version = "2.0.0"; - __structuredAttrs = true; pyproject = true; src = fetchFromGitHub { From 1740d18b830918f6ad99befe57e8b0430ee43085 Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 22:50:51 +0200 Subject: [PATCH 0894/2378] python3Packages.http-tools: remove redundant structuredAttrs --- pkgs/development/python-modules/http-tools/default.nix | 1 - 1 file changed, 1 deletion(-) diff --git a/pkgs/development/python-modules/http-tools/default.nix b/pkgs/development/python-modules/http-tools/default.nix index a4dbdc91e5a7..5f3d702bf5e6 100644 --- a/pkgs/development/python-modules/http-tools/default.nix +++ b/pkgs/development/python-modules/http-tools/default.nix @@ -11,7 +11,6 @@ buildPythonPackage (finalAttrs: { pname = "http-tools"; version = "6.0.1"; pyproject = true; - __structuredAttrs = true; src = fetchFromGitHub { owner = "MobSF"; From bfab0f17b893a153cb3acd2b181ab1a78dac47fe Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 22:50:52 +0200 Subject: [PATCH 0895/2378] python3Packages.httpcore2: remove redundant structuredAttrs --- pkgs/development/python-modules/httpcore2/default.nix | 1 - 1 file changed, 1 deletion(-) diff --git a/pkgs/development/python-modules/httpcore2/default.nix b/pkgs/development/python-modules/httpcore2/default.nix index f888b9cb524e..defacf585f6e 100644 --- a/pkgs/development/python-modules/httpcore2/default.nix +++ b/pkgs/development/python-modules/httpcore2/default.nix @@ -90,7 +90,6 @@ buildPythonPackage (finalAttrs: { }; __darwinAllowLocalNetworking = true; - __structuredAttrs = true; meta = { description = "A next generation HTTP client for Python"; From 8c0ce337cc18d45812768b84a80822cf1eb85c2e Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 22:50:52 +0200 Subject: [PATCH 0896/2378] python3Packages.httplib2shim: remove redundant structuredAttrs --- pkgs/development/python-modules/httplib2shim/default.nix | 2 -- 1 file changed, 2 deletions(-) diff --git a/pkgs/development/python-modules/httplib2shim/default.nix b/pkgs/development/python-modules/httplib2shim/default.nix index b11ceba962db..38911b1ed02d 100644 --- a/pkgs/development/python-modules/httplib2shim/default.nix +++ b/pkgs/development/python-modules/httplib2shim/default.nix @@ -15,8 +15,6 @@ buildPythonPackage (finalAttrs: { version = "0.0.2"; pyproject = true; - __structuredAttrs = true; - src = fetchFromGitHub { owner = "GoogleCloudPlatform"; repo = "httplib2shim"; From 8d9cfc825945fff3610bce99096935e5ecb50e09 Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 22:50:52 +0200 Subject: [PATCH 0897/2378] python3Packages.httpx2: remove redundant structuredAttrs --- pkgs/development/python-modules/httpx2/default.nix | 1 - 1 file changed, 1 deletion(-) diff --git a/pkgs/development/python-modules/httpx2/default.nix b/pkgs/development/python-modules/httpx2/default.nix index 4ce19affbd67..56248cdfed2a 100644 --- a/pkgs/development/python-modules/httpx2/default.nix +++ b/pkgs/development/python-modules/httpx2/default.nix @@ -127,7 +127,6 @@ buildPythonPackage (finalAttrs: { }; __darwinAllowLocalNetworking = true; - __structuredAttrs = true; meta = { description = "A next generation HTTP client for Python"; From 1760fb449e2541f85612206ddb827a8fee6a51f7 Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 22:50:52 +0200 Subject: [PATCH 0898/2378] python3Packages.huggingface-hub: remove redundant structuredAttrs --- pkgs/development/python-modules/huggingface-hub/default.nix | 1 - 1 file changed, 1 deletion(-) diff --git a/pkgs/development/python-modules/huggingface-hub/default.nix b/pkgs/development/python-modules/huggingface-hub/default.nix index 1e0b3a899016..cb580ef3f14f 100644 --- a/pkgs/development/python-modules/huggingface-hub/default.nix +++ b/pkgs/development/python-modules/huggingface-hub/default.nix @@ -43,7 +43,6 @@ buildPythonPackage (finalAttrs: { pname = "huggingface-hub"; version = "1.30.0"; pyproject = true; - __structuredAttrs = true; src = fetchFromGitHub { owner = "huggingface"; From 396ccc7ca53ae90579d6c81c7304802b2756289e Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 22:50:53 +0200 Subject: [PATCH 0899/2378] python3Packages.hvplot: remove redundant structuredAttrs --- pkgs/development/python-modules/hvplot/default.nix | 1 - 1 file changed, 1 deletion(-) diff --git a/pkgs/development/python-modules/hvplot/default.nix b/pkgs/development/python-modules/hvplot/default.nix index d74f699a0e80..da95dc44a9a6 100644 --- a/pkgs/development/python-modules/hvplot/default.nix +++ b/pkgs/development/python-modules/hvplot/default.nix @@ -29,7 +29,6 @@ buildPythonPackage (finalAttrs: { pname = "hvplot"; version = "0.12.2"; pyproject = true; - __structuredAttrs = true; src = fetchFromGitHub { owner = "holoviz"; From a0ed89834c5a60a53a81ce09030ec01907688506 Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 22:50:53 +0200 Subject: [PATCH 0900/2378] python3Packages.hydra-core: remove redundant structuredAttrs --- pkgs/development/python-modules/hydra-core/default.nix | 1 - 1 file changed, 1 deletion(-) diff --git a/pkgs/development/python-modules/hydra-core/default.nix b/pkgs/development/python-modules/hydra-core/default.nix index ba3b417d887b..bf80bfb70c7a 100644 --- a/pkgs/development/python-modules/hydra-core/default.nix +++ b/pkgs/development/python-modules/hydra-core/default.nix @@ -28,7 +28,6 @@ buildPythonPackage (finalAttrs: { pname = "hydra-core"; version = "1.3.5"; pyproject = true; - __structuredAttrs = true; src = fetchFromGitHub { owner = "facebookresearch"; From f1871ea13b50959eb817636db65ab5633ebbd9ca Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 22:50:53 +0200 Subject: [PATCH 0901/2378] python3Packages.hyperscan: remove redundant structuredAttrs --- pkgs/development/python-modules/hyperscan/default.nix | 1 - 1 file changed, 1 deletion(-) diff --git a/pkgs/development/python-modules/hyperscan/default.nix b/pkgs/development/python-modules/hyperscan/default.nix index 33d8286fe3bb..d8906ab771b7 100644 --- a/pkgs/development/python-modules/hyperscan/default.nix +++ b/pkgs/development/python-modules/hyperscan/default.nix @@ -25,7 +25,6 @@ buildPythonPackage (finalAttrs: { pname = "hyperscan"; version = "0.8.2"; pyproject = true; - __structuredAttrs = true; src = fetchFromGitHub { owner = "darvid"; From 2a1cbfa88141812dce2105b44c52fdc1172f703d Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 22:50:54 +0200 Subject: [PATCH 0902/2378] python3Packages.hypothesis-jsonschema: remove redundant structuredAttrs --- .../python-modules/hypothesis-jsonschema/default.nix | 2 -- 1 file changed, 2 deletions(-) diff --git a/pkgs/development/python-modules/hypothesis-jsonschema/default.nix b/pkgs/development/python-modules/hypothesis-jsonschema/default.nix index e57b566a2874..9a85974119ad 100644 --- a/pkgs/development/python-modules/hypothesis-jsonschema/default.nix +++ b/pkgs/development/python-modules/hypothesis-jsonschema/default.nix @@ -14,8 +14,6 @@ buildPythonPackage (finalAttrs: { version = "0.23.1"; pyproject = true; - __structuredAttrs = true; - # no git tags src = fetchPypi { inherit (finalAttrs) pname version; From ef5f64fd4e13756203e431f6df9769d8b57ad4bd Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 22:50:54 +0200 Subject: [PATCH 0903/2378] python3Packages.hypothesis: remove redundant structuredAttrs --- pkgs/development/python-modules/hypothesis/default.nix | 2 -- 1 file changed, 2 deletions(-) diff --git a/pkgs/development/python-modules/hypothesis/default.nix b/pkgs/development/python-modules/hypothesis/default.nix index c94b4c916df1..f31279b145e4 100644 --- a/pkgs/development/python-modules/hypothesis/default.nix +++ b/pkgs/development/python-modules/hypothesis/default.nix @@ -20,8 +20,6 @@ buildPythonPackage (finalAttrs: { version = "6.168.1"; pyproject = true; - __structuredAttrs = true; - src = fetchFromGitHub { owner = "HypothesisWorks"; repo = "hypothesis"; From cdc62dd0dfe62a63e92b02732d61c5af2ad7ef18 Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 22:50:54 +0200 Subject: [PATCH 0904/2378] python3Packages.ibind: remove redundant structuredAttrs --- pkgs/development/python-modules/ibind/default.nix | 2 -- 1 file changed, 2 deletions(-) diff --git a/pkgs/development/python-modules/ibind/default.nix b/pkgs/development/python-modules/ibind/default.nix index 2dd1597e4275..3e18b4a54887 100644 --- a/pkgs/development/python-modules/ibind/default.nix +++ b/pkgs/development/python-modules/ibind/default.nix @@ -22,8 +22,6 @@ buildPythonPackage (finalAttrs: { version = "0.1.22"; pyproject = true; - __structuredAttrs = true; - src = fetchFromGitHub { owner = "Voyz"; repo = "ibind"; From f71a81ca18b78af33faae6e7315deeab88f44cb3 Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 22:50:55 +0200 Subject: [PATCH 0905/2378] python3Packages.ida-domain: remove redundant structuredAttrs --- pkgs/development/python-modules/ida-domain/default.nix | 2 -- 1 file changed, 2 deletions(-) diff --git a/pkgs/development/python-modules/ida-domain/default.nix b/pkgs/development/python-modules/ida-domain/default.nix index f23b15c7fcd3..cf35a33dfb84 100644 --- a/pkgs/development/python-modules/ida-domain/default.nix +++ b/pkgs/development/python-modules/ida-domain/default.nix @@ -18,8 +18,6 @@ buildPythonPackage (finalAttrs: { version = "0.5.1"; pyproject = true; - __structuredAttrs = true; - src = fetchFromGitHub { owner = "HexRaysSA"; repo = "ida-domain"; From 2d6c3a8088ecf26dfce06272e46bed1510f2dced Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 22:50:55 +0200 Subject: [PATCH 0906/2378] python3Packages.ida-hcli: remove redundant structuredAttrs --- pkgs/development/python-modules/ida-hcli/default.nix | 2 -- 1 file changed, 2 deletions(-) diff --git a/pkgs/development/python-modules/ida-hcli/default.nix b/pkgs/development/python-modules/ida-hcli/default.nix index fde793025e70..ce1c22b2a31f 100644 --- a/pkgs/development/python-modules/ida-hcli/default.nix +++ b/pkgs/development/python-modules/ida-hcli/default.nix @@ -30,8 +30,6 @@ buildPythonPackage (finalAttrs: { version = "0.21.0"; pyproject = true; - __structuredAttrs = true; - src = fetchFromGitHub { owner = "HexRaysSA"; repo = "ida-hcli"; From a32875b0fd9d1924036387833d307c76920a0d91 Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 22:50:55 +0200 Subject: [PATCH 0907/2378] python3Packages.ida-netnode: remove redundant structuredAttrs --- pkgs/development/python-modules/ida-netnode/default.nix | 2 -- 1 file changed, 2 deletions(-) diff --git a/pkgs/development/python-modules/ida-netnode/default.nix b/pkgs/development/python-modules/ida-netnode/default.nix index 42d75c4068c1..b96715d412b0 100644 --- a/pkgs/development/python-modules/ida-netnode/default.nix +++ b/pkgs/development/python-modules/ida-netnode/default.nix @@ -12,8 +12,6 @@ buildPythonPackage (finalAttrs: { version = "3.0.0"; pyproject = true; - __structuredAttrs = true; - src = fetchFromGitHub { owner = "williballenthin"; repo = "ida-netnode"; From e0286356c468469267a4bba83d51e55258b6aea5 Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 22:50:55 +0200 Subject: [PATCH 0908/2378] python3Packages.ida-settings: remove redundant structuredAttrs --- pkgs/development/python-modules/ida-settings/default.nix | 2 -- 1 file changed, 2 deletions(-) diff --git a/pkgs/development/python-modules/ida-settings/default.nix b/pkgs/development/python-modules/ida-settings/default.nix index 1dbe81d800a7..154c5dfc35b1 100644 --- a/pkgs/development/python-modules/ida-settings/default.nix +++ b/pkgs/development/python-modules/ida-settings/default.nix @@ -12,8 +12,6 @@ buildPythonPackage (finalAttrs: { version = "3.5.1"; pyproject = true; - __structuredAttrs = true; - src = fetchFromGitHub { owner = "williballenthin"; repo = "ida-settings"; From 796b4f656ecd7450aa8b1f8719e380650ad01262 Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 22:50:56 +0200 Subject: [PATCH 0909/2378] python3Packages.idapro: remove redundant structuredAttrs --- pkgs/development/python-modules/idapro/default.nix | 2 -- 1 file changed, 2 deletions(-) diff --git a/pkgs/development/python-modules/idapro/default.nix b/pkgs/development/python-modules/idapro/default.nix index 59d59eee0d47..a4509f1f97f7 100644 --- a/pkgs/development/python-modules/idapro/default.nix +++ b/pkgs/development/python-modules/idapro/default.nix @@ -12,8 +12,6 @@ buildPythonPackage (finalAttrs: { version = "0.0.10"; pyproject = true; - __structuredAttrs = true; - src = fetchPypi { inherit (finalAttrs) pname version; hash = "sha256-QXwDxGBdGEF+Rw9qdI45eznW1YKevTu97dkv9bkJLRE="; From a3cb3cfcce18affab8cb07390c8234236ee29fdb Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 22:50:56 +0200 Subject: [PATCH 0910/2378] python3Packages.indicio: remove redundant structuredAttrs --- pkgs/development/python-modules/indicio/default.nix | 1 - 1 file changed, 1 deletion(-) diff --git a/pkgs/development/python-modules/indicio/default.nix b/pkgs/development/python-modules/indicio/default.nix index 432b74a63936..a5d7031c3f07 100644 --- a/pkgs/development/python-modules/indicio/default.nix +++ b/pkgs/development/python-modules/indicio/default.nix @@ -14,7 +14,6 @@ buildPythonPackage (finalAttrs: { pname = "indicio"; version = "1.1.0"; pyproject = true; - __structuredAttrs = true; src = fetchFromCodeberg { owner = "victorpoughon"; From 0aadf23fcc17f30c4dec145d96b7b2c813eac923 Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 22:50:56 +0200 Subject: [PATCH 0911/2378] python3Packages.infisicalsdk: remove redundant structuredAttrs --- pkgs/development/python-modules/infisicalsdk/default.nix | 2 -- 1 file changed, 2 deletions(-) diff --git a/pkgs/development/python-modules/infisicalsdk/default.nix b/pkgs/development/python-modules/infisicalsdk/default.nix index 6dff77f43118..af7591e6f173 100644 --- a/pkgs/development/python-modules/infisicalsdk/default.nix +++ b/pkgs/development/python-modules/infisicalsdk/default.nix @@ -16,8 +16,6 @@ buildPythonPackage (finalAttrs: { version = "1.0.17"; pyproject = true; - __structuredAttrs = true; - src = fetchFromGitHub { owner = "Infisical"; repo = "python-sdk-official"; From 048cd933fb5f5de1a0aa8760d6518ee287457394 Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 22:50:56 +0200 Subject: [PATCH 0912/2378] python3Packages.ini2toml: remove redundant structuredAttrs --- pkgs/development/python-modules/ini2toml/default.nix | 2 -- 1 file changed, 2 deletions(-) diff --git a/pkgs/development/python-modules/ini2toml/default.nix b/pkgs/development/python-modules/ini2toml/default.nix index e0f80f92afd0..310b829eecf3 100644 --- a/pkgs/development/python-modules/ini2toml/default.nix +++ b/pkgs/development/python-modules/ini2toml/default.nix @@ -23,8 +23,6 @@ buildPythonPackage (finalAttrs: { version = "0.16"; pyproject = true; - __structuredAttrs = true; - src = fetchFromGitHub { owner = "abravalheri"; repo = "ini2toml"; From b8c7cec54c26752cd45f109f715fea1d810f44a7 Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 22:50:57 +0200 Subject: [PATCH 0913/2378] python3Packages.insightface: remove redundant structuredAttrs --- pkgs/development/python-modules/insightface/default.nix | 1 - 1 file changed, 1 deletion(-) diff --git a/pkgs/development/python-modules/insightface/default.nix b/pkgs/development/python-modules/insightface/default.nix index 95fdb9f918b4..2fd0961b4d91 100644 --- a/pkgs/development/python-modules/insightface/default.nix +++ b/pkgs/development/python-modules/insightface/default.nix @@ -37,7 +37,6 @@ buildPythonPackage (finalAttrs: { pname = "insightface"; version = "1.0.1"; pyproject = true; - __structuredAttrs = true; # No tags on GitHub src = fetchPypi { From 0824721a0c3d77d3bdc69333acc75a5f3ba06956 Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 22:50:57 +0200 Subject: [PATCH 0914/2378] python3Packages.intake: remove redundant structuredAttrs --- pkgs/development/python-modules/intake/default.nix | 1 - 1 file changed, 1 deletion(-) diff --git a/pkgs/development/python-modules/intake/default.nix b/pkgs/development/python-modules/intake/default.nix index 0165169406a6..afa6cc993447 100644 --- a/pkgs/development/python-modules/intake/default.nix +++ b/pkgs/development/python-modules/intake/default.nix @@ -44,7 +44,6 @@ buildPythonPackage (finalAttrs: { pname = "intake"; version = "2.0.9"; pyproject = true; - __structuredAttrs = true; src = fetchFromGitHub { owner = "intake"; From 2076e857e17671a41fc6b80326b461c6700c7b6c Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 22:50:57 +0200 Subject: [PATCH 0915/2378] python3Packages.interruptingcow: remove redundant structuredAttrs --- pkgs/development/python-modules/interruptingcow/default.nix | 2 -- 1 file changed, 2 deletions(-) diff --git a/pkgs/development/python-modules/interruptingcow/default.nix b/pkgs/development/python-modules/interruptingcow/default.nix index acb943c58880..8f167693e94b 100644 --- a/pkgs/development/python-modules/interruptingcow/default.nix +++ b/pkgs/development/python-modules/interruptingcow/default.nix @@ -9,8 +9,6 @@ buildPythonPackage (finalAttrs: { version = "0.8"; pyproject = true; - __structuredAttrs = true; - src = fetchPypi { inherit (finalAttrs) pname version; hash = "sha256-PozVBYtlHmJXAsulPjsft216XsB6tpxSoWep94TjMGw="; From 5d09674dfd9bdef192f4aba06c1c2ffbca565ae8 Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 22:50:58 +0200 Subject: [PATCH 0916/2378] python3Packages.intersphinx-registry: remove redundant structuredAttrs --- pkgs/development/python-modules/intersphinx-registry/default.nix | 1 - 1 file changed, 1 deletion(-) diff --git a/pkgs/development/python-modules/intersphinx-registry/default.nix b/pkgs/development/python-modules/intersphinx-registry/default.nix index a2c7d3ca3e84..88d64ae1161d 100644 --- a/pkgs/development/python-modules/intersphinx-registry/default.nix +++ b/pkgs/development/python-modules/intersphinx-registry/default.nix @@ -25,7 +25,6 @@ buildPythonPackage (finalAttrs: { pname = "intersphinx-registry"; version = "0.2705.27"; pyproject = true; - __structuredAttrs = true; src = fetchFromGitHub { owner = "Quansight-labs"; From c979c600504a6a34dffee665cca0d3318141733e Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 22:50:58 +0200 Subject: [PATCH 0917/2378] python3Packages.inventree: remove redundant structuredAttrs --- pkgs/development/python-modules/inventree/default.nix | 1 - 1 file changed, 1 deletion(-) diff --git a/pkgs/development/python-modules/inventree/default.nix b/pkgs/development/python-modules/inventree/default.nix index ef66862333ac..6a74998ea5a9 100644 --- a/pkgs/development/python-modules/inventree/default.nix +++ b/pkgs/development/python-modules/inventree/default.nix @@ -18,7 +18,6 @@ buildPythonPackage (finalAttrs: { pname = "inventree"; version = "0.23.2"; pyproject = true; - __structuredAttrs = true; src = fetchFromGitHub { owner = "inventree"; From 57f129d38851ae1fdb1234e2d9a2b4184d82a1d3 Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 22:50:58 +0200 Subject: [PATCH 0918/2378] python3Packages.ipydatagrid: remove redundant structuredAttrs --- pkgs/development/python-modules/ipydatagrid/default.nix | 1 - 1 file changed, 1 deletion(-) diff --git a/pkgs/development/python-modules/ipydatagrid/default.nix b/pkgs/development/python-modules/ipydatagrid/default.nix index 909eb2ffb0f2..2c51bc936924 100644 --- a/pkgs/development/python-modules/ipydatagrid/default.nix +++ b/pkgs/development/python-modules/ipydatagrid/default.nix @@ -25,7 +25,6 @@ buildPythonPackage (finalAttrs: { pname = "ipydatagrid"; version = "1.4.0"; pyproject = true; - __structuredAttrs = true; src = fetchFromGitHub { owner = "jupyter-widgets"; From 10105f39867de961572470347ce170599d505c7c Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 22:50:59 +0200 Subject: [PATCH 0919/2378] python3Packages.ipydatawidgets: remove redundant structuredAttrs --- pkgs/development/python-modules/ipydatawidgets/default.nix | 1 - 1 file changed, 1 deletion(-) diff --git a/pkgs/development/python-modules/ipydatawidgets/default.nix b/pkgs/development/python-modules/ipydatawidgets/default.nix index 68a1e2967d8a..05c282cecaec 100644 --- a/pkgs/development/python-modules/ipydatawidgets/default.nix +++ b/pkgs/development/python-modules/ipydatawidgets/default.nix @@ -12,7 +12,6 @@ }: buildPythonPackage rec { - __structuredAttrs = true; pname = "ipydatawidgets"; version = "4.3.5"; From f9a82453d440b8053e61a785c6300e4a9c153c65 Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 22:50:59 +0200 Subject: [PATCH 0920/2378] python3Packages.ipykernel: remove redundant structuredAttrs --- pkgs/development/python-modules/ipykernel/default.nix | 1 - 1 file changed, 1 deletion(-) diff --git a/pkgs/development/python-modules/ipykernel/default.nix b/pkgs/development/python-modules/ipykernel/default.nix index 5d1945a46b45..dd8193ca1086 100644 --- a/pkgs/development/python-modules/ipykernel/default.nix +++ b/pkgs/development/python-modules/ipykernel/default.nix @@ -26,7 +26,6 @@ buildPythonPackage (finalAttrs: { pname = "ipykernel"; version = "7.3.0"; pyproject = true; - __structuredAttrs = true; src = fetchPypi { inherit (finalAttrs) pname version; From ab0a73bab10d044b9d4e1534f6cb43b7a435766b Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 22:50:59 +0200 Subject: [PATCH 0921/2378] python3Packages.ipympl: remove redundant structuredAttrs --- pkgs/development/python-modules/ipympl/default.nix | 1 - 1 file changed, 1 deletion(-) diff --git a/pkgs/development/python-modules/ipympl/default.nix b/pkgs/development/python-modules/ipympl/default.nix index c0cc3253b979..8f20837d27d9 100644 --- a/pkgs/development/python-modules/ipympl/default.nix +++ b/pkgs/development/python-modules/ipympl/default.nix @@ -31,7 +31,6 @@ buildPythonPackage (finalAttrs: { pname = "ipympl"; version = "0.10.0"; pyproject = true; - __structuredAttrs = true; src = fetchFromGitHub { owner = "matplotlib"; From c6cc15eb918dd81d540bd84c2c41067fbd28ccd2 Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 22:50:59 +0200 Subject: [PATCH 0922/2378] python3Packages.ipytablewidgets: remove redundant structuredAttrs --- pkgs/development/python-modules/ipytablewidgets/default.nix | 1 - 1 file changed, 1 deletion(-) diff --git a/pkgs/development/python-modules/ipytablewidgets/default.nix b/pkgs/development/python-modules/ipytablewidgets/default.nix index 99d36b764805..df92ab364326 100644 --- a/pkgs/development/python-modules/ipytablewidgets/default.nix +++ b/pkgs/development/python-modules/ipytablewidgets/default.nix @@ -23,7 +23,6 @@ buildPythonPackage (finalAttrs: { pname = "ipytablewidgets"; version = "0.3.4"; pyproject = true; - __structuredAttrs = true; # The GitHub tarball does not ship the pre-built labextension assets, which # `jupyter_packaging` requires at build time. Only the sdist does. From 4b22852298d47d19e1893d21e11c5fbe857aff97 Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 22:51:00 +0200 Subject: [PATCH 0923/2378] python3Packages.islpy: remove redundant structuredAttrs --- pkgs/development/python-modules/islpy/default.nix | 1 - 1 file changed, 1 deletion(-) diff --git a/pkgs/development/python-modules/islpy/default.nix b/pkgs/development/python-modules/islpy/default.nix index 23fb30ef3781..6861a545b936 100644 --- a/pkgs/development/python-modules/islpy/default.nix +++ b/pkgs/development/python-modules/islpy/default.nix @@ -22,7 +22,6 @@ buildPythonPackage (finalAttrs: { pname = "islpy"; version = "2026.2.2"; pyproject = true; - __structuredAttrs = true; src = fetchFromGitHub { owner = "inducer"; From 3a1e06a47acb4927f0af62eeaf9dfcf2d3bc7a49 Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 22:51:00 +0200 Subject: [PATCH 0924/2378] python3Packages.iso639-lang: remove redundant structuredAttrs --- pkgs/development/python-modules/iso639-lang/default.nix | 2 -- 1 file changed, 2 deletions(-) diff --git a/pkgs/development/python-modules/iso639-lang/default.nix b/pkgs/development/python-modules/iso639-lang/default.nix index 3ab1e8357a63..2591d2bf310f 100644 --- a/pkgs/development/python-modules/iso639-lang/default.nix +++ b/pkgs/development/python-modules/iso639-lang/default.nix @@ -11,8 +11,6 @@ buildPythonPackage rec { version = "2.6.3"; pyproject = true; - __structuredAttrs = true; - src = fetchFromGitHub { owner = "LBeaudoux"; repo = "iso639"; From ab8ddb4087f9bc704265847a86196b3ac6becd97 Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 22:51:00 +0200 Subject: [PATCH 0925/2378] python3Packages.isocodes: remove redundant structuredAttrs --- pkgs/development/python-modules/isocodes/default.nix | 1 - 1 file changed, 1 deletion(-) diff --git a/pkgs/development/python-modules/isocodes/default.nix b/pkgs/development/python-modules/isocodes/default.nix index 5d6f88da1955..ca45568d0915 100644 --- a/pkgs/development/python-modules/isocodes/default.nix +++ b/pkgs/development/python-modules/isocodes/default.nix @@ -17,7 +17,6 @@ buildPythonPackage (finalAttrs: { pname = "isocodes"; version = "2026.9.2"; pyproject = true; - __structuredAttrs = true; src = fetchFromGitHub { owner = "Atem18"; From b547276b5f85ce6db943d5ad019c54d6024c9b4b Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 22:51:00 +0200 Subject: [PATCH 0926/2378] python3Packages.jax-cuda12-pjrt: remove redundant structuredAttrs --- pkgs/development/python-modules/jax-cuda12-pjrt/default.nix | 1 - 1 file changed, 1 deletion(-) diff --git a/pkgs/development/python-modules/jax-cuda12-pjrt/default.nix b/pkgs/development/python-modules/jax-cuda12-pjrt/default.nix index dd45c995d18d..6f126e20c126 100644 --- a/pkgs/development/python-modules/jax-cuda12-pjrt/default.nix +++ b/pkgs/development/python-modules/jax-cuda12-pjrt/default.nix @@ -47,7 +47,6 @@ buildPythonPackage (finalAttrs: { pname = "jax-cuda12-pjrt"; inherit version; pyproject = false; - __structuredAttrs = true; src = fetchPypi { pname = "jax_cuda12_pjrt"; From 1f401acdcd5bf5f6be9cd90bf93e82d371490377 Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 22:51:01 +0200 Subject: [PATCH 0927/2378] python3Packages.jax-cuda12-plugin: remove redundant structuredAttrs --- pkgs/development/python-modules/jax-cuda12-plugin/default.nix | 1 - 1 file changed, 1 deletion(-) diff --git a/pkgs/development/python-modules/jax-cuda12-plugin/default.nix b/pkgs/development/python-modules/jax-cuda12-plugin/default.nix index 5bc26ccee746..334b767f9adb 100644 --- a/pkgs/development/python-modules/jax-cuda12-plugin/default.nix +++ b/pkgs/development/python-modules/jax-cuda12-plugin/default.nix @@ -43,7 +43,6 @@ buildPythonPackage { pname = "jax-cuda12-plugin"; inherit version; pyproject = false; - __structuredAttrs = true; src = fetchPypi { pname = "jax_cuda12_plugin"; From c982c4ac1edf8e598fb9119b739906339c7c4968 Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 22:51:01 +0200 Subject: [PATCH 0928/2378] python3Packages.jax-cuda13-pjrt: remove redundant structuredAttrs --- pkgs/development/python-modules/jax-cuda13-pjrt/default.nix | 1 - 1 file changed, 1 deletion(-) diff --git a/pkgs/development/python-modules/jax-cuda13-pjrt/default.nix b/pkgs/development/python-modules/jax-cuda13-pjrt/default.nix index e5f9becb63e9..ac9124f6a7e5 100644 --- a/pkgs/development/python-modules/jax-cuda13-pjrt/default.nix +++ b/pkgs/development/python-modules/jax-cuda13-pjrt/default.nix @@ -47,7 +47,6 @@ buildPythonPackage (finalAttrs: { pname = "jax-cuda13-pjrt"; inherit version; pyproject = false; - __structuredAttrs = true; src = fetchPypi { pname = "jax_cuda13_pjrt"; From 831f07f6e9a1c5eab3fdb24f9b4c07c0f8400b41 Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 22:51:01 +0200 Subject: [PATCH 0929/2378] python3Packages.jax-cuda13-plugin: remove redundant structuredAttrs --- pkgs/development/python-modules/jax-cuda13-plugin/default.nix | 1 - 1 file changed, 1 deletion(-) diff --git a/pkgs/development/python-modules/jax-cuda13-plugin/default.nix b/pkgs/development/python-modules/jax-cuda13-plugin/default.nix index 995dbcb99200..2a82af157eef 100644 --- a/pkgs/development/python-modules/jax-cuda13-plugin/default.nix +++ b/pkgs/development/python-modules/jax-cuda13-plugin/default.nix @@ -43,7 +43,6 @@ buildPythonPackage { pname = "jax-cuda13-plugin"; inherit version; pyproject = false; - __structuredAttrs = true; src = fetchPypi { pname = "jax_cuda13_plugin"; From b35d631afd8a36ab7ae8eb71b915aa6c29d2c6ae Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 22:51:02 +0200 Subject: [PATCH 0930/2378] python3Packages.jax-tap: remove redundant structuredAttrs --- pkgs/development/python-modules/jax-tap/default.nix | 1 - 1 file changed, 1 deletion(-) diff --git a/pkgs/development/python-modules/jax-tap/default.nix b/pkgs/development/python-modules/jax-tap/default.nix index a92bbea958f9..7d8c468f8e4a 100644 --- a/pkgs/development/python-modules/jax-tap/default.nix +++ b/pkgs/development/python-modules/jax-tap/default.nix @@ -21,7 +21,6 @@ buildPythonPackage (finalAttrs: { pname = "jax-tap"; version = "0.3.1"; pyproject = true; - __structuredAttrs = true; src = fetchFromGitHub { owner = "arcueil"; From 3ae34249c24021e81e46b7ed6dfe9b97186d68cb Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 22:51:02 +0200 Subject: [PATCH 0931/2378] python3Packages.jax: remove redundant structuredAttrs --- pkgs/development/python-modules/jax/default.nix | 1 - 1 file changed, 1 deletion(-) diff --git a/pkgs/development/python-modules/jax/default.nix b/pkgs/development/python-modules/jax/default.nix index 83c3206c995f..443228a52cfa 100644 --- a/pkgs/development/python-modules/jax/default.nix +++ b/pkgs/development/python-modules/jax/default.nix @@ -46,7 +46,6 @@ buildPythonPackage (finalAttrs: { pname = "jax"; version = "0.11.2"; pyproject = true; - __structuredAttrs = true; src = fetchFromGitHub { owner = "google"; From 5d75ba0fe9fb18f11b50e7564a6708b6e9ad465d Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 22:51:02 +0200 Subject: [PATCH 0932/2378] python3Packages.jaxlib: remove redundant structuredAttrs --- pkgs/development/python-modules/jaxlib/bin.nix | 2 -- 1 file changed, 2 deletions(-) diff --git a/pkgs/development/python-modules/jaxlib/bin.nix b/pkgs/development/python-modules/jaxlib/bin.nix index 596e8476705a..8dbff8fa1522 100644 --- a/pkgs/development/python-modules/jaxlib/bin.nix +++ b/pkgs/development/python-modules/jaxlib/bin.nix @@ -98,8 +98,6 @@ buildPythonPackage { inherit version; format = "wheel"; - __structuredAttrs = true; - # See https://discourse.nixos.org/t/ofborg-does-not-respect-meta-platforms/27019/6. src = ( srcs."${pythonVersion}-${stdenv.hostPlatform.system}" From e06d665200d524a062718bef057de50eddbac6e6 Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 22:51:03 +0200 Subject: [PATCH 0933/2378] python3Packages.jaxtyping: remove redundant structuredAttrs --- pkgs/development/python-modules/jaxtyping/default.nix | 1 - 1 file changed, 1 deletion(-) diff --git a/pkgs/development/python-modules/jaxtyping/default.nix b/pkgs/development/python-modules/jaxtyping/default.nix index 19df15b2aa7b..b7f84316813b 100644 --- a/pkgs/development/python-modules/jaxtyping/default.nix +++ b/pkgs/development/python-modules/jaxtyping/default.nix @@ -29,7 +29,6 @@ buildPythonPackage (finalAttrs: { pname = "jaxtyping"; version = "0.3.11"; pyproject = true; - __structuredAttrs = true; src = fetchFromGitHub { owner = "patrick-kidger"; From 702024adc5b92faa0bedb12c3af40320758fb46b Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 22:51:03 +0200 Subject: [PATCH 0934/2378] python3Packages.jmp: remove redundant structuredAttrs --- pkgs/development/python-modules/jmp/default.nix | 1 - 1 file changed, 1 deletion(-) diff --git a/pkgs/development/python-modules/jmp/default.nix b/pkgs/development/python-modules/jmp/default.nix index 821106332e47..8fbf44af45b2 100644 --- a/pkgs/development/python-modules/jmp/default.nix +++ b/pkgs/development/python-modules/jmp/default.nix @@ -19,7 +19,6 @@ buildPythonPackage (finalAttrs: { pname = "jmp"; version = "0.0.4"; pyproject = true; - __structuredAttrs = true; src = fetchFromGitHub { owner = "deepmind"; From d902680432d7f86a9c0ef4ce7a79f2e431a59b8a Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 22:51:03 +0200 Subject: [PATCH 0935/2378] python3Packages.jsonlines: remove redundant structuredAttrs --- pkgs/development/python-modules/jsonlines/default.nix | 1 - 1 file changed, 1 deletion(-) diff --git a/pkgs/development/python-modules/jsonlines/default.nix b/pkgs/development/python-modules/jsonlines/default.nix index 7dde945c5028..382d58d158ca 100644 --- a/pkgs/development/python-modules/jsonlines/default.nix +++ b/pkgs/development/python-modules/jsonlines/default.nix @@ -11,7 +11,6 @@ buildPythonPackage (finalAttrs: { pname = "jsonlines"; version = "4.0.0"; - __structuredAttrs = true; pyproject = true; src = fetchFromGitHub { From db34b45a5677b59a0fe723878845dc0b6af74775 Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 22:51:03 +0200 Subject: [PATCH 0936/2378] python3Packages.jsonmerge: remove redundant structuredAttrs --- pkgs/development/python-modules/jsonmerge/default.nix | 1 - 1 file changed, 1 deletion(-) diff --git a/pkgs/development/python-modules/jsonmerge/default.nix b/pkgs/development/python-modules/jsonmerge/default.nix index 9a5494e6bb34..d0ca4644f7d8 100644 --- a/pkgs/development/python-modules/jsonmerge/default.nix +++ b/pkgs/development/python-modules/jsonmerge/default.nix @@ -11,7 +11,6 @@ buildPythonPackage (finalAttrs: { pname = "jsonmerge"; version = "1.9.2"; - __structuredAttrs = true; pyproject = true; src = fetchPypi { From b3829948efc7635f43ba8a4004b7b39aaa203061 Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 22:51:04 +0200 Subject: [PATCH 0937/2378] python3Packages.jsonpatch: remove redundant structuredAttrs --- pkgs/development/python-modules/jsonpatch/default.nix | 1 - 1 file changed, 1 deletion(-) diff --git a/pkgs/development/python-modules/jsonpatch/default.nix b/pkgs/development/python-modules/jsonpatch/default.nix index ebff042dfe12..1713cd5fb864 100644 --- a/pkgs/development/python-modules/jsonpatch/default.nix +++ b/pkgs/development/python-modules/jsonpatch/default.nix @@ -11,7 +11,6 @@ buildPythonPackage (finalAttrs: { pname = "jsonpatch"; version = "1.33"; - __structuredAttrs = true; pyproject = true; src = fetchFromGitHub { From c31bd05d1ccf535a620c9dd93ede82b32d635900 Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 22:51:04 +0200 Subject: [PATCH 0938/2378] python3Packages.jug: remove redundant structuredAttrs --- pkgs/development/python-modules/jug/default.nix | 2 -- 1 file changed, 2 deletions(-) diff --git a/pkgs/development/python-modules/jug/default.nix b/pkgs/development/python-modules/jug/default.nix index 73f357575a4f..d6ee9692cccc 100644 --- a/pkgs/development/python-modules/jug/default.nix +++ b/pkgs/development/python-modules/jug/default.nix @@ -15,8 +15,6 @@ buildPythonPackage (finalAttrs: { version = "2.6.0"; pyproject = true; - __structuredAttrs = true; - src = fetchFromGitHub { owner = "luispedro"; repo = "jug"; From f96fefa14d83e221a4b471addad783d5ff43f209 Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 22:51:04 +0200 Subject: [PATCH 0939/2378] python3Packages.jupysql: remove redundant structuredAttrs --- pkgs/development/python-modules/jupysql/default.nix | 1 - 1 file changed, 1 deletion(-) diff --git a/pkgs/development/python-modules/jupysql/default.nix b/pkgs/development/python-modules/jupysql/default.nix index c7db947e148d..78e831aebbf3 100644 --- a/pkgs/development/python-modules/jupysql/default.nix +++ b/pkgs/development/python-modules/jupysql/default.nix @@ -40,7 +40,6 @@ buildPythonPackage (finalAttrs: { pname = "jupysql"; version = "0.11.1"; pyproject = true; - __structuredAttrs = true; src = fetchFromGitHub { owner = "ploomber"; From 809540cc2b3a803cfc6300294326c4d1a0f8319d Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 22:51:04 +0200 Subject: [PATCH 0940/2378] python3Packages.jupyter-book: remove redundant structuredAttrs --- pkgs/development/python-modules/jupyter-book/default.nix | 1 - 1 file changed, 1 deletion(-) diff --git a/pkgs/development/python-modules/jupyter-book/default.nix b/pkgs/development/python-modules/jupyter-book/default.nix index cd94bcf70589..c515d911d83e 100644 --- a/pkgs/development/python-modules/jupyter-book/default.nix +++ b/pkgs/development/python-modules/jupyter-book/default.nix @@ -28,7 +28,6 @@ buildPythonPackage (finalAttrs: { pname = "jupyter-book"; version = "2.1.7"; pyproject = true; - __structuredAttrs = true; src = fetchFromGitHub { owner = "jupyter-book"; From 5c3f50eb858f623bd1337b622118e5a1b7627f9d Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 22:51:05 +0200 Subject: [PATCH 0941/2378] python3Packages.jupyter-builder: remove redundant structuredAttrs --- pkgs/development/python-modules/jupyter-builder/default.nix | 1 - 1 file changed, 1 deletion(-) diff --git a/pkgs/development/python-modules/jupyter-builder/default.nix b/pkgs/development/python-modules/jupyter-builder/default.nix index 82877061d0b4..b356eac765e7 100644 --- a/pkgs/development/python-modules/jupyter-builder/default.nix +++ b/pkgs/development/python-modules/jupyter-builder/default.nix @@ -22,7 +22,6 @@ buildPythonPackage (finalAttrs: { pname = "jupyter-builder"; version = "1.2.3"; pyproject = true; - __structuredAttrs = true; src = fetchFromGitHub { owner = "jupyterlab"; From 8833f89f083db3849e046a6382dd4622d3d9b00a Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 22:51:05 +0200 Subject: [PATCH 0942/2378] python3Packages.jupyter-client: remove redundant structuredAttrs --- pkgs/development/python-modules/jupyter-client/default.nix | 1 - 1 file changed, 1 deletion(-) diff --git a/pkgs/development/python-modules/jupyter-client/default.nix b/pkgs/development/python-modules/jupyter-client/default.nix index e6cd0295f48a..a34371367eaa 100644 --- a/pkgs/development/python-modules/jupyter-client/default.nix +++ b/pkgs/development/python-modules/jupyter-client/default.nix @@ -15,7 +15,6 @@ buildPythonPackage (finalAttrs: { pname = "jupyter-client"; version = "8.9.1"; pyproject = true; - __structuredAttrs = true; src = fetchPypi { pname = "jupyter_client"; From c02805c185d5080f4752378292daa0d27d98afc4 Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 22:51:05 +0200 Subject: [PATCH 0943/2378] python3Packages.jupyter-collaboration-ui: remove redundant structuredAttrs --- .../python-modules/jupyter-collaboration-ui/default.nix | 1 - 1 file changed, 1 deletion(-) diff --git a/pkgs/development/python-modules/jupyter-collaboration-ui/default.nix b/pkgs/development/python-modules/jupyter-collaboration-ui/default.nix index 36cfbadd9c95..aae6bb8e7ebc 100644 --- a/pkgs/development/python-modules/jupyter-collaboration-ui/default.nix +++ b/pkgs/development/python-modules/jupyter-collaboration-ui/default.nix @@ -16,7 +16,6 @@ buildPythonPackage (finalAttrs: { pname = "jupyter-collaboration-ui"; version = "3.0.4"; pyproject = true; - __structuredAttrs = true; src = fetchPypi { pname = "jupyter_collaboration_ui"; From c7242c642b0dbc5efe9b703cd176c581b3ac5559 Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 22:51:06 +0200 Subject: [PATCH 0944/2378] python3Packages.jupyter-collaboration: remove redundant structuredAttrs --- .../development/python-modules/jupyter-collaboration/default.nix | 1 - 1 file changed, 1 deletion(-) diff --git a/pkgs/development/python-modules/jupyter-collaboration/default.nix b/pkgs/development/python-modules/jupyter-collaboration/default.nix index 6357b3a67e3e..3e8952498adf 100644 --- a/pkgs/development/python-modules/jupyter-collaboration/default.nix +++ b/pkgs/development/python-modules/jupyter-collaboration/default.nix @@ -26,7 +26,6 @@ buildPythonPackage (finalAttrs: { pname = "jupyter-collaboration"; version = "5.0.4"; pyproject = true; - __structuredAttrs = true; src = fetchFromGitHub { owner = "jupyterlab"; From 9c4a311ce3a76e81bebaceff1cc768451fa5ae1b Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 22:51:06 +0200 Subject: [PATCH 0945/2378] python3Packages.jupyter-docprovider: remove redundant structuredAttrs --- pkgs/development/python-modules/jupyter-docprovider/default.nix | 1 - 1 file changed, 1 deletion(-) diff --git a/pkgs/development/python-modules/jupyter-docprovider/default.nix b/pkgs/development/python-modules/jupyter-docprovider/default.nix index 5589acdb03f7..b3dc70bb0cb0 100644 --- a/pkgs/development/python-modules/jupyter-docprovider/default.nix +++ b/pkgs/development/python-modules/jupyter-docprovider/default.nix @@ -16,7 +16,6 @@ buildPythonPackage (finalAttrs: { pname = "jupyter-docprovider"; version = "3.0.4"; pyproject = true; - __structuredAttrs = true; src = fetchPypi { pname = "jupyter_docprovider"; From ebad212855aba671f5c5197fcd2c563d2ca3cbb4 Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 22:51:06 +0200 Subject: [PATCH 0946/2378] python3Packages.jupyter-nbextensions-configurator: remove redundant structuredAttrs --- .../python-modules/jupyter-nbextensions-configurator/default.nix | 1 - 1 file changed, 1 deletion(-) diff --git a/pkgs/development/python-modules/jupyter-nbextensions-configurator/default.nix b/pkgs/development/python-modules/jupyter-nbextensions-configurator/default.nix index e527875a1ce7..0cd712ce4fc2 100644 --- a/pkgs/development/python-modules/jupyter-nbextensions-configurator/default.nix +++ b/pkgs/development/python-modules/jupyter-nbextensions-configurator/default.nix @@ -23,7 +23,6 @@ buildPythonPackage (finalAttrs: { pname = "jupyter-nbextensions-configurator"; version = "0.6.4"; pyproject = true; - __structuredAttrs = true; src = fetchFromGitHub { owner = "jupyter-contrib"; From 9cc093c1f419f916d41ca2503d62eab674c67304 Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 22:51:06 +0200 Subject: [PATCH 0947/2378] python3Packages.jupyter-server-ydoc: remove redundant structuredAttrs --- pkgs/development/python-modules/jupyter-server-ydoc/default.nix | 1 - 1 file changed, 1 deletion(-) diff --git a/pkgs/development/python-modules/jupyter-server-ydoc/default.nix b/pkgs/development/python-modules/jupyter-server-ydoc/default.nix index 82001c4abf1b..f796bf6e8c62 100644 --- a/pkgs/development/python-modules/jupyter-server-ydoc/default.nix +++ b/pkgs/development/python-modules/jupyter-server-ydoc/default.nix @@ -21,7 +21,6 @@ buildPythonPackage (finalAttrs: { pname = "jupyter-server-ydoc"; version = "3.0.4"; pyproject = true; - __structuredAttrs = true; src = fetchPypi { pname = "jupyter_server_ydoc"; From f13e41c1e7aa49a16ae8e7e09713370b8f74c538 Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 22:51:07 +0200 Subject: [PATCH 0948/2378] python3Packages.jupyter-server: remove redundant structuredAttrs --- pkgs/development/python-modules/jupyter-server/default.nix | 1 - 1 file changed, 1 deletion(-) diff --git a/pkgs/development/python-modules/jupyter-server/default.nix b/pkgs/development/python-modules/jupyter-server/default.nix index 89a176de3e4a..2859b2ff0596 100644 --- a/pkgs/development/python-modules/jupyter-server/default.nix +++ b/pkgs/development/python-modules/jupyter-server/default.nix @@ -45,7 +45,6 @@ buildPythonPackage (finalAttrs: { pname = "jupyter-server"; version = "2.21.0"; pyproject = true; - __structuredAttrs = true; # Using the pypi archive to avoid building the node artifacts from source src = fetchPypi { From d5339662c1e5135b9635a30df13f74de64806fb9 Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 22:51:07 +0200 Subject: [PATCH 0949/2378] python3Packages.jupyter-ydoc: remove redundant structuredAttrs --- pkgs/development/python-modules/jupyter-ydoc/default.nix | 1 - 1 file changed, 1 deletion(-) diff --git a/pkgs/development/python-modules/jupyter-ydoc/default.nix b/pkgs/development/python-modules/jupyter-ydoc/default.nix index d9c749901cb2..3a73de914b7a 100644 --- a/pkgs/development/python-modules/jupyter-ydoc/default.nix +++ b/pkgs/development/python-modules/jupyter-ydoc/default.nix @@ -21,7 +21,6 @@ buildPythonPackage (finalAttrs: { pname = "jupyter-ydoc"; version = "4.1.1"; pyproject = true; - __structuredAttrs = true; src = fetchFromGitHub { owner = "jupyter-server"; From 4e753ff14b5a6330976b810ba4299680e482ddd3 Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 22:51:07 +0200 Subject: [PATCH 0950/2378] python3Packages.jupyterhub: remove redundant structuredAttrs --- pkgs/development/python-modules/jupyterhub/default.nix | 1 - 1 file changed, 1 deletion(-) diff --git a/pkgs/development/python-modules/jupyterhub/default.nix b/pkgs/development/python-modules/jupyterhub/default.nix index 823406ff876c..ae1df9a4438f 100644 --- a/pkgs/development/python-modules/jupyterhub/default.nix +++ b/pkgs/development/python-modules/jupyterhub/default.nix @@ -55,7 +55,6 @@ buildPythonPackage (finalAttrs: { pname = "jupyterhub"; version = "6.0.1"; pyproject = true; - __structuredAttrs = true; src = fetchFromGitHub { owner = "jupyterhub"; From 180845cb720975f9a883a313b5210b64d8e6300f Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 22:51:08 +0200 Subject: [PATCH 0951/2378] python3Packages.jupyterlab-execute-time: remove redundant structuredAttrs --- .../python-modules/jupyterlab-execute-time/default.nix | 1 - 1 file changed, 1 deletion(-) diff --git a/pkgs/development/python-modules/jupyterlab-execute-time/default.nix b/pkgs/development/python-modules/jupyterlab-execute-time/default.nix index 8cadb7216adf..c7feac7a22f7 100644 --- a/pkgs/development/python-modules/jupyterlab-execute-time/default.nix +++ b/pkgs/development/python-modules/jupyterlab-execute-time/default.nix @@ -22,7 +22,6 @@ buildPythonPackage (finalAttrs: { pname = "jupyterlab-execute-time"; version = "3.3.0"; pyproject = true; - __structuredAttrs = true; src = fetchFromGitHub { owner = "deshaw"; From d8c4ce86dd82ce2ac52f779641638ae12b456dc9 Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 22:51:08 +0200 Subject: [PATCH 0952/2378] python3Packages.jupyterlab-git-core: remove redundant structuredAttrs --- pkgs/development/python-modules/jupyterlab-git-core/default.nix | 1 - 1 file changed, 1 deletion(-) diff --git a/pkgs/development/python-modules/jupyterlab-git-core/default.nix b/pkgs/development/python-modules/jupyterlab-git-core/default.nix index 9f51b0a75638..83689737fdc3 100644 --- a/pkgs/development/python-modules/jupyterlab-git-core/default.nix +++ b/pkgs/development/python-modules/jupyterlab-git-core/default.nix @@ -34,7 +34,6 @@ buildPythonPackage (finalAttrs: { pname = "jupyterlab-git-core"; version = "0.54.1"; pyproject = true; - __structuredAttrs = true; src = fetchFromGitHub { owner = "jupyterlab"; From aa189ae57903a693e55a5ef0923bb660f2efdc4f Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 22:51:08 +0200 Subject: [PATCH 0953/2378] python3Packages.jupyterlab: remove redundant structuredAttrs --- pkgs/development/python-modules/jupyterlab/default.nix | 1 - 1 file changed, 1 deletion(-) diff --git a/pkgs/development/python-modules/jupyterlab/default.nix b/pkgs/development/python-modules/jupyterlab/default.nix index caee4848e780..b00fc771ac53 100644 --- a/pkgs/development/python-modules/jupyterlab/default.nix +++ b/pkgs/development/python-modules/jupyterlab/default.nix @@ -40,7 +40,6 @@ buildPythonPackage (finalAttrs: { pname = "jupyterlab"; version = "4.6.4"; pyproject = true; - __structuredAttrs = true; src = fetchFromGitHub { owner = "jupyterlab"; From 6e1421e0b56d679e1ced0aac4a5de3e5edebe1ef Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 22:51:08 +0200 Subject: [PATCH 0954/2378] python3Packages.jupyterlite-core: remove redundant structuredAttrs --- pkgs/development/python-modules/jupyterlite-core/default.nix | 1 - 1 file changed, 1 deletion(-) diff --git a/pkgs/development/python-modules/jupyterlite-core/default.nix b/pkgs/development/python-modules/jupyterlite-core/default.nix index 35d62572ecff..a1825c0e6e36 100644 --- a/pkgs/development/python-modules/jupyterlite-core/default.nix +++ b/pkgs/development/python-modules/jupyterlite-core/default.nix @@ -16,7 +16,6 @@ buildPythonPackage (finalAttrs: { pname = "jupyterlite-core"; version = "0.8.5"; pyproject = true; - __structuredAttrs = true; src = fetchFromGitHub { owner = "jupyterlite"; From f3f36a9cbbf574b102aac40533209e061045b448 Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 22:51:09 +0200 Subject: [PATCH 0955/2378] python3Packages.jupyterlite-sphinx: remove redundant structuredAttrs --- pkgs/development/python-modules/jupyterlite-sphinx/default.nix | 1 - 1 file changed, 1 deletion(-) diff --git a/pkgs/development/python-modules/jupyterlite-sphinx/default.nix b/pkgs/development/python-modules/jupyterlite-sphinx/default.nix index b5d584802208..6adb690952da 100644 --- a/pkgs/development/python-modules/jupyterlite-sphinx/default.nix +++ b/pkgs/development/python-modules/jupyterlite-sphinx/default.nix @@ -25,7 +25,6 @@ buildPythonPackage (finalAttrs: { pname = "jupyterlite-sphinx"; version = "0.23.0"; pyproject = true; - __structuredAttrs = true; src = fetchFromGitHub { owner = "jupyterlite"; From 8904e9f572bcd5a8a5b7ff9e738ac3bb4a25cfa2 Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 22:51:09 +0200 Subject: [PATCH 0956/2378] python3Packages.kafka-python: remove redundant structuredAttrs --- pkgs/development/python-modules/kafka-python/default.nix | 1 - 1 file changed, 1 deletion(-) diff --git a/pkgs/development/python-modules/kafka-python/default.nix b/pkgs/development/python-modules/kafka-python/default.nix index 572ee02859d4..6800cf7530fe 100644 --- a/pkgs/development/python-modules/kafka-python/default.nix +++ b/pkgs/development/python-modules/kafka-python/default.nix @@ -25,7 +25,6 @@ buildPythonPackage (finalAttrs: { pname = "kafka-python"; version = "3.0.11"; pyproject = true; - __structuredAttrs = true; src = fetchFromGitHub { owner = "dpkp"; From ceff86d1ea213fd31530dd04e9ba736c79c730bd Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 22:51:10 +0200 Subject: [PATCH 0957/2378] python3Packages.kaggle: remove redundant structuredAttrs --- pkgs/development/python-modules/kaggle/default.nix | 1 - 1 file changed, 1 deletion(-) diff --git a/pkgs/development/python-modules/kaggle/default.nix b/pkgs/development/python-modules/kaggle/default.nix index 5c3b28753937..f764317a600a 100644 --- a/pkgs/development/python-modules/kaggle/default.nix +++ b/pkgs/development/python-modules/kaggle/default.nix @@ -31,7 +31,6 @@ buildPythonPackage (finalAttrs: { pname = "kaggle"; version = "2.2.4"; pyproject = true; - __structuredAttrs = true; src = fetchFromGitHub { owner = "Kaggle"; From 6095899d9a5ee14c9864fa8e81fc2a425d1bd642 Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 22:51:10 +0200 Subject: [PATCH 0958/2378] python3Packages.kagglehub: remove redundant structuredAttrs --- pkgs/development/python-modules/kagglehub/default.nix | 1 - 1 file changed, 1 deletion(-) diff --git a/pkgs/development/python-modules/kagglehub/default.nix b/pkgs/development/python-modules/kagglehub/default.nix index db88d1797753..e22c2f9a95b9 100644 --- a/pkgs/development/python-modules/kagglehub/default.nix +++ b/pkgs/development/python-modules/kagglehub/default.nix @@ -40,7 +40,6 @@ buildPythonPackage (finalAttrs: { pname = "kagglehub"; version = "1.0.2"; pyproject = true; - __structuredAttrs = true; src = fetchFromGitHub { owner = "Kaggle"; From b8328df4c3b29845081eb250058ead56faf0d694 Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 22:51:10 +0200 Subject: [PATCH 0959/2378] python3Packages.kagglesdk: remove redundant structuredAttrs --- pkgs/development/python-modules/kagglesdk/default.nix | 1 - 1 file changed, 1 deletion(-) diff --git a/pkgs/development/python-modules/kagglesdk/default.nix b/pkgs/development/python-modules/kagglesdk/default.nix index af940a9241f3..d46a1a773580 100644 --- a/pkgs/development/python-modules/kagglesdk/default.nix +++ b/pkgs/development/python-modules/kagglesdk/default.nix @@ -15,7 +15,6 @@ buildPythonPackage (finalAttrs: { pname = "kagglesdk"; version = "0.1.37"; pyproject = true; - __structuredAttrs = true; src = fetchFromGitHub { owner = "Kaggle"; From 0c143766556ac41161eb45fbc2fe01e8845f134d Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 22:51:10 +0200 Subject: [PATCH 0960/2378] python3Packages.kanjize: remove redundant structuredAttrs --- pkgs/development/python-modules/kanjize/default.nix | 2 -- 1 file changed, 2 deletions(-) diff --git a/pkgs/development/python-modules/kanjize/default.nix b/pkgs/development/python-modules/kanjize/default.nix index fb8999f1a159..8c9f6806b363 100644 --- a/pkgs/development/python-modules/kanjize/default.nix +++ b/pkgs/development/python-modules/kanjize/default.nix @@ -11,8 +11,6 @@ buildPythonPackage (finalAttrs: { version = "1.6.1"; pyproject = true; - __structuredAttrs = true; - src = fetchFromGitHub { owner = "nagataaaas"; repo = "kanjize"; From daee5439e9146f3abcff6c18d80bb688f900a1dc Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 22:51:11 +0200 Subject: [PATCH 0961/2378] python3Packages.keras: remove redundant structuredAttrs --- pkgs/development/python-modules/keras/default.nix | 1 - 1 file changed, 1 deletion(-) diff --git a/pkgs/development/python-modules/keras/default.nix b/pkgs/development/python-modules/keras/default.nix index 985d23df6f72..b01f20d6f0eb 100644 --- a/pkgs/development/python-modules/keras/default.nix +++ b/pkgs/development/python-modules/keras/default.nix @@ -39,7 +39,6 @@ buildPythonPackage (finalAttrs: { pname = "keras"; version = "3.15.1"; pyproject = true; - __structuredAttrs = true; src = fetchFromGitHub { owner = "keras-team"; From d06d4e1fb44c8e7ccc5be40ae06567cdf0020715 Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 22:51:11 +0200 Subject: [PATCH 0962/2378] python3Packages.keystone-engine: remove redundant structuredAttrs --- pkgs/development/python-modules/keystone-engine/default.nix | 2 -- 1 file changed, 2 deletions(-) diff --git a/pkgs/development/python-modules/keystone-engine/default.nix b/pkgs/development/python-modules/keystone-engine/default.nix index 29001fd86e70..9954e5c082a2 100644 --- a/pkgs/development/python-modules/keystone-engine/default.nix +++ b/pkgs/development/python-modules/keystone-engine/default.nix @@ -12,8 +12,6 @@ buildPythonPackage (finalAttrs: { version = "0.9.2"; pyproject = true; - __structuredAttrs = true; - src = fetchPypi { inherit (finalAttrs) pname version; hash = "sha256-L3r2LasM5sJzLbtPMc+iGEqKFJ4oC5a5LrwNuExuUPU="; From ebb4e53bc9cee94ef381d9b4ceb231e46d3eb980 Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 22:51:11 +0200 Subject: [PATCH 0963/2378] python3Packages.kiauto: remove redundant structuredAttrs --- pkgs/development/python-modules/kiauto/default.nix | 2 -- 1 file changed, 2 deletions(-) diff --git a/pkgs/development/python-modules/kiauto/default.nix b/pkgs/development/python-modules/kiauto/default.nix index cd39f8d051a1..2621835c51ca 100644 --- a/pkgs/development/python-modules/kiauto/default.nix +++ b/pkgs/development/python-modules/kiauto/default.nix @@ -37,8 +37,6 @@ buildPythonPackage (finalAttrs: { pythonImportsCheck = [ "kiauto" ]; - __structuredAttrs = true; - meta = { description = "Automation scripts for KiCad"; homepage = "https://github.com/INTI-CMNB/KiAuto"; From 4784555f1a99a623ae6d3868f88a97ab12368fb5 Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 22:51:11 +0200 Subject: [PATCH 0964/2378] python3Packages.knx-telegram-store: remove redundant structuredAttrs --- pkgs/development/python-modules/knx-telegram-store/default.nix | 2 -- 1 file changed, 2 deletions(-) diff --git a/pkgs/development/python-modules/knx-telegram-store/default.nix b/pkgs/development/python-modules/knx-telegram-store/default.nix index 4734fe17d8e0..5300dc755e04 100644 --- a/pkgs/development/python-modules/knx-telegram-store/default.nix +++ b/pkgs/development/python-modules/knx-telegram-store/default.nix @@ -17,8 +17,6 @@ buildPythonPackage (finalAttrs: { version = "0.15.1"; pyproject = true; - __structuredAttrs = true; - src = fetchFromGitHub { owner = "XKNX"; repo = "knx-telegram-store"; From 04737c370e37da3300f626a217b6dda3358bb91f Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 22:51:12 +0200 Subject: [PATCH 0965/2378] python3Packages.kserve: remove redundant structuredAttrs --- pkgs/development/python-modules/kserve/default.nix | 1 - 1 file changed, 1 deletion(-) diff --git a/pkgs/development/python-modules/kserve/default.nix b/pkgs/development/python-modules/kserve/default.nix index 663a00783d66..58a8039a4f38 100644 --- a/pkgs/development/python-modules/kserve/default.nix +++ b/pkgs/development/python-modules/kserve/default.nix @@ -62,7 +62,6 @@ buildPythonPackage (finalAttrs: { pname = "kserve"; version = "0.21.0"; pyproject = true; - __structuredAttrs = true; src = fetchFromGitHub { owner = "kserve"; From 9ed595c3091518b95e3e986234dfd2a39f8c1180 Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 22:51:12 +0200 Subject: [PATCH 0966/2378] python3Packages.lance-namespace-urllib3-client: remove redundant structuredAttrs --- .../python-modules/lance-namespace-urllib3-client/default.nix | 1 - 1 file changed, 1 deletion(-) diff --git a/pkgs/development/python-modules/lance-namespace-urllib3-client/default.nix b/pkgs/development/python-modules/lance-namespace-urllib3-client/default.nix index 7fbd192755da..8e6c7c5f2b7f 100644 --- a/pkgs/development/python-modules/lance-namespace-urllib3-client/default.nix +++ b/pkgs/development/python-modules/lance-namespace-urllib3-client/default.nix @@ -20,7 +20,6 @@ buildPythonPackage (finalAttrs: { pname = "lance-namespace-urllib3-client"; version = "0.13.0"; pyproject = true; - __structuredAttrs = true; src = fetchFromGitHub { owner = "lancedb"; From 79e550adb52064e4329fe93f33f398ff506991bf Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 22:51:12 +0200 Subject: [PATCH 0967/2378] python3Packages.lance-namespace: remove redundant structuredAttrs --- pkgs/development/python-modules/lance-namespace/default.nix | 1 - 1 file changed, 1 deletion(-) diff --git a/pkgs/development/python-modules/lance-namespace/default.nix b/pkgs/development/python-modules/lance-namespace/default.nix index 27e3bbaea797..5f8df0fbc6c9 100644 --- a/pkgs/development/python-modules/lance-namespace/default.nix +++ b/pkgs/development/python-modules/lance-namespace/default.nix @@ -32,7 +32,6 @@ buildPythonPackage (finalAttrs: { pname = "lance-namespace"; version = "0.13.0"; pyproject = true; - __structuredAttrs = true; src = fetchFromGitHub { owner = "lancedb"; From 2c8bbb0e8fec35cf5a476a95d6a33b82b5d55702 Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 22:51:13 +0200 Subject: [PATCH 0968/2378] python3Packages.lancedb: remove redundant structuredAttrs --- pkgs/development/python-modules/lancedb/default.nix | 1 - 1 file changed, 1 deletion(-) diff --git a/pkgs/development/python-modules/lancedb/default.nix b/pkgs/development/python-modules/lancedb/default.nix index 14aafc1da33f..9cffe7b26f43 100644 --- a/pkgs/development/python-modules/lancedb/default.nix +++ b/pkgs/development/python-modules/lancedb/default.nix @@ -42,7 +42,6 @@ buildPythonPackage (finalAttrs: { pname = "lancedb"; version = "0.40.0"; pyproject = true; - __structuredAttrs = true; src = fetchFromGitHub { owner = "lancedb"; From 47b92a9c4c25c8c6742589e07822592329dbaf80 Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 22:51:13 +0200 Subject: [PATCH 0969/2378] python3Packages.langchain-anthropic: remove redundant structuredAttrs --- pkgs/development/python-modules/langchain-anthropic/default.nix | 1 - 1 file changed, 1 deletion(-) diff --git a/pkgs/development/python-modules/langchain-anthropic/default.nix b/pkgs/development/python-modules/langchain-anthropic/default.nix index 2f34adba6f95..1efb86ca0330 100644 --- a/pkgs/development/python-modules/langchain-anthropic/default.nix +++ b/pkgs/development/python-modules/langchain-anthropic/default.nix @@ -26,7 +26,6 @@ buildPythonPackage (finalAttrs: { pname = "langchain-anthropic"; version = "1.7.2"; pyproject = true; - __structuredAttrs = true; src = fetchFromGitHub { owner = "langchain-ai"; From 87e75f52d0f8802aac3d3616d73520a0a1fbd2fa Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 22:51:13 +0200 Subject: [PATCH 0970/2378] python3Packages.langchain-aws: remove redundant structuredAttrs --- pkgs/development/python-modules/langchain-aws/default.nix | 1 - 1 file changed, 1 deletion(-) diff --git a/pkgs/development/python-modules/langchain-aws/default.nix b/pkgs/development/python-modules/langchain-aws/default.nix index 63b72bc4623a..3a881dcd2c8d 100644 --- a/pkgs/development/python-modules/langchain-aws/default.nix +++ b/pkgs/development/python-modules/langchain-aws/default.nix @@ -34,7 +34,6 @@ buildPythonPackage (finalAttrs: { pname = "langchain-aws"; version = "1.7.8"; pyproject = true; - __structuredAttrs = true; src = fetchFromGitHub { owner = "langchain-ai"; From 5384d75b5a2a8b919c18ec83949c57b80e313f4d Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 22:51:13 +0200 Subject: [PATCH 0971/2378] python3Packages.langchain-classic: remove redundant structuredAttrs --- pkgs/development/python-modules/langchain-classic/default.nix | 1 - 1 file changed, 1 deletion(-) diff --git a/pkgs/development/python-modules/langchain-classic/default.nix b/pkgs/development/python-modules/langchain-classic/default.nix index efef505de075..cc95f39a76f1 100644 --- a/pkgs/development/python-modules/langchain-classic/default.nix +++ b/pkgs/development/python-modules/langchain-classic/default.nix @@ -44,7 +44,6 @@ buildPythonPackage (finalAttrs: { pname = "langchain-classic"; version = "1.0.8"; pyproject = true; - __structuredAttrs = true; src = fetchFromGitHub { owner = "langchain-ai"; From e215ba46b7469113726a1011dd76cbb925a81bfc Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 22:51:14 +0200 Subject: [PATCH 0972/2378] python3Packages.langchain-core: remove redundant structuredAttrs --- pkgs/development/python-modules/langchain-core/default.nix | 1 - 1 file changed, 1 deletion(-) diff --git a/pkgs/development/python-modules/langchain-core/default.nix b/pkgs/development/python-modules/langchain-core/default.nix index 3aafa4aa0e84..21e4f8a92e7d 100644 --- a/pkgs/development/python-modules/langchain-core/default.nix +++ b/pkgs/development/python-modules/langchain-core/default.nix @@ -39,7 +39,6 @@ buildPythonPackage (finalAttrs: { pname = "langchain-core"; version = "1.6.6"; pyproject = true; - __structuredAttrs = true; src = fetchFromGitHub { owner = "langchain-ai"; From 6bc6315acb7aafb21a99b5db2cdee611ca43f48a Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 22:51:14 +0200 Subject: [PATCH 0973/2378] python3Packages.langchain-fireworks: remove redundant structuredAttrs --- pkgs/development/python-modules/langchain-fireworks/default.nix | 1 - 1 file changed, 1 deletion(-) diff --git a/pkgs/development/python-modules/langchain-fireworks/default.nix b/pkgs/development/python-modules/langchain-fireworks/default.nix index a4588b6fa8dd..a9d0552b6323 100644 --- a/pkgs/development/python-modules/langchain-fireworks/default.nix +++ b/pkgs/development/python-modules/langchain-fireworks/default.nix @@ -26,7 +26,6 @@ buildPythonPackage (finalAttrs: { pname = "langchain-fireworks"; version = "1.6.1"; pyproject = true; - __structuredAttrs = true; src = fetchFromGitHub { owner = "langchain-ai"; From adfef4127d54a461582fa141e85219561571cd03 Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 22:51:14 +0200 Subject: [PATCH 0974/2378] python3Packages.langchain-google-genai: remove redundant structuredAttrs --- .../python-modules/langchain-google-genai/default.nix | 1 - 1 file changed, 1 deletion(-) diff --git a/pkgs/development/python-modules/langchain-google-genai/default.nix b/pkgs/development/python-modules/langchain-google-genai/default.nix index 39b88463fd19..5fedc4a4bc7b 100644 --- a/pkgs/development/python-modules/langchain-google-genai/default.nix +++ b/pkgs/development/python-modules/langchain-google-genai/default.nix @@ -31,7 +31,6 @@ buildPythonPackage (finalAttrs: { pname = "langchain-google-genai"; version = "4.3.4"; pyproject = true; - __structuredAttrs = true; src = fetchFromGitHub { owner = "langchain-ai"; From d50a278afa1f52e87fa5e3b6c982991779c0e935 Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 22:51:15 +0200 Subject: [PATCH 0975/2378] python3Packages.langchain-groq: remove redundant structuredAttrs --- pkgs/development/python-modules/langchain-groq/default.nix | 1 - 1 file changed, 1 deletion(-) diff --git a/pkgs/development/python-modules/langchain-groq/default.nix b/pkgs/development/python-modules/langchain-groq/default.nix index 96931c62cfa3..019d0e760a2a 100644 --- a/pkgs/development/python-modules/langchain-groq/default.nix +++ b/pkgs/development/python-modules/langchain-groq/default.nix @@ -22,7 +22,6 @@ buildPythonPackage (finalAttrs: { pname = "langchain-groq"; version = "1.1.3"; pyproject = true; - __structuredAttrs = true; src = fetchFromGitHub { owner = "langchain-ai"; From 4009d79bf0eb1a29ee09b659d1320d099bc3453d Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 22:51:15 +0200 Subject: [PATCH 0976/2378] python3Packages.langchain-huggingface: remove redundant structuredAttrs --- .../development/python-modules/langchain-huggingface/default.nix | 1 - 1 file changed, 1 deletion(-) diff --git a/pkgs/development/python-modules/langchain-huggingface/default.nix b/pkgs/development/python-modules/langchain-huggingface/default.nix index 8d8bd5fb1c43..6c3a24dea3e1 100644 --- a/pkgs/development/python-modules/langchain-huggingface/default.nix +++ b/pkgs/development/python-modules/langchain-huggingface/default.nix @@ -35,7 +35,6 @@ buildPythonPackage (finalAttrs: { pname = "langchain-huggingface"; version = "1.2.3"; pyproject = true; - __structuredAttrs = true; src = fetchFromGitHub { owner = "langchain-ai"; From b7f47f1c3642ed8678ce920ec2106d8e18b5097d Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 22:51:15 +0200 Subject: [PATCH 0977/2378] python3Packages.langchain-mistralai: remove redundant structuredAttrs --- pkgs/development/python-modules/langchain-mistralai/default.nix | 1 - 1 file changed, 1 deletion(-) diff --git a/pkgs/development/python-modules/langchain-mistralai/default.nix b/pkgs/development/python-modules/langchain-mistralai/default.nix index ff71b424443f..74f35a671ab2 100644 --- a/pkgs/development/python-modules/langchain-mistralai/default.nix +++ b/pkgs/development/python-modules/langchain-mistralai/default.nix @@ -26,7 +26,6 @@ buildPythonPackage (finalAttrs: { pname = "langchain-mistralai"; version = "1.1.6"; pyproject = true; - __structuredAttrs = true; src = fetchFromGitHub { owner = "langchain-ai"; From f6d078d5e6a46f8dacd568189351b75f0a7e9b18 Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 22:51:16 +0200 Subject: [PATCH 0978/2378] python3Packages.langchain-mongodb: remove redundant structuredAttrs --- pkgs/development/python-modules/langchain-mongodb/default.nix | 1 - 1 file changed, 1 deletion(-) diff --git a/pkgs/development/python-modules/langchain-mongodb/default.nix b/pkgs/development/python-modules/langchain-mongodb/default.nix index 05567fc20852..043eabbcc86b 100644 --- a/pkgs/development/python-modules/langchain-mongodb/default.nix +++ b/pkgs/development/python-modules/langchain-mongodb/default.nix @@ -38,7 +38,6 @@ buildPythonPackage (finalAttrs: { pname = "langchain-mongodb"; version = "0.12.1"; pyproject = true; - __structuredAttrs = true; src = fetchFromGitHub { owner = "langchain-ai"; From 6319e23d58dabfa6937ca15e5bc510b64982e28f Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 22:51:16 +0200 Subject: [PATCH 0979/2378] python3Packages.langchain-ollama: remove redundant structuredAttrs --- pkgs/development/python-modules/langchain-ollama/default.nix | 1 - 1 file changed, 1 deletion(-) diff --git a/pkgs/development/python-modules/langchain-ollama/default.nix b/pkgs/development/python-modules/langchain-ollama/default.nix index 93a4e135ce39..75f7fb4ba6c8 100644 --- a/pkgs/development/python-modules/langchain-ollama/default.nix +++ b/pkgs/development/python-modules/langchain-ollama/default.nix @@ -25,7 +25,6 @@ buildPythonPackage (finalAttrs: { pname = "langchain-ollama"; version = "1.1.0"; pyproject = true; - __structuredAttrs = true; src = fetchFromGitHub { owner = "langchain-ai"; From 2eda7e65b86ca76f555a9ca39e1a518cafc13114 Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 22:51:16 +0200 Subject: [PATCH 0980/2378] python3Packages.langchain-openai: remove redundant structuredAttrs --- pkgs/development/python-modules/langchain-openai/default.nix | 1 - 1 file changed, 1 deletion(-) diff --git a/pkgs/development/python-modules/langchain-openai/default.nix b/pkgs/development/python-modules/langchain-openai/default.nix index a2f001d06322..69c7a62214fc 100644 --- a/pkgs/development/python-modules/langchain-openai/default.nix +++ b/pkgs/development/python-modules/langchain-openai/default.nix @@ -35,7 +35,6 @@ buildPythonPackage (finalAttrs: { pname = "langchain-openai"; version = "1.6.2"; pyproject = true; - __structuredAttrs = true; src = fetchFromGitHub { owner = "langchain-ai"; From 575e20c80b459a8e98ef0220cf67060ead45bfde Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 22:51:17 +0200 Subject: [PATCH 0981/2378] python3Packages.langchain-perplexity: remove redundant structuredAttrs --- pkgs/development/python-modules/langchain-perplexity/default.nix | 1 - 1 file changed, 1 deletion(-) diff --git a/pkgs/development/python-modules/langchain-perplexity/default.nix b/pkgs/development/python-modules/langchain-perplexity/default.nix index 05ad7f49c64e..a63e3098624c 100644 --- a/pkgs/development/python-modules/langchain-perplexity/default.nix +++ b/pkgs/development/python-modules/langchain-perplexity/default.nix @@ -26,7 +26,6 @@ buildPythonPackage (finalAttrs: { pname = "langchain-perplexity"; version = "1.4.1"; pyproject = true; - __structuredAttrs = true; src = fetchFromGitHub { owner = "langchain-ai"; From 5a2ec15e28981ac6e05287fc371bf6bbbc284663 Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 22:51:17 +0200 Subject: [PATCH 0982/2378] python3Packages.langchain-protocol: remove redundant structuredAttrs --- pkgs/development/python-modules/langchain-protocol/default.nix | 1 - 1 file changed, 1 deletion(-) diff --git a/pkgs/development/python-modules/langchain-protocol/default.nix b/pkgs/development/python-modules/langchain-protocol/default.nix index c952473f1b96..9081f7b41218 100644 --- a/pkgs/development/python-modules/langchain-protocol/default.nix +++ b/pkgs/development/python-modules/langchain-protocol/default.nix @@ -10,7 +10,6 @@ buildPythonPackage (finalAttrs: { pname = "langchain-protocol"; version = "0.0.19"; pyproject = true; - __structuredAttrs = true; # Not available vis Github yet; required by langchain-core src = fetchFromGitHub { From 0670917458d92432cb39ca97f61724add1ce6d4a Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 22:51:17 +0200 Subject: [PATCH 0983/2378] python3Packages.langchain-tests: remove redundant structuredAttrs --- pkgs/development/python-modules/langchain-tests/default.nix | 1 - 1 file changed, 1 deletion(-) diff --git a/pkgs/development/python-modules/langchain-tests/default.nix b/pkgs/development/python-modules/langchain-tests/default.nix index 367414938f26..b3c07665f230 100644 --- a/pkgs/development/python-modules/langchain-tests/default.nix +++ b/pkgs/development/python-modules/langchain-tests/default.nix @@ -30,7 +30,6 @@ buildPythonPackage (finalAttrs: { pname = "langchain-tests"; version = "1.1.9"; pyproject = true; - __structuredAttrs = true; src = fetchFromGitHub { owner = "langchain-ai"; From 5942ab3fc91453303c493cbeeb5c7069c17d1c0b Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 22:51:17 +0200 Subject: [PATCH 0984/2378] python3Packages.langchain: remove redundant structuredAttrs --- pkgs/development/python-modules/langchain/default.nix | 1 - 1 file changed, 1 deletion(-) diff --git a/pkgs/development/python-modules/langchain/default.nix b/pkgs/development/python-modules/langchain/default.nix index 0fe400edda28..9eef69c8c43e 100644 --- a/pkgs/development/python-modules/langchain/default.nix +++ b/pkgs/development/python-modules/langchain/default.nix @@ -48,7 +48,6 @@ buildPythonPackage (finalAttrs: { pname = "langchain"; version = "1.4.0"; pyproject = true; - __structuredAttrs = true; src = fetchFromGitHub { owner = "langchain-ai"; From c84d1f172ae578bb1fd03d6e962ddca1d5b75d24 Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 22:51:18 +0200 Subject: [PATCH 0985/2378] python3Packages.langgraph-checkpoint-postgres: remove redundant structuredAttrs --- .../python-modules/langgraph-checkpoint-postgres/default.nix | 1 - 1 file changed, 1 deletion(-) diff --git a/pkgs/development/python-modules/langgraph-checkpoint-postgres/default.nix b/pkgs/development/python-modules/langgraph-checkpoint-postgres/default.nix index 58dfc1f90254..f1f43f8300bd 100644 --- a/pkgs/development/python-modules/langgraph-checkpoint-postgres/default.nix +++ b/pkgs/development/python-modules/langgraph-checkpoint-postgres/default.nix @@ -28,7 +28,6 @@ buildPythonPackage (finalAttrs: { pname = "langgraph-checkpoint-postgres"; version = "3.1.2"; pyproject = true; - __structuredAttrs = true; src = fetchFromGitHub { owner = "langchain-ai"; From 4e6ead86cff6642a6ab6d85759dfd1d9dc76655a Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 22:51:18 +0200 Subject: [PATCH 0986/2378] python3Packages.langgraph-checkpoint-sqlite: remove redundant structuredAttrs --- .../python-modules/langgraph-checkpoint-sqlite/default.nix | 1 - 1 file changed, 1 deletion(-) diff --git a/pkgs/development/python-modules/langgraph-checkpoint-sqlite/default.nix b/pkgs/development/python-modules/langgraph-checkpoint-sqlite/default.nix index cc33d554868d..d95f3697a8d3 100644 --- a/pkgs/development/python-modules/langgraph-checkpoint-sqlite/default.nix +++ b/pkgs/development/python-modules/langgraph-checkpoint-sqlite/default.nix @@ -24,7 +24,6 @@ buildPythonPackage (finalAttrs: { pname = "langgraph-checkpoint-sqlite"; version = "3.1.1"; pyproject = true; - __structuredAttrs = true; src = fetchFromGitHub { owner = "langchain-ai"; From c60aa492558fd8b08ebc097cfb89814ccfa3788d Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 22:51:18 +0200 Subject: [PATCH 0987/2378] python3Packages.langgraph-cli: remove redundant structuredAttrs --- pkgs/development/python-modules/langgraph-cli/default.nix | 1 - 1 file changed, 1 deletion(-) diff --git a/pkgs/development/python-modules/langgraph-cli/default.nix b/pkgs/development/python-modules/langgraph-cli/default.nix index 47204c09a675..32a74234b4a7 100644 --- a/pkgs/development/python-modules/langgraph-cli/default.nix +++ b/pkgs/development/python-modules/langgraph-cli/default.nix @@ -29,7 +29,6 @@ buildPythonPackage (finalAttrs: { pname = "langgraph-cli"; version = "0.4.33"; pyproject = true; - __structuredAttrs = true; src = fetchFromGitHub { owner = "langchain-ai"; From 739d4c09bb9f6aab0b3e88f322aa3777064c3863 Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 22:51:19 +0200 Subject: [PATCH 0988/2378] python3Packages.langgraph-prebuilt: remove redundant structuredAttrs --- pkgs/development/python-modules/langgraph-prebuilt/default.nix | 1 - 1 file changed, 1 deletion(-) diff --git a/pkgs/development/python-modules/langgraph-prebuilt/default.nix b/pkgs/development/python-modules/langgraph-prebuilt/default.nix index b37ebd432f84..773b466fdc31 100644 --- a/pkgs/development/python-modules/langgraph-prebuilt/default.nix +++ b/pkgs/development/python-modules/langgraph-prebuilt/default.nix @@ -34,7 +34,6 @@ buildPythonPackage (finalAttrs: { pname = "langgraph-prebuilt"; version = "1.1.0"; pyproject = true; - __structuredAttrs = true; src = fetchFromGitHub { owner = "langchain-ai"; From ccde38dda78e12765ef90302bba79978d3a820db Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 22:51:19 +0200 Subject: [PATCH 0989/2378] python3Packages.langgraph-runtime-inmem: remove redundant structuredAttrs --- .../python-modules/langgraph-runtime-inmem/default.nix | 1 - 1 file changed, 1 deletion(-) diff --git a/pkgs/development/python-modules/langgraph-runtime-inmem/default.nix b/pkgs/development/python-modules/langgraph-runtime-inmem/default.nix index c905520fb806..7ab998fa21f5 100644 --- a/pkgs/development/python-modules/langgraph-runtime-inmem/default.nix +++ b/pkgs/development/python-modules/langgraph-runtime-inmem/default.nix @@ -16,7 +16,6 @@ buildPythonPackage (finalAttrs: { pname = "langgraph-runtime-inmem"; version = "0.34.1"; pyproject = true; - __structuredAttrs = true; # Not available in any repository src = fetchPypi { From ccf116876512e63f983f32f7acd11c34d9df6676 Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 22:51:19 +0200 Subject: [PATCH 0990/2378] python3Packages.langgraph-sdk: remove redundant structuredAttrs --- pkgs/development/python-modules/langgraph-sdk/default.nix | 1 - 1 file changed, 1 deletion(-) diff --git a/pkgs/development/python-modules/langgraph-sdk/default.nix b/pkgs/development/python-modules/langgraph-sdk/default.nix index 1504b27ee1f2..ea702ce0c1be 100644 --- a/pkgs/development/python-modules/langgraph-sdk/default.nix +++ b/pkgs/development/python-modules/langgraph-sdk/default.nix @@ -23,7 +23,6 @@ buildPythonPackage (finalAttrs: { pname = "langgraph-sdk"; version = "0.4.4"; pyproject = true; - __structuredAttrs = true; src = fetchFromGitHub { owner = "langchain-ai"; From 1cd75fa89429b3e70725217add0794e53073cdd9 Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 22:51:19 +0200 Subject: [PATCH 0991/2378] python3Packages.langgraph: remove redundant structuredAttrs --- pkgs/development/python-modules/langgraph/default.nix | 1 - 1 file changed, 1 deletion(-) diff --git a/pkgs/development/python-modules/langgraph/default.nix b/pkgs/development/python-modules/langgraph/default.nix index 949133e39f9f..ea8bd822abe4 100644 --- a/pkgs/development/python-modules/langgraph/default.nix +++ b/pkgs/development/python-modules/langgraph/default.nix @@ -43,7 +43,6 @@ buildPythonPackage (finalAttrs: { pname = "langgraph"; version = "1.2.11"; pyproject = true; - __structuredAttrs = true; src = fetchFromGitHub { owner = "langchain-ai"; From fc3f3f2c4f6c465be62e44485cff5b651c1d3ded Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 22:51:20 +0200 Subject: [PATCH 0992/2378] python3Packages.lbox-clients: remove redundant structuredAttrs --- pkgs/development/python-modules/lbox-clients/default.nix | 1 - 1 file changed, 1 deletion(-) diff --git a/pkgs/development/python-modules/lbox-clients/default.nix b/pkgs/development/python-modules/lbox-clients/default.nix index 05a5866fa598..592b187c8019 100644 --- a/pkgs/development/python-modules/lbox-clients/default.nix +++ b/pkgs/development/python-modules/lbox-clients/default.nix @@ -14,7 +14,6 @@ buildPythonPackage (finalAttrs: { pname = "lbox-clients"; version = "1.1.2"; pyproject = true; - __structuredAttrs = true; src = fetchFromGitHub { owner = "Labelbox"; From 7a60146039723d006bdb5e0bab07d47552f8f5b1 Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 22:51:20 +0200 Subject: [PATCH 0993/2378] python3Packages.lerobot: remove redundant structuredAttrs --- pkgs/development/python-modules/lerobot/default.nix | 1 - 1 file changed, 1 deletion(-) diff --git a/pkgs/development/python-modules/lerobot/default.nix b/pkgs/development/python-modules/lerobot/default.nix index 8f99973b4293..5f84529311aa 100644 --- a/pkgs/development/python-modules/lerobot/default.nix +++ b/pkgs/development/python-modules/lerobot/default.nix @@ -36,7 +36,6 @@ buildPythonPackage (finalAttrs: { pname = "lerobot"; version = "0.6.1"; pyproject = true; - __structuredAttrs = true; src = fetchFromGitHub { owner = "huggingface"; From e768036887979ff3f63c3e872e0062f3f91e86e0 Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 22:51:20 +0200 Subject: [PATCH 0994/2378] python3Packages.libmobility: remove redundant structuredAttrs --- pkgs/development/python-modules/libmobility/default.nix | 1 - 1 file changed, 1 deletion(-) diff --git a/pkgs/development/python-modules/libmobility/default.nix b/pkgs/development/python-modules/libmobility/default.nix index e99cf9f8b0e6..e7b04e81829c 100644 --- a/pkgs/development/python-modules/libmobility/default.nix +++ b/pkgs/development/python-modules/libmobility/default.nix @@ -41,7 +41,6 @@ buildPythonPackage.override { stdenv = cudaPackages.backendStdenv; } (finalAttrs pname = "libmobility"; version = "1.2.0"; pyproject = true; - __structuredAttrs = true; src = fetchFromGitHub { owner = "stochasticHydroTools"; From f10a4781ea02a74f4c9137a6d5da51216793d0e7 Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 22:51:21 +0200 Subject: [PATCH 0995/2378] python3Packages.librosa: remove redundant structuredAttrs --- pkgs/development/python-modules/librosa/default.nix | 1 - 1 file changed, 1 deletion(-) diff --git a/pkgs/development/python-modules/librosa/default.nix b/pkgs/development/python-modules/librosa/default.nix index 1844f03c9a3f..2a1603024264 100644 --- a/pkgs/development/python-modules/librosa/default.nix +++ b/pkgs/development/python-modules/librosa/default.nix @@ -35,7 +35,6 @@ buildPythonPackage (finalAttrs: { pname = "librosa"; version = "1.0.0"; pyproject = true; - __structuredAttrs = true; src = fetchFromGitHub { owner = "librosa"; From 7147973afac96fd2a5869a3b67451fb21176b739 Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 22:51:21 +0200 Subject: [PATCH 0996/2378] python3Packages.libsast: remove redundant structuredAttrs --- pkgs/development/python-modules/libsast/default.nix | 1 - 1 file changed, 1 deletion(-) diff --git a/pkgs/development/python-modules/libsast/default.nix b/pkgs/development/python-modules/libsast/default.nix index 96fba1b4b85a..bb15cd453b3e 100644 --- a/pkgs/development/python-modules/libsast/default.nix +++ b/pkgs/development/python-modules/libsast/default.nix @@ -15,7 +15,6 @@ buildPythonPackage (finalAttrs: { pname = "libsast"; version = "3.1.8"; pyproject = true; - __structuredAttrs = true; src = fetchFromGitHub { owner = "ajinabraham"; From fc09da409a7078e26a6822eaa8a28ecedcfec3a5 Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 22:51:21 +0200 Subject: [PATCH 0997/2378] python3Packages.licomp-doubleopen: remove redundant structuredAttrs --- pkgs/development/python-modules/licomp-doubleopen/default.nix | 1 - 1 file changed, 1 deletion(-) diff --git a/pkgs/development/python-modules/licomp-doubleopen/default.nix b/pkgs/development/python-modules/licomp-doubleopen/default.nix index 2243caa52b1f..e1db3aaa9724 100644 --- a/pkgs/development/python-modules/licomp-doubleopen/default.nix +++ b/pkgs/development/python-modules/licomp-doubleopen/default.nix @@ -18,7 +18,6 @@ buildPythonPackage (finalAttrs: { pname = "licomp-doubleopen"; version = "0.1.5"; pyproject = true; - __structuredAttrs = true; src = fetchFromGitHub { owner = "hesa"; From 8224df97e221a215183a2ee2542e68b35cb40032 Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 22:51:21 +0200 Subject: [PATCH 0998/2378] python3Packages.licomp-dwheeler: remove redundant structuredAttrs --- pkgs/development/python-modules/licomp-dwheeler/default.nix | 1 - 1 file changed, 1 deletion(-) diff --git a/pkgs/development/python-modules/licomp-dwheeler/default.nix b/pkgs/development/python-modules/licomp-dwheeler/default.nix index 39fb76e1905d..42313675f334 100644 --- a/pkgs/development/python-modules/licomp-dwheeler/default.nix +++ b/pkgs/development/python-modules/licomp-dwheeler/default.nix @@ -18,7 +18,6 @@ buildPythonPackage (finalAttrs: { pname = "licomp-dwheeler"; version = "0.5.1"; pyproject = true; - __structuredAttrs = true; src = fetchFromGitHub { owner = "hesa"; From 3c966a19ad0c3c4a7bd971a6fea20e47f2b593bf Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 22:51:22 +0200 Subject: [PATCH 0999/2378] python3Packages.licomp-gnuguide: remove redundant structuredAttrs --- pkgs/development/python-modules/licomp-gnuguide/default.nix | 1 - 1 file changed, 1 deletion(-) diff --git a/pkgs/development/python-modules/licomp-gnuguide/default.nix b/pkgs/development/python-modules/licomp-gnuguide/default.nix index 8d90a79f53a2..a18cd3d27a9e 100644 --- a/pkgs/development/python-modules/licomp-gnuguide/default.nix +++ b/pkgs/development/python-modules/licomp-gnuguide/default.nix @@ -18,7 +18,6 @@ buildPythonPackage (finalAttrs: { pname = "licomp-gnuguide"; version = "0.5.2"; pyproject = true; - __structuredAttrs = true; src = fetchFromGitHub { owner = "hesa"; From 15a2f94c83745421c4e62194f99a995952d9e1c4 Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 22:51:22 +0200 Subject: [PATCH 1000/2378] python3Packages.licomp-hermione: remove redundant structuredAttrs --- pkgs/development/python-modules/licomp-hermione/default.nix | 1 - 1 file changed, 1 deletion(-) diff --git a/pkgs/development/python-modules/licomp-hermione/default.nix b/pkgs/development/python-modules/licomp-hermione/default.nix index 9bf2a5f827cf..eba8b07359c5 100644 --- a/pkgs/development/python-modules/licomp-hermione/default.nix +++ b/pkgs/development/python-modules/licomp-hermione/default.nix @@ -12,7 +12,6 @@ buildPythonPackage (finalAttrs: { pname = "licomp-hermione"; version = "0.5.2"; pyproject = true; - __structuredAttrs = true; src = fetchFromGitHub { owner = "hesa"; From a53ac6d51d9d08f6433b5ed69a8139f85c05a71a Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 22:51:22 +0200 Subject: [PATCH 1001/2378] python3Packages.licomp-osadl: remove redundant structuredAttrs --- pkgs/development/python-modules/licomp-osadl/default.nix | 1 - 1 file changed, 1 deletion(-) diff --git a/pkgs/development/python-modules/licomp-osadl/default.nix b/pkgs/development/python-modules/licomp-osadl/default.nix index 7796128e0463..b57bc18dd801 100644 --- a/pkgs/development/python-modules/licomp-osadl/default.nix +++ b/pkgs/development/python-modules/licomp-osadl/default.nix @@ -18,7 +18,6 @@ buildPythonPackage (finalAttrs: { pname = "licomp-osadl"; version = "0.5.1"; pyproject = true; - __structuredAttrs = true; src = fetchFromGitHub { owner = "hesa"; From ee93a8eab5c55c3049e984726beb42f7bbd3f830 Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 22:51:23 +0200 Subject: [PATCH 1002/2378] python3Packages.licomp-oslc-handbook: remove redundant structuredAttrs --- pkgs/development/python-modules/licomp-oslc-handbook/default.nix | 1 - 1 file changed, 1 deletion(-) diff --git a/pkgs/development/python-modules/licomp-oslc-handbook/default.nix b/pkgs/development/python-modules/licomp-oslc-handbook/default.nix index 837ccee0c3be..0605acda3cc3 100644 --- a/pkgs/development/python-modules/licomp-oslc-handbook/default.nix +++ b/pkgs/development/python-modules/licomp-oslc-handbook/default.nix @@ -19,7 +19,6 @@ buildPythonPackage (finalAttrs: { pname = "licomp-oslc-handbook"; version = "0.1.2"; pyproject = true; - __structuredAttrs = true; src = fetchFromGitHub { owner = "hesa"; From 6f39cfe8095ecb19ac3998c2e64749290465f652 Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 22:51:23 +0200 Subject: [PATCH 1003/2378] python3Packages.licomp-proprietary: remove redundant structuredAttrs --- pkgs/development/python-modules/licomp-proprietary/default.nix | 1 - 1 file changed, 1 deletion(-) diff --git a/pkgs/development/python-modules/licomp-proprietary/default.nix b/pkgs/development/python-modules/licomp-proprietary/default.nix index 4132f0e709ed..ad5df1c90ac8 100644 --- a/pkgs/development/python-modules/licomp-proprietary/default.nix +++ b/pkgs/development/python-modules/licomp-proprietary/default.nix @@ -18,7 +18,6 @@ buildPythonPackage (finalAttrs: { pname = "licomp-proprietary"; version = "0.5.3"; pyproject = true; - __structuredAttrs = true; src = fetchFromGitHub { owner = "hesa"; From 28923b66f6d7dcf3114736e5750c67de09f817c5 Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 22:51:23 +0200 Subject: [PATCH 1004/2378] python3Packages.licomp-reclicense: remove redundant structuredAttrs --- pkgs/development/python-modules/licomp-reclicense/default.nix | 1 - 1 file changed, 1 deletion(-) diff --git a/pkgs/development/python-modules/licomp-reclicense/default.nix b/pkgs/development/python-modules/licomp-reclicense/default.nix index 89b3822e3dc6..31861108e98c 100644 --- a/pkgs/development/python-modules/licomp-reclicense/default.nix +++ b/pkgs/development/python-modules/licomp-reclicense/default.nix @@ -18,7 +18,6 @@ buildPythonPackage (finalAttrs: { pname = "licomp-reclicense"; version = "0.5.1"; pyproject = true; - __structuredAttrs = true; src = fetchFromGitHub { owner = "hesa"; From 30ed186ed7260c22f7f928cb3a050f3942a00cc1 Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 22:51:23 +0200 Subject: [PATCH 1005/2378] python3Packages.licomp-toolkit: remove redundant structuredAttrs --- pkgs/development/python-modules/licomp-toolkit/default.nix | 1 - 1 file changed, 1 deletion(-) diff --git a/pkgs/development/python-modules/licomp-toolkit/default.nix b/pkgs/development/python-modules/licomp-toolkit/default.nix index 7728335e34c8..9fb6934bd482 100644 --- a/pkgs/development/python-modules/licomp-toolkit/default.nix +++ b/pkgs/development/python-modules/licomp-toolkit/default.nix @@ -27,7 +27,6 @@ buildPythonPackage (finalAttrs: { pname = "licomp-toolkit"; version = "0.5.20"; pyproject = true; - __structuredAttrs = true; src = fetchFromCodeberg { owner = "software-compliance-org"; From ac93e6f8eeefba2a6d4c7958f81941d8505d4660 Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 22:51:24 +0200 Subject: [PATCH 1006/2378] python3Packages.licomp: remove redundant structuredAttrs --- pkgs/development/python-modules/licomp/default.nix | 1 - 1 file changed, 1 deletion(-) diff --git a/pkgs/development/python-modules/licomp/default.nix b/pkgs/development/python-modules/licomp/default.nix index 9ec29e091b64..6c13caf3348a 100644 --- a/pkgs/development/python-modules/licomp/default.nix +++ b/pkgs/development/python-modules/licomp/default.nix @@ -18,7 +18,6 @@ buildPythonPackage (finalAttrs: { pname = "licomp"; version = "0.5.22"; pyproject = true; - __structuredAttrs = true; src = fetchFromCodeberg { owner = "software-compliance-org"; From 1abe133cf11b70ccd7b8da708b0f06fa59cba173 Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 22:51:24 +0200 Subject: [PATCH 1007/2378] python3Packages.lifelines: remove redundant structuredAttrs --- pkgs/development/python-modules/lifelines/default.nix | 1 - 1 file changed, 1 deletion(-) diff --git a/pkgs/development/python-modules/lifelines/default.nix b/pkgs/development/python-modules/lifelines/default.nix index fd66776ce10e..65749986d126 100644 --- a/pkgs/development/python-modules/lifelines/default.nix +++ b/pkgs/development/python-modules/lifelines/default.nix @@ -31,7 +31,6 @@ buildPythonPackage (finalAttrs: { pname = "lifelines"; version = "0.30.3"; pyproject = true; - __structuredAttrs = true; src = fetchFromGitHub { owner = "CamDavidsonPilon"; From f6aeed23dbd59264f0b47d2624528bbf84026b95 Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 22:51:24 +0200 Subject: [PATCH 1008/2378] python3Packages.lightning: remove redundant structuredAttrs --- pkgs/development/python-modules/lightning/default.nix | 1 - 1 file changed, 1 deletion(-) diff --git a/pkgs/development/python-modules/lightning/default.nix b/pkgs/development/python-modules/lightning/default.nix index 14b8b762530c..7d2bf3cd046a 100644 --- a/pkgs/development/python-modules/lightning/default.nix +++ b/pkgs/development/python-modules/lightning/default.nix @@ -12,7 +12,6 @@ buildPythonPackage { pname = "lightning"; pyproject = true; - __structuredAttrs = true; inherit (pytorch-lightning) version From 5f7f5bf9966b2ef785d0081558a391af1dd34a1e Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 22:51:25 +0200 Subject: [PATCH 1009/2378] python3Packages.lime: remove redundant structuredAttrs --- pkgs/development/python-modules/lime/default.nix | 2 -- 1 file changed, 2 deletions(-) diff --git a/pkgs/development/python-modules/lime/default.nix b/pkgs/development/python-modules/lime/default.nix index 7ce3a798f17c..e3a3868a2593 100644 --- a/pkgs/development/python-modules/lime/default.nix +++ b/pkgs/development/python-modules/lime/default.nix @@ -20,8 +20,6 @@ buildPythonPackage (finalAttrs: { version = "0.2.0.1"; pyproject = true; - __structuredAttrs = true; - src = fetchPypi { inherit (finalAttrs) pname version; hash = "sha256-dpYOTwVf61Pom1AiODuvyHtj8lusYmWYSwozPRpX94E="; From fdb1e67e5c9826f04609f0b3b5defd514580b0e2 Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 22:51:25 +0200 Subject: [PATCH 1010/2378] python3Packages.lineax: remove redundant structuredAttrs --- pkgs/development/python-modules/lineax/default.nix | 1 - 1 file changed, 1 deletion(-) diff --git a/pkgs/development/python-modules/lineax/default.nix b/pkgs/development/python-modules/lineax/default.nix index 4afe341bd14c..57ad1480c04d 100644 --- a/pkgs/development/python-modules/lineax/default.nix +++ b/pkgs/development/python-modules/lineax/default.nix @@ -22,7 +22,6 @@ buildPythonPackage (finalAttrs: { pname = "lineax"; version = "0.1.1"; pyproject = true; - __structuredAttrs = true; src = fetchFromGitHub { owner = "patrick-kidger"; From 2f4475166c40dcf81e93b1b9b382b086cb721aa1 Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 22:51:25 +0200 Subject: [PATCH 1011/2378] python3Packages.linode-api4: remove redundant structuredAttrs --- pkgs/development/python-modules/linode-api4/default.nix | 2 -- 1 file changed, 2 deletions(-) diff --git a/pkgs/development/python-modules/linode-api4/default.nix b/pkgs/development/python-modules/linode-api4/default.nix index 86376f20a045..69dd926459a3 100644 --- a/pkgs/development/python-modules/linode-api4/default.nix +++ b/pkgs/development/python-modules/linode-api4/default.nix @@ -18,8 +18,6 @@ buildPythonPackage (finalAttrs: { version = "5.48.0"; pyproject = true; - __structuredAttrs = true; - src = fetchFromGitHub { owner = "linode"; repo = "linode_api4-python"; From 58d739ebfb50b2d2b31fa593df44f9b4351f0dd4 Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 22:51:25 +0200 Subject: [PATCH 1012/2378] python3Packages.llama-cpp-python: remove redundant structuredAttrs --- pkgs/development/python-modules/llama-cpp-python/default.nix | 1 - 1 file changed, 1 deletion(-) diff --git a/pkgs/development/python-modules/llama-cpp-python/default.nix b/pkgs/development/python-modules/llama-cpp-python/default.nix index 397186d8024a..fc1f654865fa 100644 --- a/pkgs/development/python-modules/llama-cpp-python/default.nix +++ b/pkgs/development/python-modules/llama-cpp-python/default.nix @@ -37,7 +37,6 @@ buildPythonPackage (finalAttrs: { pname = "llama-cpp-python"; version = "0.3.36"; - __structuredAttrs = true; pyproject = true; src = fetchFromGitHub { From c6e124e27f03d67d2e1b4c70f78722c817a8b3db Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 22:51:26 +0200 Subject: [PATCH 1013/2378] python3Packages.llguidance: remove redundant structuredAttrs --- pkgs/development/python-modules/llguidance/default.nix | 1 - 1 file changed, 1 deletion(-) diff --git a/pkgs/development/python-modules/llguidance/default.nix b/pkgs/development/python-modules/llguidance/default.nix index a44d5d543071..9479f1f4aa88 100644 --- a/pkgs/development/python-modules/llguidance/default.nix +++ b/pkgs/development/python-modules/llguidance/default.nix @@ -25,7 +25,6 @@ buildPythonPackage (finalAttrs: { pname = "llguidance"; version = "1.8.0"; pyproject = true; - __structuredAttrs = true; src = fetchFromGitHub { owner = "guidance-ai"; From b9689d569b46fcad02c485a5981dfb387b90ca40 Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 22:51:26 +0200 Subject: [PATCH 1014/2378] python3Packages.llm-tools-sqlite: remove redundant structuredAttrs --- pkgs/development/python-modules/llm-tools-sqlite/default.nix | 1 - 1 file changed, 1 deletion(-) diff --git a/pkgs/development/python-modules/llm-tools-sqlite/default.nix b/pkgs/development/python-modules/llm-tools-sqlite/default.nix index a573c10eb54f..32b2a151482a 100644 --- a/pkgs/development/python-modules/llm-tools-sqlite/default.nix +++ b/pkgs/development/python-modules/llm-tools-sqlite/default.nix @@ -14,7 +14,6 @@ buildPythonPackage (finalAttrs: { pname = "llm-tools-sqlite"; version = "0.1"; pyproject = true; - __structuredAttrs = true; src = fetchFromGitHub { owner = "simonw"; From a0ea760f5d0333472a1671b90895a16564471e28 Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 22:51:26 +0200 Subject: [PATCH 1015/2378] python3Packages.llm: remove redundant structuredAttrs --- pkgs/development/python-modules/llm/default.nix | 1 - 1 file changed, 1 deletion(-) diff --git a/pkgs/development/python-modules/llm/default.nix b/pkgs/development/python-modules/llm/default.nix index b42444064c50..bd0f7f3b76cd 100644 --- a/pkgs/development/python-modules/llm/default.nix +++ b/pkgs/development/python-modules/llm/default.nix @@ -166,7 +166,6 @@ let pname = "llm"; version = "0.35"; pyproject = true; - __structuredAttrs = true; build-system = [ setuptools ]; From 5c0445bbb881314d5b837f000331ef6a34328feb Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 22:51:27 +0200 Subject: [PATCH 1016/2378] python3Packages.llvmlite: remove redundant structuredAttrs --- pkgs/development/python-modules/llvmlite/default.nix | 1 - 1 file changed, 1 deletion(-) diff --git a/pkgs/development/python-modules/llvmlite/default.nix b/pkgs/development/python-modules/llvmlite/default.nix index e7c1181839d7..78f8b68c68be 100644 --- a/pkgs/development/python-modules/llvmlite/default.nix +++ b/pkgs/development/python-modules/llvmlite/default.nix @@ -27,7 +27,6 @@ buildPythonPackage (finalAttrs: { pname = "llvmlite"; version = "0.49.0"; pyproject = true; - __structuredAttrs = true; disabled = isPyPy; From dd045821f4559ed3010e7b2fc5dc6f0ee04642e9 Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 22:51:27 +0200 Subject: [PATCH 1017/2378] python3Packages.lmstudio: remove redundant structuredAttrs --- pkgs/development/python-modules/lmstudio/default.nix | 1 - 1 file changed, 1 deletion(-) diff --git a/pkgs/development/python-modules/lmstudio/default.nix b/pkgs/development/python-modules/lmstudio/default.nix index a5a1442e9e2b..ea5fc368492e 100644 --- a/pkgs/development/python-modules/lmstudio/default.nix +++ b/pkgs/development/python-modules/lmstudio/default.nix @@ -22,7 +22,6 @@ buildPythonPackage (finalAttrs: { pname = "lmstudio"; version = "1.6.0b1"; pyproject = true; - __structuredAttrs = true; src = fetchFromGitHub { owner = "lmstudio-ai"; From 32d918e3c686914df650d52d22bb4c8d3d2b3264 Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 22:51:27 +0200 Subject: [PATCH 1018/2378] python3Packages.lnkparse3: remove redundant structuredAttrs --- pkgs/development/python-modules/lnkparse3/default.nix | 1 - 1 file changed, 1 deletion(-) diff --git a/pkgs/development/python-modules/lnkparse3/default.nix b/pkgs/development/python-modules/lnkparse3/default.nix index e8383e05fe87..fb3563b96706 100644 --- a/pkgs/development/python-modules/lnkparse3/default.nix +++ b/pkgs/development/python-modules/lnkparse3/default.nix @@ -11,7 +11,6 @@ buildPythonPackage rec { pname = "lnkparse3"; version = "1.6.0"; pyproject = true; - __structuredAttrs = true; src = fetchFromGitHub { owner = "Matmaus"; From 4975e954809554a2fe964452629b155eaaae61fc Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 22:51:27 +0200 Subject: [PATCH 1019/2378] python3Packages.logfire: remove redundant structuredAttrs --- pkgs/development/python-modules/logfire/default.nix | 1 - 1 file changed, 1 deletion(-) diff --git a/pkgs/development/python-modules/logfire/default.nix b/pkgs/development/python-modules/logfire/default.nix index fe194f648d4f..7a15197b4794 100644 --- a/pkgs/development/python-modules/logfire/default.nix +++ b/pkgs/development/python-modules/logfire/default.nix @@ -66,7 +66,6 @@ buildPythonPackage (finalAttrs: { pname = "logfire"; version = "4.41.0"; pyproject = true; - __structuredAttrs = true; src = fetchFromGitHub { owner = "pydantic"; From cd58ced84f94822714f6aaf03b86a6a25cb828b3 Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 22:51:28 +0200 Subject: [PATCH 1020/2378] python3Packages.logica: remove redundant structuredAttrs --- pkgs/development/python-modules/logica/default.nix | 2 -- 1 file changed, 2 deletions(-) diff --git a/pkgs/development/python-modules/logica/default.nix b/pkgs/development/python-modules/logica/default.nix index dd680860cf28..67683b11f8a9 100644 --- a/pkgs/development/python-modules/logica/default.nix +++ b/pkgs/development/python-modules/logica/default.nix @@ -12,8 +12,6 @@ buildPythonPackage (finalAttrs: { version = "1.3.1415926535897"; pyproject = true; - __structuredAttrs = true; - src = fetchPypi { inherit (finalAttrs) pname version; hash = "sha256-d5G/juvEOoBupWTneeKt85sPfZIyYYiFIywjwKCroaM="; From baaca2f1e61cbe61fe7f6d78b7e4367f992c371e Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 22:51:28 +0200 Subject: [PATCH 1021/2378] python3Packages.loky: remove redundant structuredAttrs --- pkgs/development/python-modules/loky/default.nix | 1 - 1 file changed, 1 deletion(-) diff --git a/pkgs/development/python-modules/loky/default.nix b/pkgs/development/python-modules/loky/default.nix index fbff9b32c2eb..843baa2b8026 100644 --- a/pkgs/development/python-modules/loky/default.nix +++ b/pkgs/development/python-modules/loky/default.nix @@ -21,7 +21,6 @@ buildPythonPackage (finalAttrs: { pname = "loky"; version = "3.7.0"; pyproject = true; - __structuredAttrs = true; src = fetchFromGitHub { owner = "joblib"; From 9af060ac7b4c8f7c6c0e6c815b0422ee0bf7afd2 Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 22:51:28 +0200 Subject: [PATCH 1022/2378] python3Packages.lookup-license: remove redundant structuredAttrs --- pkgs/development/python-modules/lookup-license/default.nix | 1 - 1 file changed, 1 deletion(-) diff --git a/pkgs/development/python-modules/lookup-license/default.nix b/pkgs/development/python-modules/lookup-license/default.nix index f6ccfde500be..496c7e94aaef 100644 --- a/pkgs/development/python-modules/lookup-license/default.nix +++ b/pkgs/development/python-modules/lookup-license/default.nix @@ -27,7 +27,6 @@ buildPythonPackage (finalAttrs: { pname = "lookup-license"; version = "0.1.31"; pyproject = true; - __structuredAttrs = true; src = fetchFromGitHub { owner = "hesa"; From 14816c2ea1e9ff0769294477839323c49b2b3db1 Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 22:51:29 +0200 Subject: [PATCH 1023/2378] python3Packages.loompy: remove redundant structuredAttrs --- pkgs/development/python-modules/loompy/default.nix | 2 -- 1 file changed, 2 deletions(-) diff --git a/pkgs/development/python-modules/loompy/default.nix b/pkgs/development/python-modules/loompy/default.nix index 5b0e789519a3..1f7e19382972 100644 --- a/pkgs/development/python-modules/loompy/default.nix +++ b/pkgs/development/python-modules/loompy/default.nix @@ -17,8 +17,6 @@ let version = "3.0.8"; pyproject = true; - __structuredAttrs = true; - src = fetchPypi { inherit (finalAttrs) pname version; hash = "sha256-wfSNC/Iaorve7iGgV3VTy6lgnZQ118MraHaGu7WGnKc="; From c566be52cbd880339e717a68d0cc7cb20a382bc1 Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 22:51:29 +0200 Subject: [PATCH 1024/2378] python3Packages.lxmf: remove redundant structuredAttrs --- pkgs/development/python-modules/lxmf/default.nix | 1 - 1 file changed, 1 deletion(-) diff --git a/pkgs/development/python-modules/lxmf/default.nix b/pkgs/development/python-modules/lxmf/default.nix index acb08bca236c..b4d15cdd6533 100644 --- a/pkgs/development/python-modules/lxmf/default.nix +++ b/pkgs/development/python-modules/lxmf/default.nix @@ -14,7 +14,6 @@ buildPythonPackage (finalAttrs: { pname = "lxmf"; version = "1.2.1"; pyproject = true; - __structuredAttrs = true; src = fetchPypi { inherit (finalAttrs) version; From 993a61d7625cea0e08eec09231039b0af2ab2a3b Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 22:51:29 +0200 Subject: [PATCH 1025/2378] python3Packages.lxst: remove redundant structuredAttrs --- pkgs/development/python-modules/lxst/default.nix | 1 - 1 file changed, 1 deletion(-) diff --git a/pkgs/development/python-modules/lxst/default.nix b/pkgs/development/python-modules/lxst/default.nix index f9c1d22427c8..0ed1dbf9a63c 100644 --- a/pkgs/development/python-modules/lxst/default.nix +++ b/pkgs/development/python-modules/lxst/default.nix @@ -16,7 +16,6 @@ buildPythonPackage (finalAttrs: { pname = "lxst"; version = "0.5.0"; format = "wheel"; - __structuredAttrs = true; src = fetchPypi { pname = "lxst"; From 6bfb6d1f9aa3dcbd8f6255a1aa20a08718f6fcb2 Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 22:51:29 +0200 Subject: [PATCH 1026/2378] python3Packages.mace-torch: remove redundant structuredAttrs --- pkgs/development/python-modules/mace-torch/default.nix | 1 - 1 file changed, 1 deletion(-) diff --git a/pkgs/development/python-modules/mace-torch/default.nix b/pkgs/development/python-modules/mace-torch/default.nix index 0122bffd13ca..815f7bbd435e 100644 --- a/pkgs/development/python-modules/mace-torch/default.nix +++ b/pkgs/development/python-modules/mace-torch/default.nix @@ -37,7 +37,6 @@ buildPythonPackage (finalAttrs: { pname = "mace-torch"; version = "0.3.16"; pyproject = true; - __structuredAttrs = true; src = fetchFromGitHub { owner = "acesuit"; From 0e2db135fab8e8be197ead5783eaedad81f1aa2c Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 22:51:30 +0200 Subject: [PATCH 1027/2378] python3Packages.maia3: remove redundant structuredAttrs --- pkgs/development/python-modules/maia3/default.nix | 2 -- 1 file changed, 2 deletions(-) diff --git a/pkgs/development/python-modules/maia3/default.nix b/pkgs/development/python-modules/maia3/default.nix index 14659e5e6f3e..ef7caad67c83 100644 --- a/pkgs/development/python-modules/maia3/default.nix +++ b/pkgs/development/python-modules/maia3/default.nix @@ -21,8 +21,6 @@ buildPythonPackage (finalAttrs: { hash = "sha256-gDgZTetHVB+KVKNJvAdcgjfvUBNwvWbDra1D8gQDvw8="; }; - __structuredAttrs = true; - # to be updated and removed when https://github.com/CSSLab/maia3/pull/10 is merged postPatch = '' substituteInPlace pyproject.toml \ From d758f8cee3306d4a0786e7549907f74c304ad90f Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 22:51:30 +0200 Subject: [PATCH 1028/2378] python3Packages.manim: remove redundant structuredAttrs --- pkgs/development/python-modules/manim/default.nix | 1 - 1 file changed, 1 deletion(-) diff --git a/pkgs/development/python-modules/manim/default.nix b/pkgs/development/python-modules/manim/default.nix index 8047fd04e5a7..2e5a9ec32bf5 100644 --- a/pkgs/development/python-modules/manim/default.nix +++ b/pkgs/development/python-modules/manim/default.nix @@ -190,7 +190,6 @@ buildPythonPackage (finalAttrs: { pname = "manim"; version = "0.22.0"; pyproject = true; - __structuredAttrs = true; src = fetchFromGitHub { owner = "ManimCommunity"; From 12524376bd7f1898093248468d073ea365ea3edb Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 22:51:30 +0200 Subject: [PATCH 1029/2378] python3Packages.manuel: remove redundant structuredAttrs --- pkgs/development/python-modules/manuel/default.nix | 2 -- 1 file changed, 2 deletions(-) diff --git a/pkgs/development/python-modules/manuel/default.nix b/pkgs/development/python-modules/manuel/default.nix index bb619cb9e6b5..aa197e35d3c0 100644 --- a/pkgs/development/python-modules/manuel/default.nix +++ b/pkgs/development/python-modules/manuel/default.nix @@ -12,8 +12,6 @@ buildPythonPackage (finalAttrs: { version = "1.13.0"; pyproject = true; - __structuredAttrs = true; - src = fetchPypi { inherit (finalAttrs) pname version; hash = "sha256-XWMSDej6bZJ3gLaa4oqj6dFmmxCvPTJ4Xz+6EaW+iFo="; From 406a1ef2058009c232dd4e00ab252c110715283a Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 22:51:31 +0200 Subject: [PATCH 1030/2378] python3Packages.matscipy: remove redundant structuredAttrs --- pkgs/development/python-modules/matscipy/default.nix | 1 - 1 file changed, 1 deletion(-) diff --git a/pkgs/development/python-modules/matscipy/default.nix b/pkgs/development/python-modules/matscipy/default.nix index 57bb0f26b894..385c502b688e 100644 --- a/pkgs/development/python-modules/matscipy/default.nix +++ b/pkgs/development/python-modules/matscipy/default.nix @@ -48,7 +48,6 @@ buildPythonPackage (finalAttrs: { pname = "matscipy"; version = "1.2.0"; pyproject = true; - __structuredAttrs = true; src = fetchFromGitHub { owner = "libAtoms"; From 1c155a7ee28b9d7c291b7601fc09421efc05f735 Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 22:51:31 +0200 Subject: [PATCH 1031/2378] python3Packages.matter-ble-proxy: remove redundant structuredAttrs --- pkgs/development/python-modules/matter-ble-proxy/default.nix | 2 -- 1 file changed, 2 deletions(-) diff --git a/pkgs/development/python-modules/matter-ble-proxy/default.nix b/pkgs/development/python-modules/matter-ble-proxy/default.nix index 283e2d50d618..ae07f84ab5e1 100644 --- a/pkgs/development/python-modules/matter-ble-proxy/default.nix +++ b/pkgs/development/python-modules/matter-ble-proxy/default.nix @@ -47,8 +47,6 @@ buildPythonPackage (finalAttrs: { pythonImportsCheck = [ "matter_ble_proxy" ]; - __structuredAttrs = true; - meta = { description = "Client library for the OHF Matter Server BLE proxy protocol"; homepage = "https://github.com/matter-js/matterjs-server/tree/main/python_ble_proxy"; From ff00cd434d15c52d17c02b3e0f64e8ed7c45cdb7 Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 22:51:31 +0200 Subject: [PATCH 1032/2378] python3Packages.mcp: remove redundant structuredAttrs --- pkgs/development/python-modules/mcp/default.nix | 1 - 1 file changed, 1 deletion(-) diff --git a/pkgs/development/python-modules/mcp/default.nix b/pkgs/development/python-modules/mcp/default.nix index 044065644d35..0c90aa45e88b 100644 --- a/pkgs/development/python-modules/mcp/default.nix +++ b/pkgs/development/python-modules/mcp/default.nix @@ -47,7 +47,6 @@ buildPythonPackage (finalAttrs: { pname = "mcp"; version = "1.29.0"; pyproject = true; - __structuredAttrs = true; src = fetchFromGitHub { owner = "modelcontextprotocol"; From 390d80a798a66fe447b499c4fa2d63b9499b6736 Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 22:51:32 +0200 Subject: [PATCH 1033/2378] python3Packages.mergedict: remove redundant structuredAttrs --- pkgs/development/python-modules/mergedict/default.nix | 2 -- 1 file changed, 2 deletions(-) diff --git a/pkgs/development/python-modules/mergedict/default.nix b/pkgs/development/python-modules/mergedict/default.nix index 67e391344d93..5f3031b3031e 100644 --- a/pkgs/development/python-modules/mergedict/default.nix +++ b/pkgs/development/python-modules/mergedict/default.nix @@ -11,8 +11,6 @@ buildPythonPackage (finalAttrs: { version = "1.0.0"; pyproject = true; - __structuredAttrs = true; - src = fetchPypi { inherit (finalAttrs) pname version; hash = "sha256-4ZkrNqVCKQFPvLx6nIwo0fSuEx6h2NNFyTlz+fDcb9w="; From 7d4cfc7f6574696355f75f69daf62b4dde95f335 Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 22:51:32 +0200 Subject: [PATCH 1034/2378] python3Packages.meshcore-cli: remove redundant structuredAttrs --- pkgs/development/python-modules/meshcore-cli/default.nix | 2 -- 1 file changed, 2 deletions(-) diff --git a/pkgs/development/python-modules/meshcore-cli/default.nix b/pkgs/development/python-modules/meshcore-cli/default.nix index 186dda86192b..601be95d7c0a 100644 --- a/pkgs/development/python-modules/meshcore-cli/default.nix +++ b/pkgs/development/python-modules/meshcore-cli/default.nix @@ -40,8 +40,6 @@ buildPythonPackage (finalAttrs: { doCheck = false; # no tests - __structuredAttrs = true; - meta = { changelog = "https://github.com/meshcore-dev/meshcore-cli/releases/tag/${finalAttrs.src.tag}"; description = "Command line interface to MeshCore node"; From 3432424d3c4861f6551f35dd91932616908ed86f Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 22:51:32 +0200 Subject: [PATCH 1035/2378] python3Packages.mhcflurry: remove redundant structuredAttrs --- pkgs/development/python-modules/mhcflurry/default.nix | 1 - 1 file changed, 1 deletion(-) diff --git a/pkgs/development/python-modules/mhcflurry/default.nix b/pkgs/development/python-modules/mhcflurry/default.nix index 0335c940147d..0fa6d40aa556 100644 --- a/pkgs/development/python-modules/mhcflurry/default.nix +++ b/pkgs/development/python-modules/mhcflurry/default.nix @@ -31,7 +31,6 @@ buildPythonPackage (finalAttrs: { pname = "mhcflurry"; version = "2.3.14"; pyproject = true; - __structuredAttrs = true; src = fetchFromGitHub { owner = "openvax"; From 7fcbd258c40dd741a744acd44b880fdc9afeefb0 Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 22:51:33 +0200 Subject: [PATCH 1036/2378] python3Packages.miltertest: remove redundant structuredAttrs --- pkgs/development/python-modules/miltertest/default.nix | 1 - 1 file changed, 1 deletion(-) diff --git a/pkgs/development/python-modules/miltertest/default.nix b/pkgs/development/python-modules/miltertest/default.nix index 029f3eca1f6f..469f03f473da 100644 --- a/pkgs/development/python-modules/miltertest/default.nix +++ b/pkgs/development/python-modules/miltertest/default.nix @@ -10,7 +10,6 @@ buildPythonPackage rec { pname = "miltertest"; version = "1.0.0"; pyproject = true; - __structuredAttrs = true; src = fetchFromGitHub { owner = "flowerysong"; From b648c9fa35ecb4ae91ae16039b8d999e96fb4476 Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 22:51:33 +0200 Subject: [PATCH 1037/2378] python3Packages.minari: remove redundant structuredAttrs --- pkgs/development/python-modules/minari/default.nix | 1 - 1 file changed, 1 deletion(-) diff --git a/pkgs/development/python-modules/minari/default.nix b/pkgs/development/python-modules/minari/default.nix index fe8357ec1e3a..4c5d0bbaa7f3 100644 --- a/pkgs/development/python-modules/minari/default.nix +++ b/pkgs/development/python-modules/minari/default.nix @@ -33,7 +33,6 @@ buildPythonPackage (finalAttrs: { pname = "minari"; version = "0.5.4"; pyproject = true; - __structuredAttrs = true; src = fetchFromGitHub { owner = "Farama-Foundation"; From fe18366b8d78328374f7319ce1cd61d6927cca07 Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 22:51:33 +0200 Subject: [PATCH 1038/2378] python3Packages.minikanren: remove redundant structuredAttrs --- pkgs/development/python-modules/minikanren/default.nix | 1 - 1 file changed, 1 deletion(-) diff --git a/pkgs/development/python-modules/minikanren/default.nix b/pkgs/development/python-modules/minikanren/default.nix index 457587e272b8..dcd3a60b9f0e 100644 --- a/pkgs/development/python-modules/minikanren/default.nix +++ b/pkgs/development/python-modules/minikanren/default.nix @@ -25,7 +25,6 @@ buildPythonPackage (finalAttrs: { pname = "minikanren"; version = "1.0.5"; pyproject = true; - __structuredAttrs = true; src = fetchFromGitHub { owner = "pythological"; From 613809429ecb9022d2d400d5cc29d24f33352abf Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 22:51:33 +0200 Subject: [PATCH 1039/2378] python3Packages.mistral-common: remove redundant structuredAttrs --- pkgs/development/python-modules/mistral-common/default.nix | 1 - 1 file changed, 1 deletion(-) diff --git a/pkgs/development/python-modules/mistral-common/default.nix b/pkgs/development/python-modules/mistral-common/default.nix index e5dfd4073369..4bb9c8296907 100644 --- a/pkgs/development/python-modules/mistral-common/default.nix +++ b/pkgs/development/python-modules/mistral-common/default.nix @@ -41,7 +41,6 @@ buildPythonPackage (finalAttrs: { pname = "mistral-common"; version = "1.12.0"; pyproject = true; - __structuredAttrs = true; src = fetchFromGitHub { owner = "mistralai"; From 4afdcc9e28879a134cacc7af6759ae24033c6825 Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 22:51:34 +0200 Subject: [PATCH 1040/2378] python3Packages.mistralai: remove redundant structuredAttrs --- pkgs/development/python-modules/mistralai/default.nix | 1 - 1 file changed, 1 deletion(-) diff --git a/pkgs/development/python-modules/mistralai/default.nix b/pkgs/development/python-modules/mistralai/default.nix index 5203b261ebac..56f403455f3f 100644 --- a/pkgs/development/python-modules/mistralai/default.nix +++ b/pkgs/development/python-modules/mistralai/default.nix @@ -38,7 +38,6 @@ buildPythonPackage (finalAttrs: { pname = "mistralai"; version = "2.10.1"; pyproject = true; - __structuredAttrs = true; src = fetchFromGitHub { owner = "mistralai"; From edfb2fc645f9e86208617951b975c710616e3e2f Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 22:51:34 +0200 Subject: [PATCH 1041/2378] python3Packages.mizani: remove redundant structuredAttrs --- pkgs/development/python-modules/mizani/default.nix | 1 - 1 file changed, 1 deletion(-) diff --git a/pkgs/development/python-modules/mizani/default.nix b/pkgs/development/python-modules/mizani/default.nix index f577be157085..577591f07d28 100644 --- a/pkgs/development/python-modules/mizani/default.nix +++ b/pkgs/development/python-modules/mizani/default.nix @@ -21,7 +21,6 @@ buildPythonPackage (finalAttrs: { pname = "mizani"; version = "0.14.6"; pyproject = true; - __structuredAttrs = true; src = fetchFromGitHub { owner = "has2k1"; From e03e449f35271fb762c8f379e75824aeceec7089 Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 22:51:34 +0200 Subject: [PATCH 1042/2378] python3Packages.mjviser: remove redundant structuredAttrs --- pkgs/development/python-modules/mjviser/default.nix | 1 - 1 file changed, 1 deletion(-) diff --git a/pkgs/development/python-modules/mjviser/default.nix b/pkgs/development/python-modules/mjviser/default.nix index 508a3858097c..55b816343206 100644 --- a/pkgs/development/python-modules/mjviser/default.nix +++ b/pkgs/development/python-modules/mjviser/default.nix @@ -21,7 +21,6 @@ buildPythonPackage (finalAttrs: { pname = "mjviser"; version = "0.0.14"; pyproject = true; - __structuredAttrs = true; src = fetchFromGitHub { owner = "mujocolab"; From 92a58877ae22817c8a2b734ec99c5f4a8d36b2c2 Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 22:51:35 +0200 Subject: [PATCH 1043/2378] python3Packages.mlcroissant: remove redundant structuredAttrs --- pkgs/development/python-modules/mlcroissant/default.nix | 1 - 1 file changed, 1 deletion(-) diff --git a/pkgs/development/python-modules/mlcroissant/default.nix b/pkgs/development/python-modules/mlcroissant/default.nix index 04f1bdf2cd92..665cd9cd6f66 100644 --- a/pkgs/development/python-modules/mlcroissant/default.nix +++ b/pkgs/development/python-modules/mlcroissant/default.nix @@ -33,7 +33,6 @@ buildPythonPackage (finalAttrs: { pname = "mlcroissant"; version = "1.1.0"; pyproject = true; - __structuredAttrs = true; src = fetchFromGitHub { owner = "mlcommons"; From 8f4b3e843d0d162b498875103cd9701812ef8097 Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 22:51:35 +0200 Subject: [PATCH 1044/2378] python3Packages.mlflow-skinny: remove redundant structuredAttrs --- pkgs/development/python-modules/mlflow-skinny/default.nix | 1 - 1 file changed, 1 deletion(-) diff --git a/pkgs/development/python-modules/mlflow-skinny/default.nix b/pkgs/development/python-modules/mlflow-skinny/default.nix index 8a3955aa2372..f33ce72de0cd 100644 --- a/pkgs/development/python-modules/mlflow-skinny/default.nix +++ b/pkgs/development/python-modules/mlflow-skinny/default.nix @@ -35,7 +35,6 @@ buildPythonPackage (finalAttrs: { pname = "mlflow-skinny"; inherit (mlflow) version; pyproject = true; - __structuredAttrs = true; src = fetchFromGitHub { owner = "mlflow"; From e071f8bd4d8ddd6993f670a1aaa52a7f8a7c666c Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 22:51:35 +0200 Subject: [PATCH 1045/2378] python3Packages.mlflow-tracing: remove redundant structuredAttrs --- pkgs/development/python-modules/mlflow-tracing/default.nix | 1 - 1 file changed, 1 deletion(-) diff --git a/pkgs/development/python-modules/mlflow-tracing/default.nix b/pkgs/development/python-modules/mlflow-tracing/default.nix index 40417b6eda46..44cedd541379 100644 --- a/pkgs/development/python-modules/mlflow-tracing/default.nix +++ b/pkgs/development/python-modules/mlflow-tracing/default.nix @@ -21,7 +21,6 @@ buildPythonPackage (finalAttrs: { pname = "mlflow-tracing"; inherit (mlflow) version; pyproject = true; - __structuredAttrs = true; src = fetchFromGitHub { owner = "mlflow"; From 32305e2c6ff6ed8d4d65a8bc6946e933cabbd2a7 Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 22:51:35 +0200 Subject: [PATCH 1046/2378] python3Packages.mlflow: remove redundant structuredAttrs --- pkgs/development/python-modules/mlflow/default.nix | 1 - 1 file changed, 1 deletion(-) diff --git a/pkgs/development/python-modules/mlflow/default.nix b/pkgs/development/python-modules/mlflow/default.nix index 696ca603d369..5cf0e9542270 100644 --- a/pkgs/development/python-modules/mlflow/default.nix +++ b/pkgs/development/python-modules/mlflow/default.nix @@ -30,7 +30,6 @@ buildPythonPackage (finalAttrs: { pname = "mlflow"; version = "3.17.1"; format = "wheel"; - __structuredAttrs = true; # We build from the PyPI wheel rather than fetchFromGitHub, because the mlflow-server # JS UI is absent from GitHub but provided in the wheel. From e0c09d9980dbc90534c0bdbe69ab124f6f41187f Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 22:51:36 +0200 Subject: [PATCH 1047/2378] python3Packages.mlx-lm: remove redundant structuredAttrs --- pkgs/development/python-modules/mlx-lm/default.nix | 1 - 1 file changed, 1 deletion(-) diff --git a/pkgs/development/python-modules/mlx-lm/default.nix b/pkgs/development/python-modules/mlx-lm/default.nix index 842e5c8c6e48..c3f744cd9b70 100644 --- a/pkgs/development/python-modules/mlx-lm/default.nix +++ b/pkgs/development/python-modules/mlx-lm/default.nix @@ -26,7 +26,6 @@ buildPythonPackage (finalAttrs: { pname = "mlx-lm"; version = "0.31.3"; pyproject = true; - __structuredAttrs = true; src = fetchFromGitHub { owner = "ml-explore"; From 80a31d78ac7dfdad3b7ba34d9033addf74271ae0 Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 22:51:36 +0200 Subject: [PATCH 1048/2378] python3Packages.mlx: remove redundant structuredAttrs --- pkgs/development/python-modules/mlx/bin.nix | 1 - pkgs/development/python-modules/mlx/default.nix | 1 - pkgs/development/python-modules/mlx/metal.nix | 1 - 3 files changed, 3 deletions(-) diff --git a/pkgs/development/python-modules/mlx/bin.nix b/pkgs/development/python-modules/mlx/bin.nix index 7e81a43f98de..d87bc0c55a8e 100644 --- a/pkgs/development/python-modules/mlx/bin.nix +++ b/pkgs/development/python-modules/mlx/bin.nix @@ -40,7 +40,6 @@ buildPythonPackage (finalAttrs: { pname = "mlx"; inherit version; format = "wheel"; - __structuredAttrs = true; disabled = !(srcs ? ${sourceKey}); diff --git a/pkgs/development/python-modules/mlx/default.nix b/pkgs/development/python-modules/mlx/default.nix index b770454ed13d..d890d7e3c457 100644 --- a/pkgs/development/python-modules/mlx/default.nix +++ b/pkgs/development/python-modules/mlx/default.nix @@ -44,7 +44,6 @@ buildPythonPackage (finalAttrs: { pname = "mlx"; version = "0.32.3"; pyproject = true; - __structuredAttrs = true; src = fetchFromGitHub { owner = "ml-explore"; diff --git a/pkgs/development/python-modules/mlx/metal.nix b/pkgs/development/python-modules/mlx/metal.nix index 7fbd1ef994eb..b2c30ad40435 100644 --- a/pkgs/development/python-modules/mlx/metal.nix +++ b/pkgs/development/python-modules/mlx/metal.nix @@ -25,7 +25,6 @@ buildPythonPackage rec { pname = "mlx-metal"; inherit (wheelSources) version; format = "wheel"; - __structuredAttrs = true; src = srcs.${macosVariant} or (throw "mlx-metal: unsupported macOS wheel variant ${macosVariant}"); From cafd5b67f4670e83ff5632af0af86e62394418c4 Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 22:51:37 +0200 Subject: [PATCH 1049/2378] python3Packages.mne: remove redundant structuredAttrs --- pkgs/development/python-modules/mne/default.nix | 2 -- 1 file changed, 2 deletions(-) diff --git a/pkgs/development/python-modules/mne/default.nix b/pkgs/development/python-modules/mne/default.nix index 7a767a48fd63..76aefda15870 100644 --- a/pkgs/development/python-modules/mne/default.nix +++ b/pkgs/development/python-modules/mne/default.nix @@ -32,8 +32,6 @@ buildPythonPackage rec { version = "1.12.1"; pyproject = true; - __structuredAttrs = true; - src = fetchFromGitHub { owner = "mne-tools"; repo = "mne-python"; From 98c2737b7ddc21c45a345e648c6bdfd6ae4deecf Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 22:51:37 +0200 Subject: [PATCH 1050/2378] python3Packages.modal: remove redundant structuredAttrs --- pkgs/development/python-modules/modal/default.nix | 2 -- 1 file changed, 2 deletions(-) diff --git a/pkgs/development/python-modules/modal/default.nix b/pkgs/development/python-modules/modal/default.nix index e2d7fe04538a..e2b951e1191f 100644 --- a/pkgs/development/python-modules/modal/default.nix +++ b/pkgs/development/python-modules/modal/default.nix @@ -43,8 +43,6 @@ buildPythonPackage (finalAttrs: { version = "1.5.5"; pyproject = true; - __structuredAttrs = true; - src = fetchFromGitHub { owner = "modal-labs"; repo = "modal-client"; From fb96c07c9c8f6bfddcadcadf489c3d1494f62f99 Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 22:51:37 +0200 Subject: [PATCH 1051/2378] python3Packages.modbus-connection: remove redundant structuredAttrs --- pkgs/development/python-modules/modbus-connection/default.nix | 1 - 1 file changed, 1 deletion(-) diff --git a/pkgs/development/python-modules/modbus-connection/default.nix b/pkgs/development/python-modules/modbus-connection/default.nix index c7d841fe7c9b..fa258e007f8c 100644 --- a/pkgs/development/python-modules/modbus-connection/default.nix +++ b/pkgs/development/python-modules/modbus-connection/default.nix @@ -15,7 +15,6 @@ buildPythonPackage (finalAttrs: { pname = "modbus-connection"; version = "4.12.4"; pyproject = true; - __structuredAttrs = true; src = fetchFromGitHub { owner = "home-assistant-libs"; From af3034756c09fc64ce728fd81fdb11ae5b2746f6 Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 22:51:38 +0200 Subject: [PATCH 1052/2378] python3Packages.monty: remove redundant structuredAttrs --- pkgs/development/python-modules/monty/default.nix | 1 - 1 file changed, 1 deletion(-) diff --git a/pkgs/development/python-modules/monty/default.nix b/pkgs/development/python-modules/monty/default.nix index 542e15cbbf1c..86fbcecf725c 100644 --- a/pkgs/development/python-modules/monty/default.nix +++ b/pkgs/development/python-modules/monty/default.nix @@ -39,7 +39,6 @@ buildPythonPackage (finalAttrs: { pname = "monty"; version = "2026.7.16"; pyproject = true; - __structuredAttrs = true; src = fetchFromGitHub { owner = "materialyzeai"; From f1f3d318857962bd6427079c8adc16d658092246 Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 22:51:38 +0200 Subject: [PATCH 1053/2378] python3Packages.moocore: remove redundant structuredAttrs --- pkgs/development/python-modules/moocore/default.nix | 1 - 1 file changed, 1 deletion(-) diff --git a/pkgs/development/python-modules/moocore/default.nix b/pkgs/development/python-modules/moocore/default.nix index 6b6de7dd0999..c02128abb66a 100644 --- a/pkgs/development/python-modules/moocore/default.nix +++ b/pkgs/development/python-modules/moocore/default.nix @@ -20,7 +20,6 @@ buildPythonPackage (finalAttrs: { pname = "moocore"; version = "0.3.2"; pyproject = true; - __structuredAttrs = true; src = fetchFromGitHub { owner = "multi-objective"; From f5b9ea5956a44938d6d061db6e2b21bfdfa1ac32 Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 22:51:38 +0200 Subject: [PATCH 1054/2378] python3Packages.mouser: remove redundant structuredAttrs --- pkgs/development/python-modules/mouser/default.nix | 1 - 1 file changed, 1 deletion(-) diff --git a/pkgs/development/python-modules/mouser/default.nix b/pkgs/development/python-modules/mouser/default.nix index 52364f0fc7cd..daf3bc694845 100644 --- a/pkgs/development/python-modules/mouser/default.nix +++ b/pkgs/development/python-modules/mouser/default.nix @@ -18,7 +18,6 @@ buildPythonPackage (finalAttrs: { pname = "mouser"; version = "0.1.6"; pyproject = true; - __structuredAttrs = true; src = fetchFromGitHub { owner = "sparkmicro"; From 88a5509cc9ca859f18c6b08a97cadd3d6678c9e4 Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 22:51:38 +0200 Subject: [PATCH 1055/2378] python3Packages.moyopy: remove redundant structuredAttrs --- pkgs/development/python-modules/moyopy/default.nix | 1 - 1 file changed, 1 deletion(-) diff --git a/pkgs/development/python-modules/moyopy/default.nix b/pkgs/development/python-modules/moyopy/default.nix index 509a9917311c..fa5787890ea9 100644 --- a/pkgs/development/python-modules/moyopy/default.nix +++ b/pkgs/development/python-modules/moyopy/default.nix @@ -18,7 +18,6 @@ buildPythonPackage (finalAttrs: { pname = "moyopy"; version = "0.21.0"; pyproject = true; - __structuredAttrs = true; src = fetchFromGitHub { owner = "spglib"; From 03bc4e0cd8fcd8c6ea1c0f5a06ae909b610ae5ce Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 22:51:39 +0200 Subject: [PATCH 1056/2378] python3Packages.mplhep: remove redundant structuredAttrs --- pkgs/development/python-modules/mplhep/default.nix | 1 - 1 file changed, 1 deletion(-) diff --git a/pkgs/development/python-modules/mplhep/default.nix b/pkgs/development/python-modules/mplhep/default.nix index f459e30ad843..8bcfe8f7e37b 100644 --- a/pkgs/development/python-modules/mplhep/default.nix +++ b/pkgs/development/python-modules/mplhep/default.nix @@ -27,7 +27,6 @@ buildPythonPackage (finalAttrs: { pname = "mplhep"; version = "1.3.3"; pyproject = true; - __structuredAttrs = true; src = fetchFromGitHub { owner = "scikit-hep"; From 5065c315398c6d17b68df8e6a1c981a551afc536 Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 22:51:39 +0200 Subject: [PATCH 1057/2378] python3Packages.msgpack-numpy-opentensor: remove redundant structuredAttrs --- .../python-modules/msgpack-numpy-opentensor/default.nix | 2 -- 1 file changed, 2 deletions(-) diff --git a/pkgs/development/python-modules/msgpack-numpy-opentensor/default.nix b/pkgs/development/python-modules/msgpack-numpy-opentensor/default.nix index 574239460dd2..26972320253a 100644 --- a/pkgs/development/python-modules/msgpack-numpy-opentensor/default.nix +++ b/pkgs/development/python-modules/msgpack-numpy-opentensor/default.nix @@ -13,8 +13,6 @@ buildPythonPackage (finalAttrs: { version = "0.5.0"; pyproject = true; - __structuredAttrs = true; - # The GitHub repo does not tag the same releases as PyPi, so we use PyPi directly instead. src = fetchPypi { inherit (finalAttrs) pname version; From 7127e848e236c4c224afc35ed36ec82ef2ec73dc Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 22:51:39 +0200 Subject: [PATCH 1058/2378] python3Packages.msticpy: remove redundant structuredAttrs --- pkgs/development/python-modules/msticpy/default.nix | 1 - 1 file changed, 1 deletion(-) diff --git a/pkgs/development/python-modules/msticpy/default.nix b/pkgs/development/python-modules/msticpy/default.nix index b147fce28941..54fdd548734b 100644 --- a/pkgs/development/python-modules/msticpy/default.nix +++ b/pkgs/development/python-modules/msticpy/default.nix @@ -53,7 +53,6 @@ buildPythonPackage (finalAttrs: { pname = "msticpy"; version = "3.0.2"; pyproject = true; - __structuredAttrs = true; src = fetchFromGitHub { owner = "microsoft"; From 0696dc40871b32f026a60a07c3eb9dda0b97d856 Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 22:51:40 +0200 Subject: [PATCH 1059/2378] python3Packages.mujoco-mjx: remove redundant structuredAttrs --- pkgs/development/python-modules/mujoco-mjx/default.nix | 1 - 1 file changed, 1 deletion(-) diff --git a/pkgs/development/python-modules/mujoco-mjx/default.nix b/pkgs/development/python-modules/mujoco-mjx/default.nix index 7e6acf652166..206ff068f02e 100644 --- a/pkgs/development/python-modules/mujoco-mjx/default.nix +++ b/pkgs/development/python-modules/mujoco-mjx/default.nix @@ -23,7 +23,6 @@ buildPythonPackage { pname = "mujoco-mjx"; inherit (mujoco-main) src version; pyproject = true; - __structuredAttrs = true; sourceRoot = "${mujoco-main.src.name}/mjx"; From 914a0b0d7e25d639340285e05860960fc24aaa43 Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 22:51:40 +0200 Subject: [PATCH 1060/2378] python3Packages.mujoco-warp: remove redundant structuredAttrs --- pkgs/development/python-modules/mujoco-warp/default.nix | 1 - 1 file changed, 1 deletion(-) diff --git a/pkgs/development/python-modules/mujoco-warp/default.nix b/pkgs/development/python-modules/mujoco-warp/default.nix index ba5689ce70fe..f1fefce0fa3f 100644 --- a/pkgs/development/python-modules/mujoco-warp/default.nix +++ b/pkgs/development/python-modules/mujoco-warp/default.nix @@ -25,7 +25,6 @@ buildPythonPackage (finalAttrs: { pname = "mujoco-warp"; inherit (mujoco) version; pyproject = true; - __structuredAttrs = true; src = fetchFromGitHub { owner = "google-deepmind"; From f99357235b40dddb183fd61655d2dc36537e977e Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 22:51:40 +0200 Subject: [PATCH 1061/2378] python3Packages.mujoco: remove redundant structuredAttrs --- pkgs/development/python-modules/mujoco/default.nix | 1 - 1 file changed, 1 deletion(-) diff --git a/pkgs/development/python-modules/mujoco/default.nix b/pkgs/development/python-modules/mujoco/default.nix index 2fa6471e1a78..65db3ae9b910 100644 --- a/pkgs/development/python-modules/mujoco/default.nix +++ b/pkgs/development/python-modules/mujoco/default.nix @@ -32,7 +32,6 @@ buildPythonPackage (finalAttrs: { inherit (mujoco) version; pyproject = true; - __structuredAttrs = true; # We do not fetch from the repository because the PyPi tarball is # impurely build via From dba49e69bc8ca03f2401eb73eaa309906d10e384 Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 22:51:40 +0200 Subject: [PATCH 1062/2378] python3Packages.muon-optimizer: remove redundant structuredAttrs --- pkgs/development/python-modules/muon-optimizer/default.nix | 1 - 1 file changed, 1 deletion(-) diff --git a/pkgs/development/python-modules/muon-optimizer/default.nix b/pkgs/development/python-modules/muon-optimizer/default.nix index 5855c5feb4d2..8473c1346b18 100644 --- a/pkgs/development/python-modules/muon-optimizer/default.nix +++ b/pkgs/development/python-modules/muon-optimizer/default.nix @@ -11,7 +11,6 @@ buildPythonPackage (finalAttrs: { pname = "muon-optimizer"; version = "0.1.0"; pyproject = true; - __structuredAttrs = true; src = fetchPypi { pname = "muon_optimizer"; From 95abce8080eb6d2a199bb6875631f4504c7ba13a Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 22:51:41 +0200 Subject: [PATCH 1063/2378] python3Packages.mutesync: remove redundant structuredAttrs --- pkgs/development/python-modules/mutesync/default.nix | 2 -- 1 file changed, 2 deletions(-) diff --git a/pkgs/development/python-modules/mutesync/default.nix b/pkgs/development/python-modules/mutesync/default.nix index 472c1ce837d1..33f2205848a9 100644 --- a/pkgs/development/python-modules/mutesync/default.nix +++ b/pkgs/development/python-modules/mutesync/default.nix @@ -12,8 +12,6 @@ buildPythonPackage (finalAttrs: { version = "0.0.2"; pyproject = true; - __structuredAttrs = true; - src = fetchPypi { pname = "mutesync"; inherit (finalAttrs) version; From 2e74ce83e1aa235fefe6b26f513f2eda819fd0a5 Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 22:51:41 +0200 Subject: [PATCH 1064/2378] python3Packages.nameparser: remove redundant structuredAttrs --- pkgs/development/python-modules/nameparser/default.nix | 2 -- 1 file changed, 2 deletions(-) diff --git a/pkgs/development/python-modules/nameparser/default.nix b/pkgs/development/python-modules/nameparser/default.nix index 51a2795bae8d..941590795989 100644 --- a/pkgs/development/python-modules/nameparser/default.nix +++ b/pkgs/development/python-modules/nameparser/default.nix @@ -13,8 +13,6 @@ buildPythonPackage (finalAttrs: { version = "2.1.0"; pyproject = true; - __structuredAttrs = true; - src = fetchFromGitHub { owner = "derek73"; repo = "python-nameparser"; From b449ae4fd9845551d0852a99fe564121bdb1f6ed Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 22:51:41 +0200 Subject: [PATCH 1065/2378] python3Packages.nanobind_3: remove redundant structuredAttrs --- pkgs/development/python-modules/nanobind_3/default.nix | 1 - 1 file changed, 1 deletion(-) diff --git a/pkgs/development/python-modules/nanobind_3/default.nix b/pkgs/development/python-modules/nanobind_3/default.nix index b880b652ba1b..d6c80c88ca3f 100644 --- a/pkgs/development/python-modules/nanobind_3/default.nix +++ b/pkgs/development/python-modules/nanobind_3/default.nix @@ -28,7 +28,6 @@ buildPythonPackage (finalAttrs: { pname = "nanobind"; version = "3.1.0"; pyproject = true; - __structuredAttrs = true; src = fetchFromGitHub { owner = "wjakob"; From 375d73be8ce31d9750dde1bddd6e4f25fb18c666 Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 22:51:42 +0200 Subject: [PATCH 1066/2378] python3Packages.native-sparse-attention-pytorch: remove redundant structuredAttrs --- .../python-modules/native-sparse-attention-pytorch/default.nix | 1 - 1 file changed, 1 deletion(-) diff --git a/pkgs/development/python-modules/native-sparse-attention-pytorch/default.nix b/pkgs/development/python-modules/native-sparse-attention-pytorch/default.nix index 139011d498c9..4ede322d52e5 100644 --- a/pkgs/development/python-modules/native-sparse-attention-pytorch/default.nix +++ b/pkgs/development/python-modules/native-sparse-attention-pytorch/default.nix @@ -18,7 +18,6 @@ buildPythonPackage (finalAttrs: { pname = "native-sparse-attention-pytorch"; version = "0.2.3"; pyproject = true; - __structuredAttrs = true; src = fetchFromGitHub { owner = "lucidrains"; From 053d8fb0bd3138cff454e3b8ac8c1fbb098ae10b Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 22:51:42 +0200 Subject: [PATCH 1067/2378] python3Packages.nccl4py: remove redundant structuredAttrs --- pkgs/development/python-modules/nccl4py/default.nix | 1 - 1 file changed, 1 deletion(-) diff --git a/pkgs/development/python-modules/nccl4py/default.nix b/pkgs/development/python-modules/nccl4py/default.nix index d45b60eecc6e..0a26ee9871f4 100644 --- a/pkgs/development/python-modules/nccl4py/default.nix +++ b/pkgs/development/python-modules/nccl4py/default.nix @@ -26,7 +26,6 @@ buildPythonPackage.override { stdenv = cudaPackages.backendStdenv; } (finalAttrs # the sources are fetched from. version = "0.6.0"; pyproject = true; - __structuredAttrs = true; src = fetchFromGitHub { owner = "NVIDIA"; From 39c8534b3716cd7e346f692f296f6079c1e4c5f0 Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 22:51:42 +0200 Subject: [PATCH 1068/2378] python3Packages.nemo-relay: remove redundant structuredAttrs --- pkgs/development/python-modules/nemo-relay/default.nix | 1 - 1 file changed, 1 deletion(-) diff --git a/pkgs/development/python-modules/nemo-relay/default.nix b/pkgs/development/python-modules/nemo-relay/default.nix index ade163348898..5ff99cb54e2d 100644 --- a/pkgs/development/python-modules/nemo-relay/default.nix +++ b/pkgs/development/python-modules/nemo-relay/default.nix @@ -29,7 +29,6 @@ buildPythonPackage (finalAttrs: { pname = "nemo-relay"; version = "0.7.3"; pyproject = true; - __structuredAttrs = true; src = fetchFromGitHub { owner = "NVIDIA"; From 5609358597c78fe08085c4892ac7e50e8c18adfb Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 22:51:42 +0200 Subject: [PATCH 1069/2378] python3Packages.nest-asyncio2: remove redundant structuredAttrs --- pkgs/development/python-modules/nest-asyncio2/default.nix | 1 - 1 file changed, 1 deletion(-) diff --git a/pkgs/development/python-modules/nest-asyncio2/default.nix b/pkgs/development/python-modules/nest-asyncio2/default.nix index f71ceef035da..4c9041ed5899 100644 --- a/pkgs/development/python-modules/nest-asyncio2/default.nix +++ b/pkgs/development/python-modules/nest-asyncio2/default.nix @@ -11,7 +11,6 @@ buildPythonPackage (finalAttrs: { pname = "nest-asyncio2"; version = "1.7.2"; pyproject = true; - __structuredAttrs = true; src = fetchFromGitHub { owner = "Chaoses-Ib"; From a8f13640e6939bb6ac069c44e3e73a28e0d60975 Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 22:51:43 +0200 Subject: [PATCH 1070/2378] python3Packages.netmap: remove redundant structuredAttrs --- pkgs/development/python-modules/netmap/default.nix | 2 -- 1 file changed, 2 deletions(-) diff --git a/pkgs/development/python-modules/netmap/default.nix b/pkgs/development/python-modules/netmap/default.nix index f0e3e2f94411..4d3d44270f64 100644 --- a/pkgs/development/python-modules/netmap/default.nix +++ b/pkgs/development/python-modules/netmap/default.nix @@ -13,8 +13,6 @@ buildPythonPackage (finalAttrs: { version = "0.7.0.2"; pyproject = true; - __structuredAttrs = true; - src = fetchFromGitHub { owner = "home-assistant-libs"; repo = "python-nmap"; From c6c0eb968967588bd6aa9162183a7c5cc33276fd Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 22:51:43 +0200 Subject: [PATCH 1071/2378] python3Packages.ngff-zarr: remove redundant structuredAttrs --- pkgs/development/python-modules/ngff-zarr/default.nix | 2 -- 1 file changed, 2 deletions(-) diff --git a/pkgs/development/python-modules/ngff-zarr/default.nix b/pkgs/development/python-modules/ngff-zarr/default.nix index 21817285c8ae..4732d54aa872 100644 --- a/pkgs/development/python-modules/ngff-zarr/default.nix +++ b/pkgs/development/python-modules/ngff-zarr/default.nix @@ -34,8 +34,6 @@ buildPythonPackage (finalAttrs: { version = "0.43.0"; pyproject = true; - __structuredAttrs = true; - src = fetchFromGitHub { owner = "fideus-labs"; repo = "ngff-zarr"; From e896d6a952acfd6286d046f309a98bf3c16de208 Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 22:51:43 +0200 Subject: [PATCH 1072/2378] python3Packages.nianet: remove redundant structuredAttrs --- pkgs/development/python-modules/nianet/default.nix | 1 - 1 file changed, 1 deletion(-) diff --git a/pkgs/development/python-modules/nianet/default.nix b/pkgs/development/python-modules/nianet/default.nix index 7920c0c94938..dacfbadd7289 100644 --- a/pkgs/development/python-modules/nianet/default.nix +++ b/pkgs/development/python-modules/nianet/default.nix @@ -22,7 +22,6 @@ buildPythonPackage (finalAttrs: { pname = "nianet"; version = "1.1.4"; pyproject = true; - __structuredAttrs = true; src = fetchFromGitHub { owner = "SasoPavlic"; From 47ce9ea090035f238318179e64cbb2dd21227742 Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 22:51:44 +0200 Subject: [PATCH 1073/2378] python3Packages.nilearn: remove redundant structuredAttrs --- pkgs/development/python-modules/nilearn/default.nix | 1 - 1 file changed, 1 deletion(-) diff --git a/pkgs/development/python-modules/nilearn/default.nix b/pkgs/development/python-modules/nilearn/default.nix index 8dd10b644224..a4d1eaf00140 100644 --- a/pkgs/development/python-modules/nilearn/default.nix +++ b/pkgs/development/python-modules/nilearn/default.nix @@ -29,7 +29,6 @@ buildPythonPackage (finalAttrs: { pname = "nilearn"; version = "0.14.1"; pyproject = true; - __structuredAttrs = true; src = fetchFromGitHub { owner = "nilearn"; From eff81bf29c8fa4dbacc488a98268b555be7596f4 Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 22:51:44 +0200 Subject: [PATCH 1074/2378] python3Packages.nipreps-versions: remove redundant structuredAttrs --- pkgs/development/python-modules/nipreps-versions/default.nix | 1 - 1 file changed, 1 deletion(-) diff --git a/pkgs/development/python-modules/nipreps-versions/default.nix b/pkgs/development/python-modules/nipreps-versions/default.nix index 8bfc005cabc2..82008b3233af 100644 --- a/pkgs/development/python-modules/nipreps-versions/default.nix +++ b/pkgs/development/python-modules/nipreps-versions/default.nix @@ -20,7 +20,6 @@ buildPythonPackage (finalAttrs: { pname = "nipreps-versions"; version = "1.2.0"; pyproject = true; - __structuredAttrs = true; src = fetchFromGitHub { owner = "nipreps"; From a491f933ee3e29014645b450b97aa20a5698ec6a Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 22:51:44 +0200 Subject: [PATCH 1075/2378] python3Packages.nipype: remove redundant structuredAttrs --- pkgs/development/python-modules/nipype/default.nix | 1 - 1 file changed, 1 deletion(-) diff --git a/pkgs/development/python-modules/nipype/default.nix b/pkgs/development/python-modules/nipype/default.nix index 70777d48b2b3..f698742375b4 100644 --- a/pkgs/development/python-modules/nipype/default.nix +++ b/pkgs/development/python-modules/nipype/default.nix @@ -54,7 +54,6 @@ buildPythonPackage (finalAttrs: { pname = "nipype"; version = "1.11.0"; pyproject = true; - __structuredAttrs = true; src = fetchFromGitHub { owner = "nipy"; From 71bb97b8bad9e23fa680216be8973182e6b934c3 Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 22:51:44 +0200 Subject: [PATCH 1076/2378] python3Packages.niworkflows: remove redundant structuredAttrs --- pkgs/development/python-modules/niworkflows/default.nix | 1 - 1 file changed, 1 deletion(-) diff --git a/pkgs/development/python-modules/niworkflows/default.nix b/pkgs/development/python-modules/niworkflows/default.nix index c71ba305df0a..bb9c7d79e1b9 100644 --- a/pkgs/development/python-modules/niworkflows/default.nix +++ b/pkgs/development/python-modules/niworkflows/default.nix @@ -44,7 +44,6 @@ buildPythonPackage (finalAttrs: { pname = "niworkflows"; version = "1.14.4"; pyproject = true; - __structuredAttrs = true; src = fetchFromGitHub { owner = "nipreps"; From a24b349db99c2fb180c2b2c81c1e68e76e444350 Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 22:51:45 +0200 Subject: [PATCH 1077/2378] python3Packages.nixpkgs-plugin-update: remove redundant structuredAttrs --- .../development/python-modules/nixpkgs-plugin-update/default.nix | 1 - 1 file changed, 1 deletion(-) diff --git a/pkgs/development/python-modules/nixpkgs-plugin-update/default.nix b/pkgs/development/python-modules/nixpkgs-plugin-update/default.nix index 0c354049fc78..25ab6fda5681 100644 --- a/pkgs/development/python-modules/nixpkgs-plugin-update/default.nix +++ b/pkgs/development/python-modules/nixpkgs-plugin-update/default.nix @@ -12,7 +12,6 @@ buildPythonPackage { pname = "nixpkgs-plugin-update"; version = "0.1.0"; pyproject = true; - __structuredAttrs = true; src = ./nixpkgs-plugin-update; From bf5780727a54567f1013c17720a194aa21fc9662 Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 22:51:45 +0200 Subject: [PATCH 1078/2378] python3Packages.nnaudio: remove redundant structuredAttrs --- pkgs/development/python-modules/nnaudio/default.nix | 1 - 1 file changed, 1 deletion(-) diff --git a/pkgs/development/python-modules/nnaudio/default.nix b/pkgs/development/python-modules/nnaudio/default.nix index 4440c896b106..a68368ce19ab 100644 --- a/pkgs/development/python-modules/nnaudio/default.nix +++ b/pkgs/development/python-modules/nnaudio/default.nix @@ -32,7 +32,6 @@ buildPythonPackage (finalAttrs: { pname = "nnaudio"; version = "0.3.4"; pyproject = true; - __structuredAttrs = true; src = fetchFromGitHub { owner = "KinWaiCheuk"; From fcecf6533c530aef36c17176ed44385ad6e9f0cc Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 22:51:45 +0200 Subject: [PATCH 1079/2378] python3Packages.nomadnet: remove redundant structuredAttrs --- pkgs/development/python-modules/nomadnet/default.nix | 2 -- 1 file changed, 2 deletions(-) diff --git a/pkgs/development/python-modules/nomadnet/default.nix b/pkgs/development/python-modules/nomadnet/default.nix index 6f9f3732dc93..77fd6b25b168 100644 --- a/pkgs/development/python-modules/nomadnet/default.nix +++ b/pkgs/development/python-modules/nomadnet/default.nix @@ -15,8 +15,6 @@ buildPythonPackage (finalAttrs: { version = "1.4.4"; pyproject = true; - __structuredAttrs = true; - src = fetchPypi { inherit (finalAttrs) version pname; hash = "sha256-f9QzuJB1WzGHvEQNUC9v1Q7JtZu/ZVKD3/RNQnTPGzU="; From fd8a396897a141ebf356fa5b413897ddb6d6e2ec Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 22:51:46 +0200 Subject: [PATCH 1080/2378] python3Packages.notebook: remove redundant structuredAttrs --- pkgs/development/python-modules/notebook/default.nix | 1 - 1 file changed, 1 deletion(-) diff --git a/pkgs/development/python-modules/notebook/default.nix b/pkgs/development/python-modules/notebook/default.nix index 9b0de3b61f7f..3f3c2a7000d9 100644 --- a/pkgs/development/python-modules/notebook/default.nix +++ b/pkgs/development/python-modules/notebook/default.nix @@ -31,7 +31,6 @@ buildPythonPackage (finalAttrs: { pname = "notebook"; version = "7.6.3"; pyproject = true; - __structuredAttrs = true; src = fetchFromGitHub { owner = "jupyter"; From 58ebc90695be4beced730c0eef9b44d5c96b55bc Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 22:51:46 +0200 Subject: [PATCH 1081/2378] python3Packages.nrf-ota: remove redundant structuredAttrs --- pkgs/development/python-modules/nrf-ota/default.nix | 2 -- 1 file changed, 2 deletions(-) diff --git a/pkgs/development/python-modules/nrf-ota/default.nix b/pkgs/development/python-modules/nrf-ota/default.nix index 0771ddd07f87..787e4fb71a51 100644 --- a/pkgs/development/python-modules/nrf-ota/default.nix +++ b/pkgs/development/python-modules/nrf-ota/default.nix @@ -42,8 +42,6 @@ buildPythonPackage (finalAttrs: { "nrf_ota" ]; - __structuredAttrs = true; - meta = { description = "Flash firmware to Nordic nRF5x devices over BLE"; homepage = "https://github.com/OpenDisplay/nrf-ota"; From 0717bf6d5298e0a46faeff649285fb5b72877b80 Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 22:51:46 +0200 Subject: [PATCH 1082/2378] python3Packages.numba-cuda: remove redundant structuredAttrs --- pkgs/development/python-modules/numba-cuda/default.nix | 1 - 1 file changed, 1 deletion(-) diff --git a/pkgs/development/python-modules/numba-cuda/default.nix b/pkgs/development/python-modules/numba-cuda/default.nix index b1d67a4e0a84..d50d9627e2b1 100644 --- a/pkgs/development/python-modules/numba-cuda/default.nix +++ b/pkgs/development/python-modules/numba-cuda/default.nix @@ -54,7 +54,6 @@ buildPythonPackage.override { stdenv = cudaPackages.backendStdenv; } (finalAttrs pname = "numba-cuda"; version = "0.30.4"; pyproject = true; - __structuredAttrs = true; src = fetchFromGitHub { owner = "NVIDIA"; From 1915c19a4ca834f312eca00eed4b9d1ec506199b Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 22:51:46 +0200 Subject: [PATCH 1083/2378] python3Packages.numba: remove redundant structuredAttrs --- pkgs/development/python-modules/numba/default.nix | 1 - 1 file changed, 1 deletion(-) diff --git a/pkgs/development/python-modules/numba/default.nix b/pkgs/development/python-modules/numba/default.nix index a1cb75b877f2..5ed68ed0c10a 100644 --- a/pkgs/development/python-modules/numba/default.nix +++ b/pkgs/development/python-modules/numba/default.nix @@ -59,7 +59,6 @@ buildPythonPackage (finalAttrs: { version = "0.67.0"; pname = "numba"; pyproject = true; - __structuredAttrs = true; src = fetchFromGitHub { owner = "numba"; From ced77f9d7734d21dd07dbdc37e95e3714116abbb Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 22:51:47 +0200 Subject: [PATCH 1084/2378] python3Packages.numericalunits: remove redundant structuredAttrs --- pkgs/development/python-modules/numericalunits/default.nix | 2 -- 1 file changed, 2 deletions(-) diff --git a/pkgs/development/python-modules/numericalunits/default.nix b/pkgs/development/python-modules/numericalunits/default.nix index 12d91d726672..df2e5c6402af 100644 --- a/pkgs/development/python-modules/numericalunits/default.nix +++ b/pkgs/development/python-modules/numericalunits/default.nix @@ -12,8 +12,6 @@ buildPythonPackage (finalAttrs: { version = "1.28"; pyproject = true; - __structuredAttrs = true; - src = fetchFromGitHub { owner = "sbyrnes321"; repo = "numericalunits"; From e01e93f071f5eb43d815a82ad889cda40c5c6109 Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 22:51:47 +0200 Subject: [PATCH 1085/2378] python3Packages.numpy-groupies: remove redundant structuredAttrs --- pkgs/development/python-modules/numpy-groupies/default.nix | 2 -- 1 file changed, 2 deletions(-) diff --git a/pkgs/development/python-modules/numpy-groupies/default.nix b/pkgs/development/python-modules/numpy-groupies/default.nix index 24753da32bf6..97024c17d1e9 100644 --- a/pkgs/development/python-modules/numpy-groupies/default.nix +++ b/pkgs/development/python-modules/numpy-groupies/default.nix @@ -15,8 +15,6 @@ buildPythonPackage (finalAttrs: { version = "0.12.3"; pyproject = true; - __structuredAttrs = true; - src = fetchFromGitHub { owner = "ml31415"; repo = "numpy-groupies"; From 45fb82a419ec772639dd73c9af59d916e8082d50 Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 22:51:47 +0200 Subject: [PATCH 1086/2378] python3Packages.numpy-quaternion: remove redundant structuredAttrs --- pkgs/development/python-modules/numpy-quaternion/default.nix | 1 - 1 file changed, 1 deletion(-) diff --git a/pkgs/development/python-modules/numpy-quaternion/default.nix b/pkgs/development/python-modules/numpy-quaternion/default.nix index 639875be1c4c..4415c9e5ee11 100644 --- a/pkgs/development/python-modules/numpy-quaternion/default.nix +++ b/pkgs/development/python-modules/numpy-quaternion/default.nix @@ -20,7 +20,6 @@ buildPythonPackage (finalAttrs: { pname = "numpy-quaternion"; version = "2024.0.13"; pyproject = true; - __structuredAttrs = true; src = fetchFromGitHub { owner = "moble"; From faeecf432e20f0726face582ecdbfc1d2d710e20 Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 22:51:48 +0200 Subject: [PATCH 1087/2378] python3Packages.numpyro: remove redundant structuredAttrs --- pkgs/development/python-modules/numpyro/default.nix | 1 - 1 file changed, 1 deletion(-) diff --git a/pkgs/development/python-modules/numpyro/default.nix b/pkgs/development/python-modules/numpyro/default.nix index 1f485bbd3b87..4d8f3a44955b 100644 --- a/pkgs/development/python-modules/numpyro/default.nix +++ b/pkgs/development/python-modules/numpyro/default.nix @@ -32,7 +32,6 @@ buildPythonPackage (finalAttrs: { pname = "numpyro"; version = "0.22.0"; pyproject = true; - __structuredAttrs = true; src = fetchFromGitHub { owner = "pyro-ppl"; From b6b85243483caa9487d425f785a87f58f8ca8cc6 Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 22:51:48 +0200 Subject: [PATCH 1088/2378] python3Packages.nutpie: remove redundant structuredAttrs --- pkgs/development/python-modules/nutpie/default.nix | 1 - 1 file changed, 1 deletion(-) diff --git a/pkgs/development/python-modules/nutpie/default.nix b/pkgs/development/python-modules/nutpie/default.nix index 1b33556b4d95..3e6327d3a45a 100644 --- a/pkgs/development/python-modules/nutpie/default.nix +++ b/pkgs/development/python-modules/nutpie/default.nix @@ -37,7 +37,6 @@ buildPythonPackage (finalAttrs: { pname = "nutpie"; version = "0.16.11"; pyproject = true; - __structuredAttrs = true; src = fetchFromGitHub { owner = "pymc-devs"; From 7815259572c000f082d367b9a96aa6325f1f3572 Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 22:51:48 +0200 Subject: [PATCH 1089/2378] python3Packages.nvidia-cudnn-frontend: remove redundant structuredAttrs --- .../development/python-modules/nvidia-cudnn-frontend/default.nix | 1 - 1 file changed, 1 deletion(-) diff --git a/pkgs/development/python-modules/nvidia-cudnn-frontend/default.nix b/pkgs/development/python-modules/nvidia-cudnn-frontend/default.nix index 2ac8e4993d84..e2d542091383 100644 --- a/pkgs/development/python-modules/nvidia-cudnn-frontend/default.nix +++ b/pkgs/development/python-modules/nvidia-cudnn-frontend/default.nix @@ -36,7 +36,6 @@ buildPythonPackage.override { stdenv = cudaPackages.backendStdenv; } (finalAttrs pname = "nvidia-cudnn-frontend"; pyproject = true; - __structuredAttrs = true; postPatch = cudaPackages.cudnn-frontend.postPatch From 265e93dde0d541ba3d67a0f65fc67d5f9902b4a5 Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 22:51:48 +0200 Subject: [PATCH 1090/2378] python3Packages.nvidia-cutlass-dsl-libs-base: remove redundant structuredAttrs --- .../python-modules/nvidia-cutlass-dsl-libs-base/default.nix | 1 - 1 file changed, 1 deletion(-) diff --git a/pkgs/development/python-modules/nvidia-cutlass-dsl-libs-base/default.nix b/pkgs/development/python-modules/nvidia-cutlass-dsl-libs-base/default.nix index 6a9da432e017..3b52c0b0e711 100644 --- a/pkgs/development/python-modules/nvidia-cutlass-dsl-libs-base/default.nix +++ b/pkgs/development/python-modules/nvidia-cutlass-dsl-libs-base/default.nix @@ -111,7 +111,6 @@ buildPythonPackage { pname = "nvidia-cutlass-dsl-libs-base"; inherit version; format = "wheel"; - __structuredAttrs = true; src = fetchLibsWheel "base"; From 3aca46a13d62b0b67c30ab58f184a4b3628c83d6 Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 22:51:49 +0200 Subject: [PATCH 1091/2378] python3Packages.nvidia-cutlass-dsl: remove redundant structuredAttrs --- pkgs/development/python-modules/nvidia-cutlass-dsl/default.nix | 1 - 1 file changed, 1 deletion(-) diff --git a/pkgs/development/python-modules/nvidia-cutlass-dsl/default.nix b/pkgs/development/python-modules/nvidia-cutlass-dsl/default.nix index 334d9dc95cbf..12744775b831 100644 --- a/pkgs/development/python-modules/nvidia-cutlass-dsl/default.nix +++ b/pkgs/development/python-modules/nvidia-cutlass-dsl/default.nix @@ -11,7 +11,6 @@ buildPythonPackage (finalAttrs: { pname = "nvidia-cutlass-dsl"; inherit (nvidia-cutlass-dsl-libs-base) version; format = "wheel"; - __structuredAttrs = true; # Universal metadata-only wheel that just pulls in `nvidia-cutlass-dsl-libs-base` # (which actually ships the Python code and the bundled MLIR/CUDA runtime libs). From 09069404c1f18026ad5e0b89c8801b4f40af27ad Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 22:51:49 +0200 Subject: [PATCH 1092/2378] python3Packages.nvidia-cutlass: remove redundant structuredAttrs --- pkgs/development/python-modules/nvidia-cutlass/default.nix | 1 - 1 file changed, 1 deletion(-) diff --git a/pkgs/development/python-modules/nvidia-cutlass/default.nix b/pkgs/development/python-modules/nvidia-cutlass/default.nix index 9bb17e3cf1a0..5a509ac31cf9 100644 --- a/pkgs/development/python-modules/nvidia-cutlass/default.nix +++ b/pkgs/development/python-modules/nvidia-cutlass/default.nix @@ -24,7 +24,6 @@ buildPythonPackage (finalAttrs: { pname = "nvidia-cutlass"; version = "4.2.0"; pyproject = true; - __structuredAttrs = true; src = fetchFromGitHub { owner = "NVIDIA"; From 4bf59508f7c24693e279b94840e615d5bfdd3296 Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 22:51:49 +0200 Subject: [PATCH 1093/2378] python3Packages.nvidia-dlprofviewer: remove redundant structuredAttrs --- pkgs/development/python-modules/nvidia-dlprofviewer/default.nix | 1 - 1 file changed, 1 deletion(-) diff --git a/pkgs/development/python-modules/nvidia-dlprofviewer/default.nix b/pkgs/development/python-modules/nvidia-dlprofviewer/default.nix index 1ba2c9c8691c..711e7b8df537 100644 --- a/pkgs/development/python-modules/nvidia-dlprofviewer/default.nix +++ b/pkgs/development/python-modules/nvidia-dlprofviewer/default.nix @@ -15,7 +15,6 @@ buildPythonPackage (finalAttrs: { pname = "nvidia-dlprofviewer"; version = "1.8.0"; - __structuredAttrs = true; format = "wheel"; src = fetchurl { From 47a9269a579a62fa6ff0b0d3ca7554f72a5ed704 Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 22:51:50 +0200 Subject: [PATCH 1094/2378] python3Packages.nvidia-ml-py: remove redundant structuredAttrs --- pkgs/development/python-modules/nvidia-ml-py/default.nix | 1 - 1 file changed, 1 deletion(-) diff --git a/pkgs/development/python-modules/nvidia-ml-py/default.nix b/pkgs/development/python-modules/nvidia-ml-py/default.nix index 9afbab7bf7cd..29f5d399fcdf 100644 --- a/pkgs/development/python-modules/nvidia-ml-py/default.nix +++ b/pkgs/development/python-modules/nvidia-ml-py/default.nix @@ -13,7 +13,6 @@ buildPythonPackage (finalAttrs: { pname = "nvidia-ml-py"; version = "13.615.71"; pyproject = true; - __structuredAttrs = true; src = fetchPypi { pname = "nvidia_ml_py"; From e32bb44936714f81382c8f5afe2976c895ff7064 Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 22:51:50 +0200 Subject: [PATCH 1095/2378] python3Packages.nvmath-python: remove redundant structuredAttrs --- pkgs/development/python-modules/nvmath-python/default.nix | 1 - 1 file changed, 1 deletion(-) diff --git a/pkgs/development/python-modules/nvmath-python/default.nix b/pkgs/development/python-modules/nvmath-python/default.nix index 86176121cc59..f2dad8e6ee1d 100644 --- a/pkgs/development/python-modules/nvmath-python/default.nix +++ b/pkgs/development/python-modules/nvmath-python/default.nix @@ -23,7 +23,6 @@ buildPythonPackage.override { stdenv = cudaPackages_13_1.backendStdenv; } (final pname = "nvmath-python"; version = "1.0.0"; pyproject = true; - __structuredAttrs = true; src = fetchFromGitHub { owner = "NVIDIA"; From a4504cf2ba013b2ef67c315e1d034288406fe48a Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 22:51:50 +0200 Subject: [PATCH 1096/2378] python3Packages.obspy: remove redundant structuredAttrs --- pkgs/development/python-modules/obspy/default.nix | 1 - 1 file changed, 1 deletion(-) diff --git a/pkgs/development/python-modules/obspy/default.nix b/pkgs/development/python-modules/obspy/default.nix index 8471099a23dd..b088eeef902b 100644 --- a/pkgs/development/python-modules/obspy/default.nix +++ b/pkgs/development/python-modules/obspy/default.nix @@ -31,7 +31,6 @@ buildPythonPackage (finalAttrs: { pname = "obspy"; version = "1.5.1"; pyproject = true; - __structuredAttrs = true; src = fetchFromGitHub { owner = "obspy"; From df7e4e3a31259d9354290151647281664e5c8f4f Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 22:51:50 +0200 Subject: [PATCH 1097/2378] python3Packages.obstore: remove redundant structuredAttrs --- pkgs/development/python-modules/obstore/default.nix | 1 - 1 file changed, 1 deletion(-) diff --git a/pkgs/development/python-modules/obstore/default.nix b/pkgs/development/python-modules/obstore/default.nix index 9656b7a60eb1..29a59265b3eb 100644 --- a/pkgs/development/python-modules/obstore/default.nix +++ b/pkgs/development/python-modules/obstore/default.nix @@ -21,7 +21,6 @@ buildPythonPackage (finalAttrs: { pname = "obstore"; version = "0.9.4"; pyproject = true; - __structuredAttrs = true; src = fetchFromGitHub { owner = "developmentseed"; From d6452bfe5d8dc933844124ad3f7e75059f6f2328 Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 22:51:51 +0200 Subject: [PATCH 1098/2378] python3Packages.oci-lexer-parser: remove redundant structuredAttrs --- pkgs/development/python-modules/oci-lexer-parser/default.nix | 2 -- 1 file changed, 2 deletions(-) diff --git a/pkgs/development/python-modules/oci-lexer-parser/default.nix b/pkgs/development/python-modules/oci-lexer-parser/default.nix index 083fb5909077..d1a94b164fe5 100644 --- a/pkgs/development/python-modules/oci-lexer-parser/default.nix +++ b/pkgs/development/python-modules/oci-lexer-parser/default.nix @@ -13,8 +13,6 @@ buildPythonPackage (finalAttrs: { version = "0.5.0"; pyproject = true; - __structuredAttrs = true; - src = fetchFromGitHub { owner = "NetSPI"; repo = "oci-lexer-parser"; From 0c99cf130263dac44fd90da37d5523717496e529 Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 22:51:51 +0200 Subject: [PATCH 1099/2378] python3Packages.odc-geo: remove redundant structuredAttrs --- pkgs/development/python-modules/odc-geo/default.nix | 1 - 1 file changed, 1 deletion(-) diff --git a/pkgs/development/python-modules/odc-geo/default.nix b/pkgs/development/python-modules/odc-geo/default.nix index b3943537e64c..8f16fe0dba4c 100644 --- a/pkgs/development/python-modules/odc-geo/default.nix +++ b/pkgs/development/python-modules/odc-geo/default.nix @@ -33,7 +33,6 @@ buildPythonPackage (finalAttrs: { pname = "odc-geo"; version = "0.5.3"; pyproject = true; - __structuredAttrs = true; src = fetchFromGitHub { owner = "opendatacube"; From 9481c315d2501456c0e2434dd7b7ff18bf349322 Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 22:51:51 +0200 Subject: [PATCH 1100/2378] python3Packages.odl-renderer: remove redundant structuredAttrs --- pkgs/development/python-modules/odl-renderer/default.nix | 2 -- 1 file changed, 2 deletions(-) diff --git a/pkgs/development/python-modules/odl-renderer/default.nix b/pkgs/development/python-modules/odl-renderer/default.nix index 2425624b3e59..5c20da5dd570 100644 --- a/pkgs/development/python-modules/odl-renderer/default.nix +++ b/pkgs/development/python-modules/odl-renderer/default.nix @@ -84,8 +84,6 @@ buildPythonPackage (finalAttrs: { "odl_renderer" ]; - __structuredAttrs = true; - meta = { description = "Pure image rendering from drawing instructions for e-paper displays"; homepage = "https://github.com/OpenDisplay/odl-renderer"; From 564d97f5c57038045e8556c7c2fa9309c6a63ab2 Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 22:51:52 +0200 Subject: [PATCH 1101/2378] python3Packages.oelint-data: remove redundant structuredAttrs --- pkgs/development/python-modules/oelint-data/default.nix | 1 - 1 file changed, 1 deletion(-) diff --git a/pkgs/development/python-modules/oelint-data/default.nix b/pkgs/development/python-modules/oelint-data/default.nix index 8f5c78a83184..d40ce79b797e 100644 --- a/pkgs/development/python-modules/oelint-data/default.nix +++ b/pkgs/development/python-modules/oelint-data/default.nix @@ -10,7 +10,6 @@ buildPythonPackage (finalAttrs: { pname = "oelint-data"; version = "1.5.24"; pyproject = true; - __structuredAttrs = true; src = fetchFromGitHub { owner = "priv-kweihmann"; From 1be8467a0aa3f732619e200f416c469d605256fb Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 22:51:52 +0200 Subject: [PATCH 1102/2378] python3Packages.ome-zarr-models: remove redundant structuredAttrs --- pkgs/development/python-modules/ome-zarr-models/default.nix | 1 - 1 file changed, 1 deletion(-) diff --git a/pkgs/development/python-modules/ome-zarr-models/default.nix b/pkgs/development/python-modules/ome-zarr-models/default.nix index 2446794262ad..6c3275e9bf01 100644 --- a/pkgs/development/python-modules/ome-zarr-models/default.nix +++ b/pkgs/development/python-modules/ome-zarr-models/default.nix @@ -25,7 +25,6 @@ buildPythonPackage (finalAttrs: { pname = "ome-zarr-models"; version = "1.7"; pyproject = true; - __structuredAttrs = true; src = fetchFromGitHub { owner = "ome-zarr-models"; From b17885c11963c471797642f0c64eba97cdc124e5 Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 22:51:52 +0200 Subject: [PATCH 1103/2378] python3Packages.ome-zarr: remove redundant structuredAttrs --- pkgs/development/python-modules/ome-zarr/default.nix | 1 - 1 file changed, 1 deletion(-) diff --git a/pkgs/development/python-modules/ome-zarr/default.nix b/pkgs/development/python-modules/ome-zarr/default.nix index 23ccd2e0ff83..3f7097f19edf 100644 --- a/pkgs/development/python-modules/ome-zarr/default.nix +++ b/pkgs/development/python-modules/ome-zarr/default.nix @@ -28,7 +28,6 @@ buildPythonPackage (finalAttrs: { pname = "ome-zarr"; version = "0.18.0"; pyproject = true; - __structuredAttrs = true; src = fetchFromGitHub { owner = "ome"; From 19796174d8269c20a0b54a98880fe87dda7daf81 Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 22:51:52 +0200 Subject: [PATCH 1104/2378] python3Packages.onnx-ir: remove redundant structuredAttrs --- pkgs/development/python-modules/onnx-ir/default.nix | 1 - 1 file changed, 1 deletion(-) diff --git a/pkgs/development/python-modules/onnx-ir/default.nix b/pkgs/development/python-modules/onnx-ir/default.nix index b243c78a1436..a3f4401bd4b9 100644 --- a/pkgs/development/python-modules/onnx-ir/default.nix +++ b/pkgs/development/python-modules/onnx-ir/default.nix @@ -29,7 +29,6 @@ buildPythonPackage (finalAttrs: { pname = "onnx-ir"; version = "0.2.1"; pyproject = true; - __structuredAttrs = true; src = fetchFromGitHub { owner = "onnx"; From a9bc137deec13d179e2d80ea8f519db606b369d7 Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 22:51:53 +0200 Subject: [PATCH 1105/2378] python3Packages.onnx: remove redundant structuredAttrs --- pkgs/development/python-modules/onnx/default.nix | 1 - 1 file changed, 1 deletion(-) diff --git a/pkgs/development/python-modules/onnx/default.nix b/pkgs/development/python-modules/onnx/default.nix index e15cc7c0bb25..3a4d2d94a292 100644 --- a/pkgs/development/python-modules/onnx/default.nix +++ b/pkgs/development/python-modules/onnx/default.nix @@ -22,7 +22,6 @@ buildPythonPackage { ; format = "wheel"; - __structuredAttrs = true; dontUseWheelUnpack = true; From 133f1e573c13d7dae7d998130a9ed20db98fae5b Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 22:51:53 +0200 Subject: [PATCH 1106/2378] python3Packages.onnxscript: remove redundant structuredAttrs --- pkgs/development/python-modules/onnxscript/default.nix | 1 - 1 file changed, 1 deletion(-) diff --git a/pkgs/development/python-modules/onnxscript/default.nix b/pkgs/development/python-modules/onnxscript/default.nix index 4f5c4584acfd..cdf1c42dfcb7 100644 --- a/pkgs/development/python-modules/onnxscript/default.nix +++ b/pkgs/development/python-modules/onnxscript/default.nix @@ -33,7 +33,6 @@ buildPythonPackage (finalAttrs: { pname = "onnxscript"; version = "0.7.2"; pyproject = true; - __structuredAttrs = true; src = fetchFromGitHub { owner = "microsoft"; From 908312e987a31c67f017c07282ead3f00a8a281b Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 22:51:53 +0200 Subject: [PATCH 1107/2378] python3Packages.onvif-python: remove redundant structuredAttrs --- pkgs/development/python-modules/onvif-python/default.nix | 2 -- 1 file changed, 2 deletions(-) diff --git a/pkgs/development/python-modules/onvif-python/default.nix b/pkgs/development/python-modules/onvif-python/default.nix index 85a4ee054911..28bcdbc638c1 100644 --- a/pkgs/development/python-modules/onvif-python/default.nix +++ b/pkgs/development/python-modules/onvif-python/default.nix @@ -15,8 +15,6 @@ buildPythonPackage (finalAttrs: { version = "0.4.4"; pyproject = true; - __structuredAttrs = true; - src = fetchFromGitHub { owner = "nirsimetri"; repo = "onvif-python"; From b23902f6e12f64015aacadbd0e6011558f8d1653 Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 22:51:54 +0200 Subject: [PATCH 1108/2378] python3Packages.openai-whisper: remove redundant structuredAttrs --- pkgs/development/python-modules/openai-whisper/default.nix | 1 - 1 file changed, 1 deletion(-) diff --git a/pkgs/development/python-modules/openai-whisper/default.nix b/pkgs/development/python-modules/openai-whisper/default.nix index 8ec856b23b72..c656526e252e 100644 --- a/pkgs/development/python-modules/openai-whisper/default.nix +++ b/pkgs/development/python-modules/openai-whisper/default.nix @@ -30,7 +30,6 @@ buildPythonPackage (finalAttrs: { pname = "openai-whisper"; version = "20250625"; pyproject = true; - __structuredAttrs = true; src = fetchFromGitHub { owner = "openai"; From 72151191d03034ff56ae4f287a4bdca4e26ba4c8 Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 22:51:54 +0200 Subject: [PATCH 1109/2378] python3Packages.openccu-loom-client: remove redundant structuredAttrs --- pkgs/development/python-modules/openccu-loom-client/default.nix | 1 - 1 file changed, 1 deletion(-) diff --git a/pkgs/development/python-modules/openccu-loom-client/default.nix b/pkgs/development/python-modules/openccu-loom-client/default.nix index 54f21f8ee9e9..58b7c1584485 100644 --- a/pkgs/development/python-modules/openccu-loom-client/default.nix +++ b/pkgs/development/python-modules/openccu-loom-client/default.nix @@ -17,7 +17,6 @@ buildPythonPackage (finalAttrs: { pname = "openccu-loom-client"; version = "2026.10.9"; pyproject = true; - __structuredAttrs = true; src = fetchFromGitHub { owner = "SukramJ"; From 34542320c24643f8afe27409a2f2b46cbbabc4b2 Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 22:51:54 +0200 Subject: [PATCH 1110/2378] python3Packages.openexr: remove redundant structuredAttrs --- pkgs/development/python-modules/openexr/default.nix | 1 - 1 file changed, 1 deletion(-) diff --git a/pkgs/development/python-modules/openexr/default.nix b/pkgs/development/python-modules/openexr/default.nix index 6eeb95f17208..4893fe0ae351 100644 --- a/pkgs/development/python-modules/openexr/default.nix +++ b/pkgs/development/python-modules/openexr/default.nix @@ -15,7 +15,6 @@ buildPythonPackage { pname = "openexr"; inherit (pkgs.openexr) version src; pyproject = true; - __structuredAttrs = true; postPatch = '' substituteInPlace pyproject.toml \ From ab527c5b0fe419f07f88e1d1f291867c0fed49dd Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 22:51:54 +0200 Subject: [PATCH 1111/2378] python3Packages.openinference-instrumentation-claude-agent-sdk: remove redundant structuredAttrs --- .../openinference-instrumentation-claude-agent-sdk/default.nix | 2 -- 1 file changed, 2 deletions(-) diff --git a/pkgs/development/python-modules/openinference-instrumentation-claude-agent-sdk/default.nix b/pkgs/development/python-modules/openinference-instrumentation-claude-agent-sdk/default.nix index 102f23964b73..1cc9b7b54eb6 100644 --- a/pkgs/development/python-modules/openinference-instrumentation-claude-agent-sdk/default.nix +++ b/pkgs/development/python-modules/openinference-instrumentation-claude-agent-sdk/default.nix @@ -24,8 +24,6 @@ buildPythonPackage (finalAttrs: { version = "0.1.7"; pyproject = true; - __structuredAttrs = true; - src = fetchFromGitHub { owner = "Arize-ai"; repo = "openinference"; From 54fd771c67ae31eeb57b0371aa8d9672059cdc78 Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 22:51:55 +0200 Subject: [PATCH 1112/2378] python3Packages.openinference-instrumentation-openai: remove redundant structuredAttrs --- .../openinference-instrumentation-openai/default.nix | 2 -- 1 file changed, 2 deletions(-) diff --git a/pkgs/development/python-modules/openinference-instrumentation-openai/default.nix b/pkgs/development/python-modules/openinference-instrumentation-openai/default.nix index bb9bf89224ee..3ca3b978d8af 100644 --- a/pkgs/development/python-modules/openinference-instrumentation-openai/default.nix +++ b/pkgs/development/python-modules/openinference-instrumentation-openai/default.nix @@ -25,8 +25,6 @@ buildPythonPackage (finalAttrs: { version = "0.1.54"; pyproject = true; - __structuredAttrs = true; - src = fetchFromGitHub { owner = "Arize-ai"; repo = "openinference"; From 69a1e4e6a9881d692d20f2eda319837081244028 Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 22:51:55 +0200 Subject: [PATCH 1113/2378] python3Packages.openinference-instrumentation: remove redundant structuredAttrs --- .../python-modules/openinference-instrumentation/default.nix | 2 -- 1 file changed, 2 deletions(-) diff --git a/pkgs/development/python-modules/openinference-instrumentation/default.nix b/pkgs/development/python-modules/openinference-instrumentation/default.nix index bd2981a3e088..ea0437230652 100644 --- a/pkgs/development/python-modules/openinference-instrumentation/default.nix +++ b/pkgs/development/python-modules/openinference-instrumentation/default.nix @@ -21,8 +21,6 @@ buildPythonPackage (finalAttrs: { version = "0.1.57"; pyproject = true; - __structuredAttrs = true; - src = fetchFromGitHub { owner = "Arize-ai"; repo = "openinference"; From e343041ddd73431a1b7f187f0ad2bd298d5a6960 Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 22:51:55 +0200 Subject: [PATCH 1114/2378] python3Packages.openinference-semantic-conventions: remove redundant structuredAttrs --- .../openinference-semantic-conventions/default.nix | 2 -- 1 file changed, 2 deletions(-) diff --git a/pkgs/development/python-modules/openinference-semantic-conventions/default.nix b/pkgs/development/python-modules/openinference-semantic-conventions/default.nix index 8ca353bb7b2c..75a76df69500 100644 --- a/pkgs/development/python-modules/openinference-semantic-conventions/default.nix +++ b/pkgs/development/python-modules/openinference-semantic-conventions/default.nix @@ -13,8 +13,6 @@ buildPythonPackage (finalAttrs: { version = "0.1.32"; pyproject = true; - __structuredAttrs = true; - src = fetchFromGitHub { owner = "Arize-ai"; repo = "openinference"; From 5ae51d5820aec45e4096f22a85967be29fae26c9 Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 22:51:55 +0200 Subject: [PATCH 1115/2378] python3Packages.openmm-torch: remove redundant structuredAttrs --- pkgs/development/python-modules/openmm-torch/default.nix | 1 - 1 file changed, 1 deletion(-) diff --git a/pkgs/development/python-modules/openmm-torch/default.nix b/pkgs/development/python-modules/openmm-torch/default.nix index deee601861ed..6e7e1aaeec76 100644 --- a/pkgs/development/python-modules/openmm-torch/default.nix +++ b/pkgs/development/python-modules/openmm-torch/default.nix @@ -22,7 +22,6 @@ buildPythonPackage.override { inherit (torch) stdenv; } (finalAttrs: { pname = "openmm-torch"; version = "1.5.1"; pyproject = false; - __structuredAttrs = true; src = fetchFromGitHub { owner = "openmm"; From 7ee032638e24cd2c8817a6dd75cd78ccbee3e3b8 Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 22:51:56 +0200 Subject: [PATCH 1116/2378] python3Packages.opensfm: remove redundant structuredAttrs --- pkgs/development/python-modules/opensfm/default.nix | 1 - 1 file changed, 1 deletion(-) diff --git a/pkgs/development/python-modules/opensfm/default.nix b/pkgs/development/python-modules/opensfm/default.nix index f369ea5339a2..fc7b11ab3908 100644 --- a/pkgs/development/python-modules/opensfm/default.nix +++ b/pkgs/development/python-modules/opensfm/default.nix @@ -55,7 +55,6 @@ buildPythonPackage (finalAttrs: { pname = "opensfm"; version = "0.5.1-unstable-2026-08-17"; pyproject = true; - __structuredAttrs = true; src = fetchFromGitHub { owner = "mapillary"; From 01bc06af4d19800a3f8dedf93218ea2b1f7b0a75 Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 22:51:56 +0200 Subject: [PATCH 1117/2378] python3Packages.opensimplex: remove redundant structuredAttrs --- pkgs/development/python-modules/opensimplex/default.nix | 2 -- 1 file changed, 2 deletions(-) diff --git a/pkgs/development/python-modules/opensimplex/default.nix b/pkgs/development/python-modules/opensimplex/default.nix index 05406fe0cee5..92daca294780 100644 --- a/pkgs/development/python-modules/opensimplex/default.nix +++ b/pkgs/development/python-modules/opensimplex/default.nix @@ -12,8 +12,6 @@ buildPythonPackage (finalAttrs: { version = "0.4.5.1"; pyproject = true; - __structuredAttrs = true; - src = fetchFromForgejo { domain = "code.larus.se"; owner = "lmas"; From 0f17a4c618e253afe852ef2647dd04ab5e19861c Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 22:51:56 +0200 Subject: [PATCH 1118/2378] python3Packages.opt-einsum-fx: remove redundant structuredAttrs --- pkgs/development/python-modules/opt-einsum-fx/default.nix | 1 - 1 file changed, 1 deletion(-) diff --git a/pkgs/development/python-modules/opt-einsum-fx/default.nix b/pkgs/development/python-modules/opt-einsum-fx/default.nix index d183970cc557..f8c3ac7f1d50 100644 --- a/pkgs/development/python-modules/opt-einsum-fx/default.nix +++ b/pkgs/development/python-modules/opt-einsum-fx/default.nix @@ -18,7 +18,6 @@ buildPythonPackage (finalAttrs: { pname = "opt-einsum-fx"; version = "0.1.4"; pyproject = true; - __structuredAttrs = true; src = fetchFromGitHub { owner = "Linux-cpp-lisp"; From bccdeb2ee88ec23675c1f011f61aa9c23c94c0cd Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 22:51:57 +0200 Subject: [PATCH 1119/2378] python3Packages.optiland: remove redundant structuredAttrs --- pkgs/development/python-modules/optiland/default.nix | 1 - 1 file changed, 1 deletion(-) diff --git a/pkgs/development/python-modules/optiland/default.nix b/pkgs/development/python-modules/optiland/default.nix index b0533eff6827..fb5488015299 100644 --- a/pkgs/development/python-modules/optiland/default.nix +++ b/pkgs/development/python-modules/optiland/default.nix @@ -36,7 +36,6 @@ buildPythonPackage (finalAttrs: { pname = "optiland"; version = "0.6.3"; pyproject = true; - __structuredAttrs = true; src = fetchFromGitHub { owner = "HarrisonKramer"; From 12094173e8110a677c6b3621b549cb385f63451f Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 22:51:57 +0200 Subject: [PATCH 1120/2378] python3Packages.optuna: remove redundant structuredAttrs --- pkgs/development/python-modules/optuna/default.nix | 1 - 1 file changed, 1 deletion(-) diff --git a/pkgs/development/python-modules/optuna/default.nix b/pkgs/development/python-modules/optuna/default.nix index c235f5d347a2..056117f17f66 100644 --- a/pkgs/development/python-modules/optuna/default.nix +++ b/pkgs/development/python-modules/optuna/default.nix @@ -46,7 +46,6 @@ buildPythonPackage (finalAttrs: { pname = "optuna"; version = "4.9.0"; pyproject = true; - __structuredAttrs = true; src = fetchFromGitHub { owner = "optuna"; From ce6bd66af276e6927b4939aed9d7f81f6d60c359 Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 22:51:57 +0200 Subject: [PATCH 1121/2378] python3Packages.opuslib-next: remove redundant structuredAttrs --- pkgs/development/python-modules/opuslib-next/default.nix | 1 - 1 file changed, 1 deletion(-) diff --git a/pkgs/development/python-modules/opuslib-next/default.nix b/pkgs/development/python-modules/opuslib-next/default.nix index 4d8fc0d3cdba..9a061365d191 100644 --- a/pkgs/development/python-modules/opuslib-next/default.nix +++ b/pkgs/development/python-modules/opuslib-next/default.nix @@ -13,7 +13,6 @@ buildPythonPackage (finalAttrs: { pname = "opuslib-next"; version = "1.3.1"; pyproject = true; - __structuredAttrs = true; src = fetchFromGitHub { owner = "kalicyh"; From 9a323abe6376830d1cb1b94b9d8b24a795530f6b Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 22:51:58 +0200 Subject: [PATCH 1122/2378] python3Packages.orbax-checkpoint: remove redundant structuredAttrs --- pkgs/development/python-modules/orbax-checkpoint/default.nix | 1 - 1 file changed, 1 deletion(-) diff --git a/pkgs/development/python-modules/orbax-checkpoint/default.nix b/pkgs/development/python-modules/orbax-checkpoint/default.nix index 53d57b2bb639..25fe8f517988 100644 --- a/pkgs/development/python-modules/orbax-checkpoint/default.nix +++ b/pkgs/development/python-modules/orbax-checkpoint/default.nix @@ -45,7 +45,6 @@ buildPythonPackage (finalAttrs: { pname = "orbax-checkpoint"; version = "0.12.7"; pyproject = true; - __structuredAttrs = true; src = fetchFromGitHub { owner = "google"; From 5e4c1c7730f5422a90862273185aa776975f76bf Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 22:51:58 +0200 Subject: [PATCH 1123/2378] python3Packages.osadl-matrix: remove redundant structuredAttrs --- pkgs/development/python-modules/osadl-matrix/default.nix | 1 - 1 file changed, 1 deletion(-) diff --git a/pkgs/development/python-modules/osadl-matrix/default.nix b/pkgs/development/python-modules/osadl-matrix/default.nix index f781f29389d7..fb33968cb323 100644 --- a/pkgs/development/python-modules/osadl-matrix/default.nix +++ b/pkgs/development/python-modules/osadl-matrix/default.nix @@ -15,7 +15,6 @@ buildPythonPackage (finalAttrs: { pname = "osadl-matrix"; version = "2024.05.23.010555"; pyproject = true; - __structuredAttrs = true; src = fetchFromGitHub { owner = "priv-kweihmann"; From 6e65e1a1c973478411ebfda1349972ea4d31e3f7 Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 22:51:58 +0200 Subject: [PATCH 1124/2378] python3Packages.osqp: remove redundant structuredAttrs --- pkgs/development/python-modules/osqp/default.nix | 1 - 1 file changed, 1 deletion(-) diff --git a/pkgs/development/python-modules/osqp/default.nix b/pkgs/development/python-modules/osqp/default.nix index e4acb47de4e9..9ab8545fcedd 100644 --- a/pkgs/development/python-modules/osqp/default.nix +++ b/pkgs/development/python-modules/osqp/default.nix @@ -51,7 +51,6 @@ buildPythonPackage (finalAttrs: { pname = "osqp"; version = "1.1.3"; pyproject = true; - __structuredAttrs = true; src = fetchFromGitHub { owner = "osqp"; From e2463d45f635c797141890308ee8a2ace63e01f1 Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 22:51:58 +0200 Subject: [PATCH 1125/2378] python3Packages.otter-grader: remove redundant structuredAttrs --- pkgs/development/python-modules/otter-grader/default.nix | 1 - 1 file changed, 1 deletion(-) diff --git a/pkgs/development/python-modules/otter-grader/default.nix b/pkgs/development/python-modules/otter-grader/default.nix index 2992f1de3e6d..8949fb7e2427 100644 --- a/pkgs/development/python-modules/otter-grader/default.nix +++ b/pkgs/development/python-modules/otter-grader/default.nix @@ -53,7 +53,6 @@ buildPythonPackage (finalAttrs: { pname = "otter-grader"; version = "7.0.0"; pyproject = true; - __structuredAttrs = true; src = fetchFromGitHub { owner = "ucbds-infra"; From 2dcc4e124713e03c5fac0f42ebb18acac2680625 Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 22:51:59 +0200 Subject: [PATCH 1126/2378] python3Packages.owlrl: remove redundant structuredAttrs --- pkgs/development/python-modules/owlrl/default.nix | 2 -- 1 file changed, 2 deletions(-) diff --git a/pkgs/development/python-modules/owlrl/default.nix b/pkgs/development/python-modules/owlrl/default.nix index 9c9305c66d20..390a2f1357a4 100644 --- a/pkgs/development/python-modules/owlrl/default.nix +++ b/pkgs/development/python-modules/owlrl/default.nix @@ -14,8 +14,6 @@ buildPythonPackage (finalAttrs: { version = "7.6.2"; pyproject = true; - __structuredAttrs = true; - src = fetchFromGitHub { owner = "RDFLib"; repo = "OWL-RL"; From 43481251220995bbd2dc8aaa094166abe1d274f9 Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 22:51:59 +0200 Subject: [PATCH 1127/2378] python3Packages.padne: remove redundant structuredAttrs --- pkgs/development/python-modules/padne/default.nix | 1 - 1 file changed, 1 deletion(-) diff --git a/pkgs/development/python-modules/padne/default.nix b/pkgs/development/python-modules/padne/default.nix index f2751a1e36ad..7f15e8b9dd7c 100644 --- a/pkgs/development/python-modules/padne/default.nix +++ b/pkgs/development/python-modules/padne/default.nix @@ -44,7 +44,6 @@ buildPythonPackage (finalAttrs: { version = "0.3"; pyproject = true; dontUseCmakeConfigure = true; # handled by python - __structuredAttrs = true; src = fetchFromGitHub { owner = "atx"; From e762494746d04ce8681c34f66c59dc70b14662e7 Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 22:51:59 +0200 Subject: [PATCH 1128/2378] python3Packages.pamela: remove redundant structuredAttrs --- pkgs/development/python-modules/pamela/default.nix | 1 - 1 file changed, 1 deletion(-) diff --git a/pkgs/development/python-modules/pamela/default.nix b/pkgs/development/python-modules/pamela/default.nix index dc801c163d64..09350367aedf 100644 --- a/pkgs/development/python-modules/pamela/default.nix +++ b/pkgs/development/python-modules/pamela/default.nix @@ -14,7 +14,6 @@ buildPythonPackage (finalAttrs: { pname = "pamela"; version = "1.2.0"; pyproject = true; - __structuredAttrs = true; src = fetchPypi { inherit (finalAttrs) pname version; From 4e0287eae253d0c4a910269e32557a90b6699e69 Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 22:52:00 +0200 Subject: [PATCH 1129/2378] python3Packages.pandantic: remove redundant structuredAttrs --- pkgs/development/python-modules/pandantic/default.nix | 1 - 1 file changed, 1 deletion(-) diff --git a/pkgs/development/python-modules/pandantic/default.nix b/pkgs/development/python-modules/pandantic/default.nix index 26e8c28c555a..f82bfcf2bd47 100644 --- a/pkgs/development/python-modules/pandantic/default.nix +++ b/pkgs/development/python-modules/pandantic/default.nix @@ -21,7 +21,6 @@ buildPythonPackage (finalAttrs: { pname = "pandantic"; version = "1.0.1"; pyproject = true; - __structuredAttrs = true; src = fetchFromGitHub { owner = "wesselhuising"; From 78f5a01295cea4b68de73189293b817abb80dcf0 Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 22:52:00 +0200 Subject: [PATCH 1130/2378] python3Packages.pandas-flavor: remove redundant structuredAttrs --- pkgs/development/python-modules/pandas-flavor/default.nix | 1 - 1 file changed, 1 deletion(-) diff --git a/pkgs/development/python-modules/pandas-flavor/default.nix b/pkgs/development/python-modules/pandas-flavor/default.nix index 348165127325..b7354b2e5ac6 100644 --- a/pkgs/development/python-modules/pandas-flavor/default.nix +++ b/pkgs/development/python-modules/pandas-flavor/default.nix @@ -19,7 +19,6 @@ buildPythonPackage (finalAttrs: { pname = "pandas-flavor"; version = "0.8.1"; pyproject = true; - __structuredAttrs = true; src = fetchFromGitHub { owner = "pyjanitor-devs"; From 808f5920ff3f39c8a1048ba5569c1dc50cd82445 Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 22:52:00 +0200 Subject: [PATCH 1131/2378] python3Packages.pandas-stubs: remove redundant structuredAttrs --- pkgs/development/python-modules/pandas-stubs/default.nix | 1 - 1 file changed, 1 deletion(-) diff --git a/pkgs/development/python-modules/pandas-stubs/default.nix b/pkgs/development/python-modules/pandas-stubs/default.nix index 9624e836318b..2a516b537062 100644 --- a/pkgs/development/python-modules/pandas-stubs/default.nix +++ b/pkgs/development/python-modules/pandas-stubs/default.nix @@ -37,7 +37,6 @@ buildPythonPackage (finalAttrs: { pname = "pandas-stubs"; version = "3.0.5.260914"; pyproject = true; - __structuredAttrs = true; src = fetchFromGitHub { owner = "pandas-dev"; From 5f765d9230a8188a34cefda1ab5bcf5c2173b299 Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 22:52:00 +0200 Subject: [PATCH 1132/2378] python3Packages.pandera: remove redundant structuredAttrs --- pkgs/development/python-modules/pandera/default.nix | 1 - 1 file changed, 1 deletion(-) diff --git a/pkgs/development/python-modules/pandera/default.nix b/pkgs/development/python-modules/pandera/default.nix index 1d9b980f071b..39db82b0a93c 100644 --- a/pkgs/development/python-modules/pandera/default.nix +++ b/pkgs/development/python-modules/pandera/default.nix @@ -51,7 +51,6 @@ buildPythonPackage (finalAttrs: { pname = "pandera"; version = "0.33.1"; pyproject = true; - __structuredAttrs = true; src = fetchFromGitHub { owner = "unionai-oss"; From 8a9cd2eb221845dd035edb5ba9634fb71e2d1780 Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 22:52:01 +0200 Subject: [PATCH 1133/2378] python3Packages.parsnip: remove redundant structuredAttrs --- pkgs/development/python-modules/parsnip/default.nix | 2 -- 1 file changed, 2 deletions(-) diff --git a/pkgs/development/python-modules/parsnip/default.nix b/pkgs/development/python-modules/parsnip/default.nix index ecba18084e7b..fd0fb4e37f1c 100644 --- a/pkgs/development/python-modules/parsnip/default.nix +++ b/pkgs/development/python-modules/parsnip/default.nix @@ -26,8 +26,6 @@ buildPythonPackage (finalAttrs: { version = "1.0.0"; pyproject = true; - __structuredAttrs = true; - src = fetchFromGitHub { owner = "glotzerlab"; repo = "parsnip"; From c3ab9534975e22d06b2b63f0c7c99638dfab716d Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 22:52:01 +0200 Subject: [PATCH 1134/2378] python3Packages.patchright: remove redundant structuredAttrs --- pkgs/development/python-modules/patchright/default.nix | 2 -- 1 file changed, 2 deletions(-) diff --git a/pkgs/development/python-modules/patchright/default.nix b/pkgs/development/python-modules/patchright/default.nix index 340dba3762b9..a7d0c5dabae1 100644 --- a/pkgs/development/python-modules/patchright/default.nix +++ b/pkgs/development/python-modules/patchright/default.nix @@ -12,8 +12,6 @@ buildPythonPackage (finalAttrs: { version = "1.58.0"; pyproject = true; - __structuredAttrs = true; - src = fetchFromGitHub { owner = "Kaliiiiiiiiii-Vinyzu"; repo = "patchright-python"; From 8d6002a56eaa59b1c985ce57d7f12c75374ba371 Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 22:52:01 +0200 Subject: [PATCH 1135/2378] python3Packages.pdf-oxide: remove redundant structuredAttrs --- pkgs/development/python-modules/pdf-oxide/default.nix | 1 - 1 file changed, 1 deletion(-) diff --git a/pkgs/development/python-modules/pdf-oxide/default.nix b/pkgs/development/python-modules/pdf-oxide/default.nix index c625789e3069..1c21de5908d3 100644 --- a/pkgs/development/python-modules/pdf-oxide/default.nix +++ b/pkgs/development/python-modules/pdf-oxide/default.nix @@ -20,7 +20,6 @@ buildPythonPackage (finalAttrs: { ; pyproject = true; - __structuredAttrs = true; nativeBuildInputs = with rustPlatform; [ cargoSetupHook From 61a8433e86f97537d13a99834670e698911843ea Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 22:52:02 +0200 Subject: [PATCH 1136/2378] python3Packages.pepit: remove redundant structuredAttrs --- pkgs/development/python-modules/pepit/default.nix | 1 - 1 file changed, 1 deletion(-) diff --git a/pkgs/development/python-modules/pepit/default.nix b/pkgs/development/python-modules/pepit/default.nix index 0d989b15929a..cf9e93415f28 100644 --- a/pkgs/development/python-modules/pepit/default.nix +++ b/pkgs/development/python-modules/pepit/default.nix @@ -21,7 +21,6 @@ buildPythonPackage (finalAttrs: { pname = "pepit"; version = "0.5.1"; pyproject = true; - __structuredAttrs = true; src = fetchFromGitHub { owner = "PerformanceEstimation"; From 4df82f84ae952787532fd8cbabb7f88967062b7b Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 22:52:02 +0200 Subject: [PATCH 1137/2378] python3Packages.perplexityai: remove redundant structuredAttrs --- pkgs/development/python-modules/perplexityai/default.nix | 1 - 1 file changed, 1 deletion(-) diff --git a/pkgs/development/python-modules/perplexityai/default.nix b/pkgs/development/python-modules/perplexityai/default.nix index 8847dc148f85..6eca339ffc3d 100644 --- a/pkgs/development/python-modules/perplexityai/default.nix +++ b/pkgs/development/python-modules/perplexityai/default.nix @@ -36,7 +36,6 @@ buildPythonPackage (finalAttrs: { pname = "perplexityai"; version = "0.42.0"; pyproject = true; - __structuredAttrs = true; src = fetchFromGitHub { owner = "perplexityai"; From 6dca3c5b3d0cdae4ec4bf9df988a64c5963480e9 Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 22:52:02 +0200 Subject: [PATCH 1138/2378] python3Packages.persim: remove redundant structuredAttrs --- pkgs/development/python-modules/persim/default.nix | 2 -- 1 file changed, 2 deletions(-) diff --git a/pkgs/development/python-modules/persim/default.nix b/pkgs/development/python-modules/persim/default.nix index b54a4d1ff558..b87cd94ee3ba 100644 --- a/pkgs/development/python-modules/persim/default.nix +++ b/pkgs/development/python-modules/persim/default.nix @@ -18,8 +18,6 @@ buildPythonPackage (finalAttrs: { version = "0.3.8"; pyproject = true; - __structuredAttrs = true; - src = fetchPypi { inherit (finalAttrs) version; pname = "persim"; From 34d7f92b505dd1f503ee3fae214cceda8344c75d Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 22:52:02 +0200 Subject: [PATCH 1139/2378] python3Packages.petl: remove redundant structuredAttrs --- pkgs/development/python-modules/petl/default.nix | 1 - 1 file changed, 1 deletion(-) diff --git a/pkgs/development/python-modules/petl/default.nix b/pkgs/development/python-modules/petl/default.nix index d4b85432e043..6c3cf93d46b6 100644 --- a/pkgs/development/python-modules/petl/default.nix +++ b/pkgs/development/python-modules/petl/default.nix @@ -15,7 +15,6 @@ buildPythonPackage (finalAttrs: { pname = "petl"; version = "1.7.29"; pyproject = true; - __structuredAttrs = true; src = fetchFromGitHub { owner = "petl-developers"; From 7792e64b747eef6f124bd75ae9b22c905738fbcd Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 22:52:03 +0200 Subject: [PATCH 1140/2378] python3Packages.pettingzoo: remove redundant structuredAttrs --- pkgs/development/python-modules/pettingzoo/default.nix | 1 - 1 file changed, 1 deletion(-) diff --git a/pkgs/development/python-modules/pettingzoo/default.nix b/pkgs/development/python-modules/pettingzoo/default.nix index 1c17638edf90..0559a129940a 100644 --- a/pkgs/development/python-modules/pettingzoo/default.nix +++ b/pkgs/development/python-modules/pettingzoo/default.nix @@ -40,7 +40,6 @@ buildPythonPackage (finalAttrs: { pname = "pettingzoo"; version = "1.27.0"; pyproject = true; - __structuredAttrs = true; src = fetchFromGitHub { owner = "Farama-Foundation"; From 7ce21fe3f78943dabdbf059a27016e5cc5281e09 Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 22:52:03 +0200 Subject: [PATCH 1141/2378] python3Packages.pgmpy: remove redundant structuredAttrs --- pkgs/development/python-modules/pgmpy/default.nix | 1 - 1 file changed, 1 deletion(-) diff --git a/pkgs/development/python-modules/pgmpy/default.nix b/pkgs/development/python-modules/pgmpy/default.nix index 14c529fc2d41..6876474f25f1 100644 --- a/pkgs/development/python-modules/pgmpy/default.nix +++ b/pkgs/development/python-modules/pgmpy/default.nix @@ -36,7 +36,6 @@ buildPythonPackage (finalAttrs: { pname = "pgmpy"; version = "1.1.2"; pyproject = true; - __structuredAttrs = true; src = fetchFromGitHub { owner = "pgmpy"; From 078abfeb710dca61b44852b525f54360c55fa2ff Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 22:52:03 +0200 Subject: [PATCH 1142/2378] python3Packages.pgsrip: remove redundant structuredAttrs --- pkgs/development/python-modules/pgsrip/default.nix | 2 -- 1 file changed, 2 deletions(-) diff --git a/pkgs/development/python-modules/pgsrip/default.nix b/pkgs/development/python-modules/pgsrip/default.nix index e1ff237ea983..37f6ca1c66ea 100644 --- a/pkgs/development/python-modules/pgsrip/default.nix +++ b/pkgs/development/python-modules/pgsrip/default.nix @@ -23,8 +23,6 @@ buildPythonPackage rec { version = "0.1.12"; pyproject = true; - __structuredAttrs = true; - src = fetchFromGitHub { owner = "ratoaq2"; repo = "pgsrip"; From 892e5bfb42617ad703a1d9948fa8347a57489221 Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 22:52:04 +0200 Subject: [PATCH 1143/2378] python3Packages.phonopy: remove redundant structuredAttrs --- pkgs/development/python-modules/phonopy/default.nix | 2 -- 1 file changed, 2 deletions(-) diff --git a/pkgs/development/python-modules/phonopy/default.nix b/pkgs/development/python-modules/phonopy/default.nix index 6b5a70f2d7d6..9907640c9382 100644 --- a/pkgs/development/python-modules/phonopy/default.nix +++ b/pkgs/development/python-modules/phonopy/default.nix @@ -29,8 +29,6 @@ buildPythonPackage (finalAttrs: { version = "4.7.2"; pyproject = true; - __structuredAttrs = true; - src = fetchFromGitHub { owner = "phonopy"; repo = "phonopy"; From 238b5879a557657bcb9abf5bc70800a0872a8c60 Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 22:52:04 +0200 Subject: [PATCH 1144/2378] python3Packages.phonors: remove redundant structuredAttrs --- pkgs/development/python-modules/phonors/default.nix | 2 -- 1 file changed, 2 deletions(-) diff --git a/pkgs/development/python-modules/phonors/default.nix b/pkgs/development/python-modules/phonors/default.nix index 877be56eb28a..db27c5f0d1b2 100644 --- a/pkgs/development/python-modules/phonors/default.nix +++ b/pkgs/development/python-modules/phonors/default.nix @@ -13,8 +13,6 @@ buildPythonPackage (finalAttrs: { version = "0.5.0"; pyproject = true; - __structuredAttrs = true; - src = fetchFromGitHub { owner = "phonopy"; repo = "phonors"; From ea4f3896768786ffa7bf2b91ea45dedd404bc01f Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 22:52:04 +0200 Subject: [PATCH 1145/2378] python3Packages.pillow-jxl-plugin: remove redundant structuredAttrs --- pkgs/development/python-modules/pillow-jxl-plugin/default.nix | 1 - 1 file changed, 1 deletion(-) diff --git a/pkgs/development/python-modules/pillow-jxl-plugin/default.nix b/pkgs/development/python-modules/pillow-jxl-plugin/default.nix index c5baea6da8cf..c3fe28f902ba 100644 --- a/pkgs/development/python-modules/pillow-jxl-plugin/default.nix +++ b/pkgs/development/python-modules/pillow-jxl-plugin/default.nix @@ -17,7 +17,6 @@ buildPythonPackage (finalAttrs: { pname = "pillow-jxl-plugin"; version = "1.3.8"; pyproject = true; - __structuredAttrs = true; # Contains Cargo.lock src = fetchPypi { From 07acb50e6850aa7626ac66eedc44ca6a600de183 Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 22:52:04 +0200 Subject: [PATCH 1146/2378] python3Packages.pingouin: remove redundant structuredAttrs --- pkgs/development/python-modules/pingouin/default.nix | 1 - 1 file changed, 1 deletion(-) diff --git a/pkgs/development/python-modules/pingouin/default.nix b/pkgs/development/python-modules/pingouin/default.nix index 3ef7aa5af68e..337dd6eb7ee2 100644 --- a/pkgs/development/python-modules/pingouin/default.nix +++ b/pkgs/development/python-modules/pingouin/default.nix @@ -28,7 +28,6 @@ buildPythonPackage (finalAttrs: { pname = "pingouin"; version = "0.7.0"; pyproject = true; - __structuredAttrs = true; src = fetchFromGitHub { owner = "raphaelvallat"; From 2480e2c3c641e4901cb37eedaa1a53dca3d8e1f3 Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 22:52:05 +0200 Subject: [PATCH 1147/2378] python3Packages.pipx: remove redundant structuredAttrs --- pkgs/development/python-modules/pipx/default.nix | 1 - 1 file changed, 1 deletion(-) diff --git a/pkgs/development/python-modules/pipx/default.nix b/pkgs/development/python-modules/pipx/default.nix index bbc6e0545cda..9fb927a654a4 100644 --- a/pkgs/development/python-modules/pipx/default.nix +++ b/pkgs/development/python-modules/pipx/default.nix @@ -39,7 +39,6 @@ buildPythonPackage (finalAttrs: { pname = "pipx"; version = "1.16.6"; pyproject = true; - __structuredAttrs = true; src = fetchFromGitHub { owner = "pypa"; From d43c52b910f525072da43bd642d3d7a86b6772ec Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 22:52:05 +0200 Subject: [PATCH 1148/2378] python3Packages.pkg-resources-backport: remove redundant structuredAttrs --- .../python-modules/pkg-resources-backport/default.nix | 2 -- 1 file changed, 2 deletions(-) diff --git a/pkgs/development/python-modules/pkg-resources-backport/default.nix b/pkgs/development/python-modules/pkg-resources-backport/default.nix index b6a4c3e65df2..3ecf2311db6d 100644 --- a/pkgs/development/python-modules/pkg-resources-backport/default.nix +++ b/pkgs/development/python-modules/pkg-resources-backport/default.nix @@ -27,8 +27,6 @@ buildPythonPackage (finalAttrs: { version = "1.0.1"; pyproject = true; - __structuredAttrs = true; - src = fetchPypi { pname = "pkg_resources_backport"; inherit (finalAttrs) version; From 852b263d7c3c54681d6156e7c9bbf8935f9a8212 Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 22:52:05 +0200 Subject: [PATCH 1149/2378] pleroma-bot: remove redundant structuredAttrs --- pkgs/development/python-modules/pleroma-bot/default.nix | 1 - 1 file changed, 1 deletion(-) diff --git a/pkgs/development/python-modules/pleroma-bot/default.nix b/pkgs/development/python-modules/pleroma-bot/default.nix index d4c0cbe987fb..8536481a3d4b 100644 --- a/pkgs/development/python-modules/pleroma-bot/default.nix +++ b/pkgs/development/python-modules/pleroma-bot/default.nix @@ -20,7 +20,6 @@ buildPythonPackage (finalAttrs: { version = "1.2.0"; pyproject = true; build-system = [ setuptools ]; - __structuredAttrs = true; src = fetchFromGitHub { owner = "robertoszek"; From 489469486cbaf964eabbfb99eb3355f83974f0d0 Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 22:52:06 +0200 Subject: [PATCH 1150/2378] python3Packages.plotly: remove redundant structuredAttrs --- pkgs/development/python-modules/plotly/default.nix | 1 - 1 file changed, 1 deletion(-) diff --git a/pkgs/development/python-modules/plotly/default.nix b/pkgs/development/python-modules/plotly/default.nix index 757b3494e89e..ae0ef08cdfdc 100644 --- a/pkgs/development/python-modules/plotly/default.nix +++ b/pkgs/development/python-modules/plotly/default.nix @@ -39,7 +39,6 @@ buildPythonPackage (finalAttrs: { pname = "plotly"; version = "6.8.0"; pyproject = true; - __structuredAttrs = true; src = fetchFromGitHub { owner = "plotly"; From e2135fbcfa3f5f2b8f0945a70421c6cf36d5fbb9 Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 22:52:06 +0200 Subject: [PATCH 1151/2378] python3Packages.plotnine: remove redundant structuredAttrs --- pkgs/development/python-modules/plotnine/default.nix | 1 - 1 file changed, 1 deletion(-) diff --git a/pkgs/development/python-modules/plotnine/default.nix b/pkgs/development/python-modules/plotnine/default.nix index cca26afb0d66..d6e14bb42a54 100644 --- a/pkgs/development/python-modules/plotnine/default.nix +++ b/pkgs/development/python-modules/plotnine/default.nix @@ -25,7 +25,6 @@ buildPythonPackage (finalAttrs: { pname = "plotnine"; version = "0.15.8"; pyproject = true; - __structuredAttrs = true; src = fetchFromGitHub { owner = "has2k1"; From ca6b7ccaca75e8c502e3e6eef292f9845b139b60 Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 22:52:06 +0200 Subject: [PATCH 1152/2378] python3Packages.plover-combo: remove redundant structuredAttrs --- pkgs/development/python-modules/plover-combo/default.nix | 1 - 1 file changed, 1 deletion(-) diff --git a/pkgs/development/python-modules/plover-combo/default.nix b/pkgs/development/python-modules/plover-combo/default.nix index 1f9d43488c21..81113c18410e 100644 --- a/pkgs/development/python-modules/plover-combo/default.nix +++ b/pkgs/development/python-modules/plover-combo/default.nix @@ -12,7 +12,6 @@ buildPythonPackage (finalAttrs: { pname = "plover-combo"; version = "2.0.0-unstable-2025-09-11"; pyproject = true; - __structuredAttrs = true; src = fetchFromGitHub { owner = "opensteno"; From 155021718aa9d2afda41bb639899ae9194167c54 Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 22:52:06 +0200 Subject: [PATCH 1153/2378] python3Packages.plover-stroke: remove redundant structuredAttrs --- pkgs/development/python-modules/plover-stroke/default.nix | 1 - 1 file changed, 1 deletion(-) diff --git a/pkgs/development/python-modules/plover-stroke/default.nix b/pkgs/development/python-modules/plover-stroke/default.nix index a97dfa33f5bd..d3ee6e6d7b35 100644 --- a/pkgs/development/python-modules/plover-stroke/default.nix +++ b/pkgs/development/python-modules/plover-stroke/default.nix @@ -12,7 +12,6 @@ }: buildPythonPackage (finalAttrs: { - __structuredAttrs = true; pname = "plover-stroke"; version = "1.1.0"; From c15d1084ca6f80a28131e9aaf7b9fe14605c19af Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 22:52:07 +0200 Subject: [PATCH 1154/2378] python3Packages.plover: remove redundant structuredAttrs --- pkgs/development/python-modules/plover/4.nix | 1 - pkgs/development/python-modules/plover/5.nix | 1 - 2 files changed, 2 deletions(-) diff --git a/pkgs/development/python-modules/plover/4.nix b/pkgs/development/python-modules/plover/4.nix index f70bd0922125..261ed094db47 100644 --- a/pkgs/development/python-modules/plover/4.nix +++ b/pkgs/development/python-modules/plover/4.nix @@ -23,7 +23,6 @@ }: buildPythonPackage (finalAttrs: { - __structuredAttrs = true; pname = "plover"; version = "4.0.2"; diff --git a/pkgs/development/python-modules/plover/5.nix b/pkgs/development/python-modules/plover/5.nix index 8b5dbe59acf4..7e88bc17245e 100644 --- a/pkgs/development/python-modules/plover/5.nix +++ b/pkgs/development/python-modules/plover/5.nix @@ -52,7 +52,6 @@ let ''; in buildPythonPackage (finalAttrs: { - __structuredAttrs = true; pname = "plover"; version = "5.4.0"; From 54ba0612e6997cb97facdbfdc299702d47ed1232 Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 22:52:07 +0200 Subject: [PATCH 1155/2378] python3Packages.plum-dispatch: remove redundant structuredAttrs --- pkgs/development/python-modules/plum-dispatch/default.nix | 1 - 1 file changed, 1 deletion(-) diff --git a/pkgs/development/python-modules/plum-dispatch/default.nix b/pkgs/development/python-modules/plum-dispatch/default.nix index ce871ac73b9a..be24cb29d1b8 100644 --- a/pkgs/development/python-modules/plum-dispatch/default.nix +++ b/pkgs/development/python-modules/plum-dispatch/default.nix @@ -23,7 +23,6 @@ buildPythonPackage (finalAttrs: { pname = "plum-dispatch"; version = "2.9.0"; pyproject = true; - __structuredAttrs = true; src = fetchFromGitHub { owner = "beartype"; From a0b9ec670e6c202ce3c869775c506ec59faa5285 Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 22:52:07 +0200 Subject: [PATCH 1156/2378] python3Packages.plumbum: remove redundant structuredAttrs --- pkgs/development/python-modules/plumbum/default.nix | 1 - 1 file changed, 1 deletion(-) diff --git a/pkgs/development/python-modules/plumbum/default.nix b/pkgs/development/python-modules/plumbum/default.nix index bee67df674b3..82595faf0ac8 100644 --- a/pkgs/development/python-modules/plumbum/default.nix +++ b/pkgs/development/python-modules/plumbum/default.nix @@ -32,7 +32,6 @@ buildPythonPackage (finalAttrs: { pname = "plumbum"; version = "2.0.2"; pyproject = true; - __structuredAttrs = true; src = fetchFromGitHub { owner = "tomerfiliba"; From 9bf17a39c66654e738f0f82ed74890f599523087 Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 22:52:08 +0200 Subject: [PATCH 1157/2378] python3Packages.plumed: remove redundant structuredAttrs --- pkgs/development/python-modules/plumed/default.nix | 1 - 1 file changed, 1 deletion(-) diff --git a/pkgs/development/python-modules/plumed/default.nix b/pkgs/development/python-modules/plumed/default.nix index 327c41e6cc97..f1236191002f 100644 --- a/pkgs/development/python-modules/plumed/default.nix +++ b/pkgs/development/python-modules/plumed/default.nix @@ -18,7 +18,6 @@ buildPythonPackage (finalAttrs: { pname = "plumed"; inherit (plumed) version src; pyproject = true; - __structuredAttrs = true; sourceRoot = "${finalAttrs.src.name}/python"; From 54a645619447f4fc0bcb8b9e45aeec1dd0261a4e Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 22:52:08 +0200 Subject: [PATCH 1158/2378] python3Packages.pocket-tts: remove redundant structuredAttrs --- pkgs/development/python-modules/pocket-tts/default.nix | 1 - 1 file changed, 1 deletion(-) diff --git a/pkgs/development/python-modules/pocket-tts/default.nix b/pkgs/development/python-modules/pocket-tts/default.nix index 4ed6ba1b572f..b34be50e7bbc 100644 --- a/pkgs/development/python-modules/pocket-tts/default.nix +++ b/pkgs/development/python-modules/pocket-tts/default.nix @@ -32,7 +32,6 @@ buildPythonPackage (finalAttrs: { pname = "pocket-tts"; version = "3.3.0"; pyproject = true; - __structuredAttrs = true; src = fetchFromGitHub { owner = "kyutai-labs"; From 02fe7e4616423cedd734183987dcee8499a6c17c Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 22:52:08 +0200 Subject: [PATCH 1159/2378] python3Packages.portion: remove redundant structuredAttrs --- pkgs/development/python-modules/portion/default.nix | 1 - 1 file changed, 1 deletion(-) diff --git a/pkgs/development/python-modules/portion/default.nix b/pkgs/development/python-modules/portion/default.nix index 0d6c30f0ffdb..63cd8d092d49 100644 --- a/pkgs/development/python-modules/portion/default.nix +++ b/pkgs/development/python-modules/portion/default.nix @@ -18,7 +18,6 @@ buildPythonPackage (finalAttrs: { pname = "portion"; version = "2.6.3"; pyproject = true; - __structuredAttrs = true; src = fetchFromGitHub { owner = "AlexandreDecan"; From 0ecb851435b518f674398aad29a6d2d561d1d6c4 Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 22:52:09 +0200 Subject: [PATCH 1160/2378] python3Packages.pqc-audit: remove redundant structuredAttrs --- pkgs/development/python-modules/pqc-audit/default.nix | 2 -- 1 file changed, 2 deletions(-) diff --git a/pkgs/development/python-modules/pqc-audit/default.nix b/pkgs/development/python-modules/pqc-audit/default.nix index 9a0f7540a2ff..655c2cf44616 100644 --- a/pkgs/development/python-modules/pqc-audit/default.nix +++ b/pkgs/development/python-modules/pqc-audit/default.nix @@ -15,8 +15,6 @@ buildPythonPackage (finalAttrs: { version = "0.4.1"; pyproject = true; - __structuredAttrs = true; - src = fetchFromGitHub { owner = "rauleteee"; repo = "pqc-scanner"; From 4ae0babdd7be17e8a08906e97362021b23713b4e Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 22:52:09 +0200 Subject: [PATCH 1161/2378] python3Packages.prefect: remove redundant structuredAttrs --- pkgs/development/python-modules/prefect/default.nix | 1 - 1 file changed, 1 deletion(-) diff --git a/pkgs/development/python-modules/prefect/default.nix b/pkgs/development/python-modules/prefect/default.nix index 026df0ed5b2e..5f5b883b7188 100644 --- a/pkgs/development/python-modules/prefect/default.nix +++ b/pkgs/development/python-modules/prefect/default.nix @@ -96,7 +96,6 @@ buildPythonPackage (finalAttrs: { pyproject = true; # keeps list elements containing spaces intact, which disabledTests below needs - __structuredAttrs = true; src = fetchFromGitHub { owner = "PrefectHQ"; From 1b94532b87a077af61e52f2d87155818dbe9e332 Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 22:52:09 +0200 Subject: [PATCH 1162/2378] python3Packages.primp: remove redundant structuredAttrs --- pkgs/development/python-modules/primp/default.nix | 2 -- 1 file changed, 2 deletions(-) diff --git a/pkgs/development/python-modules/primp/default.nix b/pkgs/development/python-modules/primp/default.nix index 546b499d8989..c58dede9499d 100644 --- a/pkgs/development/python-modules/primp/default.nix +++ b/pkgs/development/python-modules/primp/default.nix @@ -14,8 +14,6 @@ buildPythonPackage (finalAttrs: { version = "2.0.1"; pyproject = true; - __structuredAttrs = true; - src = fetchFromGitHub { owner = "deedy5"; repo = "primp"; From f2140524bb8c1adee24e4613fc4472c2207a274e Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 22:52:09 +0200 Subject: [PATCH 1163/2378] python3Packages.probatio: remove redundant structuredAttrs --- pkgs/development/python-modules/probatio/default.nix | 2 -- 1 file changed, 2 deletions(-) diff --git a/pkgs/development/python-modules/probatio/default.nix b/pkgs/development/python-modules/probatio/default.nix index 5ffbccb77c00..7af30f69fda4 100644 --- a/pkgs/development/python-modules/probatio/default.nix +++ b/pkgs/development/python-modules/probatio/default.nix @@ -21,8 +21,6 @@ buildPythonPackage (finalAttrs: { version = "0.13.0"; pyproject = true; - __structuredAttrs = true; - src = fetchFromGitHub { owner = "frenck"; repo = "probatio"; From d862ab23e197f9b4a757314560b42e0316b72287 Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 22:52:10 +0200 Subject: [PATCH 1164/2378] python3Packages.prometheus-fastapi-instrumentator: remove redundant structuredAttrs --- .../python-modules/prometheus-fastapi-instrumentator/default.nix | 1 - 1 file changed, 1 deletion(-) diff --git a/pkgs/development/python-modules/prometheus-fastapi-instrumentator/default.nix b/pkgs/development/python-modules/prometheus-fastapi-instrumentator/default.nix index bb2894bb1b4d..96d547d74173 100644 --- a/pkgs/development/python-modules/prometheus-fastapi-instrumentator/default.nix +++ b/pkgs/development/python-modules/prometheus-fastapi-instrumentator/default.nix @@ -24,7 +24,6 @@ buildPythonPackage (finalAttrs: { pname = "prometheus-fastapi-instrumentator"; version = "8.1.0"; pyproject = true; - __structuredAttrs = true; src = fetchFromGitHub { owner = "trallnag"; From 7a92c0e3c9481b25f1547e5efe9755e8bee6833b Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 22:52:10 +0200 Subject: [PATCH 1165/2378] python3Packages.protobuf-py-ext: remove redundant structuredAttrs --- pkgs/development/python-modules/protobuf-py-ext/default.nix | 1 - 1 file changed, 1 deletion(-) diff --git a/pkgs/development/python-modules/protobuf-py-ext/default.nix b/pkgs/development/python-modules/protobuf-py-ext/default.nix index 47a9d8f5065f..2c50cda6b792 100644 --- a/pkgs/development/python-modules/protobuf-py-ext/default.nix +++ b/pkgs/development/python-modules/protobuf-py-ext/default.nix @@ -11,7 +11,6 @@ buildPythonPackage (finalAttrs: { pname = "protobuf-py-ext"; version = "0.3.0"; pyproject = true; - __structuredAttrs = true; # No tag on GitHub for this release: bufbuild/protobuf-py's only tag is v0.2.0. # This has to stay in lockstep with protobuf-py, which is held at 0.1.1. From 5cc3c30079ce8b855ae91313e997cbef6be0882a Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 22:52:10 +0200 Subject: [PATCH 1166/2378] python3Packages.protobuf-py: remove redundant structuredAttrs --- pkgs/development/python-modules/protobuf-py/default.nix | 1 - 1 file changed, 1 deletion(-) diff --git a/pkgs/development/python-modules/protobuf-py/default.nix b/pkgs/development/python-modules/protobuf-py/default.nix index a8aebe2ea8fd..31d50b718d7d 100644 --- a/pkgs/development/python-modules/protobuf-py/default.nix +++ b/pkgs/development/python-modules/protobuf-py/default.nix @@ -16,7 +16,6 @@ buildPythonPackage (finalAttrs: { # together. version = "0.3.0"; pyproject = true; - __structuredAttrs = true; # No tag on GitHub for this release: bufbuild/protobuf-py's only tag is v0.2.0, # which connectrpc (`protobuf-py==0.1.1`) and e2b (`<0.2`) do not accept yet. From 50073d33ee6ddf66cf24eb2a4435cb9584b0498b Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 22:52:10 +0200 Subject: [PATCH 1167/2378] python3Packages.protobuf: remove redundant structuredAttrs --- pkgs/development/python-modules/protobuf/5.nix | 1 - pkgs/development/python-modules/protobuf/6.nix | 1 - pkgs/development/python-modules/protobuf/7.nix | 1 - 3 files changed, 3 deletions(-) diff --git a/pkgs/development/python-modules/protobuf/5.nix b/pkgs/development/python-modules/protobuf/5.nix index dcfbf72e415c..5e44c82d463f 100644 --- a/pkgs/development/python-modules/protobuf/5.nix +++ b/pkgs/development/python-modules/protobuf/5.nix @@ -10,7 +10,6 @@ buildPythonPackage rec { pname = "protobuf"; version = "5.29.6"; pyproject = true; - __structuredAttrs = true; # nixpkgs-update: no auto update src = fetchPypi { diff --git a/pkgs/development/python-modules/protobuf/6.nix b/pkgs/development/python-modules/protobuf/6.nix index 8259f224f131..6c96954b0df7 100644 --- a/pkgs/development/python-modules/protobuf/6.nix +++ b/pkgs/development/python-modules/protobuf/6.nix @@ -11,7 +11,6 @@ buildPythonPackage (finalAttrs: { pname = "protobuf"; version = "6.33.6"; pyproject = true; - __structuredAttrs = true; src = fetchPypi { inherit (finalAttrs) pname version; diff --git a/pkgs/development/python-modules/protobuf/7.nix b/pkgs/development/python-modules/protobuf/7.nix index fd0a3a0d8796..2d407bc45ce1 100644 --- a/pkgs/development/python-modules/protobuf/7.nix +++ b/pkgs/development/python-modules/protobuf/7.nix @@ -11,7 +11,6 @@ buildPythonPackage (finalAttrs: { pname = "protobuf"; version = "7.36.2"; pyproject = true; - __structuredAttrs = true; src = fetchPypi { inherit (finalAttrs) pname version; From adc91810589fdac407a4f0987aafb135e35f2368 Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 22:52:11 +0200 Subject: [PATCH 1168/2378] python3Packages.psutil: remove redundant structuredAttrs --- pkgs/development/python-modules/psutil/default.nix | 1 - 1 file changed, 1 deletion(-) diff --git a/pkgs/development/python-modules/psutil/default.nix b/pkgs/development/python-modules/psutil/default.nix index 23ddd1f76e28..b229a8882854 100644 --- a/pkgs/development/python-modules/psutil/default.nix +++ b/pkgs/development/python-modules/psutil/default.nix @@ -20,7 +20,6 @@ buildPythonPackage (finalAttrs: { pname = "psutil"; version = "7.2.2"; pyproject = true; - __structuredAttrs = true; src = fetchFromGitHub { owner = "giampaolo"; From 93681cfa865b3a14e79d730397d4bb9f6e11eb39 Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 22:52:11 +0200 Subject: [PATCH 1169/2378] python3Packages.pure-magic-rs: remove redundant structuredAttrs --- pkgs/development/python-modules/pure-magic-rs/default.nix | 1 - 1 file changed, 1 deletion(-) diff --git a/pkgs/development/python-modules/pure-magic-rs/default.nix b/pkgs/development/python-modules/pure-magic-rs/default.nix index 034d41d12c1d..d0f60bf5b90c 100644 --- a/pkgs/development/python-modules/pure-magic-rs/default.nix +++ b/pkgs/development/python-modules/pure-magic-rs/default.nix @@ -10,7 +10,6 @@ buildPythonPackage (finalAttrs: { pname = "pure-magic-rs"; version = "0.5.1"; pyproject = true; - __structuredAttrs = true; src = fetchFromGitHub { owner = "qjerome"; From 423f70985d529e089e010357f2fc303800c38f8f Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 22:52:12 +0200 Subject: [PATCH 1170/2378] python3Packages.py-cpuinfo2: remove redundant structuredAttrs --- pkgs/development/python-modules/py-cpuinfo2/default.nix | 2 -- 1 file changed, 2 deletions(-) diff --git a/pkgs/development/python-modules/py-cpuinfo2/default.nix b/pkgs/development/python-modules/py-cpuinfo2/default.nix index 16ea1422ec7c..48d964545dc8 100644 --- a/pkgs/development/python-modules/py-cpuinfo2/default.nix +++ b/pkgs/development/python-modules/py-cpuinfo2/default.nix @@ -13,8 +13,6 @@ buildPythonPackage (finalAttrs: { version = "10.1.1"; pyproject = true; - __structuredAttrs = true; - src = fetchFromGitHub { owner = "akx"; repo = "py-cpuinfo2"; From 8dc15a82e7734e2b74cd01aa82e76afaeba269f6 Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 22:52:12 +0200 Subject: [PATCH 1171/2378] python3Packages.py-key-value-aio: remove redundant structuredAttrs --- pkgs/development/python-modules/py-key-value-aio/default.nix | 1 - 1 file changed, 1 deletion(-) diff --git a/pkgs/development/python-modules/py-key-value-aio/default.nix b/pkgs/development/python-modules/py-key-value-aio/default.nix index 55601d9f4916..01ff2d2fd7ef 100644 --- a/pkgs/development/python-modules/py-key-value-aio/default.nix +++ b/pkgs/development/python-modules/py-key-value-aio/default.nix @@ -61,7 +61,6 @@ buildPythonPackage (finalAttrs: { pname = "py-key-value-aio"; version = "0.4.5"; pyproject = true; - __structuredAttrs = true; src = fetchFromGitHub { owner = "strawgate"; From 5494797c40b9655d547f3847d2e3bf1196bb36ce Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 22:52:12 +0200 Subject: [PATCH 1172/2378] python3Packages.pyannote-audio: remove redundant structuredAttrs --- pkgs/development/python-modules/pyannote-audio/default.nix | 1 - 1 file changed, 1 deletion(-) diff --git a/pkgs/development/python-modules/pyannote-audio/default.nix b/pkgs/development/python-modules/pyannote-audio/default.nix index 0ccbceceecef..151865d91a92 100644 --- a/pkgs/development/python-modules/pyannote-audio/default.nix +++ b/pkgs/development/python-modules/pyannote-audio/default.nix @@ -47,7 +47,6 @@ buildPythonPackage (finalAttrs: { pname = "pyannote-audio"; version = "4.0.7"; pyproject = true; - __structuredAttrs = true; src = fetchFromGitHub { owner = "pyannote"; From b07a4fc0727e450116fc3af68603658cabb31611 Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 22:52:12 +0200 Subject: [PATCH 1173/2378] python3Packages.pyasn1-alt-modules: remove redundant structuredAttrs --- pkgs/development/python-modules/pyasn1-alt-modules/default.nix | 2 -- 1 file changed, 2 deletions(-) diff --git a/pkgs/development/python-modules/pyasn1-alt-modules/default.nix b/pkgs/development/python-modules/pyasn1-alt-modules/default.nix index 11b22d7eb0d0..8c11265d7a90 100644 --- a/pkgs/development/python-modules/pyasn1-alt-modules/default.nix +++ b/pkgs/development/python-modules/pyasn1-alt-modules/default.nix @@ -13,8 +13,6 @@ buildPythonPackage (finalAttrs: { version = "0.4.10"; pyproject = true; - __structuredAttrs = true; - src = fetchFromGitHub { owner = "russhousley"; repo = "pyasn1-alt-modules"; From b27389dc38297ce025b6ac2d23625bdc85183bcb Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 22:52:13 +0200 Subject: [PATCH 1174/2378] python3Packages.pybase62: remove redundant structuredAttrs --- pkgs/development/python-modules/pybase62/default.nix | 2 -- 1 file changed, 2 deletions(-) diff --git a/pkgs/development/python-modules/pybase62/default.nix b/pkgs/development/python-modules/pybase62/default.nix index 6971f9e39c70..0b92f50c44a3 100644 --- a/pkgs/development/python-modules/pybase62/default.nix +++ b/pkgs/development/python-modules/pybase62/default.nix @@ -12,8 +12,6 @@ buildPythonPackage (finalAttrs: { version = "1.0.0"; pyproject = true; - __structuredAttrs = true; - src = fetchFromGitHub { owner = "suminb"; repo = "base62"; From ae52006ca9681db7463ca022d21bc90caf19de07 Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 22:52:13 +0200 Subject: [PATCH 1175/2378] python3Packages.pybedtools: remove redundant structuredAttrs --- pkgs/development/python-modules/pybedtools/default.nix | 1 - 1 file changed, 1 deletion(-) diff --git a/pkgs/development/python-modules/pybedtools/default.nix b/pkgs/development/python-modules/pybedtools/default.nix index 44d71233a1df..8d807d3eac00 100644 --- a/pkgs/development/python-modules/pybedtools/default.nix +++ b/pkgs/development/python-modules/pybedtools/default.nix @@ -27,7 +27,6 @@ buildPythonPackage (finalAttrs: { pname = "pybedtools"; version = "0.12.1"; pyproject = true; - __structuredAttrs = true; src = fetchFromGitHub { owner = "daler"; From 6a3eeea00684917af8be944c255c3ffbc8144284 Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 22:52:13 +0200 Subject: [PATCH 1176/2378] python3Packages.pybuildkite: remove redundant structuredAttrs --- pkgs/development/python-modules/pybuildkite/default.nix | 1 - 1 file changed, 1 deletion(-) diff --git a/pkgs/development/python-modules/pybuildkite/default.nix b/pkgs/development/python-modules/pybuildkite/default.nix index 83ec9db735d8..36c035f2fcc0 100644 --- a/pkgs/development/python-modules/pybuildkite/default.nix +++ b/pkgs/development/python-modules/pybuildkite/default.nix @@ -18,7 +18,6 @@ buildPythonPackage (finalAttrs: { pname = "pybuildkite"; version = "1.3.0"; pyproject = true; - __structuredAttrs = true; src = fetchFromGitHub { owner = "pyasi"; From ebfc0d08d00d3caa3c2e4923016408105bdfe595 Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 22:52:14 +0200 Subject: [PATCH 1177/2378] python3Packages.pycifrw: remove redundant structuredAttrs --- pkgs/development/python-modules/pycifrw/default.nix | 2 -- 1 file changed, 2 deletions(-) diff --git a/pkgs/development/python-modules/pycifrw/default.nix b/pkgs/development/python-modules/pycifrw/default.nix index 8ff36cd7486f..09cd8fbc9350 100644 --- a/pkgs/development/python-modules/pycifrw/default.nix +++ b/pkgs/development/python-modules/pycifrw/default.nix @@ -14,8 +14,6 @@ buildPythonPackage (finalAttrs: { version = "5.0.1"; pyproject = true; - __structuredAttrs = true; - src = fetchFromGitHub { owner = "jamesrhester"; repo = "pycifrw"; From 6d2bbd28616eca51d536ce22cdfe713fbdece4f0 Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 22:52:14 +0200 Subject: [PATCH 1178/2378] python3Packages.pycodec2: remove redundant structuredAttrs --- pkgs/development/python-modules/pycodec2/default.nix | 1 - 1 file changed, 1 deletion(-) diff --git a/pkgs/development/python-modules/pycodec2/default.nix b/pkgs/development/python-modules/pycodec2/default.nix index f226fa0725f7..29541a74144d 100644 --- a/pkgs/development/python-modules/pycodec2/default.nix +++ b/pkgs/development/python-modules/pycodec2/default.nix @@ -18,7 +18,6 @@ buildPythonPackage (finalAttrs: { pname = "pycodec2"; version = "4.1.1"; pyproject = true; - __structuredAttrs = true; src = fetchFromGitHub { owner = "gregorias"; From 6b7a9bf8660378151b50b28bbdbe3bba608d1936 Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 22:52:14 +0200 Subject: [PATCH 1179/2378] python3Packages.pycrate: remove redundant structuredAttrs --- pkgs/development/python-modules/pycrate/default.nix | 1 - 1 file changed, 1 deletion(-) diff --git a/pkgs/development/python-modules/pycrate/default.nix b/pkgs/development/python-modules/pycrate/default.nix index d929ea9a7d66..a7a254705e97 100644 --- a/pkgs/development/python-modules/pycrate/default.nix +++ b/pkgs/development/python-modules/pycrate/default.nix @@ -13,7 +13,6 @@ buildPythonPackage (finalAttrs: { pname = "pycrate"; version = "0.8.1"; pyproject = true; - __structuredAttrs = true; src = fetchFromGitHub { owner = "pycrate-org"; From 6eb55f638ca022989dedcf9b95e46ce6191ed3fa Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 22:52:15 +0200 Subject: [PATCH 1180/2378] python3Packages.pycrdt-store: remove redundant structuredAttrs --- pkgs/development/python-modules/pycrdt-store/default.nix | 1 - 1 file changed, 1 deletion(-) diff --git a/pkgs/development/python-modules/pycrdt-store/default.nix b/pkgs/development/python-modules/pycrdt-store/default.nix index c29309599d88..e090fe729495 100644 --- a/pkgs/development/python-modules/pycrdt-store/default.nix +++ b/pkgs/development/python-modules/pycrdt-store/default.nix @@ -20,7 +20,6 @@ buildPythonPackage (finalAttrs: { pname = "pycrdt-store"; version = "0.1.5"; pyproject = true; - __structuredAttrs = true; src = fetchFromGitHub { owner = "y-crdt"; From b639e134588f501686be85f7df806d41e517b3ac Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 22:52:15 +0200 Subject: [PATCH 1181/2378] python3Packages.pycrdt-websocket: remove redundant structuredAttrs --- pkgs/development/python-modules/pycrdt-websocket/default.nix | 1 - 1 file changed, 1 deletion(-) diff --git a/pkgs/development/python-modules/pycrdt-websocket/default.nix b/pkgs/development/python-modules/pycrdt-websocket/default.nix index a354eb382802..3d45a2cb7403 100644 --- a/pkgs/development/python-modules/pycrdt-websocket/default.nix +++ b/pkgs/development/python-modules/pycrdt-websocket/default.nix @@ -29,7 +29,6 @@ buildPythonPackage (finalAttrs: { pname = "pycrdt-websocket"; version = "0.16.5"; pyproject = true; - __structuredAttrs = true; src = fetchFromGitHub { owner = "y-crdt"; From aeae902e621c6bd8a61fafe2a5275eb48168140f Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 22:52:15 +0200 Subject: [PATCH 1182/2378] python3Packages.pycrdt: remove redundant structuredAttrs --- pkgs/development/python-modules/pycrdt/default.nix | 1 - 1 file changed, 1 deletion(-) diff --git a/pkgs/development/python-modules/pycrdt/default.nix b/pkgs/development/python-modules/pycrdt/default.nix index 6fda103349a0..ef4d91b1c551 100644 --- a/pkgs/development/python-modules/pycrdt/default.nix +++ b/pkgs/development/python-modules/pycrdt/default.nix @@ -22,7 +22,6 @@ buildPythonPackage (finalAttrs: { pname = "pycrdt"; version = "0.14.8"; pyproject = true; - __structuredAttrs = true; src = fetchFromGitHub { owner = "y-crdt"; From 37078450a3b77e952bce487a8e162ba8cc238dc5 Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 22:52:16 +0200 Subject: [PATCH 1183/2378] python3Packages.pydantic-monty: remove redundant structuredAttrs --- pkgs/development/python-modules/pydantic-monty/default.nix | 2 -- 1 file changed, 2 deletions(-) diff --git a/pkgs/development/python-modules/pydantic-monty/default.nix b/pkgs/development/python-modules/pydantic-monty/default.nix index 2a1278e72f22..8ac44051cf43 100644 --- a/pkgs/development/python-modules/pydantic-monty/default.nix +++ b/pkgs/development/python-modules/pydantic-monty/default.nix @@ -18,8 +18,6 @@ buildPythonPackage (finalAttrs: { version = "0.0.17"; pyproject = true; - __structuredAttrs = true; - src = fetchFromGitHub { owner = "pydantic"; repo = "monty"; From d6f84da495a20b059b3b1f98efc498da1ca68265 Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 22:52:16 +0200 Subject: [PATCH 1184/2378] python3Packages.pydantic-zarr: remove redundant structuredAttrs --- pkgs/development/python-modules/pydantic-zarr/default.nix | 1 - 1 file changed, 1 deletion(-) diff --git a/pkgs/development/python-modules/pydantic-zarr/default.nix b/pkgs/development/python-modules/pydantic-zarr/default.nix index 026360d140be..c7ca0d4fc8ef 100644 --- a/pkgs/development/python-modules/pydantic-zarr/default.nix +++ b/pkgs/development/python-modules/pydantic-zarr/default.nix @@ -23,7 +23,6 @@ buildPythonPackage (finalAttrs: { pname = "pydantic-zarr"; version = "0.10.0"; pyproject = true; - __structuredAttrs = true; src = fetchFromGitHub { owner = "zarr-developers"; From d1d487e95f09873144d37b91abd2ebfc0bb9561b Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 22:52:16 +0200 Subject: [PATCH 1185/2378] python3Packages.pydeep2: remove redundant structuredAttrs --- pkgs/development/python-modules/pydeep2/default.nix | 2 -- 1 file changed, 2 deletions(-) diff --git a/pkgs/development/python-modules/pydeep2/default.nix b/pkgs/development/python-modules/pydeep2/default.nix index cb0ff562013a..24a2107bb511 100644 --- a/pkgs/development/python-modules/pydeep2/default.nix +++ b/pkgs/development/python-modules/pydeep2/default.nix @@ -12,8 +12,6 @@ buildPythonPackage (finalAttrs: { version = "0.5.1"; pyproject = true; - __structuredAttrs = true; - src = fetchFromGitHub { owner = "JakubOnderka"; repo = "pydeep"; From edddfd8b588712abd833cda9ee705b5bac417318 Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 22:52:16 +0200 Subject: [PATCH 1186/2378] python3Packages.pydeprecate: remove redundant structuredAttrs --- pkgs/development/python-modules/pydeprecate/default.nix | 1 - 1 file changed, 1 deletion(-) diff --git a/pkgs/development/python-modules/pydeprecate/default.nix b/pkgs/development/python-modules/pydeprecate/default.nix index 962cb0467a85..1bd5cabf55f7 100644 --- a/pkgs/development/python-modules/pydeprecate/default.nix +++ b/pkgs/development/python-modules/pydeprecate/default.nix @@ -27,7 +27,6 @@ buildPythonPackage (finalAttrs: { pname = "pyDeprecate"; version = "0.9.0"; pyproject = true; - __structuredAttrs = true; src = fetchFromGitHub { owner = "Borda"; From 2cfb5866efb1e7512dabd9942c0ae05e0ca50119 Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 22:52:17 +0200 Subject: [PATCH 1187/2378] python3Packages.pydocket: remove redundant structuredAttrs --- pkgs/development/python-modules/pydocket/default.nix | 1 - 1 file changed, 1 deletion(-) diff --git a/pkgs/development/python-modules/pydocket/default.nix b/pkgs/development/python-modules/pydocket/default.nix index 90cdc1cc21b3..cb9dfbbd75b9 100644 --- a/pkgs/development/python-modules/pydocket/default.nix +++ b/pkgs/development/python-modules/pydocket/default.nix @@ -27,7 +27,6 @@ buildPythonPackage (finalAttrs: { pname = "pydocket"; version = "0.25.2"; pyproject = true; - __structuredAttrs = true; src = fetchFromGitHub { owner = "chrisguidry"; From 5c15f5a3641260ddb3d4e1bde95e92044ea8155b Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 22:52:17 +0200 Subject: [PATCH 1188/2378] python3Packages.pydriller: remove redundant structuredAttrs --- pkgs/development/python-modules/pydriller/default.nix | 1 - 1 file changed, 1 deletion(-) diff --git a/pkgs/development/python-modules/pydriller/default.nix b/pkgs/development/python-modules/pydriller/default.nix index fda7270bbd88..b0019279eae9 100644 --- a/pkgs/development/python-modules/pydriller/default.nix +++ b/pkgs/development/python-modules/pydriller/default.nix @@ -16,7 +16,6 @@ buildPythonPackage (finalAttrs: { pname = "pydriller"; version = "2.12"; pyproject = true; - __structuredAttrs = true; src = fetchFromGitHub { owner = "ishepard"; From d268352e8fc8cc4bc7cc1de6f9db0d1791d39a3b Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 22:52:17 +0200 Subject: [PATCH 1189/2378] python3Packages.pyduktape2: remove redundant structuredAttrs --- pkgs/development/python-modules/pyduktape2/default.nix | 2 -- 1 file changed, 2 deletions(-) diff --git a/pkgs/development/python-modules/pyduktape2/default.nix b/pkgs/development/python-modules/pyduktape2/default.nix index c9541401af15..48c0ac3e013c 100644 --- a/pkgs/development/python-modules/pyduktape2/default.nix +++ b/pkgs/development/python-modules/pyduktape2/default.nix @@ -13,8 +13,6 @@ buildPythonPackage (finalAttrs: { version = "0.5.0"; pyproject = true; - __structuredAttrs = true; - src = fetchFromGitHub { owner = "phith0n"; repo = "pyduktape2"; From f7bf2ce6418304c63ed7fc2fbb1924f545fb6774 Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 22:52:18 +0200 Subject: [PATCH 1190/2378] python3Packages.pyemd: remove redundant structuredAttrs --- pkgs/development/python-modules/pyemd/default.nix | 2 -- 1 file changed, 2 deletions(-) diff --git a/pkgs/development/python-modules/pyemd/default.nix b/pkgs/development/python-modules/pyemd/default.nix index 11eb9d95d8d3..de85b19b4e6b 100644 --- a/pkgs/development/python-modules/pyemd/default.nix +++ b/pkgs/development/python-modules/pyemd/default.nix @@ -15,8 +15,6 @@ buildPythonPackage (finalAttrs: { version = "2.0.0"; pyproject = true; - __structuredAttrs = true; - disabled = pythonOlder "3.12"; src = fetchPypi { From dab07e6b7ebf1b7507af091bdeb9d1fa6bf445c3 Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 22:52:18 +0200 Subject: [PATCH 1191/2378] python3Packages.pyexiv2: remove redundant structuredAttrs --- pkgs/development/python-modules/pyexiv2/default.nix | 1 - 1 file changed, 1 deletion(-) diff --git a/pkgs/development/python-modules/pyexiv2/default.nix b/pkgs/development/python-modules/pyexiv2/default.nix index 4156ae9f5ce7..822ad20b1a2f 100644 --- a/pkgs/development/python-modules/pyexiv2/default.nix +++ b/pkgs/development/python-modules/pyexiv2/default.nix @@ -14,7 +14,6 @@ buildPythonPackage (finalAttrs: { pname = "pyexiv2"; version = "2.16.0"; pyproject = true; - __structuredAttrs = true; src = fetchFromGitHub { owner = "LeoHsiao1"; From c29e4444dd84b1cd7830a00207066e5e0bab2197 Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 22:52:18 +0200 Subject: [PATCH 1192/2378] python3Packages.pyfakefs: remove redundant structuredAttrs --- pkgs/development/python-modules/pyfakefs/default.nix | 2 -- 1 file changed, 2 deletions(-) diff --git a/pkgs/development/python-modules/pyfakefs/default.nix b/pkgs/development/python-modules/pyfakefs/default.nix index 3b8eeb90130e..f8e45f296600 100644 --- a/pkgs/development/python-modules/pyfakefs/default.nix +++ b/pkgs/development/python-modules/pyfakefs/default.nix @@ -56,8 +56,6 @@ let ]; }); - __structuredAttrs = true; - meta = { description = "Fake file system that mocks the Python file system modules"; homepage = "https://pytest-pyfakefs.readthedocs.io"; From 59a7196bf502fdc386ae7976e61cbbc700aa8809 Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 22:52:18 +0200 Subject: [PATCH 1193/2378] python3Packages.pyg-lib: remove redundant structuredAttrs --- pkgs/development/python-modules/pyg-lib/default.nix | 1 - 1 file changed, 1 deletion(-) diff --git a/pkgs/development/python-modules/pyg-lib/default.nix b/pkgs/development/python-modules/pyg-lib/default.nix index 370eaad1068b..49fa16a62abf 100644 --- a/pkgs/development/python-modules/pyg-lib/default.nix +++ b/pkgs/development/python-modules/pyg-lib/default.nix @@ -20,7 +20,6 @@ buildPythonPackage.override { inherit (torch) stdenv; } (finalAttrs: { pname = "pyg-lib"; version = "0.9.0"; pyproject = true; - __structuredAttrs = true; src = fetchFromGitHub { owner = "pyg-team"; From 2ab2667787e4e560e742bb5a76503cfcc901ca78 Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 22:52:19 +0200 Subject: [PATCH 1194/2378] python3Packages.pygame-ce: remove redundant structuredAttrs --- pkgs/development/python-modules/pygame-ce/default.nix | 1 - 1 file changed, 1 deletion(-) diff --git a/pkgs/development/python-modules/pygame-ce/default.nix b/pkgs/development/python-modules/pygame-ce/default.nix index 7ffb8bcdbc29..7d31cbe4cc36 100644 --- a/pkgs/development/python-modules/pygame-ce/default.nix +++ b/pkgs/development/python-modules/pygame-ce/default.nix @@ -44,7 +44,6 @@ buildPythonPackage (finalAttrs: { pname = "pygame-ce"; version = "2.5.8"; pyproject = true; - __structuredAttrs = true; src = fetchFromGitHub { owner = "pygame-community"; From e1c8c9166df0457e8702b36688c30ba78d2f7ded Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 22:52:19 +0200 Subject: [PATCH 1195/2378] python3Packages.pygame-gui: remove redundant structuredAttrs --- pkgs/development/python-modules/pygame-gui/default.nix | 1 - 1 file changed, 1 deletion(-) diff --git a/pkgs/development/python-modules/pygame-gui/default.nix b/pkgs/development/python-modules/pygame-gui/default.nix index b0b15fcd83e6..3cb01d7e5ff6 100644 --- a/pkgs/development/python-modules/pygame-gui/default.nix +++ b/pkgs/development/python-modules/pygame-gui/default.nix @@ -24,7 +24,6 @@ buildPythonPackage (finalAttrs: { pname = "pygame-gui"; version = "0.6.14"; pyproject = true; - __structuredAttrs = true; src = fetchFromGitHub { owner = "MyreMylar"; From db0a87fb6f93871d639f56f3943b4c30d8c7a240 Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 22:52:19 +0200 Subject: [PATCH 1196/2378] python3Packages.pygrib: remove redundant structuredAttrs --- pkgs/development/python-modules/pygrib/default.nix | 1 - 1 file changed, 1 deletion(-) diff --git a/pkgs/development/python-modules/pygrib/default.nix b/pkgs/development/python-modules/pygrib/default.nix index b335e3df47bf..fca5ecd58b23 100644 --- a/pkgs/development/python-modules/pygrib/default.nix +++ b/pkgs/development/python-modules/pygrib/default.nix @@ -26,7 +26,6 @@ buildPythonPackage (finalAttrs: { pname = "pygrib"; version = "2.1.8"; pyproject = true; - __structuredAttrs = true; src = fetchFromGitHub { owner = "jswhit"; From 76f6f340745ae5e83a7a7bf29d940765d3cd8644 Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 22:52:20 +0200 Subject: [PATCH 1197/2378] python3Packages.pygrister: remove redundant structuredAttrs --- pkgs/development/python-modules/pygrister/default.nix | 1 - 1 file changed, 1 deletion(-) diff --git a/pkgs/development/python-modules/pygrister/default.nix b/pkgs/development/python-modules/pygrister/default.nix index 4b3a220c1e77..1ad3370d6afe 100644 --- a/pkgs/development/python-modules/pygrister/default.nix +++ b/pkgs/development/python-modules/pygrister/default.nix @@ -14,7 +14,6 @@ buildPythonPackage (finalAttrs: { pname = "pygrister"; version = "0.10.0"; pyproject = true; - __structuredAttrs = true; src = fetchFromGitHub { owner = "ricpol"; From f8fd778f7d6a9d99fb0458c7c240b3f7d07adc4b Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 22:52:20 +0200 Subject: [PATCH 1198/2378] python3Packages.pygrok: remove redundant structuredAttrs --- pkgs/development/python-modules/pygrok/default.nix | 2 -- 1 file changed, 2 deletions(-) diff --git a/pkgs/development/python-modules/pygrok/default.nix b/pkgs/development/python-modules/pygrok/default.nix index 630811d9b84a..a746a2c1e585 100644 --- a/pkgs/development/python-modules/pygrok/default.nix +++ b/pkgs/development/python-modules/pygrok/default.nix @@ -12,8 +12,6 @@ buildPythonPackage (finalAttrs: { version = "1.0.0"; pyproject = true; - __structuredAttrs = true; - src = fetchFromGitHub { owner = "garyelephant"; repo = "pygrok"; From 41d7b0408150288171c6e7b04ba13dd2b678e755 Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 22:52:20 +0200 Subject: [PATCH 1199/2378] python3Packages.pygtrie: remove redundant structuredAttrs --- pkgs/development/python-modules/pygtrie/default.nix | 1 - 1 file changed, 1 deletion(-) diff --git a/pkgs/development/python-modules/pygtrie/default.nix b/pkgs/development/python-modules/pygtrie/default.nix index 45b8e3d68d91..a46af86a5a06 100644 --- a/pkgs/development/python-modules/pygtrie/default.nix +++ b/pkgs/development/python-modules/pygtrie/default.nix @@ -10,7 +10,6 @@ buildPythonPackage (finalAttrs: { version = "2.5.0"; pyproject = true; - __structuredAttrs = true; src = fetchPypi { pname = "pygtrie"; From 882ed47bd6bdf8139ab61e15556465e2db393457 Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 22:52:20 +0200 Subject: [PATCH 1200/2378] python3Packages.pyhomepilot: remove redundant structuredAttrs --- pkgs/development/python-modules/pyhomepilot/default.nix | 1 - 1 file changed, 1 deletion(-) diff --git a/pkgs/development/python-modules/pyhomepilot/default.nix b/pkgs/development/python-modules/pyhomepilot/default.nix index 2f5f772719a6..5113b405d618 100644 --- a/pkgs/development/python-modules/pyhomepilot/default.nix +++ b/pkgs/development/python-modules/pyhomepilot/default.nix @@ -10,7 +10,6 @@ buildPythonPackage (finalAttrs: { pname = "pyhomepilot"; version = "0.0.3"; - __structuredAttrs = true; pyproject = true; src = fetchFromGitHub { From dac5b7bae100f7064b1873461702e33356d5c1de Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 22:52:21 +0200 Subject: [PATCH 1201/2378] python3Packages.pyi2cflash: remove redundant structuredAttrs --- pkgs/development/python-modules/pyi2cflash/default.nix | 1 - 1 file changed, 1 deletion(-) diff --git a/pkgs/development/python-modules/pyi2cflash/default.nix b/pkgs/development/python-modules/pyi2cflash/default.nix index 3551ac364df5..4ebe59284c2b 100644 --- a/pkgs/development/python-modules/pyi2cflash/default.nix +++ b/pkgs/development/python-modules/pyi2cflash/default.nix @@ -11,7 +11,6 @@ buildPythonPackage (finalAttrs: { version = "0.2.2"; pyproject = true; - __structuredAttrs = true; src = fetchPypi { pname = "pyi2cflash"; From d939b816061fee4f7e8457a457a32e5a55d99ef2 Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 22:52:21 +0200 Subject: [PATCH 1202/2378] python3Packages.pyialarm: remove redundant structuredAttrs --- pkgs/development/python-modules/pyialarm/default.nix | 1 - 1 file changed, 1 deletion(-) diff --git a/pkgs/development/python-modules/pyialarm/default.nix b/pkgs/development/python-modules/pyialarm/default.nix index bbac1c28fc68..c728b3635279 100644 --- a/pkgs/development/python-modules/pyialarm/default.nix +++ b/pkgs/development/python-modules/pyialarm/default.nix @@ -12,7 +12,6 @@ buildPythonPackage (finalAttrs: { version = "2.2.0"; pyproject = true; - __structuredAttrs = true; src = fetchFromGitHub { owner = "RyuzakiKK"; From 4e42b22ebb1f03b2f3895dd0ccd2fa9651d17aed Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 22:52:21 +0200 Subject: [PATCH 1203/2378] python3Packages.pyiceberg-core: remove redundant structuredAttrs --- pkgs/development/python-modules/pyiceberg-core/default.nix | 1 - 1 file changed, 1 deletion(-) diff --git a/pkgs/development/python-modules/pyiceberg-core/default.nix b/pkgs/development/python-modules/pyiceberg-core/default.nix index 99eeb33ac333..e73f3345e1c8 100644 --- a/pkgs/development/python-modules/pyiceberg-core/default.nix +++ b/pkgs/development/python-modules/pyiceberg-core/default.nix @@ -19,7 +19,6 @@ buildPythonPackage (finalAttrs: { pname = "pyiceberg-core"; version = "0.10.1"; pyproject = true; - __structuredAttrs = true; src = fetchFromGitHub { owner = "apache"; From 8cdba1ec2b6273fe69b43e1bddfbd8a8bf4bf30c Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 22:52:22 +0200 Subject: [PATCH 1204/2378] python3Packages.pyiceberg: remove redundant structuredAttrs --- pkgs/development/python-modules/pyiceberg/default.nix | 1 - 1 file changed, 1 deletion(-) diff --git a/pkgs/development/python-modules/pyiceberg/default.nix b/pkgs/development/python-modules/pyiceberg/default.nix index 13fe57bde598..64d03d526d40 100644 --- a/pkgs/development/python-modules/pyiceberg/default.nix +++ b/pkgs/development/python-modules/pyiceberg/default.nix @@ -62,7 +62,6 @@ buildPythonPackage (finalAttrs: { pname = "pyiceberg"; version = "0.12.0"; pyproject = true; - __structuredAttrs = true; src = fetchFromGitHub { owner = "apache"; From d6e61f95d612c1fb5f77973d91d811cde195f368 Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 22:52:22 +0200 Subject: [PATCH 1205/2378] python3Packages.pyimpfuzzy: remove redundant structuredAttrs --- pkgs/development/python-modules/pyimpfuzzy/default.nix | 2 -- 1 file changed, 2 deletions(-) diff --git a/pkgs/development/python-modules/pyimpfuzzy/default.nix b/pkgs/development/python-modules/pyimpfuzzy/default.nix index b2614a3cb053..b8a020eca3d1 100644 --- a/pkgs/development/python-modules/pyimpfuzzy/default.nix +++ b/pkgs/development/python-modules/pyimpfuzzy/default.nix @@ -11,8 +11,6 @@ buildPythonPackage (finalAttrs: { version = "0.5"; pyproject = true; - __structuredAttrs = true; - src = fetchPypi { pname = "pyimpfuzzy"; inherit (finalAttrs) version; From 3f4b16d360cc256fd0aaf0a10229f5fa56bf770e Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 22:52:22 +0200 Subject: [PATCH 1206/2378] python3Packages.pyinfra: remove redundant structuredAttrs --- pkgs/development/python-modules/pyinfra/default.nix | 1 - 1 file changed, 1 deletion(-) diff --git a/pkgs/development/python-modules/pyinfra/default.nix b/pkgs/development/python-modules/pyinfra/default.nix index 0373af560e9f..bf32a81b7fc0 100644 --- a/pkgs/development/python-modules/pyinfra/default.nix +++ b/pkgs/development/python-modules/pyinfra/default.nix @@ -31,7 +31,6 @@ buildPythonPackage (finalAttrs: { pname = "pyinfra"; version = "3.9.2"; pyproject = true; - __structuredAttrs = true; src = fetchFromGitHub { owner = "pyinfra-dev"; From 6c47faea1bba89e45263d8b47d89b8e6ebf6e12a Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 22:52:22 +0200 Subject: [PATCH 1207/2378] python3Packages.pyinotify: remove redundant structuredAttrs --- pkgs/development/python-modules/pyinotify/default.nix | 1 - 1 file changed, 1 deletion(-) diff --git a/pkgs/development/python-modules/pyinotify/default.nix b/pkgs/development/python-modules/pyinotify/default.nix index 2f4c6ca89014..1ed6b8fe0ad7 100644 --- a/pkgs/development/python-modules/pyinotify/default.nix +++ b/pkgs/development/python-modules/pyinotify/default.nix @@ -9,7 +9,6 @@ buildPythonPackage (finalAttrs: { pname = "pyinotify"; version = "0.9.6"; - __structuredAttrs = true; pyproject = true; src = fetchPypi { From e36a799bd89b604b73ce1561e06e953a1b3cfc1b Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 22:52:23 +0200 Subject: [PATCH 1208/2378] python3Packages.pyinputevent: remove redundant structuredAttrs --- pkgs/development/python-modules/pyinputevent/default.nix | 1 - 1 file changed, 1 deletion(-) diff --git a/pkgs/development/python-modules/pyinputevent/default.nix b/pkgs/development/python-modules/pyinputevent/default.nix index 4b5be38ea204..3a06821b58c9 100644 --- a/pkgs/development/python-modules/pyinputevent/default.nix +++ b/pkgs/development/python-modules/pyinputevent/default.nix @@ -9,7 +9,6 @@ buildPythonPackage { pname = "pyinputevent"; version = "0.1-unstable-2015-10-18"; - __structuredAttrs = true; pyproject = true; src = fetchFromGitHub { From a336f579920d69db47385476e571aac36030b594 Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 22:52:23 +0200 Subject: [PATCH 1209/2378] python3Packages.pyinstaller-versionfile: remove redundant structuredAttrs --- .../python-modules/pyinstaller-versionfile/default.nix | 1 - 1 file changed, 1 deletion(-) diff --git a/pkgs/development/python-modules/pyinstaller-versionfile/default.nix b/pkgs/development/python-modules/pyinstaller-versionfile/default.nix index dce65e651556..d42425214eca 100644 --- a/pkgs/development/python-modules/pyinstaller-versionfile/default.nix +++ b/pkgs/development/python-modules/pyinstaller-versionfile/default.nix @@ -13,7 +13,6 @@ buildPythonPackage (finalAttrs: { version = "3.1.0"; pyproject = true; - __structuredAttrs = true; src = fetchFromGitHub { owner = "DudeNr33"; From 6ae863b7abf58b14f4407b5397e6cbf4ac14269b Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 22:52:23 +0200 Subject: [PATCH 1210/2378] python3Packages.pyjks: remove redundant structuredAttrs --- pkgs/development/python-modules/pyjks/default.nix | 1 - 1 file changed, 1 deletion(-) diff --git a/pkgs/development/python-modules/pyjks/default.nix b/pkgs/development/python-modules/pyjks/default.nix index 46aeb527cf2a..b821fbba733b 100644 --- a/pkgs/development/python-modules/pyjks/default.nix +++ b/pkgs/development/python-modules/pyjks/default.nix @@ -14,7 +14,6 @@ buildPythonPackage (finalAttrs: { pname = "pyjks"; version = "20.0.0"; - __structuredAttrs = true; pyproject = true; src = fetchPypi { From cb70a3eb8852eabc603a0bdd10ab985a74e20e08 Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 22:52:24 +0200 Subject: [PATCH 1211/2378] python3Packages.pyjnius: remove redundant structuredAttrs --- pkgs/development/python-modules/pyjnius/default.nix | 1 - 1 file changed, 1 deletion(-) diff --git a/pkgs/development/python-modules/pyjnius/default.nix b/pkgs/development/python-modules/pyjnius/default.nix index fdfea0572834..8758e156f187 100644 --- a/pkgs/development/python-modules/pyjnius/default.nix +++ b/pkgs/development/python-modules/pyjnius/default.nix @@ -11,7 +11,6 @@ buildPythonPackage (finalAttrs: { pname = "pyjnius"; version = "1.7.0"; - __structuredAttrs = true; pyproject = true; src = fetchPypi { From 656d8194f821daad76a5f3827c49b92c50fa3ae8 Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 22:52:24 +0200 Subject: [PATCH 1212/2378] python3Packages.pylacrosse: remove redundant structuredAttrs --- pkgs/development/python-modules/pylacrosse/default.nix | 2 -- 1 file changed, 2 deletions(-) diff --git a/pkgs/development/python-modules/pylacrosse/default.nix b/pkgs/development/python-modules/pylacrosse/default.nix index 562e55ae3cf2..766a30272ea1 100644 --- a/pkgs/development/python-modules/pylacrosse/default.nix +++ b/pkgs/development/python-modules/pylacrosse/default.nix @@ -13,8 +13,6 @@ buildPythonPackage (finalAttrs: { version = "0.5"; pyproject = true; - __structuredAttrs = true; - src = fetchFromGitHub { owner = "hthiery"; repo = "python-lacrosse"; From 3171cdf256f118c9f59f45ca47c4df061d34ca9a Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 22:52:24 +0200 Subject: [PATCH 1213/2378] python3Packages.pylance: remove redundant structuredAttrs --- pkgs/development/python-modules/pylance/default.nix | 1 - 1 file changed, 1 deletion(-) diff --git a/pkgs/development/python-modules/pylance/default.nix b/pkgs/development/python-modules/pylance/default.nix index bc471b9f993c..e32531be1745 100644 --- a/pkgs/development/python-modules/pylance/default.nix +++ b/pkgs/development/python-modules/pylance/default.nix @@ -38,7 +38,6 @@ buildPythonPackage (finalAttrs: { pname = "pylance"; version = "13.0.0"; pyproject = true; - __structuredAttrs = true; src = fetchFromGitHub { owner = "lancedb"; From aca064cb815503ae66d190a65aff0f184fec150f Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 22:52:24 +0200 Subject: [PATCH 1214/2378] python3Packages.pylatexenc: remove redundant structuredAttrs --- pkgs/development/python-modules/pylatexenc/default.nix | 1 - 1 file changed, 1 deletion(-) diff --git a/pkgs/development/python-modules/pylatexenc/default.nix b/pkgs/development/python-modules/pylatexenc/default.nix index cff710bea20a..590305f874e5 100644 --- a/pkgs/development/python-modules/pylatexenc/default.nix +++ b/pkgs/development/python-modules/pylatexenc/default.nix @@ -11,7 +11,6 @@ buildPythonPackage (finalAttrs: { version = "2.11"; pyproject = true; - __structuredAttrs = true; src = fetchFromGitHub { owner = "phfaist"; From 811dea5b4d6afb1e7a380ccf296bea31086a1c9d Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 22:52:25 +0200 Subject: [PATCH 1215/2378] python3Packages.pyldapsearch: remove redundant structuredAttrs --- pkgs/development/python-modules/pyldapsearch/default.nix | 2 -- 1 file changed, 2 deletions(-) diff --git a/pkgs/development/python-modules/pyldapsearch/default.nix b/pkgs/development/python-modules/pyldapsearch/default.nix index b72b02350a24..bfce80767920 100644 --- a/pkgs/development/python-modules/pyldapsearch/default.nix +++ b/pkgs/development/python-modules/pyldapsearch/default.nix @@ -20,8 +20,6 @@ buildPythonPackage (finalAttrs: { version = "0.2.0"; pyproject = true; - __structuredAttrs = true; - src = fetchFromGitHub { owner = "Tw1sm"; repo = "pyldapsearch"; From 5d7b6201a2962a7a74234382dd699c165eb10b06 Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 22:52:25 +0200 Subject: [PATCH 1216/2378] python3Packages.pyluwen: remove redundant structuredAttrs --- pkgs/development/python-modules/pyluwen/default.nix | 1 - 1 file changed, 1 deletion(-) diff --git a/pkgs/development/python-modules/pyluwen/default.nix b/pkgs/development/python-modules/pyluwen/default.nix index 4ba157428ecd..668f2905f491 100644 --- a/pkgs/development/python-modules/pyluwen/default.nix +++ b/pkgs/development/python-modules/pyluwen/default.nix @@ -11,7 +11,6 @@ buildPythonPackage (finalAttrs: { pname = "pyluwen"; version = "0.10.0"; pyproject = true; - __structuredAttrs = true; src = fetchFromGitHub { owner = "tenstorrent"; From 4e129794f046752d5babd5a07b5a06e9f027dbd3 Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 22:52:25 +0200 Subject: [PATCH 1217/2378] python3Packages.pymap3d: remove redundant structuredAttrs --- pkgs/development/python-modules/pymap3d/default.nix | 1 - 1 file changed, 1 deletion(-) diff --git a/pkgs/development/python-modules/pymap3d/default.nix b/pkgs/development/python-modules/pymap3d/default.nix index 9d6526a0125c..ef9d3755c0b2 100644 --- a/pkgs/development/python-modules/pymap3d/default.nix +++ b/pkgs/development/python-modules/pymap3d/default.nix @@ -24,7 +24,6 @@ buildPythonPackage (finalAttrs: { pname = "pymap3d"; version = "3.2.0"; pyproject = true; - __structuredAttrs = true; src = fetchFromGitHub { owner = "geospace-code"; From 7e29c608f93d8b083f14fd1ecb0130659bb0d5f0 Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 22:52:26 +0200 Subject: [PATCH 1218/2378] python3Packages.pymc: remove redundant structuredAttrs --- pkgs/development/python-modules/pymc/default.nix | 1 - 1 file changed, 1 deletion(-) diff --git a/pkgs/development/python-modules/pymc/default.nix b/pkgs/development/python-modules/pymc/default.nix index ca3806c81ea2..5adaab394f30 100644 --- a/pkgs/development/python-modules/pymc/default.nix +++ b/pkgs/development/python-modules/pymc/default.nix @@ -25,7 +25,6 @@ buildPythonPackage (finalAttrs: { pname = "pymc"; version = "6.3.2"; pyproject = true; - __structuredAttrs = true; src = fetchFromGitHub { owner = "pymc-devs"; From ed795e9bc61ccb6ead61fa65eaa5cb8d9de2468e Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 22:52:26 +0200 Subject: [PATCH 1219/2378] python3Packages.pymeshlab: remove redundant structuredAttrs --- pkgs/development/python-modules/pymeshlab/default.nix | 2 -- 1 file changed, 2 deletions(-) diff --git a/pkgs/development/python-modules/pymeshlab/default.nix b/pkgs/development/python-modules/pymeshlab/default.nix index 6904359d3963..fb43a4a11908 100644 --- a/pkgs/development/python-modules/pymeshlab/default.nix +++ b/pkgs/development/python-modules/pymeshlab/default.nix @@ -98,8 +98,6 @@ buildPythonPackage { pythonImportsCheck = [ "pymeshlab" ]; - __structuredAttrs = true; - meta = { description = "Open source mesh processing python library"; homepage = "https://github.com/cnr-isti-vclab/PyMeshLab"; From 20356e683b22ab5eba5812c2bf21063658a71c57 Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 22:52:26 +0200 Subject: [PATCH 1220/2378] python3Packages.pymisp: remove redundant structuredAttrs --- pkgs/development/python-modules/pymisp/default.nix | 2 -- 1 file changed, 2 deletions(-) diff --git a/pkgs/development/python-modules/pymisp/default.nix b/pkgs/development/python-modules/pymisp/default.nix index 4c09ca522227..191170ee4c7d 100644 --- a/pkgs/development/python-modules/pymisp/default.nix +++ b/pkgs/development/python-modules/pymisp/default.nix @@ -31,8 +31,6 @@ buildPythonPackage (finalAttrs: { version = "2.5.34.4"; pyproject = true; - __structuredAttrs = true; - src = fetchFromGitHub { owner = "MISP"; repo = "PyMISP"; From 23dae9c658f4fbc40b900f09b0a7e7fff61feaee Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 22:52:26 +0200 Subject: [PATCH 1221/2378] python3Packages.pymorphy2: remove redundant structuredAttrs --- pkgs/development/python-modules/pymorphy2/default.nix | 2 -- 1 file changed, 2 deletions(-) diff --git a/pkgs/development/python-modules/pymorphy2/default.nix b/pkgs/development/python-modules/pymorphy2/default.nix index 37a89bc45f84..71f05140c649 100644 --- a/pkgs/development/python-modules/pymorphy2/default.nix +++ b/pkgs/development/python-modules/pymorphy2/default.nix @@ -14,8 +14,6 @@ buildPythonPackage (finalAttrs: { version = "0.9.1"; format = "setuptools"; - __structuredAttrs = true; - src = fetchPypi { inherit (finalAttrs) pname version; hash = "sha256-hsRHFX3uLrI0HvvkU44SgadUdWuhqjLad6iWFMWLVgw="; From c26f2f117e9b5577390c69785212791eab30bf3a Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 22:52:27 +0200 Subject: [PATCH 1222/2378] python3Packages.pynauty: remove redundant structuredAttrs --- pkgs/development/python-modules/pynauty/default.nix | 2 -- 1 file changed, 2 deletions(-) diff --git a/pkgs/development/python-modules/pynauty/default.nix b/pkgs/development/python-modules/pynauty/default.nix index f223889fb1ae..f45b6e52b2f9 100644 --- a/pkgs/development/python-modules/pynauty/default.nix +++ b/pkgs/development/python-modules/pynauty/default.nix @@ -13,8 +13,6 @@ buildPythonPackage (finalAttrs: { pname = "pynauty"; version = "2.8.8.1"; - __structuredAttrs = true; - pyproject = true; disabled = pythonOlder "3.8"; From d111df894ecae9eb331423eabd48af5420cac62e Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 22:52:27 +0200 Subject: [PATCH 1223/2378] python3Packages.pynvml: remove redundant structuredAttrs --- pkgs/development/python-modules/pynvml/default.nix | 2 -- 1 file changed, 2 deletions(-) diff --git a/pkgs/development/python-modules/pynvml/default.nix b/pkgs/development/python-modules/pynvml/default.nix index 581c0ab8c6ea..7994f16feb61 100644 --- a/pkgs/development/python-modules/pynvml/default.nix +++ b/pkgs/development/python-modules/pynvml/default.nix @@ -13,8 +13,6 @@ buildPythonPackage (finalAttrs: { version = "13.0.1"; pyproject = true; - __structuredAttrs = true; - src = fetchFromGitHub { owner = "gpuopenanalytics"; repo = "pynvml"; From 7d4713dd482ef72b1f89b51bceb241b78b057d29 Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 22:52:27 +0200 Subject: [PATCH 1224/2378] python3Packages.pyobjus: remove redundant structuredAttrs --- pkgs/development/python-modules/pyobjus/default.nix | 1 - 1 file changed, 1 deletion(-) diff --git a/pkgs/development/python-modules/pyobjus/default.nix b/pkgs/development/python-modules/pyobjus/default.nix index 29438e2effd4..ddbb31f8ba5a 100644 --- a/pkgs/development/python-modules/pyobjus/default.nix +++ b/pkgs/development/python-modules/pyobjus/default.nix @@ -18,7 +18,6 @@ buildPythonPackage (finalAttrs: { pname = "pyobjus"; version = "1.2.4"; pyproject = true; - __structuredAttrs = true; src = fetchFromGitHub { owner = "kivy"; From f4ee3ab8551b15bba2932f83f9f412efed5370d8 Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 22:52:28 +0200 Subject: [PATCH 1225/2378] python3Packages.pyogrio: remove redundant structuredAttrs --- pkgs/development/python-modules/pyogrio/default.nix | 1 - 1 file changed, 1 deletion(-) diff --git a/pkgs/development/python-modules/pyogrio/default.nix b/pkgs/development/python-modules/pyogrio/default.nix index b96626ec76e7..286ca19a6232 100644 --- a/pkgs/development/python-modules/pyogrio/default.nix +++ b/pkgs/development/python-modules/pyogrio/default.nix @@ -25,7 +25,6 @@ buildPythonPackage (finalAttrs: { pname = "pyogrio"; version = "0.13.0"; pyproject = true; - __structuredAttrs = true; src = fetchFromGitHub { owner = "geopandas"; From acbefad3e1b4125d1747f97e2851605987958844 Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 22:52:28 +0200 Subject: [PATCH 1226/2378] python3Packages.pyopencl: remove redundant structuredAttrs --- pkgs/development/python-modules/pyopencl/default.nix | 1 - 1 file changed, 1 deletion(-) diff --git a/pkgs/development/python-modules/pyopencl/default.nix b/pkgs/development/python-modules/pyopencl/default.nix index b713552d50bb..752b567096f8 100644 --- a/pkgs/development/python-modules/pyopencl/default.nix +++ b/pkgs/development/python-modules/pyopencl/default.nix @@ -32,7 +32,6 @@ buildPythonPackage (finalAttrs: { pname = "pyopencl"; version = "2026.1.4"; pyproject = true; - __structuredAttrs = true; src = fetchFromGitHub { owner = "inducer"; From 85d52aa64ff834c794051586a451018480deea6f Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 22:52:28 +0200 Subject: [PATCH 1227/2378] python3Packages.pyoxigraph: remove redundant structuredAttrs --- pkgs/development/python-modules/pyoxigraph/default.nix | 2 -- 1 file changed, 2 deletions(-) diff --git a/pkgs/development/python-modules/pyoxigraph/default.nix b/pkgs/development/python-modules/pyoxigraph/default.nix index 899d5aa65965..c3a94d5aa2f6 100644 --- a/pkgs/development/python-modules/pyoxigraph/default.nix +++ b/pkgs/development/python-modules/pyoxigraph/default.nix @@ -14,8 +14,6 @@ buildPythonPackage (finalAttrs: { pyproject = true; version = "0.5.9"; - __structuredAttrs = true; - src = fetchFromGitHub { owner = "oxigraph"; repo = "oxigraph"; From 0e7b2ed74d6349914a5614443e7712023d86c81c Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 22:52:28 +0200 Subject: [PATCH 1228/2378] python3Packages.pyqtgraph: remove redundant structuredAttrs --- pkgs/development/python-modules/pyqtgraph/default.nix | 1 - 1 file changed, 1 deletion(-) diff --git a/pkgs/development/python-modules/pyqtgraph/default.nix b/pkgs/development/python-modules/pyqtgraph/default.nix index f28ffe84b751..6ee92d850f6e 100644 --- a/pkgs/development/python-modules/pyqtgraph/default.nix +++ b/pkgs/development/python-modules/pyqtgraph/default.nix @@ -30,7 +30,6 @@ buildPythonPackage (finalAttrs: { pname = "pyqtgraph"; version = "0.14.0"; pyproject = true; - __structuredAttrs = true; src = fetchFromGitHub { owner = "pyqtgraph"; From 055a66e1576ebf4983ddcedac4e7a5e36cd4385f Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 22:52:29 +0200 Subject: [PATCH 1229/2378] python3Packages.pyqwest: remove redundant structuredAttrs --- pkgs/development/python-modules/pyqwest/default.nix | 1 - 1 file changed, 1 deletion(-) diff --git a/pkgs/development/python-modules/pyqwest/default.nix b/pkgs/development/python-modules/pyqwest/default.nix index ed5d6294e751..4a31f3f74d89 100644 --- a/pkgs/development/python-modules/pyqwest/default.nix +++ b/pkgs/development/python-modules/pyqwest/default.nix @@ -15,7 +15,6 @@ buildPythonPackage (finalAttrs: { pname = "pyqwest"; version = "0.10.0"; pyproject = true; - __structuredAttrs = true; src = fetchFromGitHub { owner = "curioswitch"; From 1a3af62d4016635ee1d2f6b03947ae223a6260a8 Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 22:52:29 +0200 Subject: [PATCH 1230/2378] python3Packages.pyregrws: remove redundant structuredAttrs --- pkgs/development/python-modules/pyregrws/default.nix | 1 - 1 file changed, 1 deletion(-) diff --git a/pkgs/development/python-modules/pyregrws/default.nix b/pkgs/development/python-modules/pyregrws/default.nix index cf94ef792f08..a95eb0cae2d7 100644 --- a/pkgs/development/python-modules/pyregrws/default.nix +++ b/pkgs/development/python-modules/pyregrws/default.nix @@ -24,7 +24,6 @@ buildPythonPackage (finalAttrs: { pname = "pyregrws"; version = "1.0.0"; pyproject = true; - __structuredAttrs = true; src = fetchFromGitHub { owner = "jsenecal"; From 07fadd357c46f9fcff9c84eebccb8f403d572d9b Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 22:52:29 +0200 Subject: [PATCH 1231/2378] python3Packages.pyro-ppl: remove redundant structuredAttrs --- pkgs/development/python-modules/pyro-ppl/default.nix | 1 - 1 file changed, 1 deletion(-) diff --git a/pkgs/development/python-modules/pyro-ppl/default.nix b/pkgs/development/python-modules/pyro-ppl/default.nix index 81104e090efd..c34f59a4f485 100644 --- a/pkgs/development/python-modules/pyro-ppl/default.nix +++ b/pkgs/development/python-modules/pyro-ppl/default.nix @@ -28,7 +28,6 @@ buildPythonPackage (finalAttrs: { pname = "pyro-ppl"; version = "1.9.2"; pyproject = true; - __structuredAttrs = true; src = fetchFromGitHub { owner = "pyro-ppl"; From a6b84bee27b3bbf0ae3494e1839c6c5049fd29f8 Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 22:52:30 +0200 Subject: [PATCH 1232/2378] python3Packages.pysbd: remove redundant structuredAttrs --- pkgs/development/python-modules/pysbd/default.nix | 2 -- 1 file changed, 2 deletions(-) diff --git a/pkgs/development/python-modules/pysbd/default.nix b/pkgs/development/python-modules/pysbd/default.nix index 1f6509265b26..a311889ac9e6 100644 --- a/pkgs/development/python-modules/pysbd/default.nix +++ b/pkgs/development/python-modules/pysbd/default.nix @@ -13,8 +13,6 @@ buildPythonPackage (finalAttrs: { version = "0.3.4"; pyproject = true; - __structuredAttrs = true; - # provides no sdist on pypi src = fetchFromGitHub { owner = "nipunsadvilkar"; From abdda1e8d99572cb1d5fdcb3bf1ff0632cda1db3 Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 22:52:30 +0200 Subject: [PATCH 1233/2378] python3Packages.pyscf: remove redundant structuredAttrs --- pkgs/development/python-modules/pyscf/default.nix | 1 - 1 file changed, 1 deletion(-) diff --git a/pkgs/development/python-modules/pyscf/default.nix b/pkgs/development/python-modules/pyscf/default.nix index 9b519d73b13d..c7d6141f311d 100644 --- a/pkgs/development/python-modules/pyscf/default.nix +++ b/pkgs/development/python-modules/pyscf/default.nix @@ -31,7 +31,6 @@ buildPythonPackage (finalAttrs: { pname = "pyscf"; version = "2.14.0"; pyproject = true; - __structuredAttrs = true; src = fetchFromGitHub { owner = "pyscf"; From 1298d914210b971cbdc96761a63e1ca29e96c4fa Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 22:52:30 +0200 Subject: [PATCH 1234/2378] python3Packages.pyscss: remove redundant structuredAttrs --- pkgs/development/python-modules/pyscss/default.nix | 2 -- 1 file changed, 2 deletions(-) diff --git a/pkgs/development/python-modules/pyscss/default.nix b/pkgs/development/python-modules/pyscss/default.nix index 278aa7b1c247..9f95d4ce7456 100644 --- a/pkgs/development/python-modules/pyscss/default.nix +++ b/pkgs/development/python-modules/pyscss/default.nix @@ -12,8 +12,6 @@ buildPythonPackage (finalAttrs: { version = "1.4.0"; pyproject = true; - __structuredAttrs = true; - src = fetchFromGitHub { repo = "pyScss"; owner = "Kronuz"; From 2445c3cef60393ea059a936492c2d3077745c471 Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 22:52:30 +0200 Subject: [PATCH 1235/2378] python3Packages.pysctp: remove redundant structuredAttrs --- pkgs/development/python-modules/pysctp/default.nix | 1 - 1 file changed, 1 deletion(-) diff --git a/pkgs/development/python-modules/pysctp/default.nix b/pkgs/development/python-modules/pysctp/default.nix index 061dfca0202d..bf414a6b72f0 100644 --- a/pkgs/development/python-modules/pysctp/default.nix +++ b/pkgs/development/python-modules/pysctp/default.nix @@ -10,7 +10,6 @@ buildPythonPackage (finalAttrs: { pname = "pysctp"; version = "0.7.3"; pyproject = true; - __structuredAttrs = true; src = fetchFromGitHub { owner = "P1sec"; From e5f9a7d2b01f275fc3d09f050414d922c83cfa1c Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 22:52:31 +0200 Subject: [PATCH 1236/2378] python3Packages.pysdl2: remove redundant structuredAttrs --- pkgs/development/python-modules/pysdl2/default.nix | 1 - 1 file changed, 1 deletion(-) diff --git a/pkgs/development/python-modules/pysdl2/default.nix b/pkgs/development/python-modules/pysdl2/default.nix index d14b516513e2..eb4a32d1e202 100644 --- a/pkgs/development/python-modules/pysdl2/default.nix +++ b/pkgs/development/python-modules/pysdl2/default.nix @@ -23,7 +23,6 @@ buildPythonPackage (finalAttrs: { pname = "pysdl2"; version = "0.9.17-unstable-2025-11-18"; pyproject = true; - __structuredAttrs = true; src = fetchFromGitHub { owner = "py-sdl"; From 0908a6c2602e13f027d3cab21d90e07476d28d31 Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 22:52:31 +0200 Subject: [PATCH 1237/2378] python3Packages.pyshacl: remove redundant structuredAttrs --- pkgs/development/python-modules/pyshacl/default.nix | 2 -- 1 file changed, 2 deletions(-) diff --git a/pkgs/development/python-modules/pyshacl/default.nix b/pkgs/development/python-modules/pyshacl/default.nix index df2325fbaef9..e2900b9a07c5 100644 --- a/pkgs/development/python-modules/pyshacl/default.nix +++ b/pkgs/development/python-modules/pyshacl/default.nix @@ -24,8 +24,6 @@ buildPythonPackage (finalAttrs: { version = "0.40.1"; pyproject = true; - __structuredAttrs = true; - src = fetchFromGitHub { owner = "rdflib"; repo = "pyshacl"; From 650447cdb6535054e7b55d4ba2e2fac0fb2c4842 Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 22:52:31 +0200 Subject: [PATCH 1238/2378] python3Packages.pysptk: remove redundant structuredAttrs --- pkgs/development/python-modules/pysptk/default.nix | 2 -- 1 file changed, 2 deletions(-) diff --git a/pkgs/development/python-modules/pysptk/default.nix b/pkgs/development/python-modules/pysptk/default.nix index 0fe0152f8b8e..a982057e6f43 100644 --- a/pkgs/development/python-modules/pysptk/default.nix +++ b/pkgs/development/python-modules/pysptk/default.nix @@ -16,8 +16,6 @@ buildPythonPackage (finalAttrs: { version = "1.0.1"; pyproject = true; - __structuredAttrs = true; - src = fetchPypi { inherit (finalAttrs) version; pname = "pysptk"; From 01423be6bed652cb1281313bc575b720f8ca9215 Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 22:52:32 +0200 Subject: [PATCH 1239/2378] python3Packages.pysquashfsimage: remove redundant structuredAttrs --- pkgs/development/python-modules/pysquashfsimage/default.nix | 1 - 1 file changed, 1 deletion(-) diff --git a/pkgs/development/python-modules/pysquashfsimage/default.nix b/pkgs/development/python-modules/pysquashfsimage/default.nix index 4d21ba06a6fb..52ff20e09ab8 100644 --- a/pkgs/development/python-modules/pysquashfsimage/default.nix +++ b/pkgs/development/python-modules/pysquashfsimage/default.nix @@ -11,7 +11,6 @@ buildPythonPackage (finalAttrs: { pname = "pysquashfsimage"; version = "0.9.0"; pyproject = true; - __structuredAttrs = true; src = fetchFromGitHub { owner = "matteomattei"; From 3a314250a616f7bde943059b9a7663563258e1bf Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 22:52:32 +0200 Subject: [PATCH 1240/2378] python3Packages.pystemmer: remove redundant structuredAttrs --- pkgs/development/python-modules/pystemmer/default.nix | 2 -- 1 file changed, 2 deletions(-) diff --git a/pkgs/development/python-modules/pystemmer/default.nix b/pkgs/development/python-modules/pystemmer/default.nix index 9628e6fc3af0..bacebb41627b 100644 --- a/pkgs/development/python-modules/pystemmer/default.nix +++ b/pkgs/development/python-modules/pystemmer/default.nix @@ -57,8 +57,6 @@ buildPythonPackage (finalAttrs: { runHook postCheck ''; - __structuredAttrs = true; - meta = { description = "Snowball stemming algorithms, for information retrieval"; homepage = "https://github.com/snowballstem/pystemmer"; From e6bb87aa7bf027041784e2b4e534616e2c606996 Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 22:52:32 +0200 Subject: [PATCH 1241/2378] python3Packages.pytak: remove redundant structuredAttrs --- pkgs/development/python-modules/pytak/default.nix | 1 - 1 file changed, 1 deletion(-) diff --git a/pkgs/development/python-modules/pytak/default.nix b/pkgs/development/python-modules/pytak/default.nix index f3e9739cb46f..13ca91eb19e6 100644 --- a/pkgs/development/python-modules/pytak/default.nix +++ b/pkgs/development/python-modules/pytak/default.nix @@ -13,7 +13,6 @@ buildPythonPackage (finalAttrs: { pname = "pytak"; version = "7.3.10"; pyproject = true; - __structuredAttrs = true; src = fetchFromGitHub { owner = "snstac"; From bfc502d8833e94d64668ea99436e035e7bad8076 Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 22:52:32 +0200 Subject: [PATCH 1242/2378] python3Packages.pytensor: remove redundant structuredAttrs --- pkgs/development/python-modules/pytensor/default.nix | 1 - 1 file changed, 1 deletion(-) diff --git a/pkgs/development/python-modules/pytensor/default.nix b/pkgs/development/python-modules/pytensor/default.nix index ea836236d2eb..5e3aad9668f5 100644 --- a/pkgs/development/python-modules/pytensor/default.nix +++ b/pkgs/development/python-modules/pytensor/default.nix @@ -36,7 +36,6 @@ buildPythonPackage (finalAttrs: { pname = "pytensor"; version = "3.3.3"; pyproject = true; - __structuredAttrs = true; src = fetchFromGitHub { owner = "pymc-devs"; From 40fec8987b6087330fb9781817dd2454946d6915 Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 22:52:33 +0200 Subject: [PATCH 1243/2378] python3Packages.pytest-subtests: remove redundant structuredAttrs --- pkgs/development/python-modules/pytest-subtests/default.nix | 1 - 1 file changed, 1 deletion(-) diff --git a/pkgs/development/python-modules/pytest-subtests/default.nix b/pkgs/development/python-modules/pytest-subtests/default.nix index d4b98e40e5c3..8275b31fde11 100644 --- a/pkgs/development/python-modules/pytest-subtests/default.nix +++ b/pkgs/development/python-modules/pytest-subtests/default.nix @@ -16,7 +16,6 @@ buildPythonPackage (finalAttrs: { pname = "pytest-subtests"; version = "0.15.0"; pyproject = true; - __structuredAttrs = true; src = fetchFromGitHub { owner = "pytest-dev"; From a479b4b4f01c93833a07349fe49d378550096924 Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 22:52:33 +0200 Subject: [PATCH 1244/2378] python3Packages.python-broadlink: remove redundant structuredAttrs --- pkgs/development/python-modules/python-broadlink/default.nix | 2 -- 1 file changed, 2 deletions(-) diff --git a/pkgs/development/python-modules/python-broadlink/default.nix b/pkgs/development/python-modules/python-broadlink/default.nix index dfc16e0ccfa7..3f0ea491b716 100644 --- a/pkgs/development/python-modules/python-broadlink/default.nix +++ b/pkgs/development/python-modules/python-broadlink/default.nix @@ -35,8 +35,6 @@ buildPythonPackage (finalAttrs: { "broadlink" ]; - __structuredAttrs = true; - meta = { description = "Python module for controlling Broadlink RM2/3 (Pro) remote controls, A1 sensor platforms and SP2/3 smartplugs"; homepage = "https://github.com/DAB-LABS/python-broadlink"; From 5442dc84b9f2dc22587237cd75ba8de9027dfa6b Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 22:52:33 +0200 Subject: [PATCH 1245/2378] python3Packages.python-crontab: remove redundant structuredAttrs --- pkgs/development/python-modules/python-crontab/default.nix | 2 -- 1 file changed, 2 deletions(-) diff --git a/pkgs/development/python-modules/python-crontab/default.nix b/pkgs/development/python-modules/python-crontab/default.nix index 162d6a544454..38f74187f959 100644 --- a/pkgs/development/python-modules/python-crontab/default.nix +++ b/pkgs/development/python-modules/python-crontab/default.nix @@ -12,8 +12,6 @@ buildPythonPackage (finalAttrs: { version = "3.4.0"; pyproject = true; - __structuredAttrs = true; - src = fetchFromGitLab { owner = "doctormo"; repo = "python-crontab"; From c6807a751b37b6fa85fa4f232e1b3946b7e8909b Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 22:52:34 +0200 Subject: [PATCH 1246/2378] python3Packages.python-decouple: remove redundant structuredAttrs --- pkgs/development/python-modules/python-decouple/default.nix | 2 -- 1 file changed, 2 deletions(-) diff --git a/pkgs/development/python-modules/python-decouple/default.nix b/pkgs/development/python-modules/python-decouple/default.nix index fa3b6bc65ab4..21181cb06074 100644 --- a/pkgs/development/python-modules/python-decouple/default.nix +++ b/pkgs/development/python-modules/python-decouple/default.nix @@ -12,8 +12,6 @@ buildPythonPackage (finalAttrs: { version = "3.8"; pyproject = true; - __structuredAttrs = true; - src = fetchFromGitHub { owner = "HBNetwork"; repo = "python-decouple"; From 3a7d6b3cb3cfcbb877e0bac89ca9679c3c5eb1f6 Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 22:52:34 +0200 Subject: [PATCH 1247/2378] python3Packages.python-discovery: remove redundant structuredAttrs --- pkgs/development/python-modules/python-discovery/default.nix | 1 - 1 file changed, 1 deletion(-) diff --git a/pkgs/development/python-modules/python-discovery/default.nix b/pkgs/development/python-modules/python-discovery/default.nix index 90785cba3442..7569fa80659d 100644 --- a/pkgs/development/python-modules/python-discovery/default.nix +++ b/pkgs/development/python-modules/python-discovery/default.nix @@ -20,7 +20,6 @@ buildPythonPackage (finalAttrs: { pname = "python-discovery"; version = "1.4.2"; pyproject = true; - __structuredAttrs = true; src = fetchFromGitHub { owner = "tox-dev"; From 86f9d39a8b9683d40d2af53907e0fc7920fcb45b Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 22:52:34 +0200 Subject: [PATCH 1248/2378] python3Packages.python-frontmatter: remove redundant structuredAttrs --- pkgs/development/python-modules/python-frontmatter/default.nix | 1 - 1 file changed, 1 deletion(-) diff --git a/pkgs/development/python-modules/python-frontmatter/default.nix b/pkgs/development/python-modules/python-frontmatter/default.nix index c43a7d2f1a99..ee7c192ee875 100644 --- a/pkgs/development/python-modules/python-frontmatter/default.nix +++ b/pkgs/development/python-modules/python-frontmatter/default.nix @@ -18,7 +18,6 @@ buildPythonPackage (finalAttrs: { pname = "python-frontmatter"; version = "1.3.0"; pyproject = true; - __structuredAttrs = true; src = fetchFromGitHub { owner = "eyeseast"; From aae832328d4ed2b3c65eb9ed36396b3293ba0508 Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 22:52:34 +0200 Subject: [PATCH 1249/2378] python3Packages.python-hostlist: remove redundant structuredAttrs --- pkgs/development/python-modules/python-hostlist/default.nix | 1 - 1 file changed, 1 deletion(-) diff --git a/pkgs/development/python-modules/python-hostlist/default.nix b/pkgs/development/python-modules/python-hostlist/default.nix index 3de14c209422..fb9f2973db9a 100644 --- a/pkgs/development/python-modules/python-hostlist/default.nix +++ b/pkgs/development/python-modules/python-hostlist/default.nix @@ -13,7 +13,6 @@ buildPythonPackage (finalAttrs: { pname = "python-hostlist"; version = "2.3.0"; pyproject = true; - __structuredAttrs = true; src = fetchurl { url = "https://www.nsc.liu.se/~kent/python-hostlist/python_hostlist-${finalAttrs.version}.tar.gz"; From 92e4a2d1f10510ab2fed2ec15934a6e7cf1e836d Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 22:52:35 +0200 Subject: [PATCH 1250/2378] python3Packages.python-jobspy: remove redundant structuredAttrs --- pkgs/development/python-modules/python-jobspy/default.nix | 2 -- 1 file changed, 2 deletions(-) diff --git a/pkgs/development/python-modules/python-jobspy/default.nix b/pkgs/development/python-modules/python-jobspy/default.nix index eb3d538a6b0b..a0f8ff03e872 100644 --- a/pkgs/development/python-modules/python-jobspy/default.nix +++ b/pkgs/development/python-modules/python-jobspy/default.nix @@ -18,8 +18,6 @@ buildPythonPackage (finalAttrs: { version = "1.1.82"; pyproject = true; - __structuredAttrs = true; - src = fetchFromGitHub { owner = "Bunsly"; repo = "JobSpy"; From 3d405afe2112563d431ee24f799ba316d7b6d883 Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 22:52:35 +0200 Subject: [PATCH 1251/2378] python3Packages.python-lsp-ruff: remove redundant structuredAttrs --- pkgs/development/python-modules/python-lsp-ruff/default.nix | 1 - 1 file changed, 1 deletion(-) diff --git a/pkgs/development/python-modules/python-lsp-ruff/default.nix b/pkgs/development/python-modules/python-lsp-ruff/default.nix index 095332098c4f..ebd4e36e6b50 100644 --- a/pkgs/development/python-modules/python-lsp-ruff/default.nix +++ b/pkgs/development/python-modules/python-lsp-ruff/default.nix @@ -18,7 +18,6 @@ buildPythonPackage (finalAttrs: { pname = "python-lsp-ruff"; version = "2.3.4"; pyproject = true; - __structuredAttrs = true; src = fetchFromGitHub { owner = "python-lsp"; From 6e3512334647fa990922338049eb7bbdbc4fbf34 Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 22:52:35 +0200 Subject: [PATCH 1252/2378] python3Packages.python-resize-image: remove redundant structuredAttrs --- pkgs/development/python-modules/python-resize-image/default.nix | 2 -- 1 file changed, 2 deletions(-) diff --git a/pkgs/development/python-modules/python-resize-image/default.nix b/pkgs/development/python-modules/python-resize-image/default.nix index f0e272b7e8d9..09b0b5870979 100644 --- a/pkgs/development/python-modules/python-resize-image/default.nix +++ b/pkgs/development/python-modules/python-resize-image/default.nix @@ -32,8 +32,6 @@ buildPythonPackage (finalAttrs: { doCheck = false; # sdist missing test artifact - __structuredAttrs = true; - meta = { description = "Python package to easily resize images"; homepage = "https://pypi.org/project/python-resize-image"; From 0bf4bb73c33c46cccc0198910ff0a5b1a9bde9f3 Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 22:52:36 +0200 Subject: [PATCH 1253/2378] python3Packages.python-statemachine: remove redundant structuredAttrs --- pkgs/development/python-modules/python-statemachine/default.nix | 2 -- 1 file changed, 2 deletions(-) diff --git a/pkgs/development/python-modules/python-statemachine/default.nix b/pkgs/development/python-modules/python-statemachine/default.nix index ff83985c6761..83e061821ae1 100644 --- a/pkgs/development/python-modules/python-statemachine/default.nix +++ b/pkgs/development/python-modules/python-statemachine/default.nix @@ -21,8 +21,6 @@ buildPythonPackage (finalAttrs: { version = "3.2.1"; pyproject = true; - __structuredAttrs = true; - src = fetchPypi { pname = "python_statemachine"; inherit (finalAttrs) version; From 11183f761b999a375aa8abbe78485652e42f7255 Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 22:52:36 +0200 Subject: [PATCH 1254/2378] python3Packages.python-yate: remove redundant structuredAttrs --- pkgs/development/python-modules/python-yate/default.nix | 2 -- 1 file changed, 2 deletions(-) diff --git a/pkgs/development/python-modules/python-yate/default.nix b/pkgs/development/python-modules/python-yate/default.nix index 99c36b7cebb4..93a8a286b8da 100644 --- a/pkgs/development/python-modules/python-yate/default.nix +++ b/pkgs/development/python-modules/python-yate/default.nix @@ -13,8 +13,6 @@ buildPythonPackage (finalAttrs: { version = "0.5.0"; pyproject = true; - __structuredAttrs = true; - src = fetchFromGitHub { owner = "eventphone"; repo = "python-yate"; From 53d2208318149174974e484514f5d2c743e818f3 Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 22:52:36 +0200 Subject: [PATCH 1255/2378] python3Packages.python3-otr: remove redundant structuredAttrs --- pkgs/development/python-modules/python3-otr/default.nix | 2 -- 1 file changed, 2 deletions(-) diff --git a/pkgs/development/python-modules/python3-otr/default.nix b/pkgs/development/python-modules/python3-otr/default.nix index 576eb3631e47..018d5b6984cf 100644 --- a/pkgs/development/python-modules/python3-otr/default.nix +++ b/pkgs/development/python-modules/python3-otr/default.nix @@ -13,8 +13,6 @@ buildPythonPackage (finalAttrs: { version = "2.1.0"; pyproject = true; - __structuredAttrs = true; - src = fetchFromGitHub { owner = "AGProjects"; repo = "python3-otr"; From ec7a88708d70e92ae41829f5e6545bfc6c4bcbb8 Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 22:52:37 +0200 Subject: [PATCH 1256/2378] python3Packages.pytmx: remove redundant structuredAttrs --- pkgs/development/python-modules/pytmx/default.nix | 1 - 1 file changed, 1 deletion(-) diff --git a/pkgs/development/python-modules/pytmx/default.nix b/pkgs/development/python-modules/pytmx/default.nix index 691a0f672db7..4d55d4f7fd98 100644 --- a/pkgs/development/python-modules/pytmx/default.nix +++ b/pkgs/development/python-modules/pytmx/default.nix @@ -19,7 +19,6 @@ buildPythonPackage { pname = "pytmx"; version = "3.32"; pyproject = true; - __structuredAttrs = true; src = fetchFromGitHub { owner = "bitcraft"; From f31d00375a300e1e1ab0234f416c1086e61b0e74 Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 22:52:37 +0200 Subject: [PATCH 1257/2378] python3Packages.pytokens: remove redundant structuredAttrs --- pkgs/development/python-modules/pytokens/default.nix | 1 - 1 file changed, 1 deletion(-) diff --git a/pkgs/development/python-modules/pytokens/default.nix b/pkgs/development/python-modules/pytokens/default.nix index cd0346f06223..9715a8ddaf10 100644 --- a/pkgs/development/python-modules/pytokens/default.nix +++ b/pkgs/development/python-modules/pytokens/default.nix @@ -13,7 +13,6 @@ buildPythonPackage (finalAttrs: { pname = "pytokens"; version = "0.4.1"; pyproject = true; - __structuredAttrs = true; src = fetchFromGitHub { owner = "tusharsadhwani"; From 6dacbc97c20cf1361c28b6813d79380ba0864681 Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 22:52:37 +0200 Subject: [PATCH 1258/2378] python3Packages.pytorch-bench: remove redundant structuredAttrs --- pkgs/development/python-modules/pytorch-bench/default.nix | 1 - 1 file changed, 1 deletion(-) diff --git a/pkgs/development/python-modules/pytorch-bench/default.nix b/pkgs/development/python-modules/pytorch-bench/default.nix index 6748a0e1f3f0..5a9ade60924b 100644 --- a/pkgs/development/python-modules/pytorch-bench/default.nix +++ b/pkgs/development/python-modules/pytorch-bench/default.nix @@ -24,7 +24,6 @@ buildPythonPackage { pname = "pytorch-bench"; version = "0-unstable-2025-05-05"; pyproject = true; - __structuredAttrs = true; src = fetchFromGitHub { owner = "MaximeGloesener"; From e9e82aa8e158dc918e1d81bfbf3b4d6fdcec6469 Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 22:52:38 +0200 Subject: [PATCH 1259/2378] python3Packages.pytorch-lightning: remove redundant structuredAttrs --- pkgs/development/python-modules/pytorch-lightning/default.nix | 1 - 1 file changed, 1 deletion(-) diff --git a/pkgs/development/python-modules/pytorch-lightning/default.nix b/pkgs/development/python-modules/pytorch-lightning/default.nix index c7f041c76662..e865765435b7 100644 --- a/pkgs/development/python-modules/pytorch-lightning/default.nix +++ b/pkgs/development/python-modules/pytorch-lightning/default.nix @@ -26,7 +26,6 @@ buildPythonPackage (finalAttrs: { pname = "pytorch-lightning"; version = "2.6.6"; pyproject = true; - __structuredAttrs = true; src = fetchFromGitHub { owner = "Lightning-AI"; From 3baf7045473ba1ec1f4e001a133c0d12885b65d6 Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 22:52:38 +0200 Subject: [PATCH 1260/2378] python3Packages.pytorch-pfn-extras: remove redundant structuredAttrs --- pkgs/development/python-modules/pytorch-pfn-extras/default.nix | 1 - 1 file changed, 1 deletion(-) diff --git a/pkgs/development/python-modules/pytorch-pfn-extras/default.nix b/pkgs/development/python-modules/pytorch-pfn-extras/default.nix index 08c6680a1300..f0c5095ac67f 100644 --- a/pkgs/development/python-modules/pytorch-pfn-extras/default.nix +++ b/pkgs/development/python-modules/pytorch-pfn-extras/default.nix @@ -26,7 +26,6 @@ buildPythonPackage (finalAttrs: { pname = "pytorch-pfn-extras"; version = "0.9.0"; pyproject = true; - __structuredAttrs = true; src = fetchFromGitHub { owner = "pfnet"; From 62c8c698290b809fc88d0b10b7ddda54030df9c5 Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 22:52:38 +0200 Subject: [PATCH 1261/2378] python3Packages.pytorch-tokenizers: remove redundant structuredAttrs --- pkgs/development/python-modules/pytorch-tokenizers/default.nix | 1 - 1 file changed, 1 deletion(-) diff --git a/pkgs/development/python-modules/pytorch-tokenizers/default.nix b/pkgs/development/python-modules/pytorch-tokenizers/default.nix index 0ef52c0333ad..aac4b63bbea2 100644 --- a/pkgs/development/python-modules/pytorch-tokenizers/default.nix +++ b/pkgs/development/python-modules/pytorch-tokenizers/default.nix @@ -32,7 +32,6 @@ buildPythonPackage (finalAttrs: { pname = "pytorch-tokenizers"; version = "1.5.0"; pyproject = true; - __structuredAttrs = true; src = fetchFromGitHub { owner = "meta-pytorch"; From d8281b4f7cb526ed2c29fdf04ef25fc96298c4f1 Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 22:52:38 +0200 Subject: [PATCH 1262/2378] python3Packages.pytweening: remove redundant structuredAttrs --- pkgs/development/python-modules/pytweening/default.nix | 1 - 1 file changed, 1 deletion(-) diff --git a/pkgs/development/python-modules/pytweening/default.nix b/pkgs/development/python-modules/pytweening/default.nix index b8da44f4838e..9b5059a5b9c5 100644 --- a/pkgs/development/python-modules/pytweening/default.nix +++ b/pkgs/development/python-modules/pytweening/default.nix @@ -9,7 +9,6 @@ buildPythonPackage (finalAttrs: { pname = "pytweening"; version = "1.2.0"; - __structuredAttrs = true; pyproject = true; src = fetchPypi { From 67f17d94ca8df5954f4092a5fcb168015cd18345 Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 22:52:39 +0200 Subject: [PATCH 1263/2378] python3Packages.pyworld: remove redundant structuredAttrs --- pkgs/development/python-modules/pyworld/default.nix | 2 -- 1 file changed, 2 deletions(-) diff --git a/pkgs/development/python-modules/pyworld/default.nix b/pkgs/development/python-modules/pyworld/default.nix index 410fd4443b6e..9064e87c763b 100644 --- a/pkgs/development/python-modules/pyworld/default.nix +++ b/pkgs/development/python-modules/pyworld/default.nix @@ -30,8 +30,6 @@ buildPythonPackage (finalAttrs: { pythonImportsCheck = [ "pyworld" ]; - __structuredAttrs = true; - meta = { description = "PyWorld is a Python wrapper for WORLD vocoder"; homepage = "https://github.com/JeremyCCHsu/Python-Wrapper-for-World-Vocoder"; From aea77d281efe165de83ea65bcfb5b448f288edfa Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 22:52:39 +0200 Subject: [PATCH 1264/2378] python3Packages.pyzhuyin: remove redundant structuredAttrs --- pkgs/development/python-modules/pyzhuyin/default.nix | 1 - 1 file changed, 1 deletion(-) diff --git a/pkgs/development/python-modules/pyzhuyin/default.nix b/pkgs/development/python-modules/pyzhuyin/default.nix index 522d9595c434..b50dbaf598cb 100644 --- a/pkgs/development/python-modules/pyzhuyin/default.nix +++ b/pkgs/development/python-modules/pyzhuyin/default.nix @@ -12,7 +12,6 @@ buildPythonPackage (finalAttrs: { pname = "pyzhuyin"; version = "0.0.3"; pyproject = true; - __structuredAttrs = true; src = fetchFromGitHub { owner = "rku1999"; From f7e3481812c4c2a41dd1e92536d15b1de01e2967 Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 22:52:39 +0200 Subject: [PATCH 1265/2378] python3Packages.qcodes-contrib-drivers: remove redundant structuredAttrs --- .../python-modules/qcodes-contrib-drivers/default.nix | 1 - 1 file changed, 1 deletion(-) diff --git a/pkgs/development/python-modules/qcodes-contrib-drivers/default.nix b/pkgs/development/python-modules/qcodes-contrib-drivers/default.nix index b33408231eef..3ff6717a6b6d 100644 --- a/pkgs/development/python-modules/qcodes-contrib-drivers/default.nix +++ b/pkgs/development/python-modules/qcodes-contrib-drivers/default.nix @@ -27,7 +27,6 @@ buildPythonPackage (finalAttrs: { pname = "qcodes-contrib-drivers"; version = "0.25.0"; pyproject = true; - __structuredAttrs = true; src = fetchFromGitHub { owner = "QCoDeS"; From 2d4f52a6c1b74d973a6ec4c3b6afc05990b4d4ae Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 22:52:40 +0200 Subject: [PATCH 1266/2378] python3Packages.qgrid: remove redundant structuredAttrs --- pkgs/development/python-modules/qgrid/default.nix | 1 - 1 file changed, 1 deletion(-) diff --git a/pkgs/development/python-modules/qgrid/default.nix b/pkgs/development/python-modules/qgrid/default.nix index 52cac127bb4d..c7bc4263563d 100644 --- a/pkgs/development/python-modules/qgrid/default.nix +++ b/pkgs/development/python-modules/qgrid/default.nix @@ -20,7 +20,6 @@ buildPythonPackage (finalAttrs: { pname = "qgrid"; version = "1.3.1"; pyproject = true; - __structuredAttrs = true; # Using the Pypi archive to avoid building the node modules from source src = fetchPypi { From 64cb5a41ecff731c1a46861a790ef3fcf6309fa5 Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 22:52:40 +0200 Subject: [PATCH 1267/2378] python3Packages.qpsolvers: remove redundant structuredAttrs --- pkgs/development/python-modules/qpsolvers/default.nix | 1 - 1 file changed, 1 deletion(-) diff --git a/pkgs/development/python-modules/qpsolvers/default.nix b/pkgs/development/python-modules/qpsolvers/default.nix index d125f6c50ac2..7eb4ad025e03 100644 --- a/pkgs/development/python-modules/qpsolvers/default.nix +++ b/pkgs/development/python-modules/qpsolvers/default.nix @@ -31,7 +31,6 @@ buildPythonPackage (finalAttrs: { pname = "qpsolvers"; version = "4.13.0"; pyproject = true; - __structuredAttrs = true; src = fetchFromGitHub { owner = "qpsolvers"; From a0f779c542ca2257147d4b79cdd83cbccfa1a350 Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 22:52:40 +0200 Subject: [PATCH 1268/2378] python3Packages.qrcode: remove redundant structuredAttrs --- pkgs/development/python-modules/qrcode/default.nix | 2 -- 1 file changed, 2 deletions(-) diff --git a/pkgs/development/python-modules/qrcode/default.nix b/pkgs/development/python-modules/qrcode/default.nix index a38800caba5f..d90e581c6568 100644 --- a/pkgs/development/python-modules/qrcode/default.nix +++ b/pkgs/development/python-modules/qrcode/default.nix @@ -22,8 +22,6 @@ buildPythonPackage (finalAttrs: { version = "8.2"; pyproject = true; - __structuredAttrs = true; - src = fetchFromGitHub { owner = "lincolnloop"; repo = "python-qrcode"; From 3115af39c0bb2d6486b1ae8c781591b752829634 Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 22:52:40 +0200 Subject: [PATCH 1269/2378] python3Packages.quack-kernels: remove redundant structuredAttrs --- pkgs/development/python-modules/quack-kernels/default.nix | 1 - 1 file changed, 1 deletion(-) diff --git a/pkgs/development/python-modules/quack-kernels/default.nix b/pkgs/development/python-modules/quack-kernels/default.nix index 95cf984598f6..f4475cecece1 100644 --- a/pkgs/development/python-modules/quack-kernels/default.nix +++ b/pkgs/development/python-modules/quack-kernels/default.nix @@ -23,7 +23,6 @@ buildPythonPackage (finalAttrs: { pname = "quack-kernels"; version = "0.6.5"; pyproject = true; - __structuredAttrs = true; src = fetchFromGitHub { owner = "Dao-AILab"; From 3cfcdacb87f52f6bf6798e08c6718c7c0fc70a91 Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 22:52:41 +0200 Subject: [PATCH 1270/2378] python3Packages.qutip: remove redundant structuredAttrs --- pkgs/development/python-modules/qutip/default.nix | 1 - 1 file changed, 1 deletion(-) diff --git a/pkgs/development/python-modules/qutip/default.nix b/pkgs/development/python-modules/qutip/default.nix index ddf33e2642d2..aee19ebcdbec 100644 --- a/pkgs/development/python-modules/qutip/default.nix +++ b/pkgs/development/python-modules/qutip/default.nix @@ -30,7 +30,6 @@ buildPythonPackage (finalAttrs: { pname = "qutip"; version = "5.3.1"; pyproject = true; - __structuredAttrs = true; src = fetchFromGitHub { owner = "qutip"; From 36ed797098de0b2bc08e6cafe9244e02d035434e Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 22:52:41 +0200 Subject: [PATCH 1271/2378] python3Packages.radixtarget: remove redundant structuredAttrs --- pkgs/development/python-modules/radixtarget/default.nix | 2 -- 1 file changed, 2 deletions(-) diff --git a/pkgs/development/python-modules/radixtarget/default.nix b/pkgs/development/python-modules/radixtarget/default.nix index dde4501a1af6..46bca331e221 100644 --- a/pkgs/development/python-modules/radixtarget/default.nix +++ b/pkgs/development/python-modules/radixtarget/default.nix @@ -15,8 +15,6 @@ buildPythonPackage (finalAttrs: { version = "4.2.0"; pyproject = true; - __structuredAttrs = true; - src = fetchPypi { inherit (finalAttrs) pname version; hash = "sha256-xroXgy7e7XXWPOYFMnt5ou2bJKSl6unBsUGa29v6+Dk="; From bac4a02b7daa4f6ce972cb6745d12d66a39341b0 Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 22:52:41 +0200 Subject: [PATCH 1272/2378] python3Packages.railroad-diagrams: remove redundant structuredAttrs --- pkgs/development/python-modules/railroad-diagrams/default.nix | 2 -- 1 file changed, 2 deletions(-) diff --git a/pkgs/development/python-modules/railroad-diagrams/default.nix b/pkgs/development/python-modules/railroad-diagrams/default.nix index 72700efb323b..004452cf11cb 100644 --- a/pkgs/development/python-modules/railroad-diagrams/default.nix +++ b/pkgs/development/python-modules/railroad-diagrams/default.nix @@ -10,8 +10,6 @@ buildPythonPackage (finalAttrs: { version = "3.0.1"; pyproject = true; - __structuredAttrs = true; - src = fetchPypi { inherit (finalAttrs) pname version; hash = "sha256-qRMyuskAyzw2czH6m2mfCJe8+GtyZPZUWGdd9DDQTOM="; From 688c43d46745ad253e834d431e1a4a8ceb226881 Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 22:52:42 +0200 Subject: [PATCH 1273/2378] python3Packages.rapidocr: remove redundant structuredAttrs --- pkgs/development/python-modules/rapidocr/default.nix | 1 - 1 file changed, 1 deletion(-) diff --git a/pkgs/development/python-modules/rapidocr/default.nix b/pkgs/development/python-modules/rapidocr/default.nix index 2d42c4ac615b..14ed6d6ce6f0 100644 --- a/pkgs/development/python-modules/rapidocr/default.nix +++ b/pkgs/development/python-modules/rapidocr/default.nix @@ -48,7 +48,6 @@ buildPythonPackage (finalAttrs: { pname = "rapidocr"; inherit version; pyproject = true; - __structuredAttrs = true; src = fetchFromGitHub { owner = "RapidAI"; From 94f4fd71c6b344484eed7a5694ead99776c0eb73 Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 22:52:42 +0200 Subject: [PATCH 1274/2378] python3Packages.rapidyaml: remove redundant structuredAttrs --- pkgs/development/python-modules/rapidyaml/default.nix | 1 - 1 file changed, 1 deletion(-) diff --git a/pkgs/development/python-modules/rapidyaml/default.nix b/pkgs/development/python-modules/rapidyaml/default.nix index 1992b336ce7e..bdcdd89ad82d 100644 --- a/pkgs/development/python-modules/rapidyaml/default.nix +++ b/pkgs/development/python-modules/rapidyaml/default.nix @@ -15,7 +15,6 @@ buildPythonPackage (finalAttrs: { pname = "rapidyaml"; version = "0.15.2"; pyproject = true; - __structuredAttrs = true; src = fetchFromGitHub { owner = "biojppm"; From b18fc5a5cad5b21fce9801bd2ccf2e16c03ebc6d Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 22:52:42 +0200 Subject: [PATCH 1275/2378] python3Packages.rawpy: remove redundant structuredAttrs --- pkgs/development/python-modules/rawpy/default.nix | 1 - 1 file changed, 1 deletion(-) diff --git a/pkgs/development/python-modules/rawpy/default.nix b/pkgs/development/python-modules/rawpy/default.nix index ea694eb93ccf..c5ca28874f30 100644 --- a/pkgs/development/python-modules/rawpy/default.nix +++ b/pkgs/development/python-modules/rawpy/default.nix @@ -26,7 +26,6 @@ buildPythonPackage (finalAttrs: { pname = "rawpy"; version = "0.27.1"; pyproject = true; - __structuredAttrs = true; src = fetchFromGitHub { owner = "letmaik"; From fd0642e14d7b45b0d5191cab7ba681a8ee8cce15 Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 22:52:43 +0200 Subject: [PATCH 1276/2378] python3Packages.ray: remove redundant structuredAttrs --- pkgs/development/python-modules/ray/default.nix | 1 - 1 file changed, 1 deletion(-) diff --git a/pkgs/development/python-modules/ray/default.nix b/pkgs/development/python-modules/ray/default.nix index 2cd7eb0c9cc8..961743e4834c 100644 --- a/pkgs/development/python-modules/ray/default.nix +++ b/pkgs/development/python-modules/ray/default.nix @@ -80,7 +80,6 @@ buildPythonPackage (finalAttrs: { pname = "ray"; version = "2.59.0"; format = "wheel"; - __structuredAttrs = true; disabled = pythonAtLeast "3.15"; From 4bba1c6c5c94e68ef11d97b0324abbdfc4f860f2 Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 22:52:43 +0200 Subject: [PATCH 1277/2378] python3Packages.rerun-notebook: remove redundant structuredAttrs --- pkgs/development/python-modules/rerun-notebook/default.nix | 1 - 1 file changed, 1 deletion(-) diff --git a/pkgs/development/python-modules/rerun-notebook/default.nix b/pkgs/development/python-modules/rerun-notebook/default.nix index 5f7b703d2191..80fcf125ee92 100644 --- a/pkgs/development/python-modules/rerun-notebook/default.nix +++ b/pkgs/development/python-modules/rerun-notebook/default.nix @@ -13,7 +13,6 @@ buildPythonPackage (finalAttrs: { pname = "rerun-notebook"; inherit (rerun) version; format = "wheel"; - __structuredAttrs = true; # Building this package from source is very cumbersome (it requires a wasm web-viewer # cross-compile via cargo + an npm/esbuild bundle). Using the upstream wheel for now. From 5eb706c535c18a6c71e18beef7016b408bb31487 Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 22:52:43 +0200 Subject: [PATCH 1278/2378] python3Packages.rerun-sdk: remove redundant structuredAttrs --- pkgs/development/python-modules/rerun-sdk/default.nix | 1 - 1 file changed, 1 deletion(-) diff --git a/pkgs/development/python-modules/rerun-sdk/default.nix b/pkgs/development/python-modules/rerun-sdk/default.nix index 6f1ddc4f2c4b..09cc1185f8b3 100644 --- a/pkgs/development/python-modules/rerun-sdk/default.nix +++ b/pkgs/development/python-modules/rerun-sdk/default.nix @@ -33,7 +33,6 @@ buildPythonPackage { pname = "rerun-sdk"; pyproject = true; - __structuredAttrs = true; inherit (rerun) src From aa93a064d350b7fd30b3ab5dad58cb5281750106 Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 22:52:44 +0200 Subject: [PATCH 1279/2378] python3Packages.resize-image: remove redundant structuredAttrs --- pkgs/development/python-modules/resize-image/default.nix | 2 -- 1 file changed, 2 deletions(-) diff --git a/pkgs/development/python-modules/resize-image/default.nix b/pkgs/development/python-modules/resize-image/default.nix index eeaac9ca7021..5e8d533780dc 100644 --- a/pkgs/development/python-modules/resize-image/default.nix +++ b/pkgs/development/python-modules/resize-image/default.nix @@ -32,8 +32,6 @@ buildPythonPackage (finalAttrs: { "resize" ]; - __structuredAttrs = true; - meta = { description = "Commandline utility to resize an image"; homepage = "https://github.com/jaymu53/resize-image"; From 3590b4b5ed96c20ace06f6202588ca9dfa3caff1 Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 22:52:44 +0200 Subject: [PATCH 1280/2378] python3Packages.retina-face: remove redundant structuredAttrs --- pkgs/development/python-modules/retina-face/default.nix | 1 - 1 file changed, 1 deletion(-) diff --git a/pkgs/development/python-modules/retina-face/default.nix b/pkgs/development/python-modules/retina-face/default.nix index 005ab1ee7864..0b55b575a7a0 100644 --- a/pkgs/development/python-modules/retina-face/default.nix +++ b/pkgs/development/python-modules/retina-face/default.nix @@ -23,7 +23,6 @@ buildPythonPackage (finalAttrs: { pname = "retina-face"; version = "0.0.17"; pyproject = true; - __structuredAttrs = true; src = fetchFromGitHub { owner = "serengil"; From 4b9419db30ef3b11128f4aa6b0951f12cde7b2eb Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 22:52:44 +0200 Subject: [PATCH 1281/2378] python3Packages.reusables: remove redundant structuredAttrs --- pkgs/development/python-modules/reusables/default.nix | 2 -- 1 file changed, 2 deletions(-) diff --git a/pkgs/development/python-modules/reusables/default.nix b/pkgs/development/python-modules/reusables/default.nix index c34ef8042cfd..0029f208724c 100644 --- a/pkgs/development/python-modules/reusables/default.nix +++ b/pkgs/development/python-modules/reusables/default.nix @@ -14,8 +14,6 @@ buildPythonPackage rec { version = "1.0.0"; pyproject = true; - __structuredAttrs = true; - src = fetchFromGitHub { owner = "cdgriffith"; repo = "Reusables"; From 377feebb80a88ae65833909d3c5308e52b076e16 Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 22:52:45 +0200 Subject: [PATCH 1282/2378] python3Packages.rich-click: remove redundant structuredAttrs --- pkgs/development/python-modules/rich-click/default.nix | 1 - 1 file changed, 1 deletion(-) diff --git a/pkgs/development/python-modules/rich-click/default.nix b/pkgs/development/python-modules/rich-click/default.nix index 28454499bfe8..d80f8905c367 100644 --- a/pkgs/development/python-modules/rich-click/default.nix +++ b/pkgs/development/python-modules/rich-click/default.nix @@ -19,7 +19,6 @@ buildPythonPackage (finalAttrs: { pname = "rich-click"; version = "1.9.9"; pyproject = true; - __structuredAttrs = true; src = fetchFromGitHub { owner = "ewels"; From c7135da04bd7ec5fe600eb50976ed99fb2d9ad00 Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 22:52:45 +0200 Subject: [PATCH 1283/2378] python3Packages.rlax: remove redundant structuredAttrs --- pkgs/development/python-modules/rlax/default.nix | 1 - 1 file changed, 1 deletion(-) diff --git a/pkgs/development/python-modules/rlax/default.nix b/pkgs/development/python-modules/rlax/default.nix index a1c9fe332fe7..26534a560899 100644 --- a/pkgs/development/python-modules/rlax/default.nix +++ b/pkgs/development/python-modules/rlax/default.nix @@ -26,7 +26,6 @@ buildPythonPackage (finalAttrs: { pname = "rlax"; version = "0.1.9"; pyproject = true; - __structuredAttrs = true; src = fetchFromGitHub { owner = "google-deepmind"; From 85ab31ad10d305c0b07f40b4ddc63166dda5666a Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 22:52:45 +0200 Subject: [PATCH 1284/2378] python3Packages.rns: remove redundant structuredAttrs --- pkgs/development/python-modules/rns/default.nix | 1 - 1 file changed, 1 deletion(-) diff --git a/pkgs/development/python-modules/rns/default.nix b/pkgs/development/python-modules/rns/default.nix index 4635e1b68a37..36055bac462c 100644 --- a/pkgs/development/python-modules/rns/default.nix +++ b/pkgs/development/python-modules/rns/default.nix @@ -16,7 +16,6 @@ buildPythonPackage (finalAttrs: { pname = "rns"; version = "1.5.7"; pyproject = true; - __structuredAttrs = true; src = fetchPypi { pname = "rns"; From db2796b86654fae26c8a192c7c842f4ca11078f1 Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 22:52:46 +0200 Subject: [PATCH 1285/2378] python3Packages.roadlib: remove redundant structuredAttrs --- pkgs/development/python-modules/roadlib/default.nix | 2 -- 1 file changed, 2 deletions(-) diff --git a/pkgs/development/python-modules/roadlib/default.nix b/pkgs/development/python-modules/roadlib/default.nix index c7a23b4b31e7..dffbe9b51c39 100644 --- a/pkgs/development/python-modules/roadlib/default.nix +++ b/pkgs/development/python-modules/roadlib/default.nix @@ -16,8 +16,6 @@ buildPythonPackage (finalAttrs: { version = "1.7.0"; pyproject = true; - __structuredAttrs = true; - src = fetchPypi { inherit (finalAttrs) pname version; hash = "sha256-al1FnLcKAFWRY43weXtsS8DN5pXCO1qFUw1vwLfZvGM="; From 9dfb4b4f7482f97668a778cf2956b1da4ae09269 Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 22:52:46 +0200 Subject: [PATCH 1286/2378] python3Packages.roadrecon: remove redundant structuredAttrs --- pkgs/development/python-modules/roadrecon/default.nix | 2 -- 1 file changed, 2 deletions(-) diff --git a/pkgs/development/python-modules/roadrecon/default.nix b/pkgs/development/python-modules/roadrecon/default.nix index 404a48ca47de..170f4de079ca 100644 --- a/pkgs/development/python-modules/roadrecon/default.nix +++ b/pkgs/development/python-modules/roadrecon/default.nix @@ -20,8 +20,6 @@ buildPythonPackage (finalAttrs: { version = "2.0.0"; pyproject = true; - __structuredAttrs = true; - src = fetchPypi { inherit (finalAttrs) pname version; hash = "sha256-wzr0J6tGhsZdjTDeIeSzCRTquiw4iZ8FxqFEl1fC2iU="; From af4167835dd37a8e6c775c4b72ff9aa13c319f98 Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 22:52:46 +0200 Subject: [PATCH 1287/2378] python3Packages.roadtools: remove redundant structuredAttrs --- pkgs/development/python-modules/roadtools/default.nix | 2 -- 1 file changed, 2 deletions(-) diff --git a/pkgs/development/python-modules/roadtools/default.nix b/pkgs/development/python-modules/roadtools/default.nix index 30e137620f87..1d3bf6befcb7 100644 --- a/pkgs/development/python-modules/roadtools/default.nix +++ b/pkgs/development/python-modules/roadtools/default.nix @@ -13,8 +13,6 @@ buildPythonPackage (finalAttrs: { version = "0.0.2"; pyproject = true; - __structuredAttrs = true; - src = fetchPypi { inherit (finalAttrs) pname version; hash = "sha256-RxRbcT9uhQBYRDqq1asYDIwqrji14zi7dwRuQLXJiyQ="; From 16c402afbc55a508a7a5d749e6a8c0cc902e039d Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 22:52:46 +0200 Subject: [PATCH 1288/2378] python3Packages.roadtx: remove redundant structuredAttrs --- pkgs/development/python-modules/roadtx/default.nix | 2 -- 1 file changed, 2 deletions(-) diff --git a/pkgs/development/python-modules/roadtx/default.nix b/pkgs/development/python-modules/roadtx/default.nix index 253571710596..c236bb4acc2b 100644 --- a/pkgs/development/python-modules/roadtx/default.nix +++ b/pkgs/development/python-modules/roadtx/default.nix @@ -17,8 +17,6 @@ buildPythonPackage (finalAttrs: { version = "1.22.1"; pyproject = true; - __structuredAttrs = true; - src = fetchPypi { inherit (finalAttrs) pname version; hash = "sha256-kOsXowM5LM5jX8XW+G8u65P9y2/6ZMIwMFvbAtO/b34="; From 1eaad5d909c67fb2a2e822b7869d315ab3ced12b Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 22:52:47 +0200 Subject: [PATCH 1289/2378] python3Packages.rq: remove redundant structuredAttrs --- pkgs/development/python-modules/rq/default.nix | 1 - 1 file changed, 1 deletion(-) diff --git a/pkgs/development/python-modules/rq/default.nix b/pkgs/development/python-modules/rq/default.nix index 40457b6271dc..690d57a109ab 100644 --- a/pkgs/development/python-modules/rq/default.nix +++ b/pkgs/development/python-modules/rq/default.nix @@ -25,7 +25,6 @@ buildPythonPackage (finalAttrs: { pname = "rq"; version = "2.10"; pyproject = true; - __structuredAttrs = true; src = fetchFromGitHub { owner = "rq"; From 9ab7b270f681b6d552c2fe6a3036c71df1a3037f Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 22:52:47 +0200 Subject: [PATCH 1290/2378] python3Packages.rsl-rl-lib: remove redundant structuredAttrs --- pkgs/development/python-modules/rsl-rl-lib/default.nix | 1 - 1 file changed, 1 deletion(-) diff --git a/pkgs/development/python-modules/rsl-rl-lib/default.nix b/pkgs/development/python-modules/rsl-rl-lib/default.nix index 50a24882ddaf..432ea857a4e4 100644 --- a/pkgs/development/python-modules/rsl-rl-lib/default.nix +++ b/pkgs/development/python-modules/rsl-rl-lib/default.nix @@ -27,7 +27,6 @@ buildPythonPackage (finalAttrs: { pname = "rsl-rl-lib"; version = "5.5.1"; pyproject = true; - __structuredAttrs = true; src = fetchFromGitHub { owner = "leggedrobotics"; From 6782863b4a072d437ce970cb704b6c70156b9732 Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 22:52:47 +0200 Subject: [PATCH 1291/2378] python3Packages.rtf-tokenize: remove redundant structuredAttrs --- pkgs/development/python-modules/rtf-tokenize/default.nix | 1 - 1 file changed, 1 deletion(-) diff --git a/pkgs/development/python-modules/rtf-tokenize/default.nix b/pkgs/development/python-modules/rtf-tokenize/default.nix index 0f54f2775e6d..3f39d339b159 100644 --- a/pkgs/development/python-modules/rtf-tokenize/default.nix +++ b/pkgs/development/python-modules/rtf-tokenize/default.nix @@ -10,7 +10,6 @@ }: buildPythonPackage (finalAttrs: { - __structuredAttrs = true; pname = "rtf-tokenize"; version = "1.0.1"; From 902479099818899265b5ea093963b806623f4533 Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 22:52:48 +0200 Subject: [PATCH 1292/2378] python3Packages.rtoml: remove redundant structuredAttrs --- pkgs/development/python-modules/rtoml/default.nix | 1 - 1 file changed, 1 deletion(-) diff --git a/pkgs/development/python-modules/rtoml/default.nix b/pkgs/development/python-modules/rtoml/default.nix index 71081a4a3154..fe3dc50c37b8 100644 --- a/pkgs/development/python-modules/rtoml/default.nix +++ b/pkgs/development/python-modules/rtoml/default.nix @@ -14,7 +14,6 @@ buildPythonPackage (finalAttrs: { pname = "rtoml"; version = "0.13"; pyproject = true; - __structuredAttrs = true; src = fetchFromGitHub { owner = "samuelcolvin"; From db3842b9fb1439972ae4a9979f31019b06ba5d3a Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 22:52:48 +0200 Subject: [PATCH 1293/2378] python3Packages.runs: remove redundant structuredAttrs --- pkgs/development/python-modules/runs/default.nix | 2 -- 1 file changed, 2 deletions(-) diff --git a/pkgs/development/python-modules/runs/default.nix b/pkgs/development/python-modules/runs/default.nix index c6f28620150b..29fd8fc52de6 100644 --- a/pkgs/development/python-modules/runs/default.nix +++ b/pkgs/development/python-modules/runs/default.nix @@ -13,8 +13,6 @@ buildPythonPackage (finalAttrs: { version = "1.2.2"; pyproject = true; - __structuredAttrs = true; - src = fetchFromGitHub { owner = "rec"; repo = "runs"; From 4c89d27316e5434212304de81268334a9003cc5c Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 22:52:48 +0200 Subject: [PATCH 1294/2378] python3Packages.runtype: remove redundant structuredAttrs --- pkgs/development/python-modules/runtype/default.nix | 2 -- 1 file changed, 2 deletions(-) diff --git a/pkgs/development/python-modules/runtype/default.nix b/pkgs/development/python-modules/runtype/default.nix index 981415ce59f9..3960c61537fc 100644 --- a/pkgs/development/python-modules/runtype/default.nix +++ b/pkgs/development/python-modules/runtype/default.nix @@ -8,8 +8,6 @@ buildPythonPackage (finalAttrs: { pname = "runtype"; version = "0.5.3"; - __structuredAttrs = true; - src = fetchFromGitHub { owner = "erezsh"; repo = "runtype"; From f21229b21272cb29582392a70161c77933df67ae Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 22:52:48 +0200 Subject: [PATCH 1295/2378] python3Packages.s3torchconnectorclient: remove redundant structuredAttrs --- .../python-modules/s3torchconnectorclient/default.nix | 1 - 1 file changed, 1 deletion(-) diff --git a/pkgs/development/python-modules/s3torchconnectorclient/default.nix b/pkgs/development/python-modules/s3torchconnectorclient/default.nix index 2db84b4f68ba..82141fed0d99 100644 --- a/pkgs/development/python-modules/s3torchconnectorclient/default.nix +++ b/pkgs/development/python-modules/s3torchconnectorclient/default.nix @@ -19,7 +19,6 @@ buildPythonPackage rec { pname = "s3torchconnectorclient"; version = "1.5.0"; format = "pyproject"; - __structuredAttrs = true; src = fetchFromGitHub { owner = "awslabs"; From 6136c617d2add5b063a2c8e8a7f96aeb5ca39e0a Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 22:52:49 +0200 Subject: [PATCH 1296/2378] python3Packages.safetensors: remove redundant structuredAttrs --- pkgs/development/python-modules/safetensors/default.nix | 1 - 1 file changed, 1 deletion(-) diff --git a/pkgs/development/python-modules/safetensors/default.nix b/pkgs/development/python-modules/safetensors/default.nix index 8424c94fbd12..25e18a6fca0f 100644 --- a/pkgs/development/python-modules/safetensors/default.nix +++ b/pkgs/development/python-modules/safetensors/default.nix @@ -30,7 +30,6 @@ buildPythonPackage (finalAttrs: { pname = "safetensors"; version = "0.8.0"; pyproject = true; - __structuredAttrs = true; src = fetchFromGitHub { owner = "huggingface"; From d6e0b58c7fa9da0e8b60634f6db492afcbcc012c Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 22:52:49 +0200 Subject: [PATCH 1297/2378] python3Packages.sagemaker-mlflow: remove redundant structuredAttrs --- pkgs/development/python-modules/sagemaker-mlflow/default.nix | 1 - 1 file changed, 1 deletion(-) diff --git a/pkgs/development/python-modules/sagemaker-mlflow/default.nix b/pkgs/development/python-modules/sagemaker-mlflow/default.nix index 2e13c49f21d9..8d3b9216804f 100644 --- a/pkgs/development/python-modules/sagemaker-mlflow/default.nix +++ b/pkgs/development/python-modules/sagemaker-mlflow/default.nix @@ -22,7 +22,6 @@ buildPythonPackage (finalAttrs: { pname = "sagemaker-mlflow"; version = "0.5.0"; pyproject = true; - __structuredAttrs = true; src = fetchFromGitHub { owner = "aws"; From e02583cb84c77773794b59fe654fd14453724c91 Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 22:52:49 +0200 Subject: [PATCH 1298/2378] python3Packages.sanic-cors: remove redundant structuredAttrs --- pkgs/development/python-modules/sanic-cors/default.nix | 2 -- 1 file changed, 2 deletions(-) diff --git a/pkgs/development/python-modules/sanic-cors/default.nix b/pkgs/development/python-modules/sanic-cors/default.nix index d70b1c2795da..f904d9310809 100644 --- a/pkgs/development/python-modules/sanic-cors/default.nix +++ b/pkgs/development/python-modules/sanic-cors/default.nix @@ -15,8 +15,6 @@ buildPythonPackage (finalAttrs: { version = "2.2.0"; pyproject = true; - __structuredAttrs = true; - src = fetchFromGitHub { owner = "ashleysommer"; repo = "sanic-cors"; From 8b138cdd4e1d0006b105ca1f7a4408103d644235 Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 22:52:50 +0200 Subject: [PATCH 1299/2378] python3Packages.scalecodec: remove redundant structuredAttrs --- pkgs/development/python-modules/scalecodec/default.nix | 2 -- 1 file changed, 2 deletions(-) diff --git a/pkgs/development/python-modules/scalecodec/default.nix b/pkgs/development/python-modules/scalecodec/default.nix index 3b7f4cfd15ac..9a515b207653 100644 --- a/pkgs/development/python-modules/scalecodec/default.nix +++ b/pkgs/development/python-modules/scalecodec/default.nix @@ -14,8 +14,6 @@ buildPythonPackage (finalAttrs: { version = "1.2.12"; pyproject = true; - __structuredAttrs = true; - src = fetchFromGitHub { owner = "JAMdotTech"; repo = "py-scale-codec"; From c4e834808117b3f492026efb13a032f6969febe0 Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 22:52:50 +0200 Subject: [PATCH 1300/2378] python3Packages.scaleway-core: remove redundant structuredAttrs --- pkgs/development/python-modules/scaleway-core/default.nix | 2 -- 1 file changed, 2 deletions(-) diff --git a/pkgs/development/python-modules/scaleway-core/default.nix b/pkgs/development/python-modules/scaleway-core/default.nix index 5b876590e1f7..fd87b69a0e6e 100644 --- a/pkgs/development/python-modules/scaleway-core/default.nix +++ b/pkgs/development/python-modules/scaleway-core/default.nix @@ -16,8 +16,6 @@ buildPythonPackage (finalAttrs: { version = "2.12.0"; pyproject = true; - __structuredAttrs = true; - src = fetchFromGitHub { owner = "scaleway"; repo = "scaleway-sdk-python"; From 230dd7b1110282b4e66ee7222131dd09fc61fcfd Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 22:52:50 +0200 Subject: [PATCH 1301/2378] python3Packages.scaleway: remove redundant structuredAttrs --- pkgs/development/python-modules/scaleway/default.nix | 2 -- 1 file changed, 2 deletions(-) diff --git a/pkgs/development/python-modules/scaleway/default.nix b/pkgs/development/python-modules/scaleway/default.nix index 2019d185e422..19deb88dbdaa 100644 --- a/pkgs/development/python-modules/scaleway/default.nix +++ b/pkgs/development/python-modules/scaleway/default.nix @@ -13,8 +13,6 @@ buildPythonPackage (finalAttrs: { version = "2.12.0"; pyproject = true; - __structuredAttrs = true; - src = fetchFromGitHub { owner = "scaleway"; repo = "scaleway-sdk-python"; From 6a7131896979157e55fd180cc2712a3c53eb8829 Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 22:52:50 +0200 Subject: [PATCH 1302/2378] python3Packages.scanpy: remove redundant structuredAttrs --- pkgs/development/python-modules/scanpy/default.nix | 1 - 1 file changed, 1 deletion(-) diff --git a/pkgs/development/python-modules/scanpy/default.nix b/pkgs/development/python-modules/scanpy/default.nix index d8910d1486b4..6d37ab010d92 100644 --- a/pkgs/development/python-modules/scanpy/default.nix +++ b/pkgs/development/python-modules/scanpy/default.nix @@ -66,7 +66,6 @@ buildPythonPackage (finalAttrs: { pname = "scanpy"; version = "1.12.4"; pyproject = true; - __structuredAttrs = true; src = fetchFromGitHub { owner = "scverse"; From eb427c76307ece20b8e65339d1f0f011da966205 Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 22:52:51 +0200 Subject: [PATCH 1303/2378] python3Packages.sciline: remove redundant structuredAttrs --- pkgs/development/python-modules/sciline/default.nix | 1 - 1 file changed, 1 deletion(-) diff --git a/pkgs/development/python-modules/sciline/default.nix b/pkgs/development/python-modules/sciline/default.nix index 22c7c4979909..20f9c44d9536 100644 --- a/pkgs/development/python-modules/sciline/default.nix +++ b/pkgs/development/python-modules/sciline/default.nix @@ -26,7 +26,6 @@ buildPythonPackage (finalAttrs: { pname = "sciline"; version = "26.9.0"; pyproject = true; - __structuredAttrs = true; src = fetchFromGitHub { owner = "scipp"; From 978518a149b7b42fe2be4ed8b8255306703b4aa2 Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 22:52:51 +0200 Subject: [PATCH 1304/2378] python3Packages.scippneutron: remove redundant structuredAttrs --- pkgs/development/python-modules/scippneutron/default.nix | 2 -- 1 file changed, 2 deletions(-) diff --git a/pkgs/development/python-modules/scippneutron/default.nix b/pkgs/development/python-modules/scippneutron/default.nix index a225cf80ef11..d29009f52e70 100644 --- a/pkgs/development/python-modules/scippneutron/default.nix +++ b/pkgs/development/python-modules/scippneutron/default.nix @@ -40,7 +40,6 @@ buildPythonPackage (finalAttrs: { pname = "scippneutron"; version = "26.7.0"; pyproject = true; - __structuredAttrs = true; src = fetchFromGitHub { owner = "scipp"; @@ -92,7 +91,6 @@ buildPythonPackage (finalAttrs: { name = "plopp-test-data"; dontUnpack = true; strictDeps = true; - __structuredAttrs = true; nativeBuildInputs = [ curl ]; From cc260386404e4bb699d6f0b494567a249150040f Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 22:52:51 +0200 Subject: [PATCH 1305/2378] python3Packages.scippnexus: remove redundant structuredAttrs --- pkgs/development/python-modules/scippnexus/default.nix | 1 - 1 file changed, 1 deletion(-) diff --git a/pkgs/development/python-modules/scippnexus/default.nix b/pkgs/development/python-modules/scippnexus/default.nix index 449fd04b3490..1713cc48a567 100644 --- a/pkgs/development/python-modules/scippnexus/default.nix +++ b/pkgs/development/python-modules/scippnexus/default.nix @@ -20,7 +20,6 @@ buildPythonPackage (finalAttrs: { pname = "scippnexus"; version = "26.1.1"; pyproject = true; - __structuredAttrs = true; src = fetchFromGitHub { owner = "scipp"; From 0af76c20eb15ab8e84e6b42baffedee912708412 Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 22:52:52 +0200 Subject: [PATCH 1306/2378] python3Packages.scs: remove redundant structuredAttrs --- pkgs/development/python-modules/scs/default.nix | 1 - 1 file changed, 1 deletion(-) diff --git a/pkgs/development/python-modules/scs/default.nix b/pkgs/development/python-modules/scs/default.nix index f12c9d71a435..e52ea5cfa88f 100644 --- a/pkgs/development/python-modules/scs/default.nix +++ b/pkgs/development/python-modules/scs/default.nix @@ -24,7 +24,6 @@ buildPythonPackage (finalAttrs: { pname = "scs"; inherit (pkgs.scs) version; pyproject = true; - __structuredAttrs = true; src = fetchFromGitHub { owner = "bodono"; From e551562c8b89a7548b2d8b592e1e40e35ac86c5c Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 22:52:52 +0200 Subject: [PATCH 1307/2378] python3Packages.scverse-misc: remove redundant structuredAttrs --- pkgs/development/python-modules/scverse-misc/default.nix | 1 - 1 file changed, 1 deletion(-) diff --git a/pkgs/development/python-modules/scverse-misc/default.nix b/pkgs/development/python-modules/scverse-misc/default.nix index 446e4fd2b6cf..bab1aecfcd65 100644 --- a/pkgs/development/python-modules/scverse-misc/default.nix +++ b/pkgs/development/python-modules/scverse-misc/default.nix @@ -31,7 +31,6 @@ buildPythonPackage (finalAttrs: { pname = "scverse-misc"; version = "0.1.7"; pyproject = true; - __structuredAttrs = true; src = fetchFromGitHub { owner = "scverse"; From fbb14f1429c8b098845150a947d8db96e5f915aa Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 22:52:52 +0200 Subject: [PATCH 1308/2378] python3Packages.seaborn: remove redundant structuredAttrs --- pkgs/development/python-modules/seaborn/default.nix | 1 - 1 file changed, 1 deletion(-) diff --git a/pkgs/development/python-modules/seaborn/default.nix b/pkgs/development/python-modules/seaborn/default.nix index 340774ab71e9..98b1a3e339a3 100644 --- a/pkgs/development/python-modules/seaborn/default.nix +++ b/pkgs/development/python-modules/seaborn/default.nix @@ -19,7 +19,6 @@ buildPythonPackage (finalAttrs: { pname = "seaborn"; version = "0.13.2"; pyproject = true; - __structuredAttrs = true; src = fetchFromGitHub { owner = "mwaskom"; From 7abf40e37ff1c431434cd3143b450c4d4de97419 Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 22:52:52 +0200 Subject: [PATCH 1309/2378] python3Packages.selenium-wire-roadtx: remove redundant structuredAttrs --- .../development/python-modules/selenium-wire-roadtx/default.nix | 2 -- 1 file changed, 2 deletions(-) diff --git a/pkgs/development/python-modules/selenium-wire-roadtx/default.nix b/pkgs/development/python-modules/selenium-wire-roadtx/default.nix index c1f67db1995a..41bae87a802b 100644 --- a/pkgs/development/python-modules/selenium-wire-roadtx/default.nix +++ b/pkgs/development/python-modules/selenium-wire-roadtx/default.nix @@ -29,8 +29,6 @@ buildPythonPackage (finalAttrs: { version = "5.2.4-unstable-2026-05-20"; pyproject = true; - __structuredAttrs = true; - src = fetchFromGitHub { owner = "dirkjanm"; repo = "selenium-wire-roadtx"; From cde271a679a8d26a22391ca52602ad1fdc9fc3a7 Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 22:52:53 +0200 Subject: [PATCH 1310/2378] python3Packages.selfies: remove redundant structuredAttrs --- pkgs/development/python-modules/selfies/default.nix | 2 -- 1 file changed, 2 deletions(-) diff --git a/pkgs/development/python-modules/selfies/default.nix b/pkgs/development/python-modules/selfies/default.nix index 5787ebc79080..e6aecd42b342 100644 --- a/pkgs/development/python-modules/selfies/default.nix +++ b/pkgs/development/python-modules/selfies/default.nix @@ -12,8 +12,6 @@ buildPythonPackage (finalAttrs: { version = "2.2.0"; pyproject = true; - __structuredAttrs = true; - src = fetchFromGitHub { owner = "the-matter-lab"; repo = "selfies"; From 312596a881e5c81f717c99d8725dbb508985714f Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 22:52:54 +0200 Subject: [PATCH 1311/2378] python3Packages.semgrep: remove redundant structuredAttrs --- pkgs/development/python-modules/semgrep/default.nix | 1 - 1 file changed, 1 deletion(-) diff --git a/pkgs/development/python-modules/semgrep/default.nix b/pkgs/development/python-modules/semgrep/default.nix index 41016e17ff78..4d7e171a80d6 100644 --- a/pkgs/development/python-modules/semgrep/default.nix +++ b/pkgs/development/python-modules/semgrep/default.nix @@ -60,7 +60,6 @@ buildPythonPackage (finalAttrs: { pname = "semgrep"; inherit (common) version; pyproject = true; - __structuredAttrs = true; src = fetchFromGitHub { owner = "semgrep"; From 05d3ca15cf24af092584a1297f96378e486a1130 Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 22:52:54 +0200 Subject: [PATCH 1312/2378] python3Packages.sentence-transformers: remove redundant structuredAttrs --- .../development/python-modules/sentence-transformers/default.nix | 1 - 1 file changed, 1 deletion(-) diff --git a/pkgs/development/python-modules/sentence-transformers/default.nix b/pkgs/development/python-modules/sentence-transformers/default.nix index 20db7606562f..8619726f1499 100644 --- a/pkgs/development/python-modules/sentence-transformers/default.nix +++ b/pkgs/development/python-modules/sentence-transformers/default.nix @@ -36,7 +36,6 @@ buildPythonPackage (finalAttrs: { pname = "sentence-transformers"; version = "6.1.0"; pyproject = true; - __structuredAttrs = true; src = fetchFromGitHub { owner = "huggingface"; From b760f7b31198423234a646196417224863d9660a Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 22:52:54 +0200 Subject: [PATCH 1313/2378] python3Packages.setuptools-lint: remove redundant structuredAttrs --- pkgs/development/python-modules/setuptools-lint/default.nix | 2 -- 1 file changed, 2 deletions(-) diff --git a/pkgs/development/python-modules/setuptools-lint/default.nix b/pkgs/development/python-modules/setuptools-lint/default.nix index 1672d68b2333..19d9338e93ff 100644 --- a/pkgs/development/python-modules/setuptools-lint/default.nix +++ b/pkgs/development/python-modules/setuptools-lint/default.nix @@ -11,8 +11,6 @@ buildPythonPackage (finalAttrs: { version = "0.6.0"; pyproject = true; - __structuredAttrs = true; - src = fetchPypi { pname = "setuptools-lint"; inherit (finalAttrs) version; From 5c35968c683aac6af32f8635d2810d50c8434474 Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 22:52:54 +0200 Subject: [PATCH 1314/2378] python3Packages.sgmllib3k: remove redundant structuredAttrs --- pkgs/development/python-modules/sgmllib3k/default.nix | 2 -- 1 file changed, 2 deletions(-) diff --git a/pkgs/development/python-modules/sgmllib3k/default.nix b/pkgs/development/python-modules/sgmllib3k/default.nix index 85f09d561d3d..31baefc1c7f1 100644 --- a/pkgs/development/python-modules/sgmllib3k/default.nix +++ b/pkgs/development/python-modules/sgmllib3k/default.nix @@ -11,8 +11,6 @@ buildPythonPackage (finalAttrs: { version = "1.0.0"; pyproject = true; - __structuredAttrs = true; - src = fetchPypi { inherit (finalAttrs) pname version; hash = "sha256-eGj7HIv6dkwaxWPTzzacOB0TJdNhJJM6cm8p/NqoEuk="; From 5201ab68006d097342f0df38a984328835200998 Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 22:52:55 +0200 Subject: [PATCH 1315/2378] python3Packages.shacl2code: remove redundant structuredAttrs --- pkgs/development/python-modules/shacl2code/default.nix | 1 - 1 file changed, 1 deletion(-) diff --git a/pkgs/development/python-modules/shacl2code/default.nix b/pkgs/development/python-modules/shacl2code/default.nix index c393957b98c7..10451ed439d7 100644 --- a/pkgs/development/python-modules/shacl2code/default.nix +++ b/pkgs/development/python-modules/shacl2code/default.nix @@ -26,7 +26,6 @@ buildPythonPackage (finalAttrs: { pname = "shacl2code"; version = "1.3.2"; pyproject = true; - __structuredAttrs = true; src = fetchFromGitHub { owner = "JPEWdev"; From df23bcb7700dabcdf81aafd955adcaae8c5d396a Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 22:52:55 +0200 Subject: [PATCH 1316/2378] python3Packages.shap: remove redundant structuredAttrs --- pkgs/development/python-modules/shap/default.nix | 1 - 1 file changed, 1 deletion(-) diff --git a/pkgs/development/python-modules/shap/default.nix b/pkgs/development/python-modules/shap/default.nix index 8e010ce39a0b..adbb2c5233e5 100644 --- a/pkgs/development/python-modules/shap/default.nix +++ b/pkgs/development/python-modules/shap/default.nix @@ -42,7 +42,6 @@ buildPythonPackage (finalAttrs: { pname = "shap"; version = "0.52.0"; pyproject = true; - __structuredAttrs = true; src = fetchFromGitHub { owner = "slundberg"; From c3297fec21e423e4880b04b95841c001246c27bd Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 22:52:55 +0200 Subject: [PATCH 1317/2378] python3Packages.sharedmem: remove redundant structuredAttrs --- pkgs/development/python-modules/sharedmem/default.nix | 2 -- 1 file changed, 2 deletions(-) diff --git a/pkgs/development/python-modules/sharedmem/default.nix b/pkgs/development/python-modules/sharedmem/default.nix index bb32022ec263..183239b9ab58 100644 --- a/pkgs/development/python-modules/sharedmem/default.nix +++ b/pkgs/development/python-modules/sharedmem/default.nix @@ -11,8 +11,6 @@ buildPythonPackage (finalAttrs: { version = "0.3.8"; pyproject = true; - __structuredAttrs = true; - src = fetchFromGitHub { owner = "rainwoodman"; repo = "sharedmem"; From 6aa5900e611185b0e1d26e41499efc4c6e19cca4 Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 22:52:56 +0200 Subject: [PATCH 1318/2378] python3Packages.shellescape: remove redundant structuredAttrs --- pkgs/development/python-modules/shellescape/default.nix | 2 -- 1 file changed, 2 deletions(-) diff --git a/pkgs/development/python-modules/shellescape/default.nix b/pkgs/development/python-modules/shellescape/default.nix index a092ff2ff41a..4b265504dc23 100644 --- a/pkgs/development/python-modules/shellescape/default.nix +++ b/pkgs/development/python-modules/shellescape/default.nix @@ -11,8 +11,6 @@ buildPythonPackage (finalAttrs: { version = "3.8.1"; pyproject = true; - __structuredAttrs = true; - src = fetchFromGitHub { owner = "chrissimpkins"; repo = "shellescape"; From cf3b5c7316d0704296a9010da9813c40ec9025b1 Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 22:52:56 +0200 Subject: [PATCH 1319/2378] python3Packages.shelljob: remove redundant structuredAttrs --- pkgs/development/python-modules/shelljob/default.nix | 1 - 1 file changed, 1 deletion(-) diff --git a/pkgs/development/python-modules/shelljob/default.nix b/pkgs/development/python-modules/shelljob/default.nix index 557f8d0f7a8d..2b30d0256a9b 100644 --- a/pkgs/development/python-modules/shelljob/default.nix +++ b/pkgs/development/python-modules/shelljob/default.nix @@ -10,7 +10,6 @@ buildPythonPackage (finalAttrs: { pname = "shelljob"; version = "0.6.3"; pyproject = true; - __structuredAttrs = true; src = fetchFromGitHub { owner = "mortoray"; From 9b0b78573ee2e24ae4f275d237c1b40b8493dc6e Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 22:52:56 +0200 Subject: [PATCH 1320/2378] python3Packages.shodan: remove redundant structuredAttrs --- pkgs/development/python-modules/shodan/default.nix | 2 -- 1 file changed, 2 deletions(-) diff --git a/pkgs/development/python-modules/shodan/default.nix b/pkgs/development/python-modules/shodan/default.nix index 908f9cb25171..4ef60d91874b 100644 --- a/pkgs/development/python-modules/shodan/default.nix +++ b/pkgs/development/python-modules/shodan/default.nix @@ -15,8 +15,6 @@ buildPythonPackage (finalAttrs: { version = "1.31.0"; pyproject = true; - __structuredAttrs = true; - src = fetchPypi { pname = "shodan"; inherit (finalAttrs) version; From 2b58025b0b4e3b6979e5b3273f0bdffba1e6859e Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 22:52:57 +0200 Subject: [PATCH 1321/2378] python3Packages.should-dsl: remove redundant structuredAttrs --- pkgs/development/python-modules/should-dsl/default.nix | 2 -- 1 file changed, 2 deletions(-) diff --git a/pkgs/development/python-modules/should-dsl/default.nix b/pkgs/development/python-modules/should-dsl/default.nix index 97ae7466caa0..e89ca58c1d60 100644 --- a/pkgs/development/python-modules/should-dsl/default.nix +++ b/pkgs/development/python-modules/should-dsl/default.nix @@ -10,8 +10,6 @@ buildPythonPackage (finalAttrs: { version = "2.1.2"; pyproject = true; - __structuredAttrs = true; - src = fetchPypi { inherit (finalAttrs) version; pname = "should_dsl"; From 224ba730732e3c8e28e0ddc3cc9755fd4f6b7862 Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 22:52:57 +0200 Subject: [PATCH 1322/2378] python3Packages.shutilwhich: remove redundant structuredAttrs --- pkgs/development/python-modules/shutilwhich/default.nix | 2 -- 1 file changed, 2 deletions(-) diff --git a/pkgs/development/python-modules/shutilwhich/default.nix b/pkgs/development/python-modules/shutilwhich/default.nix index aeb7310f57e4..6ab05f95b91d 100644 --- a/pkgs/development/python-modules/shutilwhich/default.nix +++ b/pkgs/development/python-modules/shutilwhich/default.nix @@ -11,8 +11,6 @@ buildPythonPackage (finalAttrs: { version = "1.1.0"; pyproject = true; - __structuredAttrs = true; - src = fetchFromGitHub { owner = "mbr"; repo = "shutilwhich"; From f1c5a8ca846c53d99d7c4e08db634a151ebc990c Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 22:52:57 +0200 Subject: [PATCH 1323/2378] python3Packages.sigima: remove redundant structuredAttrs --- pkgs/development/python-modules/sigima/default.nix | 1 - 1 file changed, 1 deletion(-) diff --git a/pkgs/development/python-modules/sigima/default.nix b/pkgs/development/python-modules/sigima/default.nix index a967ae74198a..ea8d97373642 100644 --- a/pkgs/development/python-modules/sigima/default.nix +++ b/pkgs/development/python-modules/sigima/default.nix @@ -50,7 +50,6 @@ buildPythonPackage (finalAttrs: { version = "1.2.0"; pyproject = true; __darwinAllowLocalNetworking = true; - __structuredAttrs = true; src = fetchFromGitHub { owner = "DataLab-Platform"; From ebd83b403c7292fc01098a4f894f34ce9f451c51 Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 22:52:57 +0200 Subject: [PATCH 1324/2378] python3Packages.signalslot: remove redundant structuredAttrs --- pkgs/development/python-modules/signalslot/default.nix | 2 -- 1 file changed, 2 deletions(-) diff --git a/pkgs/development/python-modules/signalslot/default.nix b/pkgs/development/python-modules/signalslot/default.nix index 44d1d5f8a541..87ec05837fa0 100644 --- a/pkgs/development/python-modules/signalslot/default.nix +++ b/pkgs/development/python-modules/signalslot/default.nix @@ -16,8 +16,6 @@ buildPythonPackage (finalAttrs: { version = "0.2.0"; pyproject = true; - __structuredAttrs = true; - src = fetchPypi { pname = "signalslot"; inherit (finalAttrs) version; From e7e12d2193ae00efcf12d03037a67bfb2737b274 Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 22:52:58 +0200 Subject: [PATCH 1325/2378] python3Packages.signedjson: remove redundant structuredAttrs --- pkgs/development/python-modules/signedjson/default.nix | 2 -- 1 file changed, 2 deletions(-) diff --git a/pkgs/development/python-modules/signedjson/default.nix b/pkgs/development/python-modules/signedjson/default.nix index 065809198240..fa48b24e9190 100644 --- a/pkgs/development/python-modules/signedjson/default.nix +++ b/pkgs/development/python-modules/signedjson/default.nix @@ -15,8 +15,6 @@ buildPythonPackage (finalAttrs: { version = "1.1.4"; pyproject = true; - __structuredAttrs = true; - src = fetchPypi { pname = "signedjson"; inherit (finalAttrs) version; From c2def17e8411a38a2089564fb48787396fbb8482 Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 22:52:58 +0200 Subject: [PATCH 1326/2378] python3Packages.sigstore: remove redundant structuredAttrs --- pkgs/development/python-modules/sigstore/default.nix | 1 - 1 file changed, 1 deletion(-) diff --git a/pkgs/development/python-modules/sigstore/default.nix b/pkgs/development/python-modules/sigstore/default.nix index 33c970b98fc6..20d610ca4fa1 100644 --- a/pkgs/development/python-modules/sigstore/default.nix +++ b/pkgs/development/python-modules/sigstore/default.nix @@ -39,7 +39,6 @@ buildPythonPackage (finalAttrs: { pname = "sigstore"; version = "4.2.0"; pyproject = true; - __structuredAttrs = true; src = fetchFromGitHub { owner = "sigstore"; From bd6ad1a2cdd9ab14ef4cc06fbce797a8616cd7dd Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 22:52:58 +0200 Subject: [PATCH 1327/2378] python3Packages.silabs-ble-ota: remove redundant structuredAttrs --- pkgs/development/python-modules/silabs-ble-ota/default.nix | 2 -- 1 file changed, 2 deletions(-) diff --git a/pkgs/development/python-modules/silabs-ble-ota/default.nix b/pkgs/development/python-modules/silabs-ble-ota/default.nix index 2a79e36a76e9..7067ed933087 100644 --- a/pkgs/development/python-modules/silabs-ble-ota/default.nix +++ b/pkgs/development/python-modules/silabs-ble-ota/default.nix @@ -41,8 +41,6 @@ buildPythonPackage (finalAttrs: { "silabs_ble_ota" ]; - __structuredAttrs = true; - meta = { description = "Flash firmware to Silicon Labs EFR32 devices over BLE"; homepage = "https://github.com/OpenDisplay/silabs-ble-ota"; From 8108feec978d85b6adc15f9988ad98d408dbe608 Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 22:52:59 +0200 Subject: [PATCH 1328/2378] python3Packages.simanneal: remove redundant structuredAttrs --- pkgs/development/python-modules/simanneal/default.nix | 2 -- 1 file changed, 2 deletions(-) diff --git a/pkgs/development/python-modules/simanneal/default.nix b/pkgs/development/python-modules/simanneal/default.nix index 2cdbf44c10d5..ea263ddfe083 100644 --- a/pkgs/development/python-modules/simanneal/default.nix +++ b/pkgs/development/python-modules/simanneal/default.nix @@ -11,8 +11,6 @@ buildPythonPackage (finalAttrs: { version = "0.5.0"; pyproject = true; - __structuredAttrs = true; - src = fetchFromGitHub { owner = "perrygeo"; repo = "simanneal"; From b0157641d78a616c1fef9da29509fbe3e0a9735c Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 22:52:59 +0200 Subject: [PATCH 1329/2378] python3Packages.simber: remove redundant structuredAttrs --- pkgs/development/python-modules/simber/default.nix | 2 -- 1 file changed, 2 deletions(-) diff --git a/pkgs/development/python-modules/simber/default.nix b/pkgs/development/python-modules/simber/default.nix index ce93635e115e..873930d4d2d0 100644 --- a/pkgs/development/python-modules/simber/default.nix +++ b/pkgs/development/python-modules/simber/default.nix @@ -12,8 +12,6 @@ buildPythonPackage (finalAttrs: { version = "0.2.6"; pyproject = true; - __structuredAttrs = true; - src = fetchFromGitHub { owner = "deepjyoti30"; repo = "simber"; From 17b8cf2cf881f0596088e8245b94d40ecdcf7814 Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 22:53:00 +0200 Subject: [PATCH 1330/2378] python3Packages.simple-di: remove redundant structuredAttrs --- pkgs/development/python-modules/simple-di/default.nix | 2 -- 1 file changed, 2 deletions(-) diff --git a/pkgs/development/python-modules/simple-di/default.nix b/pkgs/development/python-modules/simple-di/default.nix index 0b74fbd785c2..cf4bbcc7f4f7 100644 --- a/pkgs/development/python-modules/simple-di/default.nix +++ b/pkgs/development/python-modules/simple-di/default.nix @@ -11,8 +11,6 @@ buildPythonPackage (finalAttrs: { version = "0.1.5"; pyproject = true; - __structuredAttrs = true; - src = fetchPypi { pname = "simple_di"; inherit (finalAttrs) version; From 6d9f339ff53d93fa3c170530a8c43e2885fe2ab8 Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 22:53:00 +0200 Subject: [PATCH 1331/2378] python3Packages.simple-parsing: remove redundant structuredAttrs --- pkgs/development/python-modules/simple-parsing/default.nix | 1 - 1 file changed, 1 deletion(-) diff --git a/pkgs/development/python-modules/simple-parsing/default.nix b/pkgs/development/python-modules/simple-parsing/default.nix index 79057050a5cc..7ef6d19822ff 100644 --- a/pkgs/development/python-modules/simple-parsing/default.nix +++ b/pkgs/development/python-modules/simple-parsing/default.nix @@ -30,7 +30,6 @@ buildPythonPackage (finalAttrs: { pname = "simple-parsing"; version = "0.1.9"; pyproject = true; - __structuredAttrs = true; src = fetchFromGitHub { owner = "lebrice"; From 9ba3ed6ca59baa46dec7889b45bd310ce03152ba Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 22:53:00 +0200 Subject: [PATCH 1332/2378] python3Packages.skggm: remove redundant structuredAttrs --- pkgs/development/python-modules/skggm/default.nix | 1 - 1 file changed, 1 deletion(-) diff --git a/pkgs/development/python-modules/skggm/default.nix b/pkgs/development/python-modules/skggm/default.nix index 92f413566514..33d9cea2379e 100644 --- a/pkgs/development/python-modules/skggm/default.nix +++ b/pkgs/development/python-modules/skggm/default.nix @@ -32,7 +32,6 @@ buildPythonPackage (finalAttrs: { # to package: version = "0.2.8-unstable-2025-06-14"; pyproject = true; - __structuredAttrs = true; src = fetchFromGitHub { owner = "skggm"; From 8aab275eba0f69470b67dc3540b717c00765a13c Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 22:53:01 +0200 Subject: [PATCH 1333/2378] python3Packages.skops: remove redundant structuredAttrs --- pkgs/development/python-modules/skops/default.nix | 1 - 1 file changed, 1 deletion(-) diff --git a/pkgs/development/python-modules/skops/default.nix b/pkgs/development/python-modules/skops/default.nix index 7ea4ebe1fe43..aba24b8428f7 100644 --- a/pkgs/development/python-modules/skops/default.nix +++ b/pkgs/development/python-modules/skops/default.nix @@ -28,7 +28,6 @@ buildPythonPackage (finalAttrs: { pname = "skops"; version = "0.15"; pyproject = true; - __structuredAttrs = true; src = fetchFromGitHub { owner = "skops-dev"; From c741395744285d98571218ab8019015bce8bfe94 Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 22:53:01 +0200 Subject: [PATCH 1334/2378] python3Packages.skorch: remove redundant structuredAttrs --- pkgs/development/python-modules/skorch/default.nix | 1 - 1 file changed, 1 deletion(-) diff --git a/pkgs/development/python-modules/skorch/default.nix b/pkgs/development/python-modules/skorch/default.nix index 82e9d14614f7..a1909fbf4c10 100644 --- a/pkgs/development/python-modules/skorch/default.nix +++ b/pkgs/development/python-modules/skorch/default.nix @@ -28,7 +28,6 @@ buildPythonPackage (finalAttrs: { pname = "skorch"; version = "1.4.0"; pyproject = true; - __structuredAttrs = true; src = fetchFromGitHub { owner = "skorch-dev"; From 7ca22d45d1bb1bb54aad0a9911d06eef181ec6da Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 22:53:01 +0200 Subject: [PATCH 1335/2378] python3Packages.skrl: remove redundant structuredAttrs --- pkgs/development/python-modules/skrl/default.nix | 1 - 1 file changed, 1 deletion(-) diff --git a/pkgs/development/python-modules/skrl/default.nix b/pkgs/development/python-modules/skrl/default.nix index 3d3e846480c7..c52b5f43f340 100644 --- a/pkgs/development/python-modules/skrl/default.nix +++ b/pkgs/development/python-modules/skrl/default.nix @@ -36,7 +36,6 @@ buildPythonPackage (finalAttrs: { pname = "skrl"; version = "2.1.0"; pyproject = true; - __structuredAttrs = true; src = fetchFromGitHub { owner = "Toni-SM"; From 63f87b0f75180a3a033a77044e116a9c8a3b6b3e Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 22:53:01 +0200 Subject: [PATCH 1336/2378] python3Packages.slicer: remove redundant structuredAttrs --- pkgs/development/python-modules/slicer/default.nix | 1 - 1 file changed, 1 deletion(-) diff --git a/pkgs/development/python-modules/slicer/default.nix b/pkgs/development/python-modules/slicer/default.nix index fd551e1cb1e6..215a07a2dfc7 100644 --- a/pkgs/development/python-modules/slicer/default.nix +++ b/pkgs/development/python-modules/slicer/default.nix @@ -17,7 +17,6 @@ buildPythonPackage (finalAttrs: { pname = "slicer"; version = "0.0.8"; pyproject = true; - __structuredAttrs = true; src = fetchFromGitHub { owner = "interpretml"; From 8dbcca40f4bb89504cf6cd4ea54d8cbe528016df Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 22:53:02 +0200 Subject: [PATCH 1337/2378] python3Packages.smartthings-local: remove redundant structuredAttrs --- pkgs/development/python-modules/smartthings-local/default.nix | 1 - 1 file changed, 1 deletion(-) diff --git a/pkgs/development/python-modules/smartthings-local/default.nix b/pkgs/development/python-modules/smartthings-local/default.nix index d5a19c574a46..652226d7d116 100644 --- a/pkgs/development/python-modules/smartthings-local/default.nix +++ b/pkgs/development/python-modules/smartthings-local/default.nix @@ -15,7 +15,6 @@ buildPythonPackage (finalAttrs: { pname = "smartthings-local"; version = "0.1.24"; pyproject = true; - __structuredAttrs = true; src = fetchFromGitHub { owner = "QuiteYellow"; From 5e1760d23d8b08c9360413006dfc656ef79ace16 Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 22:53:02 +0200 Subject: [PATCH 1338/2378] python3Packages.smg-grpc-proto: remove redundant structuredAttrs --- pkgs/development/python-modules/smg-grpc-proto/default.nix | 1 - 1 file changed, 1 deletion(-) diff --git a/pkgs/development/python-modules/smg-grpc-proto/default.nix b/pkgs/development/python-modules/smg-grpc-proto/default.nix index 22ecb9d97a4a..1554eb423151 100644 --- a/pkgs/development/python-modules/smg-grpc-proto/default.nix +++ b/pkgs/development/python-modules/smg-grpc-proto/default.nix @@ -11,7 +11,6 @@ buildPythonPackage (finalAttrs: { pname = "smg-grpc-proto"; version = "0.4.14"; pyproject = true; - __structuredAttrs = true; # No tags on GitHub src = fetchPypi { From 4594703ced5451f9423ac9229e2b97dcd801c4b5 Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 22:53:02 +0200 Subject: [PATCH 1339/2378] python3Packages.smg-grpc-servicer: remove redundant structuredAttrs --- pkgs/development/python-modules/smg-grpc-servicer/default.nix | 1 - 1 file changed, 1 deletion(-) diff --git a/pkgs/development/python-modules/smg-grpc-servicer/default.nix b/pkgs/development/python-modules/smg-grpc-servicer/default.nix index 0727201f056a..83f1d6b3f102 100644 --- a/pkgs/development/python-modules/smg-grpc-servicer/default.nix +++ b/pkgs/development/python-modules/smg-grpc-servicer/default.nix @@ -16,7 +16,6 @@ buildPythonPackage (finalAttrs: { pname = "smg-grpc-servicer"; version = "0.5.6"; pyproject = true; - __structuredAttrs = true; # No tags on GitHub src = fetchPypi { From c44df140c12f049a21b59c43aef71d355d51cb40 Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 22:53:03 +0200 Subject: [PATCH 1340/2378] python3Packages.snakemake-executor-plugin-cluster-generic: remove redundant structuredAttrs --- .../snakemake-executor-plugin-cluster-generic/default.nix | 1 - 1 file changed, 1 deletion(-) diff --git a/pkgs/development/python-modules/snakemake-executor-plugin-cluster-generic/default.nix b/pkgs/development/python-modules/snakemake-executor-plugin-cluster-generic/default.nix index 660b4db7bfac..0328f30ab772 100644 --- a/pkgs/development/python-modules/snakemake-executor-plugin-cluster-generic/default.nix +++ b/pkgs/development/python-modules/snakemake-executor-plugin-cluster-generic/default.nix @@ -20,7 +20,6 @@ buildPythonPackage (finalAttrs: { pname = "snakemake-executor-plugin-cluster-generic"; version = "1.0.9"; pyproject = true; - __structuredAttrs = true; src = fetchFromGitHub { owner = "snakemake"; From 7c2b8ceab3def26afe5fe98b2272fc9fc9d56bfb Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 22:53:03 +0200 Subject: [PATCH 1341/2378] python3Packages.snakemake-interface-common: remove redundant structuredAttrs --- .../python-modules/snakemake-interface-common/default.nix | 1 - 1 file changed, 1 deletion(-) diff --git a/pkgs/development/python-modules/snakemake-interface-common/default.nix b/pkgs/development/python-modules/snakemake-interface-common/default.nix index 6d75761241a1..0afe85708195 100644 --- a/pkgs/development/python-modules/snakemake-interface-common/default.nix +++ b/pkgs/development/python-modules/snakemake-interface-common/default.nix @@ -24,7 +24,6 @@ buildPythonPackage (finalAttrs: { pname = "snakemake-interface-common"; version = "1.23.0"; pyproject = true; - __structuredAttrs = true; src = fetchFromGitHub { owner = "snakemake"; From 3c4f90bb9d2d3204fb0d24251172e9e2342aee92 Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 22:53:03 +0200 Subject: [PATCH 1342/2378] python3Packages.snakemake-interface-executor-plugins: remove redundant structuredAttrs --- .../snakemake-interface-executor-plugins/default.nix | 1 - 1 file changed, 1 deletion(-) diff --git a/pkgs/development/python-modules/snakemake-interface-executor-plugins/default.nix b/pkgs/development/python-modules/snakemake-interface-executor-plugins/default.nix index 57d6ab72f582..33257126c2c0 100644 --- a/pkgs/development/python-modules/snakemake-interface-executor-plugins/default.nix +++ b/pkgs/development/python-modules/snakemake-interface-executor-plugins/default.nix @@ -23,7 +23,6 @@ buildPythonPackage (finalAttrs: { pname = "snakemake-interface-executor-plugins"; version = "9.4.0"; pyproject = true; - __structuredAttrs = true; src = fetchFromGitHub { owner = "snakemake"; From 764dcd9790d3ed99300756cb5038a1453c7b82f8 Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 22:53:03 +0200 Subject: [PATCH 1343/2378] python3Packages.snakemake-interface-logger-plugins: remove redundant structuredAttrs --- .../snakemake-interface-logger-plugins/default.nix | 1 - 1 file changed, 1 deletion(-) diff --git a/pkgs/development/python-modules/snakemake-interface-logger-plugins/default.nix b/pkgs/development/python-modules/snakemake-interface-logger-plugins/default.nix index e4a115ea5c19..fdd4f25a7ace 100644 --- a/pkgs/development/python-modules/snakemake-interface-logger-plugins/default.nix +++ b/pkgs/development/python-modules/snakemake-interface-logger-plugins/default.nix @@ -21,7 +21,6 @@ buildPythonPackage (finalAttrs: { pname = "snakemake-interface-logger-plugins"; version = "2.1.0"; pyproject = true; - __structuredAttrs = true; src = fetchFromGitHub { owner = "snakemake"; From ed166c6e8112228df826530dc2920ecfdcfa11e3 Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 22:53:04 +0200 Subject: [PATCH 1344/2378] python3Packages.snakemake-interface-report-plugins: remove redundant structuredAttrs --- .../snakemake-interface-report-plugins/default.nix | 1 - 1 file changed, 1 deletion(-) diff --git a/pkgs/development/python-modules/snakemake-interface-report-plugins/default.nix b/pkgs/development/python-modules/snakemake-interface-report-plugins/default.nix index d4400ce99643..547a7a803e20 100644 --- a/pkgs/development/python-modules/snakemake-interface-report-plugins/default.nix +++ b/pkgs/development/python-modules/snakemake-interface-report-plugins/default.nix @@ -21,7 +21,6 @@ buildPythonPackage (finalAttrs: { pname = "snakemake-interface-report-plugins"; version = "1.3.0"; pyproject = true; - __structuredAttrs = true; src = fetchFromGitHub { owner = "snakemake"; From 06fdd27ab2ea4cbb3142d8dcd0c5f8978fe20db5 Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 22:53:04 +0200 Subject: [PATCH 1345/2378] python3Packages.snakemake-interface-scheduler-plugins: remove redundant structuredAttrs --- .../snakemake-interface-scheduler-plugins/default.nix | 1 - 1 file changed, 1 deletion(-) diff --git a/pkgs/development/python-modules/snakemake-interface-scheduler-plugins/default.nix b/pkgs/development/python-modules/snakemake-interface-scheduler-plugins/default.nix index 6ccfe7862249..7d0b3d867783 100644 --- a/pkgs/development/python-modules/snakemake-interface-scheduler-plugins/default.nix +++ b/pkgs/development/python-modules/snakemake-interface-scheduler-plugins/default.nix @@ -21,7 +21,6 @@ buildPythonPackage (finalAttrs: { pname = "snakemake-interface-scheduler-plugins"; version = "2.0.2"; pyproject = true; - __structuredAttrs = true; src = fetchFromGitHub { owner = "snakemake"; From 3a10d8f8a19740a734d39b7138737b3f66f0a589 Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 22:53:04 +0200 Subject: [PATCH 1346/2378] python3Packages.snakemake-interface-storage-plugins: remove redundant structuredAttrs --- .../snakemake-interface-storage-plugins/default.nix | 1 - 1 file changed, 1 deletion(-) diff --git a/pkgs/development/python-modules/snakemake-interface-storage-plugins/default.nix b/pkgs/development/python-modules/snakemake-interface-storage-plugins/default.nix index 51eecb1406c0..5817d0dd6f1f 100644 --- a/pkgs/development/python-modules/snakemake-interface-storage-plugins/default.nix +++ b/pkgs/development/python-modules/snakemake-interface-storage-plugins/default.nix @@ -26,7 +26,6 @@ buildPythonPackage (finalAttrs: { pname = "snakemake-interface-storage-plugins"; version = "4.4.1"; pyproject = true; - __structuredAttrs = true; src = fetchFromGitHub { owner = "snakemake"; From 41d2e3b810a9bb05f9edcbcd3c0f5054b5ffc6e3 Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 22:53:05 +0200 Subject: [PATCH 1347/2378] python3Packages.snakemake-logger-plugin-rich: remove redundant structuredAttrs --- .../python-modules/snakemake-logger-plugin-rich/default.nix | 1 - 1 file changed, 1 deletion(-) diff --git a/pkgs/development/python-modules/snakemake-logger-plugin-rich/default.nix b/pkgs/development/python-modules/snakemake-logger-plugin-rich/default.nix index 309cd192666a..ac7050ed467d 100644 --- a/pkgs/development/python-modules/snakemake-logger-plugin-rich/default.nix +++ b/pkgs/development/python-modules/snakemake-logger-plugin-rich/default.nix @@ -22,7 +22,6 @@ buildPythonPackage (finalAttrs: { pname = "snakemake-logger-plugin-rich"; version = "0.5.0"; pyproject = true; - __structuredAttrs = true; src = fetchFromGitHub { owner = "cademirch"; From 715b0eb50b58ce32fb329f68c660deb1c8455fb8 Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 22:53:05 +0200 Subject: [PATCH 1348/2378] python3Packages.snakemake-storage-plugin-fs: remove redundant structuredAttrs --- .../python-modules/snakemake-storage-plugin-fs/default.nix | 1 - 1 file changed, 1 deletion(-) diff --git a/pkgs/development/python-modules/snakemake-storage-plugin-fs/default.nix b/pkgs/development/python-modules/snakemake-storage-plugin-fs/default.nix index 766cb526b4e1..61dd199c582d 100644 --- a/pkgs/development/python-modules/snakemake-storage-plugin-fs/default.nix +++ b/pkgs/development/python-modules/snakemake-storage-plugin-fs/default.nix @@ -22,7 +22,6 @@ buildPythonPackage (finalAttrs: { pname = "snakemake-storage-plugin-fs"; version = "1.1.3"; pyproject = true; - __structuredAttrs = true; src = fetchFromGitHub { owner = "snakemake"; From ea294aa5fb9f87a00a29961c143153a6f3a3ca21 Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 22:53:06 +0200 Subject: [PATCH 1349/2378] python3Packages.snakemake-storage-plugin-http: remove redundant structuredAttrs --- .../python-modules/snakemake-storage-plugin-http/default.nix | 1 - 1 file changed, 1 deletion(-) diff --git a/pkgs/development/python-modules/snakemake-storage-plugin-http/default.nix b/pkgs/development/python-modules/snakemake-storage-plugin-http/default.nix index d39d01e59b72..72f152740ce7 100644 --- a/pkgs/development/python-modules/snakemake-storage-plugin-http/default.nix +++ b/pkgs/development/python-modules/snakemake-storage-plugin-http/default.nix @@ -21,7 +21,6 @@ buildPythonPackage (finalAttrs: { pname = "snakemake-storage-plugin-http"; version = "0.3.1"; pyproject = true; - __structuredAttrs = true; src = fetchFromGitHub { owner = "snakemake"; From a309d834d8814af013dc10e38b3207fef31d020b Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 22:53:06 +0200 Subject: [PATCH 1350/2378] python3Packages.snakemake-storage-plugin-s3: remove redundant structuredAttrs --- .../python-modules/snakemake-storage-plugin-s3/default.nix | 1 - 1 file changed, 1 deletion(-) diff --git a/pkgs/development/python-modules/snakemake-storage-plugin-s3/default.nix b/pkgs/development/python-modules/snakemake-storage-plugin-s3/default.nix index d757a619609a..c226b7002e24 100644 --- a/pkgs/development/python-modules/snakemake-storage-plugin-s3/default.nix +++ b/pkgs/development/python-modules/snakemake-storage-plugin-s3/default.nix @@ -23,7 +23,6 @@ buildPythonPackage (finalAttrs: { pname = "snakemake-storage-plugin-s3"; version = "0.3.6"; pyproject = true; - __structuredAttrs = true; src = fetchFromGitHub { owner = "snakemake"; From a4f631b6bfd71044cd6e72fa19eeae1209dd13ce Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 22:53:06 +0200 Subject: [PATCH 1351/2378] python3Packages.snakemake-storage-plugin-xrootd: remove redundant structuredAttrs --- .../python-modules/snakemake-storage-plugin-xrootd/default.nix | 1 - 1 file changed, 1 deletion(-) diff --git a/pkgs/development/python-modules/snakemake-storage-plugin-xrootd/default.nix b/pkgs/development/python-modules/snakemake-storage-plugin-xrootd/default.nix index 37fa04bf8952..a65b4ffe8993 100644 --- a/pkgs/development/python-modules/snakemake-storage-plugin-xrootd/default.nix +++ b/pkgs/development/python-modules/snakemake-storage-plugin-xrootd/default.nix @@ -32,7 +32,6 @@ buildPythonPackage (finalAttrs: { pname = "snakemake-storage-plugin-xrootd"; version = "1.2.0"; pyproject = true; - __structuredAttrs = true; src = fetchFromGitHub { owner = "snakemake"; From 30f4663c15ffe4fb0cb17c8015a072eaa337f717 Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 22:53:06 +0200 Subject: [PATCH 1352/2378] python3Packages.snowballstemmer: remove redundant structuredAttrs --- pkgs/development/python-modules/snowballstemmer/default.nix | 2 -- 1 file changed, 2 deletions(-) diff --git a/pkgs/development/python-modules/snowballstemmer/default.nix b/pkgs/development/python-modules/snowballstemmer/default.nix index 49658aef35cb..c79db143011d 100644 --- a/pkgs/development/python-modules/snowballstemmer/default.nix +++ b/pkgs/development/python-modules/snowballstemmer/default.nix @@ -11,8 +11,6 @@ buildPythonPackage (finalAttrs: { version = "3.1.1"; pyproject = true; - __structuredAttrs = true; - src = fetchPypi { inherit (finalAttrs) pname version; hash = "sha256-4Hu8VKDXmP5gEKEjmEIuYqi/u6lcOU/QlW71jLTT4mA="; From 69aecd67f93c635a666741454f60f41e05f0c624 Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 22:53:07 +0200 Subject: [PATCH 1353/2378] python3Packages.social-auth-app-django: remove redundant structuredAttrs --- .../python-modules/social-auth-app-django/default.nix | 1 - 1 file changed, 1 deletion(-) diff --git a/pkgs/development/python-modules/social-auth-app-django/default.nix b/pkgs/development/python-modules/social-auth-app-django/default.nix index e9143c991a24..cada6dfa304e 100644 --- a/pkgs/development/python-modules/social-auth-app-django/default.nix +++ b/pkgs/development/python-modules/social-auth-app-django/default.nix @@ -13,7 +13,6 @@ buildPythonPackage (finalAttrs: { pname = "social-auth-app-django"; version = "6.0.1"; pyproject = true; - __structuredAttrs = true; src = fetchFromGitHub { owner = "python-social-auth"; From 458b5ca14dfb9f475ebf33523866be44a0440e35 Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 22:53:07 +0200 Subject: [PATCH 1354/2378] python3Packages.social-auth-core: remove redundant structuredAttrs --- pkgs/development/python-modules/social-auth-core/default.nix | 1 - 1 file changed, 1 deletion(-) diff --git a/pkgs/development/python-modules/social-auth-core/default.nix b/pkgs/development/python-modules/social-auth-core/default.nix index 804a06f81b9f..cc70d09782ad 100644 --- a/pkgs/development/python-modules/social-auth-core/default.nix +++ b/pkgs/development/python-modules/social-auth-core/default.nix @@ -25,7 +25,6 @@ buildPythonPackage (finalAttrs: { pname = "social-auth-core"; version = "5.2.0"; pyproject = true; - __structuredAttrs = true; src = fetchFromGitHub { owner = "python-social-auth"; From 4fe5f82947fc2ee726a517fffa369a0395e41aec Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 22:53:07 +0200 Subject: [PATCH 1355/2378] python3Packages.spacy: remove redundant structuredAttrs --- pkgs/development/python-modules/spacy/default.nix | 1 - 1 file changed, 1 deletion(-) diff --git a/pkgs/development/python-modules/spacy/default.nix b/pkgs/development/python-modules/spacy/default.nix index bebf00700a8d..cf25f5740fa5 100644 --- a/pkgs/development/python-modules/spacy/default.nix +++ b/pkgs/development/python-modules/spacy/default.nix @@ -51,7 +51,6 @@ buildPythonPackage (finalAttrs: { pname = "spacy"; version = "3.8.16"; pyproject = true; - __structuredAttrs = true; src = fetchFromGitHub { owner = "explosion"; From 2c5140a68c41f1b43290abb91acd6391339397ac Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 22:53:08 +0200 Subject: [PATCH 1356/2378] python3Packages.sparsediffpy: remove redundant structuredAttrs --- pkgs/development/python-modules/sparsediffpy/default.nix | 1 - 1 file changed, 1 deletion(-) diff --git a/pkgs/development/python-modules/sparsediffpy/default.nix b/pkgs/development/python-modules/sparsediffpy/default.nix index 666042fe9794..310bdd0d9617 100644 --- a/pkgs/development/python-modules/sparsediffpy/default.nix +++ b/pkgs/development/python-modules/sparsediffpy/default.nix @@ -17,7 +17,6 @@ buildPythonPackage (finalAttrs: { pname = "sparsediffpy"; version = "0.6.1"; pyproject = true; - __structuredAttrs = true; src = fetchFromGitHub { owner = "SparseDifferentiation"; From 4e2a1fe096ceabf07684cb858498ad7def086e73 Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 22:53:08 +0200 Subject: [PATCH 1357/2378] python3Packages.spdx-license-list: remove redundant structuredAttrs --- pkgs/development/python-modules/spdx-license-list/default.nix | 1 - 1 file changed, 1 deletion(-) diff --git a/pkgs/development/python-modules/spdx-license-list/default.nix b/pkgs/development/python-modules/spdx-license-list/default.nix index 83880d34b278..0c5e24ccd63c 100644 --- a/pkgs/development/python-modules/spdx-license-list/default.nix +++ b/pkgs/development/python-modules/spdx-license-list/default.nix @@ -9,7 +9,6 @@ buildPythonPackage (finalAttrs: { pname = "spdx-license-list"; version = "3.29.0"; pyproject = true; - __structuredAttrs = true; src = fetchFromGitHub { owner = "JJMC89"; From a67040af8c753211ce3ed8d24b1be883656cfba6 Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 22:53:08 +0200 Subject: [PATCH 1358/2378] python3Packages.spdx-python-model: remove redundant structuredAttrs --- pkgs/development/python-modules/spdx-python-model/default.nix | 2 -- 1 file changed, 2 deletions(-) diff --git a/pkgs/development/python-modules/spdx-python-model/default.nix b/pkgs/development/python-modules/spdx-python-model/default.nix index e58253237175..396beaf26c05 100644 --- a/pkgs/development/python-modules/spdx-python-model/default.nix +++ b/pkgs/development/python-modules/spdx-python-model/default.nix @@ -39,8 +39,6 @@ buildPythonPackage (finalAttrs: { version = "0.0.6"; pyproject = true; - __structuredAttrs = true; - src = fetchFromGitHub { owner = "spdx"; repo = "spdx-python-model"; From f6de9cff47bc4d1a3c8a5a1e235f606b7bdd01b7 Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 22:53:09 +0200 Subject: [PATCH 1359/2378] python3Packages.spdx3-validate: remove redundant structuredAttrs --- pkgs/development/python-modules/spdx3-validate/default.nix | 2 -- 1 file changed, 2 deletions(-) diff --git a/pkgs/development/python-modules/spdx3-validate/default.nix b/pkgs/development/python-modules/spdx3-validate/default.nix index 0058e0ac58c6..93ab6a1eb5fa 100644 --- a/pkgs/development/python-modules/spdx3-validate/default.nix +++ b/pkgs/development/python-modules/spdx3-validate/default.nix @@ -17,8 +17,6 @@ buildPythonPackage (finalAttrs: { version = "0.0.7"; pyproject = true; - __structuredAttrs = true; - src = fetchFromGitHub { owner = "JPEWdev"; repo = "spdx3-validate"; From dd8cc4b3c69f2ebdcea9e6096b4be50bdd94a064 Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 22:53:09 +0200 Subject: [PATCH 1360/2378] python3Packages.speechbrain: remove redundant structuredAttrs --- pkgs/development/python-modules/speechbrain/default.nix | 1 - 1 file changed, 1 deletion(-) diff --git a/pkgs/development/python-modules/speechbrain/default.nix b/pkgs/development/python-modules/speechbrain/default.nix index c18e979e544c..38bb3561ad36 100644 --- a/pkgs/development/python-modules/speechbrain/default.nix +++ b/pkgs/development/python-modules/speechbrain/default.nix @@ -25,7 +25,6 @@ buildPythonPackage (finalAttrs: { pname = "speechbrain"; version = "1.1.2"; pyproject = true; - __structuredAttrs = true; src = fetchFromGitHub { owner = "speechbrain"; From 4507c28fe44defb21db7fdeb60ac77ea42908905 Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 22:53:09 +0200 Subject: [PATCH 1361/2378] python3Packages.speechrecognition: remove redundant structuredAttrs --- pkgs/development/python-modules/speechrecognition/default.nix | 1 - 1 file changed, 1 deletion(-) diff --git a/pkgs/development/python-modules/speechrecognition/default.nix b/pkgs/development/python-modules/speechrecognition/default.nix index 741c5b034ee2..aa6fb8e0a8c7 100644 --- a/pkgs/development/python-modules/speechrecognition/default.nix +++ b/pkgs/development/python-modules/speechrecognition/default.nix @@ -44,7 +44,6 @@ buildPythonPackage (finalAttrs: { pname = "speechrecognition"; version = "3.17.0"; pyproject = true; - __structuredAttrs = true; src = fetchFromGitHub { owner = "Uberi"; From 220601d2fa519d3677895d4501a0072a5eebb983 Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 22:53:09 +0200 Subject: [PATCH 1362/2378] python3Packages.sphinx-gallery: remove redundant structuredAttrs --- pkgs/development/python-modules/sphinx-gallery/default.nix | 1 - 1 file changed, 1 deletion(-) diff --git a/pkgs/development/python-modules/sphinx-gallery/default.nix b/pkgs/development/python-modules/sphinx-gallery/default.nix index 357ad1e3d6ff..ba6cdb4501b1 100644 --- a/pkgs/development/python-modules/sphinx-gallery/default.nix +++ b/pkgs/development/python-modules/sphinx-gallery/default.nix @@ -42,7 +42,6 @@ buildPythonPackage (finalAttrs: { pname = "sphinx-gallery"; version = "0.21.0"; pyproject = true; - __structuredAttrs = true; src = fetchFromGitHub { owner = "sphinx-gallery"; From 7634c5cd8ff7c9a5c23dbcc84138de200ba8b4a7 Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 22:53:10 +0200 Subject: [PATCH 1363/2378] python3Packages.sphinx-llm: remove redundant structuredAttrs --- pkgs/development/python-modules/sphinx-llm/default.nix | 1 - 1 file changed, 1 deletion(-) diff --git a/pkgs/development/python-modules/sphinx-llm/default.nix b/pkgs/development/python-modules/sphinx-llm/default.nix index 2a00de00b91c..b63dfa9eea07 100644 --- a/pkgs/development/python-modules/sphinx-llm/default.nix +++ b/pkgs/development/python-modules/sphinx-llm/default.nix @@ -13,7 +13,6 @@ buildPythonPackage (finalAttrs: { pname = "sphinx-llm"; version = "0.4.1"; pyproject = true; - __structuredAttrs = true; src = fetchFromGitHub { owner = "NVIDIA"; From 056aabd52339971a35facab26245ed6801e1f38b Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 22:53:10 +0200 Subject: [PATCH 1364/2378] python3Packages.sphinx-llms-txt: remove redundant structuredAttrs --- pkgs/development/python-modules/sphinx-llms-txt/default.nix | 1 - 1 file changed, 1 deletion(-) diff --git a/pkgs/development/python-modules/sphinx-llms-txt/default.nix b/pkgs/development/python-modules/sphinx-llms-txt/default.nix index cf7003a9aa3d..11c9ed1270a6 100644 --- a/pkgs/development/python-modules/sphinx-llms-txt/default.nix +++ b/pkgs/development/python-modules/sphinx-llms-txt/default.nix @@ -10,7 +10,6 @@ buildPythonPackage (finalAttrs: { pname = "sphinx-llms-txt"; version = "0.7.1"; pyproject = true; - __structuredAttrs = true; src = fetchFromGitHub { owner = "jdillard"; From 02cf0705a07ac0f6f3dbc507884f24a6e9649950 Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 22:53:10 +0200 Subject: [PATCH 1365/2378] python3Packages.sphinxcontrib-excel-table: remove redundant structuredAttrs --- .../python-modules/sphinxcontrib-excel-table/default.nix | 2 -- 1 file changed, 2 deletions(-) diff --git a/pkgs/development/python-modules/sphinxcontrib-excel-table/default.nix b/pkgs/development/python-modules/sphinxcontrib-excel-table/default.nix index 5ddf2c11466d..c515430a2371 100644 --- a/pkgs/development/python-modules/sphinxcontrib-excel-table/default.nix +++ b/pkgs/development/python-modules/sphinxcontrib-excel-table/default.nix @@ -12,8 +12,6 @@ buildPythonPackage (finalAttrs: { version = "1.0.8"; pyproject = true; - __structuredAttrs = true; - src = fetchPypi { inherit (finalAttrs) pname version; hash = "sha256:1q79byn3k3ribvwqafbpixwabjhymk46ns8ym0hxcn8vhf5nljzd"; From 7cc38f5947a033a60844000bcc012221a56d7fc5 Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 22:53:11 +0200 Subject: [PATCH 1366/2378] python3Packages.sphinxcontrib-jsmath: remove redundant structuredAttrs --- .../development/python-modules/sphinxcontrib-jsmath/default.nix | 2 -- 1 file changed, 2 deletions(-) diff --git a/pkgs/development/python-modules/sphinxcontrib-jsmath/default.nix b/pkgs/development/python-modules/sphinxcontrib-jsmath/default.nix index 6f7deda12056..84dce4ab51c1 100644 --- a/pkgs/development/python-modules/sphinxcontrib-jsmath/default.nix +++ b/pkgs/development/python-modules/sphinxcontrib-jsmath/default.nix @@ -10,8 +10,6 @@ buildPythonPackage (finalAttrs: { version = "1.0.1"; pyproject = true; - __structuredAttrs = true; - src = fetchPypi { inherit (finalAttrs) pname version; hash = "sha256-qZJeSkWHJH7SGRoi319pcGVsuMor1ihDCVePIVPgxLg="; From bb0aac7a033dd9691dfd5398bca43fd8dc78c2e9 Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 22:53:11 +0200 Subject: [PATCH 1367/2378] python3Packages.sphinxcontrib-log-cabinet: remove redundant structuredAttrs --- .../python-modules/sphinxcontrib-log-cabinet/default.nix | 2 -- 1 file changed, 2 deletions(-) diff --git a/pkgs/development/python-modules/sphinxcontrib-log-cabinet/default.nix b/pkgs/development/python-modules/sphinxcontrib-log-cabinet/default.nix index 2d4c3db198e4..824b15997c1b 100644 --- a/pkgs/development/python-modules/sphinxcontrib-log-cabinet/default.nix +++ b/pkgs/development/python-modules/sphinxcontrib-log-cabinet/default.nix @@ -11,8 +11,6 @@ buildPythonPackage (finalAttrs: { version = "1.0.1"; pyproject = true; - __structuredAttrs = true; - src = fetchFromGitHub { owner = "davidism"; repo = "sphinxcontrib-log-cabinet"; From 1e2354d21f55d6647eb4d397e46217ef57fbd215 Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 22:53:11 +0200 Subject: [PATCH 1368/2378] python3Packages.sphinxcontrib-mscgen: remove redundant structuredAttrs --- .../development/python-modules/sphinxcontrib-mscgen/default.nix | 2 -- 1 file changed, 2 deletions(-) diff --git a/pkgs/development/python-modules/sphinxcontrib-mscgen/default.nix b/pkgs/development/python-modules/sphinxcontrib-mscgen/default.nix index 8f6e3810fb12..edb844721225 100644 --- a/pkgs/development/python-modules/sphinxcontrib-mscgen/default.nix +++ b/pkgs/development/python-modules/sphinxcontrib-mscgen/default.nix @@ -12,8 +12,6 @@ buildPythonPackage (finalAttrs: { version = "0.6"; pyproject = true; - __structuredAttrs = true; - src = fetchPypi { inherit (finalAttrs) pname version; hash = "sha256-AXfSWRq3CepT/jNOgHxiYT7vkdKZejPu/LeUqxZ8T5A="; From 3c102af049a2ef319440a850ce0774cbc789773a Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 22:53:12 +0200 Subject: [PATCH 1369/2378] python3Packages.sphinxcontrib-nwdiag: remove redundant structuredAttrs --- .../development/python-modules/sphinxcontrib-nwdiag/default.nix | 2 -- 1 file changed, 2 deletions(-) diff --git a/pkgs/development/python-modules/sphinxcontrib-nwdiag/default.nix b/pkgs/development/python-modules/sphinxcontrib-nwdiag/default.nix index bf18dfcc5dbe..3189eb192ae3 100644 --- a/pkgs/development/python-modules/sphinxcontrib-nwdiag/default.nix +++ b/pkgs/development/python-modules/sphinxcontrib-nwdiag/default.nix @@ -13,8 +13,6 @@ buildPythonPackage (finalAttrs: { version = "2.0.0"; pyproject = true; - __structuredAttrs = true; - src = fetchPypi { inherit (finalAttrs) pname version; hash = "sha256-bula1DutRv6NwfZRhciZfLHRZmXu42p+qvbeExN/+Fk="; From a178a17ba3da1ee121ea347b8fc86027e2c1ea87 Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 22:53:12 +0200 Subject: [PATCH 1370/2378] python3Packages.sphinxcontrib-restbuilder: remove redundant structuredAttrs --- .../python-modules/sphinxcontrib-restbuilder/default.nix | 1 - 1 file changed, 1 deletion(-) diff --git a/pkgs/development/python-modules/sphinxcontrib-restbuilder/default.nix b/pkgs/development/python-modules/sphinxcontrib-restbuilder/default.nix index 0cc722cdb8c3..d58a641ebc8c 100644 --- a/pkgs/development/python-modules/sphinxcontrib-restbuilder/default.nix +++ b/pkgs/development/python-modules/sphinxcontrib-restbuilder/default.nix @@ -12,7 +12,6 @@ buildPythonPackage (finalAttrs: { pname = "sphinxcontrib-restbuilder"; version = "0.3"; pyproject = true; - __structuredAttrs = true; src = fetchFromGitHub { owner = "sphinx-contrib"; From 701fce43359431c1952df9de2a971d5e6fcb7713 Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 22:53:12 +0200 Subject: [PATCH 1371/2378] python3Packages.sphinxcontrib-seqdiag: remove redundant structuredAttrs --- .../python-modules/sphinxcontrib-seqdiag/default.nix | 2 -- 1 file changed, 2 deletions(-) diff --git a/pkgs/development/python-modules/sphinxcontrib-seqdiag/default.nix b/pkgs/development/python-modules/sphinxcontrib-seqdiag/default.nix index da1efdb673a0..35b05d5a978c 100644 --- a/pkgs/development/python-modules/sphinxcontrib-seqdiag/default.nix +++ b/pkgs/development/python-modules/sphinxcontrib-seqdiag/default.nix @@ -13,8 +13,6 @@ buildPythonPackage (finalAttrs: { version = "3.0.0"; pyproject = true; - __structuredAttrs = true; - src = fetchPypi { inherit (finalAttrs) pname version; hash = "sha256-QH5IeXZz9x2Ujp/6BHFsrB2ZqeyPYW3jdk1C0DNBZXQ="; From 65530e5023e514196147c7767865defcb9c9e82a Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 22:53:12 +0200 Subject: [PATCH 1372/2378] python3Packages.spinners: remove redundant structuredAttrs --- pkgs/development/python-modules/spinners/default.nix | 2 -- 1 file changed, 2 deletions(-) diff --git a/pkgs/development/python-modules/spinners/default.nix b/pkgs/development/python-modules/spinners/default.nix index 045c427c379e..a84bfaf0fbdf 100644 --- a/pkgs/development/python-modules/spinners/default.nix +++ b/pkgs/development/python-modules/spinners/default.nix @@ -10,8 +10,6 @@ buildPythonPackage (finalAttrs: { version = "0.0.24"; pyproject = true; - __structuredAttrs = true; - src = fetchPypi { inherit (finalAttrs) pname version; hash = "sha256-HrautHgdcqtC7YoB3PIPMAK/UHQNcVTRL7jJdpv54n8="; From 2ec2fc24d900dbde9869c7219f5294db41a19df1 Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 22:53:13 +0200 Subject: [PATCH 1373/2378] python3Packages.spmd-types: remove redundant structuredAttrs --- pkgs/development/python-modules/spmd-types/default.nix | 1 - 1 file changed, 1 deletion(-) diff --git a/pkgs/development/python-modules/spmd-types/default.nix b/pkgs/development/python-modules/spmd-types/default.nix index 03a99d494e15..898d16049996 100644 --- a/pkgs/development/python-modules/spmd-types/default.nix +++ b/pkgs/development/python-modules/spmd-types/default.nix @@ -20,7 +20,6 @@ buildPythonPackage (finalAttrs: { pname = "spmd-types"; version = "0.2.5"; pyproject = true; - __structuredAttrs = true; src = fetchFromGitHub { owner = "meta-pytorch"; From 06f2cd800f8c761c1f04b854ca23ecfc331cbcb3 Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 22:53:13 +0200 Subject: [PATCH 1374/2378] python3Packages.spotipy: remove redundant structuredAttrs --- pkgs/development/python-modules/spotipy/default.nix | 2 -- 1 file changed, 2 deletions(-) diff --git a/pkgs/development/python-modules/spotipy/default.nix b/pkgs/development/python-modules/spotipy/default.nix index 2422de716272..415427b4661b 100644 --- a/pkgs/development/python-modules/spotipy/default.nix +++ b/pkgs/development/python-modules/spotipy/default.nix @@ -13,8 +13,6 @@ buildPythonPackage (finalAttrs: { version = "2.26.0"; pyproject = true; - __structuredAttrs = true; - src = fetchPypi { pname = "spotipy"; inherit (finalAttrs) version; From 9e8eca3218df62f05ac7543f8a120c79391f0082 Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 22:53:13 +0200 Subject: [PATCH 1375/2378] python3Packages.spsdk-mcu-link: remove redundant structuredAttrs --- pkgs/development/python-modules/spsdk-mcu-link/default.nix | 1 - 1 file changed, 1 deletion(-) diff --git a/pkgs/development/python-modules/spsdk-mcu-link/default.nix b/pkgs/development/python-modules/spsdk-mcu-link/default.nix index ecba18a9a62e..5071871341d7 100644 --- a/pkgs/development/python-modules/spsdk-mcu-link/default.nix +++ b/pkgs/development/python-modules/spsdk-mcu-link/default.nix @@ -24,7 +24,6 @@ buildPythonPackage (finalAttrs: { pname = "spsdk-mcu-link"; version = "0.6.18"; pyproject = true; - __structuredAttrs = true; # Latest tag missing on GitHub src = fetchPypi { From 6bcef08cf8f63980cd1e2aacf341e8a5f3a3543d Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 22:53:14 +0200 Subject: [PATCH 1376/2378] python3Packages.spsdk: remove redundant structuredAttrs --- pkgs/development/python-modules/spsdk/default.nix | 1 - 1 file changed, 1 deletion(-) diff --git a/pkgs/development/python-modules/spsdk/default.nix b/pkgs/development/python-modules/spsdk/default.nix index fe9756445baa..a1abe3a2de9e 100644 --- a/pkgs/development/python-modules/spsdk/default.nix +++ b/pkgs/development/python-modules/spsdk/default.nix @@ -54,7 +54,6 @@ buildPythonPackage (finalAttrs: { pname = "spsdk"; version = "3.11.0"; pyproject = true; - __structuredAttrs = true; src = fetchFromGitHub { owner = "nxp-mcuxpresso"; From 231d90e4a66bf64f323bf8e179ed0143c1a370f3 Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 22:53:14 +0200 Subject: [PATCH 1377/2378] python3Packages.sqlalchemy-adapter: remove redundant structuredAttrs --- pkgs/development/python-modules/sqlalchemy-adapter/default.nix | 1 - 1 file changed, 1 deletion(-) diff --git a/pkgs/development/python-modules/sqlalchemy-adapter/default.nix b/pkgs/development/python-modules/sqlalchemy-adapter/default.nix index 0a2cbe6f46ff..5e0a11d874fb 100644 --- a/pkgs/development/python-modules/sqlalchemy-adapter/default.nix +++ b/pkgs/development/python-modules/sqlalchemy-adapter/default.nix @@ -13,7 +13,6 @@ buildPythonPackage (finalAttrs: { pname = "sqlalchemy-adapter"; version = "1.9.0"; pyproject = true; - __structuredAttrs = true; src = fetchFromGitHub { owner = "officialpycasbin"; From bcd910a83934b27278280089ba9f46629db5a993 Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 22:53:14 +0200 Subject: [PATCH 1378/2378] python3Packages.sqlalchemy-citext: remove redundant structuredAttrs --- pkgs/development/python-modules/sqlalchemy-citext/default.nix | 2 -- 1 file changed, 2 deletions(-) diff --git a/pkgs/development/python-modules/sqlalchemy-citext/default.nix b/pkgs/development/python-modules/sqlalchemy-citext/default.nix index c3697ee85c25..cb8d6c2e95ff 100644 --- a/pkgs/development/python-modules/sqlalchemy-citext/default.nix +++ b/pkgs/development/python-modules/sqlalchemy-citext/default.nix @@ -12,8 +12,6 @@ buildPythonPackage (finalAttrs: { version = "1.8.0"; pyproject = true; - __structuredAttrs = true; - src = fetchPypi { inherit (finalAttrs) pname version; hash = "sha256-oXQOaTqaM058j2CucxCD/nXObBYFu5ymZEpvH2OxW3c="; From 7fe9cff5620e8f9f8aa9619bae01588f78520c0a Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 22:53:15 +0200 Subject: [PATCH 1379/2378] python3Packages.sqlalchemy-jsonfield: remove redundant structuredAttrs --- .../development/python-modules/sqlalchemy-jsonfield/default.nix | 2 -- 1 file changed, 2 deletions(-) diff --git a/pkgs/development/python-modules/sqlalchemy-jsonfield/default.nix b/pkgs/development/python-modules/sqlalchemy-jsonfield/default.nix index f19637cd7434..40cab25c159d 100644 --- a/pkgs/development/python-modules/sqlalchemy-jsonfield/default.nix +++ b/pkgs/development/python-modules/sqlalchemy-jsonfield/default.nix @@ -16,8 +16,6 @@ buildPythonPackage (finalAttrs: { version = "1.0.3"; pyproject = true; - __structuredAttrs = true; - src = fetchFromGitHub { owner = "penguinolog"; repo = "sqlalchemy_jsonfield"; From e46f310696b744833ac2bcaecd3df53c75f23d34 Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 22:53:15 +0200 Subject: [PATCH 1380/2378] python3Packages.sqlfmt: remove redundant structuredAttrs --- pkgs/development/python-modules/sqlfmt/default.nix | 1 - 1 file changed, 1 deletion(-) diff --git a/pkgs/development/python-modules/sqlfmt/default.nix b/pkgs/development/python-modules/sqlfmt/default.nix index b94e5a4ae8c7..4ee4ff121727 100644 --- a/pkgs/development/python-modules/sqlfmt/default.nix +++ b/pkgs/development/python-modules/sqlfmt/default.nix @@ -28,7 +28,6 @@ buildPythonPackage (finalAttrs: { pname = "sqlfmt"; version = "0.32.0"; pyproject = true; - __structuredAttrs = true; src = fetchFromGitHub { owner = "tconbeer"; From c66e5ff029ca418975ca99d928f58406ee0f4d72 Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 22:53:15 +0200 Subject: [PATCH 1381/2378] python3Packages.sqlite-fts4: remove redundant structuredAttrs --- pkgs/development/python-modules/sqlite-fts4/default.nix | 2 -- 1 file changed, 2 deletions(-) diff --git a/pkgs/development/python-modules/sqlite-fts4/default.nix b/pkgs/development/python-modules/sqlite-fts4/default.nix index 8e12e8327f0f..74e1eb3d958d 100644 --- a/pkgs/development/python-modules/sqlite-fts4/default.nix +++ b/pkgs/development/python-modules/sqlite-fts4/default.nix @@ -11,8 +11,6 @@ buildPythonPackage (finalAttrs: { version = "1.0.3"; pyproject = true; - __structuredAttrs = true; - src = fetchFromGitHub { owner = "simonw"; repo = "sqlite-fts4"; From e981586616d0beb2486eca6b500bdfaeb1a259b9 Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 22:53:16 +0200 Subject: [PATCH 1382/2378] python3Packages.sqlite-migrate: remove redundant structuredAttrs --- pkgs/development/python-modules/sqlite-migrate/default.nix | 1 - 1 file changed, 1 deletion(-) diff --git a/pkgs/development/python-modules/sqlite-migrate/default.nix b/pkgs/development/python-modules/sqlite-migrate/default.nix index fd55f13f6a44..34032db9e32a 100644 --- a/pkgs/development/python-modules/sqlite-migrate/default.nix +++ b/pkgs/development/python-modules/sqlite-migrate/default.nix @@ -12,7 +12,6 @@ buildPythonPackage (finalAttrs: { pname = "sqlite-migrate"; version = "0.2"; pyproject = true; - __structuredAttrs = true; src = fetchFromGitHub { owner = "simonw"; From a3e99df8c9238dc1d25dde45eb2930118847ef4e Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 22:53:16 +0200 Subject: [PATCH 1383/2378] python3Packages.sqlite-utils: remove redundant structuredAttrs --- pkgs/development/python-modules/sqlite-utils/default.nix | 1 - 1 file changed, 1 deletion(-) diff --git a/pkgs/development/python-modules/sqlite-utils/default.nix b/pkgs/development/python-modules/sqlite-utils/default.nix index f3643be4223a..2835ce517113 100644 --- a/pkgs/development/python-modules/sqlite-utils/default.nix +++ b/pkgs/development/python-modules/sqlite-utils/default.nix @@ -19,7 +19,6 @@ buildPythonPackage (finalAttrs: { pname = "sqlite-utils"; version = "4.2.1"; pyproject = true; - __structuredAttrs = true; build-system = [ setuptools ]; From 44ad113ab74f98c6b1a2491faf83e6881811879f Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 22:53:16 +0200 Subject: [PATCH 1384/2378] python3Packages.sqlparams: remove redundant structuredAttrs --- pkgs/development/python-modules/sqlparams/default.nix | 1 - 1 file changed, 1 deletion(-) diff --git a/pkgs/development/python-modules/sqlparams/default.nix b/pkgs/development/python-modules/sqlparams/default.nix index e96b562c4c38..3621b700b3c0 100644 --- a/pkgs/development/python-modules/sqlparams/default.nix +++ b/pkgs/development/python-modules/sqlparams/default.nix @@ -10,7 +10,6 @@ buildPythonPackage (finalAttrs: { pname = "sqlparams"; version = "6.2.0"; pyproject = true; - __structuredAttrs = true; src = fetchFromGitHub { owner = "cpburnz"; From 8e810652276ed18f80168e0eb4c7e44986042d69 Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 22:53:16 +0200 Subject: [PATCH 1385/2378] python3Packages.squarify: remove redundant structuredAttrs --- pkgs/development/python-modules/squarify/default.nix | 2 -- 1 file changed, 2 deletions(-) diff --git a/pkgs/development/python-modules/squarify/default.nix b/pkgs/development/python-modules/squarify/default.nix index 4f88a6b6ee37..17c51c58de14 100644 --- a/pkgs/development/python-modules/squarify/default.nix +++ b/pkgs/development/python-modules/squarify/default.nix @@ -12,8 +12,6 @@ buildPythonPackage (finalAttrs: { version = "0.4.5"; pyproject = true; - __structuredAttrs = true; - src = fetchFromGitHub { owner = "laserson"; repo = "squarify"; From c5368c0370831510b9c030682a515ebcc53c213e Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 22:53:17 +0200 Subject: [PATCH 1386/2378] python3Packages.sre-yield: remove redundant structuredAttrs --- pkgs/development/python-modules/sre-yield/default.nix | 2 -- 1 file changed, 2 deletions(-) diff --git a/pkgs/development/python-modules/sre-yield/default.nix b/pkgs/development/python-modules/sre-yield/default.nix index 97ebefa50f1c..c31dd750921a 100644 --- a/pkgs/development/python-modules/sre-yield/default.nix +++ b/pkgs/development/python-modules/sre-yield/default.nix @@ -11,8 +11,6 @@ buildPythonPackage (finalAttrs: { version = "1.2"; pyproject = true; - __structuredAttrs = true; - src = fetchPypi { pname = "sre_yield"; inherit (finalAttrs) version; From b5a19457f0cd2a908a9ad47aff2f16ce054f4a33 Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 22:53:17 +0200 Subject: [PATCH 1387/2378] python3Packages.srp: remove redundant structuredAttrs --- pkgs/development/python-modules/srp/default.nix | 2 -- 1 file changed, 2 deletions(-) diff --git a/pkgs/development/python-modules/srp/default.nix b/pkgs/development/python-modules/srp/default.nix index c04b81637fc0..02c5828d48d1 100644 --- a/pkgs/development/python-modules/srp/default.nix +++ b/pkgs/development/python-modules/srp/default.nix @@ -11,8 +11,6 @@ buildPythonPackage (finalAttrs: { version = "1.0.22"; pyproject = true; - __structuredAttrs = true; - src = fetchPypi { inherit (finalAttrs) pname version; hash = "sha256-8zDQ7HOH4qyFd0h7FkljFV1KAxvKbiAk8bCTDrkrql0="; From d808141cc626468d67325771ff831d83259a28c6 Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 22:53:17 +0200 Subject: [PATCH 1388/2378] python3Packages.srptools: remove redundant structuredAttrs --- pkgs/development/python-modules/srptools/default.nix | 2 -- 1 file changed, 2 deletions(-) diff --git a/pkgs/development/python-modules/srptools/default.nix b/pkgs/development/python-modules/srptools/default.nix index c8d191df2355..bcd2b3c8785c 100644 --- a/pkgs/development/python-modules/srptools/default.nix +++ b/pkgs/development/python-modules/srptools/default.nix @@ -12,8 +12,6 @@ buildPythonPackage (finalAttrs: { version = "1.0.1"; pyproject = true; - __structuredAttrs = true; - src = fetchPypi { pname = "srptools"; inherit (finalAttrs) version; From 66fa1c8f4610c8eadc52f3772d5c6d113e071986 Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 22:53:17 +0200 Subject: [PATCH 1389/2378] python3Packages.srt: remove redundant structuredAttrs --- pkgs/development/python-modules/srt/default.nix | 2 -- 1 file changed, 2 deletions(-) diff --git a/pkgs/development/python-modules/srt/default.nix b/pkgs/development/python-modules/srt/default.nix index 21621924c57b..217239d5de45 100644 --- a/pkgs/development/python-modules/srt/default.nix +++ b/pkgs/development/python-modules/srt/default.nix @@ -12,8 +12,6 @@ buildPythonPackage (finalAttrs: { version = "3.5.3"; pyproject = true; - __structuredAttrs = true; - src = fetchPypi { inherit (finalAttrs) pname version; hash = "sha256-SIQxUEOk8HQP0fh47WyqN2rAbXDhNfMGptxEYy7tDMA="; From 9efa2703484cdf9db3e0529d849caf657430b8b1 Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 22:53:18 +0200 Subject: [PATCH 1390/2378] python3Packages.srvlookup: remove redundant structuredAttrs --- pkgs/development/python-modules/srvlookup/default.nix | 2 -- 1 file changed, 2 deletions(-) diff --git a/pkgs/development/python-modules/srvlookup/default.nix b/pkgs/development/python-modules/srvlookup/default.nix index d02598951bb9..a79ed79c9524 100644 --- a/pkgs/development/python-modules/srvlookup/default.nix +++ b/pkgs/development/python-modules/srvlookup/default.nix @@ -12,8 +12,6 @@ buildPythonPackage (finalAttrs: { version = "3.0.0"; pyproject = true; - __structuredAttrs = true; - src = fetchFromGitHub { owner = "gmr"; repo = "srvlookup"; From 6264f46449563ff728d57decca5614c95ac4f320 Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 22:53:18 +0200 Subject: [PATCH 1391/2378] python3Packages.ssdeep: remove redundant structuredAttrs --- pkgs/development/python-modules/ssdeep/default.nix | 2 -- 1 file changed, 2 deletions(-) diff --git a/pkgs/development/python-modules/ssdeep/default.nix b/pkgs/development/python-modules/ssdeep/default.nix index 523292855ea1..cdf9a8fe1b36 100644 --- a/pkgs/development/python-modules/ssdeep/default.nix +++ b/pkgs/development/python-modules/ssdeep/default.nix @@ -15,8 +15,6 @@ buildPythonPackage (finalAttrs: { version = "3.4.1"; pyproject = true; - __structuredAttrs = true; - src = fetchFromGitHub { owner = "DinoTools"; repo = "python-ssdeep"; From f5818291493d019cd7b45cf46b1e33bb3cf20be7 Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 22:53:18 +0200 Subject: [PATCH 1392/2378] python3Packages.sseclient: remove redundant structuredAttrs --- pkgs/development/python-modules/sseclient/default.nix | 2 -- 1 file changed, 2 deletions(-) diff --git a/pkgs/development/python-modules/sseclient/default.nix b/pkgs/development/python-modules/sseclient/default.nix index eda143a35edd..81256650d1a4 100644 --- a/pkgs/development/python-modules/sseclient/default.nix +++ b/pkgs/development/python-modules/sseclient/default.nix @@ -13,8 +13,6 @@ buildPythonPackage (finalAttrs: { version = "0.0.27"; pyproject = true; - __structuredAttrs = true; - src = fetchPypi { inherit (finalAttrs) pname version; hash = "sha256-sv5TTcszsdP6rRPWDFp8cY4o+FmH8qA07PXsJ5kYwRw="; From 87a2abdc386cea50766304118b71a2227af878df Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 22:53:19 +0200 Subject: [PATCH 1393/2378] python3Packages.sslib: remove redundant structuredAttrs --- pkgs/development/python-modules/sslib/default.nix | 2 -- 1 file changed, 2 deletions(-) diff --git a/pkgs/development/python-modules/sslib/default.nix b/pkgs/development/python-modules/sslib/default.nix index a38a31a4a2cd..b65251609267 100644 --- a/pkgs/development/python-modules/sslib/default.nix +++ b/pkgs/development/python-modules/sslib/default.nix @@ -11,8 +11,6 @@ buildPythonPackage (finalAttrs: { version = "0.2.0"; pyproject = true; - __structuredAttrs = true; - disabled = !isPy3k; src = fetchPypi { From 24bbb94ece77484907c60a2eec4d924c4b407efa Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 22:53:19 +0200 Subject: [PATCH 1394/2378] python3Packages.stable-baselines3: remove redundant structuredAttrs --- pkgs/development/python-modules/stable-baselines3/default.nix | 1 - 1 file changed, 1 deletion(-) diff --git a/pkgs/development/python-modules/stable-baselines3/default.nix b/pkgs/development/python-modules/stable-baselines3/default.nix index b75d6a126581..3e70e5245e53 100644 --- a/pkgs/development/python-modules/stable-baselines3/default.nix +++ b/pkgs/development/python-modules/stable-baselines3/default.nix @@ -26,7 +26,6 @@ buildPythonPackage (finalAttrs: { pname = "stable-baselines3"; version = "2.9.0"; pyproject = true; - __structuredAttrs = true; src = fetchFromGitHub { owner = "DLR-RM"; From 39652b5a000487e16b84bd63c56b52951ada6940 Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 22:53:19 +0200 Subject: [PATCH 1395/2378] python3Packages.stackit-core: remove redundant structuredAttrs --- pkgs/development/python-modules/stackit-core/default.nix | 2 -- 1 file changed, 2 deletions(-) diff --git a/pkgs/development/python-modules/stackit-core/default.nix b/pkgs/development/python-modules/stackit-core/default.nix index dd96421b46a1..5d9ba6ab0084 100644 --- a/pkgs/development/python-modules/stackit-core/default.nix +++ b/pkgs/development/python-modules/stackit-core/default.nix @@ -16,8 +16,6 @@ buildPythonPackage (finalAttrs: { version = "0.3.1"; pyproject = true; - __structuredAttrs = true; - src = fetchPypi { pname = "stackit_core"; inherit (finalAttrs) version; From 321c26261dfe5c884d2c5b9fe184d7f747dc90bb Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 22:53:20 +0200 Subject: [PATCH 1396/2378] python3Packages.stackit-iaas: remove redundant structuredAttrs --- pkgs/development/python-modules/stackit-iaas/default.nix | 2 -- 1 file changed, 2 deletions(-) diff --git a/pkgs/development/python-modules/stackit-iaas/default.nix b/pkgs/development/python-modules/stackit-iaas/default.nix index f1d21669c0e1..2e283bc7b75e 100644 --- a/pkgs/development/python-modules/stackit-iaas/default.nix +++ b/pkgs/development/python-modules/stackit-iaas/default.nix @@ -15,8 +15,6 @@ buildPythonPackage (finalAttrs: { version = "1.6.0"; pyproject = true; - __structuredAttrs = true; - src = fetchPypi { pname = "stackit_iaas"; inherit (finalAttrs) version; From eace54174ac3039713d90a39d1d0ce9dc9696f85 Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 22:53:20 +0200 Subject: [PATCH 1397/2378] python3Packages.stackit-objectstorage: remove redundant structuredAttrs --- .../python-modules/stackit-objectstorage/default.nix | 2 -- 1 file changed, 2 deletions(-) diff --git a/pkgs/development/python-modules/stackit-objectstorage/default.nix b/pkgs/development/python-modules/stackit-objectstorage/default.nix index b989e85cefee..bd52ffc6806a 100644 --- a/pkgs/development/python-modules/stackit-objectstorage/default.nix +++ b/pkgs/development/python-modules/stackit-objectstorage/default.nix @@ -15,8 +15,6 @@ buildPythonPackage (finalAttrs: { version = "1.5.0"; pyproject = true; - __structuredAttrs = true; - src = fetchPypi { pname = "stackit_objectstorage"; inherit (finalAttrs) version; From b74e1e4df956bb6cce43737cf13a039b7e4bed7c Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 22:53:20 +0200 Subject: [PATCH 1398/2378] python3Packages.stackit-resourcemanager: remove redundant structuredAttrs --- .../python-modules/stackit-resourcemanager/default.nix | 2 -- 1 file changed, 2 deletions(-) diff --git a/pkgs/development/python-modules/stackit-resourcemanager/default.nix b/pkgs/development/python-modules/stackit-resourcemanager/default.nix index 1c5f9c30bc2f..65763424da74 100644 --- a/pkgs/development/python-modules/stackit-resourcemanager/default.nix +++ b/pkgs/development/python-modules/stackit-resourcemanager/default.nix @@ -15,8 +15,6 @@ buildPythonPackage (finalAttrs: { version = "0.11.1"; pyproject = true; - __structuredAttrs = true; - src = fetchPypi { pname = "stackit_resourcemanager"; inherit (finalAttrs) version; From d7d3a0cad674427754c34e7998de3ecf6f1e440e Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 22:53:20 +0200 Subject: [PATCH 1399/2378] python3Packages.stackit-ske: remove redundant structuredAttrs --- pkgs/development/python-modules/stackit-ske/default.nix | 2 -- 1 file changed, 2 deletions(-) diff --git a/pkgs/development/python-modules/stackit-ske/default.nix b/pkgs/development/python-modules/stackit-ske/default.nix index 559590f0ea86..f9ba56ce937a 100644 --- a/pkgs/development/python-modules/stackit-ske/default.nix +++ b/pkgs/development/python-modules/stackit-ske/default.nix @@ -15,8 +15,6 @@ buildPythonPackage (finalAttrs: { version = "1.13.0"; pyproject = true; - __structuredAttrs = true; - src = fetchPypi { pname = "stackit_ske"; inherit (finalAttrs) version; From a7f9e7b64523bffb866656c5a92e4ca72d487828 Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 22:53:21 +0200 Subject: [PATCH 1400/2378] python3Packages.starfile: remove redundant structuredAttrs --- pkgs/development/python-modules/starfile/default.nix | 1 - 1 file changed, 1 deletion(-) diff --git a/pkgs/development/python-modules/starfile/default.nix b/pkgs/development/python-modules/starfile/default.nix index 97ecdca4f31f..6116ae14078a 100644 --- a/pkgs/development/python-modules/starfile/default.nix +++ b/pkgs/development/python-modules/starfile/default.nix @@ -20,7 +20,6 @@ buildPythonPackage (finalAttrs: { pname = "starfile"; version = "0.5.13"; pyproject = true; - __structuredAttrs = true; src = fetchFromGitHub { owner = "teamtomo"; From 4251a7dbdc7e9c8d9a9404ea340446902320c765 Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 22:53:21 +0200 Subject: [PATCH 1401/2378] python3Packages.starlark: remove redundant structuredAttrs --- pkgs/development/python-modules/starlark/default.nix | 1 - 1 file changed, 1 deletion(-) diff --git a/pkgs/development/python-modules/starlark/default.nix b/pkgs/development/python-modules/starlark/default.nix index 3762afeb60a8..408615be0a39 100644 --- a/pkgs/development/python-modules/starlark/default.nix +++ b/pkgs/development/python-modules/starlark/default.nix @@ -11,7 +11,6 @@ buildPythonPackage (finalAttrs: { pname = "starlark"; version = "0.5.0"; pyproject = true; - __structuredAttrs = true; src = fetchFromGitHub { owner = "dbohdan"; From 331998a931bae9de99b541a99e7264f58f396315 Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 22:53:21 +0200 Subject: [PATCH 1402/2378] python3Packages.stashy: remove redundant structuredAttrs --- pkgs/development/python-modules/stashy/default.nix | 2 -- 1 file changed, 2 deletions(-) diff --git a/pkgs/development/python-modules/stashy/default.nix b/pkgs/development/python-modules/stashy/default.nix index dade72f42edb..457e0569cf46 100644 --- a/pkgs/development/python-modules/stashy/default.nix +++ b/pkgs/development/python-modules/stashy/default.nix @@ -12,8 +12,6 @@ buildPythonPackage (finalAttrs: { version = "0.7"; pyproject = true; - __structuredAttrs = true; - src = fetchPypi { inherit (finalAttrs) pname version; hash = "sha256-mWWqGFCbdXa71LBoli2amkgozsjOIu5aNl3bzr/6CfU="; From 25f4996de76a3ac2b0c6331797599110ea84ecd2 Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 22:53:22 +0200 Subject: [PATCH 1403/2378] python3Packages.static3: remove redundant structuredAttrs --- pkgs/development/python-modules/static3/default.nix | 2 -- 1 file changed, 2 deletions(-) diff --git a/pkgs/development/python-modules/static3/default.nix b/pkgs/development/python-modules/static3/default.nix index 1528afbd3930..82da9937586b 100644 --- a/pkgs/development/python-modules/static3/default.nix +++ b/pkgs/development/python-modules/static3/default.nix @@ -18,8 +18,6 @@ buildPythonPackage (finalAttrs: { version = "0.7.0"; pyproject = true; - __structuredAttrs = true; - src = fetchFromGitHub { owner = "rmohr"; repo = "static3"; From d424a0dd140df6a3ce4874664f90dd9131980ae6 Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 22:53:22 +0200 Subject: [PATCH 1404/2378] python3Packages.staticmap: remove redundant structuredAttrs --- pkgs/development/python-modules/staticmap/default.nix | 2 -- 1 file changed, 2 deletions(-) diff --git a/pkgs/development/python-modules/staticmap/default.nix b/pkgs/development/python-modules/staticmap/default.nix index d9bbb37f25c5..4cd84c676fb3 100644 --- a/pkgs/development/python-modules/staticmap/default.nix +++ b/pkgs/development/python-modules/staticmap/default.nix @@ -12,8 +12,6 @@ buildPythonPackage (finalAttrs: { version = "0.5.7"; pyproject = true; - __structuredAttrs = true; - src = fetchPypi { inherit (finalAttrs) pname version; hash = "sha256-x6lrkCumEpLoGMILCBBhnWuBps21C8wauS1QrE2yCn8="; From 176a7c34bd8e563580c372e7ad817e95a4479dc9 Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 22:53:23 +0200 Subject: [PATCH 1405/2378] python3Packages.stdiomask: remove redundant structuredAttrs --- pkgs/development/python-modules/stdiomask/default.nix | 2 -- 1 file changed, 2 deletions(-) diff --git a/pkgs/development/python-modules/stdiomask/default.nix b/pkgs/development/python-modules/stdiomask/default.nix index 1f66260bf0b5..48f327c6a3fa 100644 --- a/pkgs/development/python-modules/stdiomask/default.nix +++ b/pkgs/development/python-modules/stdiomask/default.nix @@ -10,8 +10,6 @@ buildPythonPackage (finalAttrs: { version = "0.0.6"; pyproject = true; - __structuredAttrs = true; - src = fetchPypi { inherit (finalAttrs) pname version; hash = "sha256-weRwaerZ4QvaFQom95IsoB0q3FAwQqnXrPZId6K5o6Y="; From 7b4226ed2bd8fac033323cb32bb3c1dd39a17e78 Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 22:53:23 +0200 Subject: [PATCH 1406/2378] python3Packages.steamodd: remove redundant structuredAttrs --- pkgs/development/python-modules/steamodd/default.nix | 2 -- 1 file changed, 2 deletions(-) diff --git a/pkgs/development/python-modules/steamodd/default.nix b/pkgs/development/python-modules/steamodd/default.nix index 7e09f0cbd233..cad0b604de4f 100644 --- a/pkgs/development/python-modules/steamodd/default.nix +++ b/pkgs/development/python-modules/steamodd/default.nix @@ -11,8 +11,6 @@ buildPythonPackage (finalAttrs: { pyproject = true; - __structuredAttrs = true; - src = fetchFromGitHub { owner = "Lagg"; repo = "steamodd"; From 2c97be8b58725427a1501a30eff4b0ed818b8325 Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 22:53:23 +0200 Subject: [PATCH 1407/2378] python3Packages.strategies: remove redundant structuredAttrs --- pkgs/development/python-modules/strategies/default.nix | 1 - 1 file changed, 1 deletion(-) diff --git a/pkgs/development/python-modules/strategies/default.nix b/pkgs/development/python-modules/strategies/default.nix index 01eb3c3c9203..ef58e9d4f2fd 100644 --- a/pkgs/development/python-modules/strategies/default.nix +++ b/pkgs/development/python-modules/strategies/default.nix @@ -11,7 +11,6 @@ buildPythonPackage (finalAttrs: { pname = "strategies"; version = "0.2.3"; - __structuredAttrs = true; pyproject = true; # GitHub upstream do not have proper release tags From 1ffd314a0777b5c79907f15d411ba63829732bf6 Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 22:53:23 +0200 Subject: [PATCH 1408/2378] python3Packages.stravaweblib: remove redundant structuredAttrs --- pkgs/development/python-modules/stravaweblib/default.nix | 2 -- 1 file changed, 2 deletions(-) diff --git a/pkgs/development/python-modules/stravaweblib/default.nix b/pkgs/development/python-modules/stravaweblib/default.nix index d25f636741eb..5d303313923b 100644 --- a/pkgs/development/python-modules/stravaweblib/default.nix +++ b/pkgs/development/python-modules/stravaweblib/default.nix @@ -18,8 +18,6 @@ buildPythonPackage (finalAttrs: { version = "0.0.10"; pyproject = true; - __structuredAttrs = true; - src = fetchFromGitHub { owner = "pR0Ps"; repo = "stravaweblib"; From 61a2262d62b38481001e48663115560604256e06 Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 22:53:24 +0200 Subject: [PATCH 1409/2378] python3Packages.stream-inflate: remove redundant structuredAttrs --- pkgs/development/python-modules/stream-inflate/default.nix | 2 -- 1 file changed, 2 deletions(-) diff --git a/pkgs/development/python-modules/stream-inflate/default.nix b/pkgs/development/python-modules/stream-inflate/default.nix index 15316e5c8d19..aece06bd0d1c 100644 --- a/pkgs/development/python-modules/stream-inflate/default.nix +++ b/pkgs/development/python-modules/stream-inflate/default.nix @@ -15,8 +15,6 @@ buildPythonPackage (finalAttrs: { version = "0.0.43"; pyproject = true; - __structuredAttrs = true; - src = fetchFromGitHub { owner = "michalc"; repo = "stream-inflate"; From 321166ba002533ab7cdbefcd0e3076442fce8b46 Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 22:53:24 +0200 Subject: [PATCH 1410/2378] python3Packages.stream-unzip: remove redundant structuredAttrs --- pkgs/development/python-modules/stream-unzip/default.nix | 2 -- 1 file changed, 2 deletions(-) diff --git a/pkgs/development/python-modules/stream-unzip/default.nix b/pkgs/development/python-modules/stream-unzip/default.nix index 298313d11d13..212264222aca 100644 --- a/pkgs/development/python-modules/stream-unzip/default.nix +++ b/pkgs/development/python-modules/stream-unzip/default.nix @@ -17,8 +17,6 @@ buildPythonPackage (finalAttrs: { version = "0.0.101"; pyproject = true; - __structuredAttrs = true; - src = fetchFromGitHub { owner = "uktrade"; repo = "stream-unzip"; From 8de2d41bd5369eff7e5f744fde3481004137ac5f Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 22:53:24 +0200 Subject: [PATCH 1411/2378] python3Packages.streamcontroller-plugin-tools: remove redundant structuredAttrs --- .../python-modules/streamcontroller-plugin-tools/default.nix | 2 -- 1 file changed, 2 deletions(-) diff --git a/pkgs/development/python-modules/streamcontroller-plugin-tools/default.nix b/pkgs/development/python-modules/streamcontroller-plugin-tools/default.nix index 86da21d65021..c482c02a1de0 100644 --- a/pkgs/development/python-modules/streamcontroller-plugin-tools/default.nix +++ b/pkgs/development/python-modules/streamcontroller-plugin-tools/default.nix @@ -11,8 +11,6 @@ buildPythonPackage (finalAttrs: { version = "2.0.0"; pyproject = true; - __structuredAttrs = true; - src = fetchFromGitHub { owner = "StreamController"; repo = "streamcontroller-plugin-tools"; From 63ea030223cc89cf96a726cde62263f31a03e568 Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 22:53:25 +0200 Subject: [PATCH 1412/2378] python3Packages.streamdeck: remove redundant structuredAttrs --- pkgs/development/python-modules/streamdeck/default.nix | 2 -- 1 file changed, 2 deletions(-) diff --git a/pkgs/development/python-modules/streamdeck/default.nix b/pkgs/development/python-modules/streamdeck/default.nix index 15d5c395f2db..c22b480f1bb0 100644 --- a/pkgs/development/python-modules/streamdeck/default.nix +++ b/pkgs/development/python-modules/streamdeck/default.nix @@ -13,8 +13,6 @@ buildPythonPackage (finalAttrs: { version = "0.9.8"; pyproject = true; - __structuredAttrs = true; - src = fetchPypi { pname = "streamdeck"; inherit (finalAttrs) version; From 4796d38dd867c8d830c600c034b1deda24bf0728 Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 22:53:25 +0200 Subject: [PATCH 1413/2378] python3Packages.streamingjson: remove redundant structuredAttrs --- pkgs/development/python-modules/streamingjson/default.nix | 1 - 1 file changed, 1 deletion(-) diff --git a/pkgs/development/python-modules/streamingjson/default.nix b/pkgs/development/python-modules/streamingjson/default.nix index 38a6a8b0a38d..0947b69fdbcd 100644 --- a/pkgs/development/python-modules/streamingjson/default.nix +++ b/pkgs/development/python-modules/streamingjson/default.nix @@ -7,7 +7,6 @@ }: buildPythonPackage rec { - __structuredAttrs = true; pname = "streamingjson"; version = "0.0.5"; From 77ee16d1baffc62b734ac3c9518b009056fbe055 Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 22:53:25 +0200 Subject: [PATCH 1414/2378] python3Packages.streamlabswater: remove redundant structuredAttrs --- pkgs/development/python-modules/streamlabswater/default.nix | 2 -- 1 file changed, 2 deletions(-) diff --git a/pkgs/development/python-modules/streamlabswater/default.nix b/pkgs/development/python-modules/streamlabswater/default.nix index 95c9099094cc..39fb72cde998 100644 --- a/pkgs/development/python-modules/streamlabswater/default.nix +++ b/pkgs/development/python-modules/streamlabswater/default.nix @@ -11,8 +11,6 @@ buildPythonPackage (finalAttrs: { version = "1.0.1"; pyproject = true; - __structuredAttrs = true; - src = fetchPypi { inherit (finalAttrs) pname version; hash = "sha256-kXG0Wg3PVryMBQ9RMMtEzudMiwVQq7Ikw2OK7JcBojA="; From 2e68d102bd9d0fa986e58782f0b49a2434041618 Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 22:53:25 +0200 Subject: [PATCH 1415/2378] python3Packages.strictyaml: remove redundant structuredAttrs --- pkgs/development/python-modules/strictyaml/default.nix | 2 -- 1 file changed, 2 deletions(-) diff --git a/pkgs/development/python-modules/strictyaml/default.nix b/pkgs/development/python-modules/strictyaml/default.nix index 8abbc899bd1e..0a29fff37b0b 100644 --- a/pkgs/development/python-modules/strictyaml/default.nix +++ b/pkgs/development/python-modules/strictyaml/default.nix @@ -12,8 +12,6 @@ buildPythonPackage (finalAttrs: { version = "1.7.3"; pyproject = true; - __structuredAttrs = true; - src = fetchPypi { inherit (finalAttrs) pname version; hash = "sha256-IvhUpfyrQrXduoAwoOS+UcqJrwJnlhyNbPqGOVWGxAc="; From 2a600b30b518efef9101a7501ad72c988c63af99 Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 22:53:26 +0200 Subject: [PATCH 1416/2378] python3Packages.stringbrewer: remove redundant structuredAttrs --- pkgs/development/python-modules/stringbrewer/default.nix | 2 -- 1 file changed, 2 deletions(-) diff --git a/pkgs/development/python-modules/stringbrewer/default.nix b/pkgs/development/python-modules/stringbrewer/default.nix index 824444ca1b34..908f0666c750 100644 --- a/pkgs/development/python-modules/stringbrewer/default.nix +++ b/pkgs/development/python-modules/stringbrewer/default.nix @@ -12,8 +12,6 @@ buildPythonPackage (finalAttrs: { version = "0.0.1"; pyproject = true; - __structuredAttrs = true; - src = fetchPypi { inherit (finalAttrs) pname version; hash = "sha256-wtETgi+Tk1ALJzzIM6Ic5zkDbALGL0cELg8X75uepkk="; From b24973206bd17467c9f45d4fada4958be5e18ea0 Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 22:53:26 +0200 Subject: [PATCH 1417/2378] python3Packages.stringcase: remove redundant structuredAttrs --- pkgs/development/python-modules/stringcase/default.nix | 2 -- 1 file changed, 2 deletions(-) diff --git a/pkgs/development/python-modules/stringcase/default.nix b/pkgs/development/python-modules/stringcase/default.nix index 421ecb0aa17f..eefdf1f8ef27 100644 --- a/pkgs/development/python-modules/stringcase/default.nix +++ b/pkgs/development/python-modules/stringcase/default.nix @@ -10,8 +10,6 @@ buildPythonPackage (finalAttrs: { version = "1.2.0"; pyproject = true; - __structuredAttrs = true; - src = fetchPypi { inherit (finalAttrs) pname version; hash = "sha256-SKBpgGYZCO/o2dNOqytsE676IWOzztJpcpAuO9/YcAg="; From 617a03c2ba3f6c1a2db95b8968eecd5e34b28f1b Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 22:53:26 +0200 Subject: [PATCH 1418/2378] python3Packages.stubserver: remove redundant structuredAttrs --- pkgs/development/python-modules/stubserver/default.nix | 2 -- 1 file changed, 2 deletions(-) diff --git a/pkgs/development/python-modules/stubserver/default.nix b/pkgs/development/python-modules/stubserver/default.nix index ad6517ee6edb..cddd0691ec70 100644 --- a/pkgs/development/python-modules/stubserver/default.nix +++ b/pkgs/development/python-modules/stubserver/default.nix @@ -10,8 +10,6 @@ buildPythonPackage (finalAttrs: { version = "1.1"; pyproject = true; - __structuredAttrs = true; - src = fetchPypi { inherit (finalAttrs) pname version; hash = "sha256-j9R7wpvb07FuN5EhIpE7xTSf26AniQZN4iLpxMjNYKA="; From da17af0d46fce0eb63fe661cf42f76b22e06ed4c Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 22:53:27 +0200 Subject: [PATCH 1419/2378] python3Packages.submitit: remove redundant structuredAttrs --- pkgs/development/python-modules/submitit/default.nix | 1 - 1 file changed, 1 deletion(-) diff --git a/pkgs/development/python-modules/submitit/default.nix b/pkgs/development/python-modules/submitit/default.nix index 56044665bb5a..078362171edc 100644 --- a/pkgs/development/python-modules/submitit/default.nix +++ b/pkgs/development/python-modules/submitit/default.nix @@ -20,7 +20,6 @@ buildPythonPackage (finalAttrs: { pname = "submitit"; version = "1.5.4"; pyproject = true; - __structuredAttrs = true; src = fetchFromGitHub { owner = "facebookincubator"; From 32b41e08fbb9d3d8ff9447c7801662ad6f2567a4 Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 22:53:27 +0200 Subject: [PATCH 1420/2378] python3Packages.subzerod: remove redundant structuredAttrs --- pkgs/development/python-modules/subzerod/default.nix | 2 -- 1 file changed, 2 deletions(-) diff --git a/pkgs/development/python-modules/subzerod/default.nix b/pkgs/development/python-modules/subzerod/default.nix index 3f0bb1ddf73f..8dce6fa369f0 100644 --- a/pkgs/development/python-modules/subzerod/default.nix +++ b/pkgs/development/python-modules/subzerod/default.nix @@ -11,8 +11,6 @@ buildPythonPackage (finalAttrs: { version = "1.0"; pyproject = true; - __structuredAttrs = true; - src = fetchPypi { inherit (finalAttrs) pname version; hash = "sha256-/7g8Upj9Hb4m83JXLI3X2lqa9faCt42LVxh+V9WpI68="; From 7a072461b244d168399a11d92d6c1e01ad5345a4 Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 22:53:27 +0200 Subject: [PATCH 1421/2378] python3Packages.sumtypes: remove redundant structuredAttrs --- pkgs/development/python-modules/sumtypes/default.nix | 2 -- 1 file changed, 2 deletions(-) diff --git a/pkgs/development/python-modules/sumtypes/default.nix b/pkgs/development/python-modules/sumtypes/default.nix index 9139abfa4b7c..06713b223343 100644 --- a/pkgs/development/python-modules/sumtypes/default.nix +++ b/pkgs/development/python-modules/sumtypes/default.nix @@ -12,8 +12,6 @@ buildPythonPackage (finalAttrs: { version = "0.1a6"; pyproject = true; - __structuredAttrs = true; - src = fetchFromGitHub { owner = "radix"; repo = "sumtypes"; From d53fe685a8478f2c686f0df77d4ea89c10720c6c Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 22:53:28 +0200 Subject: [PATCH 1422/2378] python3Packages.sunpy: remove redundant structuredAttrs --- pkgs/development/python-modules/sunpy/default.nix | 1 - 1 file changed, 1 deletion(-) diff --git a/pkgs/development/python-modules/sunpy/default.nix b/pkgs/development/python-modules/sunpy/default.nix index 23c9cddd7a95..940662678bbc 100644 --- a/pkgs/development/python-modules/sunpy/default.nix +++ b/pkgs/development/python-modules/sunpy/default.nix @@ -63,7 +63,6 @@ buildPythonPackage (finalAttrs: { pname = "sunpy"; version = "8.0.0"; pyproject = true; - __structuredAttrs = true; src = fetchFromGitHub { owner = "sunpy"; From 5b4a34e7cddf041d7db23e7f018f5e23d530ca0c Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 22:53:28 +0200 Subject: [PATCH 1423/2378] python3Packages.supervision: remove redundant structuredAttrs --- pkgs/development/python-modules/supervision/default.nix | 1 - 1 file changed, 1 deletion(-) diff --git a/pkgs/development/python-modules/supervision/default.nix b/pkgs/development/python-modules/supervision/default.nix index bdcad6fee788..6a356c76bc8f 100644 --- a/pkgs/development/python-modules/supervision/default.nix +++ b/pkgs/development/python-modules/supervision/default.nix @@ -23,7 +23,6 @@ buildPythonPackage (finalAttrs: { pname = "supervision"; version = "0.29.1"; pyproject = true; - __structuredAttrs = true; src = fetchFromGitHub { owner = "roboflow"; From ca2c522221de241392db8d72dbcf971936efc89f Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 22:53:28 +0200 Subject: [PATCH 1424/2378] python3Packages.surt: remove redundant structuredAttrs --- pkgs/development/python-modules/surt/default.nix | 2 -- 1 file changed, 2 deletions(-) diff --git a/pkgs/development/python-modules/surt/default.nix b/pkgs/development/python-modules/surt/default.nix index 19d06dec9a38..103426270e46 100644 --- a/pkgs/development/python-modules/surt/default.nix +++ b/pkgs/development/python-modules/surt/default.nix @@ -13,8 +13,6 @@ buildPythonPackage { version = "0.3.1"; pyproject = true; - __structuredAttrs = true; - src = fetchFromGitHub { owner = "internetarchive"; repo = "surt"; From 5100c972dbb81f78a87c115fd24f92046352ccaa Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 22:53:29 +0200 Subject: [PATCH 1425/2378] python3Packages.sv-ttk: remove redundant structuredAttrs --- pkgs/development/python-modules/sv-ttk/default.nix | 2 -- 1 file changed, 2 deletions(-) diff --git a/pkgs/development/python-modules/sv-ttk/default.nix b/pkgs/development/python-modules/sv-ttk/default.nix index 58ce7cafca9f..f9946acb1301 100644 --- a/pkgs/development/python-modules/sv-ttk/default.nix +++ b/pkgs/development/python-modules/sv-ttk/default.nix @@ -11,8 +11,6 @@ buildPythonPackage (finalAttrs: { version = "2.6.1"; pyproject = true; - __structuredAttrs = true; - src = fetchPypi { inherit (finalAttrs) version; pname = "sv_ttk"; From 13ac445de7ba2454a976ffeb0907e3d95e628a07 Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 22:53:29 +0200 Subject: [PATCH 1426/2378] python3Packages.svgdigitizer: remove redundant structuredAttrs --- pkgs/development/python-modules/svgdigitizer/default.nix | 1 - 1 file changed, 1 deletion(-) diff --git a/pkgs/development/python-modules/svgdigitizer/default.nix b/pkgs/development/python-modules/svgdigitizer/default.nix index f118ffb8cfbb..08a7345b8b53 100644 --- a/pkgs/development/python-modules/svgdigitizer/default.nix +++ b/pkgs/development/python-modules/svgdigitizer/default.nix @@ -30,7 +30,6 @@ buildPythonPackage (finalAttrs: { pname = "svgdigitizer"; version = "0.14.5"; pyproject = true; - __structuredAttrs = true; src = fetchFromGitHub { owner = "echemdb"; From f1850c562021884d4376f6bcdee7d8895f981a0a Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 22:53:29 +0200 Subject: [PATCH 1427/2378] python3Packages.swcgeom: remove redundant structuredAttrs --- pkgs/development/python-modules/swcgeom/default.nix | 1 - 1 file changed, 1 deletion(-) diff --git a/pkgs/development/python-modules/swcgeom/default.nix b/pkgs/development/python-modules/swcgeom/default.nix index d4d87099382a..c3ccc7486543 100644 --- a/pkgs/development/python-modules/swcgeom/default.nix +++ b/pkgs/development/python-modules/swcgeom/default.nix @@ -29,7 +29,6 @@ buildPythonPackage (finalAttrs: { pname = "swcgeom"; version = "0.21.6"; pyproject = true; - __structuredAttrs = true; src = fetchFromGitHub { owner = "yzx9"; From 9cec18f560f4019e668a3ffb49139bde401fb379 Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 22:53:30 +0200 Subject: [PATCH 1428/2378] python3Packages.sweeps: remove redundant structuredAttrs --- pkgs/development/python-modules/sweeps/default.nix | 1 - 1 file changed, 1 deletion(-) diff --git a/pkgs/development/python-modules/sweeps/default.nix b/pkgs/development/python-modules/sweeps/default.nix index 5ceb3e7d2d06..bcd617bb9c8a 100644 --- a/pkgs/development/python-modules/sweeps/default.nix +++ b/pkgs/development/python-modules/sweeps/default.nix @@ -25,7 +25,6 @@ buildPythonPackage (finalAttrs: { pname = "sweeps"; version = "0.2.0"; pyproject = true; - __structuredAttrs = true; src = fetchFromGitHub { owner = "wandb"; From 359c73a1989a38ffe18f69cb99c6d88185df8d43 Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 22:53:30 +0200 Subject: [PATCH 1429/2378] python3Packages.swh-scanner: remove redundant structuredAttrs --- pkgs/development/python-modules/swh-scanner/default.nix | 2 -- 1 file changed, 2 deletions(-) diff --git a/pkgs/development/python-modules/swh-scanner/default.nix b/pkgs/development/python-modules/swh-scanner/default.nix index f5e8ddbdc2fe..9423d307eb10 100644 --- a/pkgs/development/python-modules/swh-scanner/default.nix +++ b/pkgs/development/python-modules/swh-scanner/default.nix @@ -34,8 +34,6 @@ buildPythonPackage (finalAttrs: { version = "0.8.3"; pyproject = true; - __structuredAttrs = true; - src = fetchFromGitLab { domain = "gitlab.softwareheritage.org"; group = "swh"; From 8b8fb7881aeed43563b4f10edfbbaa9a2c5ac881 Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 22:53:30 +0200 Subject: [PATCH 1430/2378] python3Packages.symfc: remove redundant structuredAttrs --- pkgs/development/python-modules/symfc/default.nix | 1 - 1 file changed, 1 deletion(-) diff --git a/pkgs/development/python-modules/symfc/default.nix b/pkgs/development/python-modules/symfc/default.nix index 0c9c5c873810..183d3b3c64d1 100644 --- a/pkgs/development/python-modules/symfc/default.nix +++ b/pkgs/development/python-modules/symfc/default.nix @@ -20,7 +20,6 @@ buildPythonPackage (finalAttrs: { pname = "symfc"; version = "1.7.1"; pyproject = true; - __structuredAttrs = true; src = fetchFromGitHub { owner = "symfc"; From ec342c703e6fd2ff8a38cdae91277d758bda60bb Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 22:53:30 +0200 Subject: [PATCH 1431/2378] python3Packages.sympy: remove redundant structuredAttrs --- pkgs/development/python-modules/sympy/default.nix | 1 - 1 file changed, 1 deletion(-) diff --git a/pkgs/development/python-modules/sympy/default.nix b/pkgs/development/python-modules/sympy/default.nix index 575698e7a81c..3051beb73eb9 100644 --- a/pkgs/development/python-modules/sympy/default.nix +++ b/pkgs/development/python-modules/sympy/default.nix @@ -20,7 +20,6 @@ buildPythonPackage (finalAttrs: { pname = "sympy"; version = "1.14.0"; pyproject = true; - __structuredAttrs = true; src = fetchFromGitHub { owner = "sympy"; From 7a83fec217c706704b9d7819dfa84ced74b9512c Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 22:53:31 +0200 Subject: [PATCH 1432/2378] python3Packages.synchronicity: remove redundant structuredAttrs --- pkgs/development/python-modules/synchronicity/default.nix | 1 - 1 file changed, 1 deletion(-) diff --git a/pkgs/development/python-modules/synchronicity/default.nix b/pkgs/development/python-modules/synchronicity/default.nix index 6159c5869090..e9bd43eef4aa 100644 --- a/pkgs/development/python-modules/synchronicity/default.nix +++ b/pkgs/development/python-modules/synchronicity/default.nix @@ -26,7 +26,6 @@ buildPythonPackage (finalAttrs: { pname = "synchronicity"; version = "0.12.5"; pyproject = true; - __structuredAttrs = true; src = fetchFromGitHub { owner = "modal-labs"; From 22420966150555258a231ff7e66aa1830681cabc Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 22:53:31 +0200 Subject: [PATCH 1433/2378] python3Packages.syne-tune: remove redundant structuredAttrs --- pkgs/development/python-modules/syne-tune/default.nix | 1 - 1 file changed, 1 deletion(-) diff --git a/pkgs/development/python-modules/syne-tune/default.nix b/pkgs/development/python-modules/syne-tune/default.nix index c788e5d43a6e..88e88733ec00 100644 --- a/pkgs/development/python-modules/syne-tune/default.nix +++ b/pkgs/development/python-modules/syne-tune/default.nix @@ -32,7 +32,6 @@ buildPythonPackage (finalAttrs: { pname = "syne-tune"; version = "0.16.0"; pyproject = true; - __structuredAttrs = true; src = fetchFromGitHub { owner = "syne-tune"; From 4b3107c9f9ce6ebc530775d459e780ca45c89f25 Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 22:53:31 +0200 Subject: [PATCH 1434/2378] python3Packages.syslog-rfc5424-formatter: remove redundant structuredAttrs --- .../python-modules/syslog-rfc5424-formatter/default.nix | 2 -- 1 file changed, 2 deletions(-) diff --git a/pkgs/development/python-modules/syslog-rfc5424-formatter/default.nix b/pkgs/development/python-modules/syslog-rfc5424-formatter/default.nix index 800655fd57e7..79db37c5970b 100644 --- a/pkgs/development/python-modules/syslog-rfc5424-formatter/default.nix +++ b/pkgs/development/python-modules/syslog-rfc5424-formatter/default.nix @@ -10,8 +10,6 @@ buildPythonPackage (finalAttrs: { version = "1.2.3"; pyproject = true; - __structuredAttrs = true; - src = fetchFromGitHub { owner = "easypost"; repo = "syslog-rfc5424-formatter"; From 23f1308bcb9c6baf593fbd10a0cfde1964ccadca Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 22:53:31 +0200 Subject: [PATCH 1435/2378] python3Packages.tables: remove redundant structuredAttrs --- pkgs/development/python-modules/tables/default.nix | 1 - 1 file changed, 1 deletion(-) diff --git a/pkgs/development/python-modules/tables/default.nix b/pkgs/development/python-modules/tables/default.nix index 41e0a2067c98..a97b7aa0d64e 100644 --- a/pkgs/development/python-modules/tables/default.nix +++ b/pkgs/development/python-modules/tables/default.nix @@ -33,7 +33,6 @@ buildPythonPackage (finalAttrs: { pname = "tables"; version = "3.11.1"; pyproject = true; - __structuredAttrs = true; src = fetchFromGitHub { owner = "PyTables"; From fb5b77ef1fab73d1d006cc31e48c09e9b691299c Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 22:53:32 +0200 Subject: [PATCH 1436/2378] python3Packages.tantivy: remove redundant structuredAttrs --- pkgs/development/python-modules/tantivy/default.nix | 1 - 1 file changed, 1 deletion(-) diff --git a/pkgs/development/python-modules/tantivy/default.nix b/pkgs/development/python-modules/tantivy/default.nix index d086ad2b5098..f16a190e7696 100644 --- a/pkgs/development/python-modules/tantivy/default.nix +++ b/pkgs/development/python-modules/tantivy/default.nix @@ -17,7 +17,6 @@ buildPythonPackage (finalAttrs: { pname = "tantivy"; version = "0.26.2"; pyproject = true; - __structuredAttrs = true; src = fetchFromGitHub { owner = "quickwit-oss"; From 22f9e5f79e8d708198aafab38bd808e59c067c64 Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 22:53:32 +0200 Subject: [PATCH 1437/2378] python3Packages.telegraph: remove redundant structuredAttrs --- pkgs/development/python-modules/telegraph/default.nix | 2 -- 1 file changed, 2 deletions(-) diff --git a/pkgs/development/python-modules/telegraph/default.nix b/pkgs/development/python-modules/telegraph/default.nix index faa380845956..35524558389b 100644 --- a/pkgs/development/python-modules/telegraph/default.nix +++ b/pkgs/development/python-modules/telegraph/default.nix @@ -13,8 +13,6 @@ buildPythonPackage (finalAttrs: { version = "2.2.0"; pyproject = true; - __structuredAttrs = true; - src = fetchFromGitHub { repo = "telegraph"; owner = "python273"; From 348ebaf097db24b9671bec004761db15c2508cce Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 22:53:32 +0200 Subject: [PATCH 1438/2378] python3Packages.temescal: remove redundant structuredAttrs --- pkgs/development/python-modules/temescal/default.nix | 2 -- 1 file changed, 2 deletions(-) diff --git a/pkgs/development/python-modules/temescal/default.nix b/pkgs/development/python-modules/temescal/default.nix index 0d8b6adb5961..198d144a4735 100644 --- a/pkgs/development/python-modules/temescal/default.nix +++ b/pkgs/development/python-modules/temescal/default.nix @@ -11,8 +11,6 @@ buildPythonPackage (finalAttrs: { version = "0.5"; pyproject = true; - __structuredAttrs = true; - src = fetchPypi { pname = "temescal"; inherit (finalAttrs) version; From 0d8627afb5a3620d77f5c2c0363c2011a624e581 Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 22:53:33 +0200 Subject: [PATCH 1439/2378] python3Packages.tensorboard: remove redundant structuredAttrs --- pkgs/development/python-modules/tensorboard/default.nix | 1 - 1 file changed, 1 deletion(-) diff --git a/pkgs/development/python-modules/tensorboard/default.nix b/pkgs/development/python-modules/tensorboard/default.nix index 8349ba6df644..c81d8b3a25ff 100644 --- a/pkgs/development/python-modules/tensorboard/default.nix +++ b/pkgs/development/python-modules/tensorboard/default.nix @@ -23,7 +23,6 @@ buildPythonPackage (finalAttrs: { pname = "tensorboard"; version = "2.21.0"; format = "wheel"; - __structuredAttrs = true; # tensorflow/tensorboard is built from a downloaded wheel, because # https://github.com/tensorflow/tensorboard/issues/719 blocks buildBazelPackage. From 8071fc9764186eb4353a0ecbb631919b248dd390 Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 22:53:33 +0200 Subject: [PATCH 1440/2378] python3Packages.tensordict: remove redundant structuredAttrs --- pkgs/development/python-modules/tensordict/default.nix | 1 - 1 file changed, 1 deletion(-) diff --git a/pkgs/development/python-modules/tensordict/default.nix b/pkgs/development/python-modules/tensordict/default.nix index e1aec20bf0f4..bcf44ad9a5ec 100644 --- a/pkgs/development/python-modules/tensordict/default.nix +++ b/pkgs/development/python-modules/tensordict/default.nix @@ -31,7 +31,6 @@ buildPythonPackage (finalAttrs: { pname = "tensordict"; version = "0.14.3"; pyproject = true; - __structuredAttrs = true; src = fetchFromGitHub { owner = "pytorch"; From 9f3bb866501eaa2783354371cabbb799406b1d65 Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 22:53:33 +0200 Subject: [PATCH 1441/2378] python3Packages.tensorflow-datasets: remove redundant structuredAttrs --- pkgs/development/python-modules/tensorflow-datasets/default.nix | 1 - 1 file changed, 1 deletion(-) diff --git a/pkgs/development/python-modules/tensorflow-datasets/default.nix b/pkgs/development/python-modules/tensorflow-datasets/default.nix index c167088916eb..82344bda3cc5 100644 --- a/pkgs/development/python-modules/tensorflow-datasets/default.nix +++ b/pkgs/development/python-modules/tensorflow-datasets/default.nix @@ -66,7 +66,6 @@ buildPythonPackage (finalAttrs: { pname = "tensorflow-datasets"; version = "4.9.10"; pyproject = true; - __structuredAttrs = true; src = fetchFromGitHub { owner = "tensorflow"; From 5bb2c2e2512ef35897134255ec6d3dbbd8c93d62 Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 22:53:33 +0200 Subject: [PATCH 1442/2378] python3Packages.tensorflow-metadata: remove redundant structuredAttrs --- pkgs/development/python-modules/tensorflow-metadata/default.nix | 1 - 1 file changed, 1 deletion(-) diff --git a/pkgs/development/python-modules/tensorflow-metadata/default.nix b/pkgs/development/python-modules/tensorflow-metadata/default.nix index a73c766364cc..239bd572b029 100644 --- a/pkgs/development/python-modules/tensorflow-metadata/default.nix +++ b/pkgs/development/python-modules/tensorflow-metadata/default.nix @@ -16,7 +16,6 @@ buildPythonPackage (finalAttrs: { pname = "tensorflow-metadata"; version = "1.21.0"; pyproject = true; - __structuredAttrs = true; src = fetchFromGitHub { owner = "tensorflow"; From ae3260543a44f87f5bcdd4d6b6f8c6a4114c02e7 Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 22:53:34 +0200 Subject: [PATCH 1443/2378] python3Packages.tensorrt: remove redundant structuredAttrs --- pkgs/development/python-modules/tensorrt/default.nix | 1 - 1 file changed, 1 deletion(-) diff --git a/pkgs/development/python-modules/tensorrt/default.nix b/pkgs/development/python-modules/tensorrt/default.nix index ee333ade6c39..9c955d55843e 100644 --- a/pkgs/development/python-modules/tensorrt/default.nix +++ b/pkgs/development/python-modules/tensorrt/default.nix @@ -38,7 +38,6 @@ buildPythonPackage { src + "/python/${distribution}-${version}-${pythonTag}-${abiTag}-${platformTag}.whl"; format = "wheel"; - __structuredAttrs = true; nativeBuildInputs = [ autoPatchelfHook From 614a6140d85fd127613bbe51d44e683bc8fd553c Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 22:53:34 +0200 Subject: [PATCH 1444/2378] python3Packages.tensorstore: remove redundant structuredAttrs --- pkgs/development/python-modules/tensorstore/default.nix | 1 - 1 file changed, 1 deletion(-) diff --git a/pkgs/development/python-modules/tensorstore/default.nix b/pkgs/development/python-modules/tensorstore/default.nix index 6f4d3a752a53..db4332bd3cc8 100644 --- a/pkgs/development/python-modules/tensorstore/default.nix +++ b/pkgs/development/python-modules/tensorstore/default.nix @@ -35,7 +35,6 @@ buildPythonPackage (finalAttrs: { pname = "tensorstore"; version = "0.1.84"; format = "wheel"; - __structuredAttrs = true; # The source build involves some wonky Bazel stuff. src = fetchPypi { From 195f9ece497a1bfe0a6b3549c89171e749e3be30 Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 22:53:34 +0200 Subject: [PATCH 1445/2378] python3Packages.tern: remove redundant structuredAttrs --- pkgs/development/python-modules/tern/default.nix | 2 -- 1 file changed, 2 deletions(-) diff --git a/pkgs/development/python-modules/tern/default.nix b/pkgs/development/python-modules/tern/default.nix index 6a9fd47e914d..6ad2c7ae3d58 100644 --- a/pkgs/development/python-modules/tern/default.nix +++ b/pkgs/development/python-modules/tern/default.nix @@ -23,8 +23,6 @@ buildPythonPackage (finalAttrs: { version = "2.12.1"; pyproject = true; - __structuredAttrs = true; - src = fetchPypi { pname = "tern"; inherit (finalAttrs) version; From 06e928f234ce3ade8d9e30be79fccfe9c707d316 Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 22:53:35 +0200 Subject: [PATCH 1446/2378] python3Packages.test2ref: remove redundant structuredAttrs --- pkgs/development/python-modules/test2ref/default.nix | 1 - 1 file changed, 1 deletion(-) diff --git a/pkgs/development/python-modules/test2ref/default.nix b/pkgs/development/python-modules/test2ref/default.nix index 5c4945b4d84f..e83b3c8af30e 100644 --- a/pkgs/development/python-modules/test2ref/default.nix +++ b/pkgs/development/python-modules/test2ref/default.nix @@ -18,7 +18,6 @@ buildPythonPackage (finalAttrs: { pname = "test2ref"; version = "1.2.3"; pyproject = true; - __structuredAttrs = true; src = fetchFromGitHub { owner = "nbiotcloud"; From 638bfd65c122b0f7b9f0714901da8d10bc8a5f07 Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 22:53:35 +0200 Subject: [PATCH 1447/2378] python3Packages.testcontainers: remove redundant structuredAttrs --- pkgs/development/python-modules/testcontainers/default.nix | 1 - 1 file changed, 1 deletion(-) diff --git a/pkgs/development/python-modules/testcontainers/default.nix b/pkgs/development/python-modules/testcontainers/default.nix index 04482683b867..1a6eaef54b2a 100644 --- a/pkgs/development/python-modules/testcontainers/default.nix +++ b/pkgs/development/python-modules/testcontainers/default.nix @@ -18,7 +18,6 @@ buildPythonPackage (finalAttrs: { pname = "testcontainers"; version = "4.15.0"; pyproject = true; - __structuredAttrs = true; src = fetchFromGitHub { owner = "testcontainers"; From 3c9f2298e8065878700b115d4a70b778af1f2a88 Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 22:53:35 +0200 Subject: [PATCH 1448/2378] python3Packages.textacy: remove redundant structuredAttrs --- pkgs/development/python-modules/textacy/default.nix | 1 - 1 file changed, 1 deletion(-) diff --git a/pkgs/development/python-modules/textacy/default.nix b/pkgs/development/python-modules/textacy/default.nix index 651bee904baa..02b68440ecea 100644 --- a/pkgs/development/python-modules/textacy/default.nix +++ b/pkgs/development/python-modules/textacy/default.nix @@ -25,7 +25,6 @@ buildPythonPackage (finalAttrs: { pname = "textacy"; version = "0.13.0"; pyproject = true; - __structuredAttrs = true; src = fetchFromGitHub { owner = "chartbeat-labs"; From 9a49d67fa28724156151bc61a93e7fcb400383c9 Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 22:53:35 +0200 Subject: [PATCH 1449/2378] python3Packages.textdistance: remove redundant structuredAttrs --- pkgs/development/python-modules/textdistance/default.nix | 2 -- 1 file changed, 2 deletions(-) diff --git a/pkgs/development/python-modules/textdistance/default.nix b/pkgs/development/python-modules/textdistance/default.nix index 7c01f93ae7ed..08cf1ff2cccf 100644 --- a/pkgs/development/python-modules/textdistance/default.nix +++ b/pkgs/development/python-modules/textdistance/default.nix @@ -13,8 +13,6 @@ buildPythonPackage (finalAttrs: { version = "4.6.3"; pyproject = true; - __structuredAttrs = true; - src = fetchPypi { pname = "textdistance"; inherit (finalAttrs) version; From 513dc8a3f720de4a5a522d9ff98dc0dc3f4d8dec Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 22:53:36 +0200 Subject: [PATCH 1450/2378] python3Packages.textstat: remove redundant structuredAttrs --- pkgs/development/python-modules/textstat/default.nix | 2 -- 1 file changed, 2 deletions(-) diff --git a/pkgs/development/python-modules/textstat/default.nix b/pkgs/development/python-modules/textstat/default.nix index bb10dd382b2a..a610b17883e8 100644 --- a/pkgs/development/python-modules/textstat/default.nix +++ b/pkgs/development/python-modules/textstat/default.nix @@ -12,8 +12,6 @@ buildPythonPackage (finalAttrs: { pname = "textstat"; pyproject = true; - __structuredAttrs = true; - src = fetchFromGitHub { owner = "textstat"; repo = "textstat"; From 96f1d3e3db434b33ca431d5eda49b5e869d80310 Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 22:53:36 +0200 Subject: [PATCH 1451/2378] python3Packages.textual-fastdatatable: remove redundant structuredAttrs --- .../development/python-modules/textual-fastdatatable/default.nix | 1 - 1 file changed, 1 deletion(-) diff --git a/pkgs/development/python-modules/textual-fastdatatable/default.nix b/pkgs/development/python-modules/textual-fastdatatable/default.nix index 5526251e06e6..2a0f095ec34d 100644 --- a/pkgs/development/python-modules/textual-fastdatatable/default.nix +++ b/pkgs/development/python-modules/textual-fastdatatable/default.nix @@ -24,7 +24,6 @@ buildPythonPackage (finalAttrs: { pname = "textual-fastdatatable"; version = "0.19.3"; pyproject = true; - __structuredAttrs = true; src = fetchFromGitHub { owner = "tconbeer"; From e28e5ae5dee20edf2c8439f414b3b17bafc450e9 Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 22:53:36 +0200 Subject: [PATCH 1452/2378] python3Packages.textual-image: remove redundant structuredAttrs --- pkgs/development/python-modules/textual-image/default.nix | 1 - 1 file changed, 1 deletion(-) diff --git a/pkgs/development/python-modules/textual-image/default.nix b/pkgs/development/python-modules/textual-image/default.nix index 2fe6849aef0e..26a00e235756 100644 --- a/pkgs/development/python-modules/textual-image/default.nix +++ b/pkgs/development/python-modules/textual-image/default.nix @@ -20,7 +20,6 @@ buildPythonPackage (finalAttrs: { pname = "textual-image"; version = "0.14.1"; pyproject = true; - __structuredAttrs = true; src = fetchFromGitHub { owner = "lnqs"; From 3c05202b9500e80f407976198b9bdb30559d418d Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 22:53:36 +0200 Subject: [PATCH 1453/2378] python3Packages.textual-textarea: remove redundant structuredAttrs --- pkgs/development/python-modules/textual-textarea/default.nix | 1 - 1 file changed, 1 deletion(-) diff --git a/pkgs/development/python-modules/textual-textarea/default.nix b/pkgs/development/python-modules/textual-textarea/default.nix index 9eab850cb4dd..c1beb08d6c91 100644 --- a/pkgs/development/python-modules/textual-textarea/default.nix +++ b/pkgs/development/python-modules/textual-textarea/default.nix @@ -22,7 +22,6 @@ buildPythonPackage (finalAttrs: { pname = "textual-textarea"; version = "0.18.5"; pyproject = true; - __structuredAttrs = true; src = fetchFromGitHub { owner = "tconbeer"; From 13fe400069982ac83fe87cc031124ed743256bd2 Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 22:53:37 +0200 Subject: [PATCH 1454/2378] python3Packages.textual: remove redundant structuredAttrs --- pkgs/development/python-modules/textual/default.nix | 1 - 1 file changed, 1 deletion(-) diff --git a/pkgs/development/python-modules/textual/default.nix b/pkgs/development/python-modules/textual/default.nix index 015681cba90c..263497581b10 100644 --- a/pkgs/development/python-modules/textual/default.nix +++ b/pkgs/development/python-modules/textual/default.nix @@ -39,7 +39,6 @@ buildPythonPackage (finalAttrs: { pname = "textual"; version = "8.2.8"; pyproject = true; - __structuredAttrs = true; src = fetchFromGitHub { owner = "Textualize"; From d61c3158dccb33500bbb3f74996c61acbd1d7805 Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 22:53:37 +0200 Subject: [PATCH 1455/2378] python3Packages.textualeffects: remove redundant structuredAttrs --- pkgs/development/python-modules/textualeffects/default.nix | 1 - 1 file changed, 1 deletion(-) diff --git a/pkgs/development/python-modules/textualeffects/default.nix b/pkgs/development/python-modules/textualeffects/default.nix index 66a6df540cc8..78190467a339 100644 --- a/pkgs/development/python-modules/textualeffects/default.nix +++ b/pkgs/development/python-modules/textualeffects/default.nix @@ -10,7 +10,6 @@ buildPythonPackage (finalAttrs: { pname = "textualeffects"; version = "0.2.0"; pyproject = true; - __structuredAttrs = true; src = fetchPypi { inherit (finalAttrs) pname version; From dfb67cf3083f195060d4484e7674e140b81a31dd Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 22:53:37 +0200 Subject: [PATCH 1456/2378] python3Packages.tf-playwright-stealth: remove redundant structuredAttrs --- .../python-modules/tf-playwright-stealth/default.nix | 2 -- 1 file changed, 2 deletions(-) diff --git a/pkgs/development/python-modules/tf-playwright-stealth/default.nix b/pkgs/development/python-modules/tf-playwright-stealth/default.nix index 3da1803b3b0b..3ef5de004a6b 100644 --- a/pkgs/development/python-modules/tf-playwright-stealth/default.nix +++ b/pkgs/development/python-modules/tf-playwright-stealth/default.nix @@ -16,8 +16,6 @@ buildPythonPackage (finalAttrs: { version = "1.2.2-unstable-2026-06-30"; pyproject = true; - __structuredAttrs = true; - src = fetchFromGitHub { owner = "tinyfish-io"; repo = "tf-playwright-stealth"; From 87abdeea92cb5cc12a53d74719871fcc675966a5 Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 22:53:38 +0200 Subject: [PATCH 1457/2378] python3Packages.three-merge: remove redundant structuredAttrs --- pkgs/development/python-modules/three-merge/default.nix | 2 -- 1 file changed, 2 deletions(-) diff --git a/pkgs/development/python-modules/three-merge/default.nix b/pkgs/development/python-modules/three-merge/default.nix index 37d3cabdf405..217f10e4459d 100644 --- a/pkgs/development/python-modules/three-merge/default.nix +++ b/pkgs/development/python-modules/three-merge/default.nix @@ -12,8 +12,6 @@ buildPythonPackage (finalAttrs: { version = "0.1.1"; pyproject = true; - __structuredAttrs = true; - # pypi does not contain test files src = fetchFromGitHub { owner = "spyder-ide"; From d199c6e5b9d4a790648573ea8800ead0f74e81d3 Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 22:53:38 +0200 Subject: [PATCH 1458/2378] python3Packages.tilelang: remove redundant structuredAttrs --- pkgs/development/python-modules/tilelang/default.nix | 1 - 1 file changed, 1 deletion(-) diff --git a/pkgs/development/python-modules/tilelang/default.nix b/pkgs/development/python-modules/tilelang/default.nix index fd80957d57c8..3e732925cb31 100644 --- a/pkgs/development/python-modules/tilelang/default.nix +++ b/pkgs/development/python-modules/tilelang/default.nix @@ -45,7 +45,6 @@ buildPythonPackage.override { inherit (torch) stdenv; } (finalAttrs: { pname = "tilelang"; version = "0.1.13"; pyproject = true; - __structuredAttrs = true; src = fetchFromGitHub { owner = "tile-ai"; From 88b5f429775e841d0774a80c6e858e4b7a5e2768 Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 22:53:39 +0200 Subject: [PATCH 1459/2378] python3Packages.timeago: remove redundant structuredAttrs --- pkgs/development/python-modules/timeago/default.nix | 2 -- 1 file changed, 2 deletions(-) diff --git a/pkgs/development/python-modules/timeago/default.nix b/pkgs/development/python-modules/timeago/default.nix index 359dd328845c..230cd6411fec 100644 --- a/pkgs/development/python-modules/timeago/default.nix +++ b/pkgs/development/python-modules/timeago/default.nix @@ -11,8 +11,6 @@ buildPythonPackage (finalAttrs: { version = "1.0.16"; pyproject = true; - __structuredAttrs = true; - src = fetchFromGitHub { owner = "hustcc"; repo = "timeago"; From 6b0ec60370d113a37f0301d7e6f542f2eed0033e Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 22:53:39 +0200 Subject: [PATCH 1460/2378] python3Packages.timelib: remove redundant structuredAttrs --- pkgs/development/python-modules/timelib/default.nix | 2 -- 1 file changed, 2 deletions(-) diff --git a/pkgs/development/python-modules/timelib/default.nix b/pkgs/development/python-modules/timelib/default.nix index cd96b0226aba..218c104ea36b 100644 --- a/pkgs/development/python-modules/timelib/default.nix +++ b/pkgs/development/python-modules/timelib/default.nix @@ -11,8 +11,6 @@ buildPythonPackage (finalAttrs: { version = "0.3.0"; pyproject = true; - __structuredAttrs = true; - src = fetchPypi { inherit (finalAttrs) pname version; hash = "sha256-0bInBlVxhuYFjaiLoPhYN0AbKuneFX9ZNT3JeNglGHo="; From 6833a90fb119e95fce43b26c66dde4cb251f42ba Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 22:53:39 +0200 Subject: [PATCH 1461/2378] python3Packages.timm: remove redundant structuredAttrs --- pkgs/development/python-modules/timm/default.nix | 1 - 1 file changed, 1 deletion(-) diff --git a/pkgs/development/python-modules/timm/default.nix b/pkgs/development/python-modules/timm/default.nix index 2d66bcb7e68b..a00963a3622b 100644 --- a/pkgs/development/python-modules/timm/default.nix +++ b/pkgs/development/python-modules/timm/default.nix @@ -25,7 +25,6 @@ buildPythonPackage (finalAttrs: { pname = "timm"; version = "1.0.30"; pyproject = true; - __structuredAttrs = true; src = fetchFromGitHub { owner = "huggingface"; From c74c8e5436f6016fd77345fcb5904657e33621d7 Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 22:53:39 +0200 Subject: [PATCH 1462/2378] python3Packages.timy: remove redundant structuredAttrs --- pkgs/development/python-modules/timy/default.nix | 2 -- 1 file changed, 2 deletions(-) diff --git a/pkgs/development/python-modules/timy/default.nix b/pkgs/development/python-modules/timy/default.nix index 28eefb04070a..90284bc0eb7c 100644 --- a/pkgs/development/python-modules/timy/default.nix +++ b/pkgs/development/python-modules/timy/default.nix @@ -11,8 +11,6 @@ buildPythonPackage { version = "0.4.2"; pyproject = true; - __structuredAttrs = true; - src = fetchFromGitHub { owner = "ramonsaraiva"; repo = "timy"; From 71ac588cacbf5219e93f47d749682d186277fae4 Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 22:53:40 +0200 Subject: [PATCH 1463/2378] python3Packages.tinygrad: remove redundant structuredAttrs --- pkgs/development/python-modules/tinygrad/default.nix | 1 - 1 file changed, 1 deletion(-) diff --git a/pkgs/development/python-modules/tinygrad/default.nix b/pkgs/development/python-modules/tinygrad/default.nix index 16557b917f80..b01ec4f2cad4 100644 --- a/pkgs/development/python-modules/tinygrad/default.nix +++ b/pkgs/development/python-modules/tinygrad/default.nix @@ -62,7 +62,6 @@ buildPythonPackage (finalAttrs: { pname = "tinygrad"; version = "0.14.0"; pyproject = true; - __structuredAttrs = true; src = fetchFromGitHub { owner = "tinygrad"; From 9937ceb162477d7cd02e907405b985bde0cd5dad Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 22:53:40 +0200 Subject: [PATCH 1464/2378] python3Packages.tinyhtml: remove redundant structuredAttrs --- pkgs/development/python-modules/tinyhtml/default.nix | 2 -- 1 file changed, 2 deletions(-) diff --git a/pkgs/development/python-modules/tinyhtml/default.nix b/pkgs/development/python-modules/tinyhtml/default.nix index 1b41c1802129..21f024e2fe13 100644 --- a/pkgs/development/python-modules/tinyhtml/default.nix +++ b/pkgs/development/python-modules/tinyhtml/default.nix @@ -12,8 +12,6 @@ buildPythonPackage (finalAttrs: { version = "1.3.0"; pyproject = true; - __structuredAttrs = true; - src = fetchFromGitHub { owner = "niklasf"; repo = "python-tinyhtml"; From 31846aa3a7b17a60edd063add461fdf35a98bc74 Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 22:53:40 +0200 Subject: [PATCH 1465/2378] python3Packages.tinyrecord: remove redundant structuredAttrs --- pkgs/development/python-modules/tinyrecord/default.nix | 2 -- 1 file changed, 2 deletions(-) diff --git a/pkgs/development/python-modules/tinyrecord/default.nix b/pkgs/development/python-modules/tinyrecord/default.nix index 08aae6f9ce13..0869c9983ab6 100644 --- a/pkgs/development/python-modules/tinyrecord/default.nix +++ b/pkgs/development/python-modules/tinyrecord/default.nix @@ -12,8 +12,6 @@ buildPythonPackage (finalAttrs: { version = "0.2.0"; pyproject = true; - __structuredAttrs = true; - src = fetchFromGitHub { owner = "eugene-eeo"; repo = "tinyrecord"; From 92ac8379782a338139efe1fabdb2b9b52541861d Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 22:53:41 +0200 Subject: [PATCH 1466/2378] python3Packages.tlmviewer: remove redundant structuredAttrs --- pkgs/development/python-modules/tlmviewer/default.nix | 1 - 1 file changed, 1 deletion(-) diff --git a/pkgs/development/python-modules/tlmviewer/default.nix b/pkgs/development/python-modules/tlmviewer/default.nix index 26235d5d31fc..8b088ec52677 100644 --- a/pkgs/development/python-modules/tlmviewer/default.nix +++ b/pkgs/development/python-modules/tlmviewer/default.nix @@ -13,7 +13,6 @@ buildPythonPackage (finalAttrs: { pname = "tlmviewer"; pyproject = true; - __structuredAttrs = true; inherit (torchlensmaker) version From 92625fd41d4c0bc5c5e44356a8ff1bfbd1a7da29 Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 22:53:41 +0200 Subject: [PATCH 1467/2378] python3Packages.tlparse: remove redundant structuredAttrs --- pkgs/development/python-modules/tlparse/default.nix | 1 - 1 file changed, 1 deletion(-) diff --git a/pkgs/development/python-modules/tlparse/default.nix b/pkgs/development/python-modules/tlparse/default.nix index 3093b0f0c32d..df745047cba2 100644 --- a/pkgs/development/python-modules/tlparse/default.nix +++ b/pkgs/development/python-modules/tlparse/default.nix @@ -11,7 +11,6 @@ buildPythonPackage (finalAttrs: { pname = "tlparse"; version = "0.4.8"; pyproject = true; - __structuredAttrs = true; src = fetchFromGitHub { owner = "meta-pytorch"; From 29b0d4e39148e160849369873732657d81f23654 Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 22:53:41 +0200 Subject: [PATCH 1468/2378] python3Packages.tlv8: remove redundant structuredAttrs --- pkgs/development/python-modules/tlv8/default.nix | 2 -- 1 file changed, 2 deletions(-) diff --git a/pkgs/development/python-modules/tlv8/default.nix b/pkgs/development/python-modules/tlv8/default.nix index 0a08f00eb6ff..29fd8af309bf 100644 --- a/pkgs/development/python-modules/tlv8/default.nix +++ b/pkgs/development/python-modules/tlv8/default.nix @@ -11,8 +11,6 @@ buildPythonPackage (finalAttrs: { version = "0.10.0"; pyproject = true; - __structuredAttrs = true; - # pypi does not contain test files src = fetchFromGitHub { owner = "jlusiardi"; From e81d726aed31cc5685e3a0aa0449d51506499615 Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 22:53:41 +0200 Subject: [PATCH 1469/2378] python3Packages.tmb: remove redundant structuredAttrs --- pkgs/development/python-modules/tmb/default.nix | 2 -- 1 file changed, 2 deletions(-) diff --git a/pkgs/development/python-modules/tmb/default.nix b/pkgs/development/python-modules/tmb/default.nix index 529d5cddd607..2dbed8d1d110 100644 --- a/pkgs/development/python-modules/tmb/default.nix +++ b/pkgs/development/python-modules/tmb/default.nix @@ -11,8 +11,6 @@ buildPythonPackage (finalAttrs: { version = "0.1.5"; pyproject = true; - __structuredAttrs = true; - src = fetchFromGitHub { owner = "alemuro"; repo = "tmb"; From 8620d64c06c4095951959523c1b4626f96922e87 Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 22:53:42 +0200 Subject: [PATCH 1470/2378] python3Packages.tmodbus: remove redundant structuredAttrs --- pkgs/development/python-modules/tmodbus/default.nix | 2 -- 1 file changed, 2 deletions(-) diff --git a/pkgs/development/python-modules/tmodbus/default.nix b/pkgs/development/python-modules/tmodbus/default.nix index 39252874b342..af374b7a8148 100644 --- a/pkgs/development/python-modules/tmodbus/default.nix +++ b/pkgs/development/python-modules/tmodbus/default.nix @@ -64,8 +64,6 @@ buildPythonPackage (finalAttrs: { inherit version src; pyproject = true; - __structuredAttrs = true; - postPatch = '' substituteInPlace integration_tests/helpers.py \ --replace-fail "/usr/bin/socat" "${lib.getExe socat}" From 42cf4d6f76c82d0a68c9abcc7fc8d0803a8c0506 Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 22:53:42 +0200 Subject: [PATCH 1471/2378] python3Packages.tokenizers: remove redundant structuredAttrs --- pkgs/development/python-modules/tokenizers/default.nix | 1 - 1 file changed, 1 deletion(-) diff --git a/pkgs/development/python-modules/tokenizers/default.nix b/pkgs/development/python-modules/tokenizers/default.nix index 4b73b4c38b9a..12b3b6b5d8b1 100644 --- a/pkgs/development/python-modules/tokenizers/default.nix +++ b/pkgs/development/python-modules/tokenizers/default.nix @@ -57,7 +57,6 @@ buildPythonPackage (finalAttrs: { pname = "tokenizers"; version = "0.23.2"; pyproject = true; - __structuredAttrs = true; src = fetchFromGitHub { owner = "huggingface"; From e240eccdc4026c5132d3a368fc9caee8faf82e1e Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 22:53:42 +0200 Subject: [PATCH 1472/2378] python3Packages.tokenspeed-mla: remove redundant structuredAttrs --- pkgs/development/python-modules/tokenspeed-mla/bin.nix | 1 - pkgs/development/python-modules/tokenspeed-mla/default.nix | 1 - 2 files changed, 2 deletions(-) diff --git a/pkgs/development/python-modules/tokenspeed-mla/bin.nix b/pkgs/development/python-modules/tokenspeed-mla/bin.nix index d995e52b5d3c..44e2ee7a4bc5 100644 --- a/pkgs/development/python-modules/tokenspeed-mla/bin.nix +++ b/pkgs/development/python-modules/tokenspeed-mla/bin.nix @@ -13,7 +13,6 @@ buildPythonPackage (finalAttrs: { pname = "tokenspeed-mla"; version = "0.2.10"; format = "wheel"; - __structuredAttrs = true; src = fetchPypi { format = "wheel"; diff --git a/pkgs/development/python-modules/tokenspeed-mla/default.nix b/pkgs/development/python-modules/tokenspeed-mla/default.nix index d22127a0da2d..6efd76f3ec12 100644 --- a/pkgs/development/python-modules/tokenspeed-mla/default.nix +++ b/pkgs/development/python-modules/tokenspeed-mla/default.nix @@ -16,7 +16,6 @@ buildPythonPackage (finalAttrs: { pname = "tokenspeed-mla"; version = "0.2.10"; pyproject = true; - __structuredAttrs = true; # No git tags. Using the commits named 'Update tokenspeed-mla to XXX' src = fetchFromGitHub { From 1ff0e529672ab5696a30d3ce695a2b2ef68fe956 Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 22:53:43 +0200 Subject: [PATCH 1473/2378] python3Packages.tokenspeed-triton: remove redundant structuredAttrs --- pkgs/development/python-modules/tokenspeed-triton/bin.nix | 1 - pkgs/development/python-modules/tokenspeed-triton/default.nix | 1 - 2 files changed, 2 deletions(-) diff --git a/pkgs/development/python-modules/tokenspeed-triton/bin.nix b/pkgs/development/python-modules/tokenspeed-triton/bin.nix index e08a754480d9..7b48c06eaa09 100644 --- a/pkgs/development/python-modules/tokenspeed-triton/bin.nix +++ b/pkgs/development/python-modules/tokenspeed-triton/bin.nix @@ -37,7 +37,6 @@ buildPythonPackage (finalAttrs: { pname = "tokenspeed-triton"; version = "3.8.10.post20260920"; pyproject = false; - __structuredAttrs = true; src = fetchPypi { format = "wheel"; diff --git a/pkgs/development/python-modules/tokenspeed-triton/default.nix b/pkgs/development/python-modules/tokenspeed-triton/default.nix index 90de9eda745c..f15d8c30db58 100644 --- a/pkgs/development/python-modules/tokenspeed-triton/default.nix +++ b/pkgs/development/python-modules/tokenspeed-triton/default.nix @@ -22,7 +22,6 @@ buildPythonPackage (finalAttrs: { pname = "tokenspeed-triton"; version = "3.8.10.post20260920"; pyproject = true; - __structuredAttrs = true; src = fetchFromGitHub { owner = "lightseekorg"; From 94a09f98a86cdf4fc5e72ace6e8c3bd216c310b4 Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 22:53:43 +0200 Subject: [PATCH 1474/2378] python3Packages.torch-audiomentations: remove redundant structuredAttrs --- .../development/python-modules/torch-audiomentations/default.nix | 1 - 1 file changed, 1 deletion(-) diff --git a/pkgs/development/python-modules/torch-audiomentations/default.nix b/pkgs/development/python-modules/torch-audiomentations/default.nix index 4ba31489dd6a..dbfa7cbbb5e2 100644 --- a/pkgs/development/python-modules/torch-audiomentations/default.nix +++ b/pkgs/development/python-modules/torch-audiomentations/default.nix @@ -23,7 +23,6 @@ buildPythonPackage (finalAttrs: { pname = "torch-audiomentations"; version = "0.12.0"; pyproject = true; - __structuredAttrs = true; src = fetchFromGitHub { owner = "asteroid-team"; From 0e791a537815acf965b483c17df754e0020af66b Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 22:53:43 +0200 Subject: [PATCH 1475/2378] python3Packages.torch-c-dlpack-ext: remove redundant structuredAttrs --- pkgs/development/python-modules/torch-c-dlpack-ext/default.nix | 1 - 1 file changed, 1 deletion(-) diff --git a/pkgs/development/python-modules/torch-c-dlpack-ext/default.nix b/pkgs/development/python-modules/torch-c-dlpack-ext/default.nix index e7af468208f8..0f63215ef0a7 100644 --- a/pkgs/development/python-modules/torch-c-dlpack-ext/default.nix +++ b/pkgs/development/python-modules/torch-c-dlpack-ext/default.nix @@ -16,7 +16,6 @@ buildPythonPackage (finalAttrs: { version = "0.1.5"; inherit (apache-tvm-ffi) src; pyproject = true; - __structuredAttrs = true; sourceRoot = "${finalAttrs.src.name}/addons/torch_c_dlpack_ext"; From 4641e6330e09542b8177bb243f0baafcff8040d6 Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 22:53:44 +0200 Subject: [PATCH 1476/2378] python3Packages.torch-checkpointing: remove redundant structuredAttrs --- pkgs/development/python-modules/torch-checkpointing/default.nix | 1 - 1 file changed, 1 deletion(-) diff --git a/pkgs/development/python-modules/torch-checkpointing/default.nix b/pkgs/development/python-modules/torch-checkpointing/default.nix index 3b58d592ca92..0b8cc2947978 100644 --- a/pkgs/development/python-modules/torch-checkpointing/default.nix +++ b/pkgs/development/python-modules/torch-checkpointing/default.nix @@ -22,7 +22,6 @@ buildPythonPackage (finalAttrs: { pname = "torch-checkpointing"; version = "0.1.0"; pyproject = true; - __structuredAttrs = true; src = fetchFromGitHub { owner = "meta-pytorch"; From 2662b1c6cb0d2a5bc689404a8e912e05fc4e8607 Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 22:53:44 +0200 Subject: [PATCH 1477/2378] python3Packages.torch-cluster: remove redundant structuredAttrs --- pkgs/development/python-modules/torch-cluster/default.nix | 1 - 1 file changed, 1 deletion(-) diff --git a/pkgs/development/python-modules/torch-cluster/default.nix b/pkgs/development/python-modules/torch-cluster/default.nix index 0260e6e138ce..7d479e2a1223 100644 --- a/pkgs/development/python-modules/torch-cluster/default.nix +++ b/pkgs/development/python-modules/torch-cluster/default.nix @@ -25,7 +25,6 @@ buildPythonPackage.override { inherit (torch) stdenv; } (finalAttrs: { pname = "torch-cluster"; version = "1.6.3-unstable-2026-06-05"; pyproject = true; - __structuredAttrs = true; # Last stable release is from 2023 # Development is still active, but nothing was properly tagged on GitHub or Pypi From 67965f830dd7517bc1e1a1c132c1f4d6333429a9 Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 22:53:44 +0200 Subject: [PATCH 1478/2378] python3Packages.torch-ema: remove redundant structuredAttrs --- pkgs/development/python-modules/torch-ema/default.nix | 1 - 1 file changed, 1 deletion(-) diff --git a/pkgs/development/python-modules/torch-ema/default.nix b/pkgs/development/python-modules/torch-ema/default.nix index a81ee06f9a19..867a00f5fa07 100644 --- a/pkgs/development/python-modules/torch-ema/default.nix +++ b/pkgs/development/python-modules/torch-ema/default.nix @@ -18,7 +18,6 @@ buildPythonPackage (finalAttrs: { pname = "torch-ema"; version = "0.3.0"; pyproject = true; - __structuredAttrs = true; src = fetchFromGitHub { owner = "fadel"; From c155695ada4802b398d71db9318cbc0d3f133749 Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 22:53:45 +0200 Subject: [PATCH 1479/2378] python3Packages.torch-geometric: remove redundant structuredAttrs --- pkgs/development/python-modules/torch-geometric/default.nix | 1 - 1 file changed, 1 deletion(-) diff --git a/pkgs/development/python-modules/torch-geometric/default.nix b/pkgs/development/python-modules/torch-geometric/default.nix index 422ce0871cab..7424f1857c99 100644 --- a/pkgs/development/python-modules/torch-geometric/default.nix +++ b/pkgs/development/python-modules/torch-geometric/default.nix @@ -81,7 +81,6 @@ buildPythonPackage (finalAttrs: { pname = "torch-geometric"; version = "2.8.1"; pyproject = true; - __structuredAttrs = true; src = fetchFromGitHub { owner = "pyg-team"; From 59464d2f03cfbcd8faa8c2bfeb17b05c6f8a7937 Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 22:53:45 +0200 Subject: [PATCH 1480/2378] python3Packages.torch-memory-saver: remove redundant structuredAttrs --- pkgs/development/python-modules/torch-memory-saver/default.nix | 2 -- 1 file changed, 2 deletions(-) diff --git a/pkgs/development/python-modules/torch-memory-saver/default.nix b/pkgs/development/python-modules/torch-memory-saver/default.nix index d5706fd0b1a5..9d9621d4a5d3 100644 --- a/pkgs/development/python-modules/torch-memory-saver/default.nix +++ b/pkgs/development/python-modules/torch-memory-saver/default.nix @@ -24,8 +24,6 @@ buildPythonPackage.override { inherit (torch) stdenv; } (finalAttrs: { version = "0.0.9.post1"; pyproject = true; - __structuredAttrs = true; - src = fetchFromGitHub { owner = "fzyzcjy"; repo = "torch_memory_saver"; From 04b3080d94c545929c817bfdf8f310ddb167a4b9 Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 22:53:45 +0200 Subject: [PATCH 1481/2378] python3Packages.torch: remove redundant structuredAttrs --- pkgs/development/python-modules/torch/bin/default.nix | 1 - pkgs/development/python-modules/torch/source/default.nix | 1 - 2 files changed, 2 deletions(-) diff --git a/pkgs/development/python-modules/torch/bin/default.nix b/pkgs/development/python-modules/torch/bin/default.nix index abceb32b8eb7..36f1dc8e5930 100644 --- a/pkgs/development/python-modules/torch/bin/default.nix +++ b/pkgs/development/python-modules/torch/bin/default.nix @@ -43,7 +43,6 @@ let in buildPythonPackage { inherit version; - __structuredAttrs = true; pname = "torch"; # Don't forget to update torch to the same version. diff --git a/pkgs/development/python-modules/torch/source/default.nix b/pkgs/development/python-modules/torch/source/default.nix index a7bca6b0b8d4..3fb2c9cbc63b 100644 --- a/pkgs/development/python-modules/torch/source/default.nix +++ b/pkgs/development/python-modules/torch/source/default.nix @@ -294,7 +294,6 @@ buildPythonPackage.override { inherit stdenv; } (finalAttrs: { # Don't forget to update torch-bin to the same version. version = "2.13.0"; pyproject = true; - __structuredAttrs = true; outputs = [ "out" # output standard python package From 8b737cf53e3573caf3bf2b6619f8abd7f4e34cdf Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 22:53:46 +0200 Subject: [PATCH 1482/2378] python3Packages.torchcodec: remove redundant structuredAttrs --- pkgs/development/python-modules/torchcodec/default.nix | 1 - 1 file changed, 1 deletion(-) diff --git a/pkgs/development/python-modules/torchcodec/default.nix b/pkgs/development/python-modules/torchcodec/default.nix index cd8934ea9992..6519b2802cb1 100644 --- a/pkgs/development/python-modules/torchcodec/default.nix +++ b/pkgs/development/python-modules/torchcodec/default.nix @@ -51,7 +51,6 @@ buildPythonPackage.override { inherit (torch) stdenv; } (finalAttrs: { pname = "torchcodec"; version = "0.17.0"; pyproject = true; - __structuredAttrs = true; src = fetchFromGitHub { owner = "meta-pytorch"; From b9d9ea936c3d33ece0d13c9cd204cd3a11c1424c Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 22:53:46 +0200 Subject: [PATCH 1483/2378] python3Packages.torchdata: remove redundant structuredAttrs --- pkgs/development/python-modules/torchdata/default.nix | 1 - 1 file changed, 1 deletion(-) diff --git a/pkgs/development/python-modules/torchdata/default.nix b/pkgs/development/python-modules/torchdata/default.nix index ae6516a3d887..c4a6bc997a29 100644 --- a/pkgs/development/python-modules/torchdata/default.nix +++ b/pkgs/development/python-modules/torchdata/default.nix @@ -27,7 +27,6 @@ buildPythonPackage (finalAttrs: { pname = "torchdata"; version = "0.11.0"; pyproject = true; - __structuredAttrs = true; src = fetchFromGitHub { owner = "meta-pytorch"; From 96837834481e7fc2b4ac33a52913df5121a207ca Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 22:53:46 +0200 Subject: [PATCH 1484/2378] python3Packages.torchdiffeq: remove redundant structuredAttrs --- pkgs/development/python-modules/torchdiffeq/default.nix | 2 -- 1 file changed, 2 deletions(-) diff --git a/pkgs/development/python-modules/torchdiffeq/default.nix b/pkgs/development/python-modules/torchdiffeq/default.nix index 38a58dddb442..2da0fd944fe9 100644 --- a/pkgs/development/python-modules/torchdiffeq/default.nix +++ b/pkgs/development/python-modules/torchdiffeq/default.nix @@ -17,8 +17,6 @@ buildPythonPackage (finalAttrs: { version = "0.2.5"; pyproject = true; - __structuredAttrs = true; - src = fetchPypi { inherit (finalAttrs) pname version; hash = "sha256-tQ03YNE/0TjczqxlH0uAOW9E/vzr0DegM/7P6qnMEuc="; From 958eef386e05ecb7d8163045b5b34d5464b49845 Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 22:53:46 +0200 Subject: [PATCH 1485/2378] python3Packages.torchimplicit: remove redundant structuredAttrs --- pkgs/development/python-modules/torchimplicit/default.nix | 1 - 1 file changed, 1 deletion(-) diff --git a/pkgs/development/python-modules/torchimplicit/default.nix b/pkgs/development/python-modules/torchimplicit/default.nix index 356e58047b84..5177cfd8e44b 100644 --- a/pkgs/development/python-modules/torchimplicit/default.nix +++ b/pkgs/development/python-modules/torchimplicit/default.nix @@ -17,7 +17,6 @@ buildPythonPackage (finalAttrs: { pname = "torchimplicit"; version = "0.1.0"; pyproject = true; - __structuredAttrs = true; inherit (torchlensmaker) src From bf2e4fd38d4fca0806f0345976a96376a3f1022c Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 22:53:47 +0200 Subject: [PATCH 1486/2378] python3Packages.torchinfo: remove redundant structuredAttrs --- pkgs/development/python-modules/torchinfo/default.nix | 2 -- 1 file changed, 2 deletions(-) diff --git a/pkgs/development/python-modules/torchinfo/default.nix b/pkgs/development/python-modules/torchinfo/default.nix index 3e9a08bd8dcb..5caef7fda5c3 100644 --- a/pkgs/development/python-modules/torchinfo/default.nix +++ b/pkgs/development/python-modules/torchinfo/default.nix @@ -16,8 +16,6 @@ buildPythonPackage (finalAttrs: { version = "1.8.0"; pyproject = true; - __structuredAttrs = true; - src = fetchFromGitHub { owner = "TylerYep"; repo = "torchinfo"; From 2c07036653e3fb510e9bf4f576d289d61dbbe161 Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 22:53:47 +0200 Subject: [PATCH 1487/2378] python3Packages.torchlensmaker: remove redundant structuredAttrs --- pkgs/development/python-modules/torchlensmaker/default.nix | 1 - 1 file changed, 1 deletion(-) diff --git a/pkgs/development/python-modules/torchlensmaker/default.nix b/pkgs/development/python-modules/torchlensmaker/default.nix index 0b6db3a677f5..5900135f8e9f 100644 --- a/pkgs/development/python-modules/torchlensmaker/default.nix +++ b/pkgs/development/python-modules/torchlensmaker/default.nix @@ -28,7 +28,6 @@ buildPythonPackage (finalAttrs: { pname = "torchlensmaker"; version = "0.0.14"; pyproject = true; - __structuredAttrs = true; src = fetchFromGitHub { owner = "victorpoughon"; From 9765e573b376c12cc0220e882931801f2030a7be Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 22:53:47 +0200 Subject: [PATCH 1488/2378] python3Packages.torchlibrosa: remove redundant structuredAttrs --- pkgs/development/python-modules/torchlibrosa/default.nix | 2 -- 1 file changed, 2 deletions(-) diff --git a/pkgs/development/python-modules/torchlibrosa/default.nix b/pkgs/development/python-modules/torchlibrosa/default.nix index e98d5515fcd5..79a2e1b0058b 100644 --- a/pkgs/development/python-modules/torchlibrosa/default.nix +++ b/pkgs/development/python-modules/torchlibrosa/default.nix @@ -13,8 +13,6 @@ buildPythonPackage (finalAttrs: { version = "0.1.0"; pyproject = true; - __structuredAttrs = true; - src = fetchPypi { inherit (finalAttrs) pname version; hash = "sha256-Yqi+7fnJtBQaBiNN8/ECKfe6huZ2eMzuAkiexO8EQCg="; From 1742c503df4ed3055e884a91cf0b2250b30ea7cc Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 22:53:48 +0200 Subject: [PATCH 1489/2378] python3Packages.torchmd-net: remove redundant structuredAttrs --- pkgs/development/python-modules/torchmd-net/default.nix | 1 - 1 file changed, 1 deletion(-) diff --git a/pkgs/development/python-modules/torchmd-net/default.nix b/pkgs/development/python-modules/torchmd-net/default.nix index 2d1750a5141d..cfc607dcc9e7 100644 --- a/pkgs/development/python-modules/torchmd-net/default.nix +++ b/pkgs/development/python-modules/torchmd-net/default.nix @@ -28,7 +28,6 @@ buildPythonPackage (finalAttrs: { pname = "torchmd-net"; version = "3.0.3"; pyproject = true; - __structuredAttrs = true; src = fetchFromGitHub { owner = "torchmd"; From 4949ae8d2c3cfefcb1b619a54448c92b0c4dc3f0 Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 22:53:48 +0200 Subject: [PATCH 1490/2378] python3Packages.torchrl: remove redundant structuredAttrs --- pkgs/development/python-modules/torchrl/default.nix | 1 - 1 file changed, 1 deletion(-) diff --git a/pkgs/development/python-modules/torchrl/default.nix b/pkgs/development/python-modules/torchrl/default.nix index 6e215163b6e7..aa23c6d0f9df 100644 --- a/pkgs/development/python-modules/torchrl/default.nix +++ b/pkgs/development/python-modules/torchrl/default.nix @@ -80,7 +80,6 @@ buildPythonPackage (finalAttrs: { pname = "torchrl"; version = "0.14.1"; pyproject = true; - __structuredAttrs = true; src = fetchFromGitHub { owner = "pytorch"; From dbc7ec42514dc67469179d58995938afcadf3940 Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 22:53:48 +0200 Subject: [PATCH 1491/2378] python3Packages.torchrunx: remove redundant structuredAttrs --- pkgs/development/python-modules/torchrunx/default.nix | 1 - 1 file changed, 1 deletion(-) diff --git a/pkgs/development/python-modules/torchrunx/default.nix b/pkgs/development/python-modules/torchrunx/default.nix index 42a8aaacbe9f..36b825b04b33 100644 --- a/pkgs/development/python-modules/torchrunx/default.nix +++ b/pkgs/development/python-modules/torchrunx/default.nix @@ -23,7 +23,6 @@ buildPythonPackage (finalAttrs: { pname = "torchrunx"; version = "0.4.0"; pyproject = true; - __structuredAttrs = true; src = fetchFromGitHub { owner = "apoorvkh"; From 857a196988cd76df361cafa0b16fc031d0aad2e6 Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 22:53:48 +0200 Subject: [PATCH 1492/2378] python3Packages.torchsnapshot: remove redundant structuredAttrs --- pkgs/development/python-modules/torchsnapshot/default.nix | 1 - 1 file changed, 1 deletion(-) diff --git a/pkgs/development/python-modules/torchsnapshot/default.nix b/pkgs/development/python-modules/torchsnapshot/default.nix index 97bf01d541a7..a6f3ea38c6ab 100644 --- a/pkgs/development/python-modules/torchsnapshot/default.nix +++ b/pkgs/development/python-modules/torchsnapshot/default.nix @@ -27,7 +27,6 @@ buildPythonPackage (finalAttrs: { pname = "torchsnapshot"; version = "0.1.0"; pyproject = true; - __structuredAttrs = true; src = fetchFromGitHub { owner = "pytorch"; From 7f38e4a53c2cf50370bb1d1842e6cb7ec7e7d381 Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 22:53:49 +0200 Subject: [PATCH 1493/2378] python3Packages.torchsummary: remove redundant structuredAttrs --- pkgs/development/python-modules/torchsummary/default.nix | 1 - 1 file changed, 1 deletion(-) diff --git a/pkgs/development/python-modules/torchsummary/default.nix b/pkgs/development/python-modules/torchsummary/default.nix index 7c0c4c583363..af51bea65195 100644 --- a/pkgs/development/python-modules/torchsummary/default.nix +++ b/pkgs/development/python-modules/torchsummary/default.nix @@ -15,7 +15,6 @@ buildPythonPackage (finalAttrs: { pname = "torchsummary"; version = "1.5.1"; pyproject = true; - __structuredAttrs = true; # No tags on GitHub src = fetchPypi { From 99acdcf06a907ea63b36b8e165e6623f1604c4f2 Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 22:53:49 +0200 Subject: [PATCH 1494/2378] python3Packages.torchtitan: remove redundant structuredAttrs --- pkgs/development/python-modules/torchtitan/default.nix | 1 - 1 file changed, 1 deletion(-) diff --git a/pkgs/development/python-modules/torchtitan/default.nix b/pkgs/development/python-modules/torchtitan/default.nix index f8fd8b61496a..3a5dcd31e45f 100644 --- a/pkgs/development/python-modules/torchtitan/default.nix +++ b/pkgs/development/python-modules/torchtitan/default.nix @@ -36,7 +36,6 @@ buildPythonPackage (finalAttrs: { pname = "torchtitan"; version = "0.3.0"; pyproject = true; - __structuredAttrs = true; src = fetchFromGitHub { owner = "pytorch"; From 2e2b3ef5d54473fd8f6dd52b4a99f2d90455e8e0 Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 22:53:49 +0200 Subject: [PATCH 1495/2378] python3Packages.torchvision: remove redundant structuredAttrs --- pkgs/development/python-modules/torchvision/bin.nix | 1 - pkgs/development/python-modules/torchvision/default.nix | 1 - 2 files changed, 2 deletions(-) diff --git a/pkgs/development/python-modules/torchvision/bin.nix b/pkgs/development/python-modules/torchvision/bin.nix index 8cca3a8bb4ba..b08f73b9efc2 100644 --- a/pkgs/development/python-modules/torchvision/bin.nix +++ b/pkgs/development/python-modules/torchvision/bin.nix @@ -28,7 +28,6 @@ buildPythonPackage { pname = "torchvision"; inherit version; format = "wheel"; - __structuredAttrs = true; src = fetchurl srcs."${stdenv.system}-${pyVerNoDot}" or unsupported; diff --git a/pkgs/development/python-modules/torchvision/default.nix b/pkgs/development/python-modules/torchvision/default.nix index e1164bece82e..5c7d6ef8fbb7 100644 --- a/pkgs/development/python-modules/torchvision/default.nix +++ b/pkgs/development/python-modules/torchvision/default.nix @@ -30,7 +30,6 @@ buildPythonPackage.override { inherit (torch) stdenv; } (finalAttrs: { pname = "torchvision"; version = "0.28.0"; pyproject = true; - __structuredAttrs = true; src = fetchFromGitHub { owner = "pytorch"; From 8ce4395c2bd75d08655189d7ffb1ec6f79313e8a Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 22:53:50 +0200 Subject: [PATCH 1496/2378] python3Packages.torpy: remove redundant structuredAttrs --- pkgs/development/python-modules/torpy/default.nix | 2 -- 1 file changed, 2 deletions(-) diff --git a/pkgs/development/python-modules/torpy/default.nix b/pkgs/development/python-modules/torpy/default.nix index 5030ac3a826b..8bf893730bfe 100644 --- a/pkgs/development/python-modules/torpy/default.nix +++ b/pkgs/development/python-modules/torpy/default.nix @@ -13,8 +13,6 @@ buildPythonPackage (finalAttrs: { version = "1.1.6"; pyproject = true; - __structuredAttrs = true; - src = fetchFromGitHub { owner = "torpyorg"; repo = "torpy"; From 2a90511e3c55221da0b448499b8b998b4e32b581 Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 22:53:50 +0200 Subject: [PATCH 1497/2378] python3Packages.torrequest: remove redundant structuredAttrs --- pkgs/development/python-modules/torrequest/default.nix | 2 -- 1 file changed, 2 deletions(-) diff --git a/pkgs/development/python-modules/torrequest/default.nix b/pkgs/development/python-modules/torrequest/default.nix index 36945997075e..c7aa28952079 100644 --- a/pkgs/development/python-modules/torrequest/default.nix +++ b/pkgs/development/python-modules/torrequest/default.nix @@ -13,8 +13,6 @@ buildPythonPackage (finalAttrs: { version = "0.1.0"; pyproject = true; - __structuredAttrs = true; - src = fetchPypi { inherit (finalAttrs) pname version; hash = "sha256-N0XU6j/9qY16A0Njx4ets3qrd72rQAlKTZNzks1NroI="; From e568495fb3e43c2defd589deeaea5961acca3c65 Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 22:53:50 +0200 Subject: [PATCH 1498/2378] python3Packages.trackers: remove redundant structuredAttrs --- pkgs/development/python-modules/trackers/default.nix | 1 - 1 file changed, 1 deletion(-) diff --git a/pkgs/development/python-modules/trackers/default.nix b/pkgs/development/python-modules/trackers/default.nix index 8baaacca4d9e..632d2ee0e60d 100644 --- a/pkgs/development/python-modules/trackers/default.nix +++ b/pkgs/development/python-modules/trackers/default.nix @@ -19,7 +19,6 @@ buildPythonPackage (finalAttrs: { pname = "trackers"; version = "2.5.0"; pyproject = true; - __structuredAttrs = true; src = fetchFromGitHub { owner = "roboflow"; From b856130468a4cfa746f792a76e7d31215d8e45b8 Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 22:53:50 +0200 Subject: [PATCH 1499/2378] python3Packages.trafilatura: remove redundant structuredAttrs --- pkgs/development/python-modules/trafilatura/default.nix | 1 - 1 file changed, 1 deletion(-) diff --git a/pkgs/development/python-modules/trafilatura/default.nix b/pkgs/development/python-modules/trafilatura/default.nix index 2b3093d1c988..0ebf68d535da 100644 --- a/pkgs/development/python-modules/trafilatura/default.nix +++ b/pkgs/development/python-modules/trafilatura/default.nix @@ -25,7 +25,6 @@ buildPythonPackage (finalAttrs: { pname = "trafilatura"; version = "2.3.1"; pyproject = true; - __structuredAttrs = true; src = fetchFromGitHub { owner = "adbar"; From a07ed597cb7fe366fa556a778ece564d5cfe5d41 Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 22:53:51 +0200 Subject: [PATCH 1500/2378] python3Packages.trampoline: remove redundant structuredAttrs --- pkgs/development/python-modules/trampoline/default.nix | 2 -- 1 file changed, 2 deletions(-) diff --git a/pkgs/development/python-modules/trampoline/default.nix b/pkgs/development/python-modules/trampoline/default.nix index ef8997a8c409..08a3ebb68d0d 100644 --- a/pkgs/development/python-modules/trampoline/default.nix +++ b/pkgs/development/python-modules/trampoline/default.nix @@ -11,8 +11,6 @@ buildPythonPackage { version = "0.1.2"; pyproject = true; - __structuredAttrs = true; - # only wheel on pypi, no tags on git src = fetchFromGitLab { owner = "ferreum"; From 8302b532227aa2d3c8f6c5312f7e83c44d86492f Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 22:53:51 +0200 Subject: [PATCH 1501/2378] python3Packages.transformer-engine: remove redundant structuredAttrs --- pkgs/development/python-modules/transformer-engine/default.nix | 1 - 1 file changed, 1 deletion(-) diff --git a/pkgs/development/python-modules/transformer-engine/default.nix b/pkgs/development/python-modules/transformer-engine/default.nix index 8aa88ea1484c..2f6caf3c4470 100644 --- a/pkgs/development/python-modules/transformer-engine/default.nix +++ b/pkgs/development/python-modules/transformer-engine/default.nix @@ -96,7 +96,6 @@ buildPythonPackage.override { stdenv = backendStdenv; } (finalAttrs: { pname = "transformer-engine"; version = "2.20.2"; pyproject = true; - __structuredAttrs = true; src = fetchFromGitHub { owner = "NVIDIA"; From df96086f14b4e7a9dbb87f9cf330de1e0f6e7de9 Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 22:53:51 +0200 Subject: [PATCH 1502/2378] python3Packages.transformers: remove redundant structuredAttrs --- pkgs/development/python-modules/transformers/default.nix | 1 - 1 file changed, 1 deletion(-) diff --git a/pkgs/development/python-modules/transformers/default.nix b/pkgs/development/python-modules/transformers/default.nix index 89dadbe00427..df3112d4d69a 100644 --- a/pkgs/development/python-modules/transformers/default.nix +++ b/pkgs/development/python-modules/transformers/default.nix @@ -95,7 +95,6 @@ buildPythonPackage (finalAttrs: { pname = "transformers"; version = "5.17.0"; pyproject = true; - __structuredAttrs = true; src = fetchFromGitHub { owner = "huggingface"; From f46fb535a29ec0b7d8e7f37781e7aca95407ab12 Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 22:53:52 +0200 Subject: [PATCH 1503/2378] python3Packages.translate-toolkit: remove redundant structuredAttrs --- pkgs/development/python-modules/translate-toolkit/default.nix | 1 - 1 file changed, 1 deletion(-) diff --git a/pkgs/development/python-modules/translate-toolkit/default.nix b/pkgs/development/python-modules/translate-toolkit/default.nix index 63d2bb9261ad..5b5d825ad149 100644 --- a/pkgs/development/python-modules/translate-toolkit/default.nix +++ b/pkgs/development/python-modules/translate-toolkit/default.nix @@ -36,7 +36,6 @@ buildPythonPackage (finalAttrs: { pname = "translate-toolkit"; version = "3.19.19"; pyproject = true; - __structuredAttrs = true; # nixpkgs-update: no auto update # Only weblate uses this and we want to follow its version constraints From 9e36a20d79343dd7f8d7b201527aeb787d516db6 Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 22:53:52 +0200 Subject: [PATCH 1504/2378] python3Packages.translatepy: remove redundant structuredAttrs --- pkgs/development/python-modules/translatepy/default.nix | 2 -- 1 file changed, 2 deletions(-) diff --git a/pkgs/development/python-modules/translatepy/default.nix b/pkgs/development/python-modules/translatepy/default.nix index 50f13f6d4cd9..f2bebbf5ff83 100644 --- a/pkgs/development/python-modules/translatepy/default.nix +++ b/pkgs/development/python-modules/translatepy/default.nix @@ -16,8 +16,6 @@ buildPythonPackage (finalAttrs: { version = "2.3"; pyproject = true; - __structuredAttrs = true; - src = fetchFromGitHub { owner = "Animenosekai"; repo = "translate"; From 5df0df712c0bdcca03dd55bcded38a5c141d2628 Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 22:53:52 +0200 Subject: [PATCH 1505/2378] python3Packages.translation-finder: remove redundant structuredAttrs --- pkgs/development/python-modules/translation-finder/default.nix | 1 - 1 file changed, 1 deletion(-) diff --git a/pkgs/development/python-modules/translation-finder/default.nix b/pkgs/development/python-modules/translation-finder/default.nix index 614a1e796649..2a54a3202e7b 100644 --- a/pkgs/development/python-modules/translation-finder/default.nix +++ b/pkgs/development/python-modules/translation-finder/default.nix @@ -15,7 +15,6 @@ buildPythonPackage (finalAttrs: { version = "3.4.0"; pyproject = true; - __structuredAttrs = true; # nixpkgs-update: no auto update # Only weblate uses this and we want to follow its version constraints From ae4d4effe221cfa6f4189df6a59dd75359dff9ac Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 22:53:52 +0200 Subject: [PATCH 1506/2378] python3Packages.translationstring: remove redundant structuredAttrs --- pkgs/development/python-modules/translationstring/default.nix | 2 -- 1 file changed, 2 deletions(-) diff --git a/pkgs/development/python-modules/translationstring/default.nix b/pkgs/development/python-modules/translationstring/default.nix index af6e252f0018..4ca33ea17190 100644 --- a/pkgs/development/python-modules/translationstring/default.nix +++ b/pkgs/development/python-modules/translationstring/default.nix @@ -11,8 +11,6 @@ buildPythonPackage (finalAttrs: { version = "1.4"; pyproject = true; - __structuredAttrs = true; - src = fetchPypi { inherit (finalAttrs) pname version; hash = "sha256-v5R1ONduaboSqxcoOxA1Wp7PvAeOYSNEP0PyEH9jdvM="; From b56fb73a73ef0bc79263132967b6042312bd321c Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 22:53:53 +0200 Subject: [PATCH 1507/2378] python3Packages.translitcodec: remove redundant structuredAttrs --- pkgs/development/python-modules/translitcodec/default.nix | 2 -- 1 file changed, 2 deletions(-) diff --git a/pkgs/development/python-modules/translitcodec/default.nix b/pkgs/development/python-modules/translitcodec/default.nix index 5755be06e5d6..153333b9561f 100644 --- a/pkgs/development/python-modules/translitcodec/default.nix +++ b/pkgs/development/python-modules/translitcodec/default.nix @@ -15,8 +15,6 @@ buildPythonPackage { pyproject = true; - __structuredAttrs = true; - src = fetchFromGitHub { owner = "claudep"; repo = "translitcodec"; From 9d521c91e96eb01989cb0f00747f87acf3f8a89f Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 22:53:53 +0200 Subject: [PATCH 1508/2378] python3Packages.trectools: remove redundant structuredAttrs --- pkgs/development/python-modules/trectools/default.nix | 2 -- 1 file changed, 2 deletions(-) diff --git a/pkgs/development/python-modules/trectools/default.nix b/pkgs/development/python-modules/trectools/default.nix index 97f45327bc25..e0ded7dbb8f7 100644 --- a/pkgs/development/python-modules/trectools/default.nix +++ b/pkgs/development/python-modules/trectools/default.nix @@ -20,8 +20,6 @@ buildPythonPackage { version = "0.0.50"; pyproject = true; - __structuredAttrs = true; - src = fetchFromGitHub { owner = "joaopalotti"; repo = "trectools"; From b104afc06af262b6ec4eafa4407e60038c2ed1d4 Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 22:53:53 +0200 Subject: [PATCH 1509/2378] python3Packages.tree-sitter-sql: remove redundant structuredAttrs --- pkgs/development/python-modules/tree-sitter-sql/default.nix | 1 - 1 file changed, 1 deletion(-) diff --git a/pkgs/development/python-modules/tree-sitter-sql/default.nix b/pkgs/development/python-modules/tree-sitter-sql/default.nix index 5b83a39db9e4..06d99deef99a 100644 --- a/pkgs/development/python-modules/tree-sitter-sql/default.nix +++ b/pkgs/development/python-modules/tree-sitter-sql/default.nix @@ -15,7 +15,6 @@ buildPythonPackage (finalAttrs: { pname = "tree-sitter-sql"; version = "0.3.11"; pyproject = true; - __structuredAttrs = true; # The git tree does not contain the generated parser (`src/parser.c`), which is required for # compilation. Only the release tarball ships it. From eab9b654e692511502d8dca919dcb9cad1cb39c5 Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 22:53:53 +0200 Subject: [PATCH 1510/2378] python3Packages.treescope: remove redundant structuredAttrs --- pkgs/development/python-modules/treescope/default.nix | 1 - 1 file changed, 1 deletion(-) diff --git a/pkgs/development/python-modules/treescope/default.nix b/pkgs/development/python-modules/treescope/default.nix index ad077140ea48..8ca7b4b15bf7 100644 --- a/pkgs/development/python-modules/treescope/default.nix +++ b/pkgs/development/python-modules/treescope/default.nix @@ -28,7 +28,6 @@ buildPythonPackage (finalAttrs: { pname = "treescope"; version = "0.1.10"; pyproject = true; - __structuredAttrs = true; src = fetchFromGitHub { owner = "google-deepmind"; From 72452efe6eaa48444f69a2633ee83af46c0f4ac8 Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 22:53:54 +0200 Subject: [PATCH 1511/2378] python3Packages.triton: remove redundant structuredAttrs --- pkgs/development/python-modules/triton/bin.nix | 1 - pkgs/development/python-modules/triton/default.nix | 1 - 2 files changed, 2 deletions(-) diff --git a/pkgs/development/python-modules/triton/bin.nix b/pkgs/development/python-modules/triton/bin.nix index d8d36a7f1a59..7d2b5970d18e 100644 --- a/pkgs/development/python-modules/triton/bin.nix +++ b/pkgs/development/python-modules/triton/bin.nix @@ -18,7 +18,6 @@ buildPythonPackage (finalAttrs: { pname = "triton"; version = "3.7.1"; format = "wheel"; - __structuredAttrs = true; src = let diff --git a/pkgs/development/python-modules/triton/default.nix b/pkgs/development/python-modules/triton/default.nix index b82dcbe3e6f4..e236d9a7004b 100644 --- a/pkgs/development/python-modules/triton/default.nix +++ b/pkgs/development/python-modules/triton/default.nix @@ -49,7 +49,6 @@ buildPythonPackage.override { stdenv = effectiveStdenv; } (finalAttrs: { pname = "triton"; version = "3.7.1"; pyproject = true; - __structuredAttrs = true; # Remember to bump triton-llvm as well! src = fetchFromGitHub { From b2f651e0d6f081f2051b8306fb98e48791beecd8 Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 22:53:54 +0200 Subject: [PATCH 1512/2378] python3Packages.troposphere: remove redundant structuredAttrs --- pkgs/development/python-modules/troposphere/default.nix | 2 -- 1 file changed, 2 deletions(-) diff --git a/pkgs/development/python-modules/troposphere/default.nix b/pkgs/development/python-modules/troposphere/default.nix index b4c3c7797687..5b38588546d0 100644 --- a/pkgs/development/python-modules/troposphere/default.nix +++ b/pkgs/development/python-modules/troposphere/default.nix @@ -13,8 +13,6 @@ buildPythonPackage (finalAttrs: { version = "4.10.2"; pyproject = true; - __structuredAttrs = true; - src = fetchFromGitHub { owner = "cloudtools"; repo = "troposphere"; From 85668be780418315fda608e64bf9f3333959c3bc Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 22:53:55 +0200 Subject: [PATCH 1513/2378] python3Packages.trueskill: remove redundant structuredAttrs --- pkgs/development/python-modules/trueskill/default.nix | 2 -- 1 file changed, 2 deletions(-) diff --git a/pkgs/development/python-modules/trueskill/default.nix b/pkgs/development/python-modules/trueskill/default.nix index ce70d2543876..a40fc9f3f63b 100644 --- a/pkgs/development/python-modules/trueskill/default.nix +++ b/pkgs/development/python-modules/trueskill/default.nix @@ -11,8 +11,6 @@ buildPythonPackage (finalAttrs: { version = "0.4.5"; pyproject = true; - __structuredAttrs = true; - src = fetchPypi { pname = "trueskill"; inherit (finalAttrs) version; From ec03ac460f3fa89d9b7728ea62041af1c2e4c4fd Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 22:53:55 +0200 Subject: [PATCH 1514/2378] python3Packages.tt-flash: remove redundant structuredAttrs --- pkgs/development/python-modules/tt-flash/default.nix | 2 -- 1 file changed, 2 deletions(-) diff --git a/pkgs/development/python-modules/tt-flash/default.nix b/pkgs/development/python-modules/tt-flash/default.nix index 9ef363561095..2fb839388ccc 100644 --- a/pkgs/development/python-modules/tt-flash/default.nix +++ b/pkgs/development/python-modules/tt-flash/default.nix @@ -21,8 +21,6 @@ buildPythonPackage (finalAttrs: { version = "4.1.0"; pyproject = true; - __structuredAttrs = true; - src = fetchFromGitHub { owner = "tenstorrent"; repo = "tt-flash"; From a3136ec5bb6f7cf2558224db4caa41dc3254540a Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 22:53:55 +0200 Subject: [PATCH 1515/2378] python3Packages.tt-perf-report: remove redundant structuredAttrs --- pkgs/development/python-modules/tt-perf-report/default.nix | 1 - 1 file changed, 1 deletion(-) diff --git a/pkgs/development/python-modules/tt-perf-report/default.nix b/pkgs/development/python-modules/tt-perf-report/default.nix index 1535db15f8aa..4ae511e791b6 100644 --- a/pkgs/development/python-modules/tt-perf-report/default.nix +++ b/pkgs/development/python-modules/tt-perf-report/default.nix @@ -16,7 +16,6 @@ buildPythonPackage (finalAttrs: { pname = "tt-perf-report"; version = "1.2.4"; pyproject = true; - __structuredAttrs = true; src = fetchFromGitHub { owner = "tenstorrent"; From a47f2a4e7da23879df967215e10f7d25a47d604a Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 22:53:56 +0200 Subject: [PATCH 1516/2378] python3Packages.ttach: remove redundant structuredAttrs --- pkgs/development/python-modules/ttach/default.nix | 2 -- 1 file changed, 2 deletions(-) diff --git a/pkgs/development/python-modules/ttach/default.nix b/pkgs/development/python-modules/ttach/default.nix index c8f239f033c2..3e8810d9de59 100644 --- a/pkgs/development/python-modules/ttach/default.nix +++ b/pkgs/development/python-modules/ttach/default.nix @@ -12,8 +12,6 @@ buildPythonPackage (finalAttrs: { version = "0.0.3"; pyproject = true; - __structuredAttrs = true; - src = fetchFromGitHub { owner = "qubvel"; repo = "ttach"; From 517f0e3649e99eb00625ad8d8f5931f0305bec9c Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 22:53:56 +0200 Subject: [PATCH 1517/2378] python3Packages.ttconv: remove redundant structuredAttrs --- pkgs/development/python-modules/ttconv/default.nix | 2 -- 1 file changed, 2 deletions(-) diff --git a/pkgs/development/python-modules/ttconv/default.nix b/pkgs/development/python-modules/ttconv/default.nix index ea7ab76ced6b..0957d63f5a1f 100644 --- a/pkgs/development/python-modules/ttconv/default.nix +++ b/pkgs/development/python-modules/ttconv/default.nix @@ -30,8 +30,6 @@ buildPythonPackage (finalAttrs: { runHook postInstallCheck ''; - __structuredAttrs = true; - meta = { description = "Timed Text Conversion"; longDescription = '' From be8b499cf6c4c6820c37947e9120dcce02f7bf00 Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 22:53:56 +0200 Subject: [PATCH 1518/2378] python3Packages.ttstokenizer: remove redundant structuredAttrs --- pkgs/development/python-modules/ttstokenizer/default.nix | 2 -- 1 file changed, 2 deletions(-) diff --git a/pkgs/development/python-modules/ttstokenizer/default.nix b/pkgs/development/python-modules/ttstokenizer/default.nix index 0aa28b5fbbb5..e7291b7aff85 100644 --- a/pkgs/development/python-modules/ttstokenizer/default.nix +++ b/pkgs/development/python-modules/ttstokenizer/default.nix @@ -14,8 +14,6 @@ buildPythonPackage (finalAttrs: { version = "1.1.0"; pyproject = true; - __structuredAttrs = true; - src = fetchPypi { inherit (finalAttrs) pname version; hash = "sha256-akXiscw57CMp2JDdJq7wqeBeML41yLyFh7fTZwEBlVA="; From 9d8cedb01266b4fd655eedb507f319cf325810cb Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 22:53:56 +0200 Subject: [PATCH 1519/2378] python3Packages.txdbus: remove redundant structuredAttrs --- pkgs/development/python-modules/txdbus/default.nix | 2 -- 1 file changed, 2 deletions(-) diff --git a/pkgs/development/python-modules/txdbus/default.nix b/pkgs/development/python-modules/txdbus/default.nix index 9271bfda2133..8d2ec1632c72 100644 --- a/pkgs/development/python-modules/txdbus/default.nix +++ b/pkgs/development/python-modules/txdbus/default.nix @@ -12,8 +12,6 @@ buildPythonPackage (finalAttrs: { version = "1.1.2"; pyproject = true; - __structuredAttrs = true; - src = fetchPypi { pname = "txdbus"; inherit (finalAttrs) version; From 4e5a8bd3e415bf87b2978e3e38cdf244e43b8321 Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 22:53:57 +0200 Subject: [PATCH 1520/2378] python3Packages.txrequests: remove redundant structuredAttrs --- pkgs/development/python-modules/txrequests/default.nix | 2 -- 1 file changed, 2 deletions(-) diff --git a/pkgs/development/python-modules/txrequests/default.nix b/pkgs/development/python-modules/txrequests/default.nix index 0fbe35409bf6..e35ecc68d19b 100644 --- a/pkgs/development/python-modules/txrequests/default.nix +++ b/pkgs/development/python-modules/txrequests/default.nix @@ -14,8 +14,6 @@ buildPythonPackage (finalAttrs: { version = "0.9.6"; pyproject = true; - __structuredAttrs = true; - src = fetchPypi { inherit (finalAttrs) pname version; hash = "sha256-tFKhyvpNAFZ49vpHkiozD+tJB9W0cy0YQcqY6J8TYuE="; From ffd4e8d55cbbf97e58b1e087d57aaae21211c6ce Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 22:53:57 +0200 Subject: [PATCH 1521/2378] python3Packages.txzmq: remove redundant structuredAttrs --- pkgs/development/python-modules/txzmq/default.nix | 2 -- 1 file changed, 2 deletions(-) diff --git a/pkgs/development/python-modules/txzmq/default.nix b/pkgs/development/python-modules/txzmq/default.nix index 2789142ee214..1139000b4e12 100644 --- a/pkgs/development/python-modules/txzmq/default.nix +++ b/pkgs/development/python-modules/txzmq/default.nix @@ -13,8 +13,6 @@ buildPythonPackage (finalAttrs: { version = "1.0.0"; pyproject = true; - __structuredAttrs = true; - src = fetchPypi { inherit (finalAttrs) version; pname = "txZMQ"; From 57e6aefb0a80f6ccf09482c44bd5e831a2256d26 Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 22:53:57 +0200 Subject: [PATCH 1522/2378] python3Packages.types-appdirs: remove redundant structuredAttrs --- pkgs/development/python-modules/types-appdirs/default.nix | 2 -- 1 file changed, 2 deletions(-) diff --git a/pkgs/development/python-modules/types-appdirs/default.nix b/pkgs/development/python-modules/types-appdirs/default.nix index c834cd6adb0b..d01da66f1c3d 100644 --- a/pkgs/development/python-modules/types-appdirs/default.nix +++ b/pkgs/development/python-modules/types-appdirs/default.nix @@ -10,8 +10,6 @@ buildPythonPackage (finalAttrs: { version = "1.4.3.5"; pyproject = true; - __structuredAttrs = true; - src = fetchPypi { inherit (finalAttrs) pname version; hash = "sha256-gyaNpkWFNhv6KR+PUGogknYhKgSXvTfwUSqTmz1p/xQ="; From eaf0b752f8f52dad29e1bd66f63bac1664def0f3 Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 22:53:58 +0200 Subject: [PATCH 1523/2378] python3Packages.types-freezegun: remove redundant structuredAttrs --- pkgs/development/python-modules/types-freezegun/default.nix | 2 -- 1 file changed, 2 deletions(-) diff --git a/pkgs/development/python-modules/types-freezegun/default.nix b/pkgs/development/python-modules/types-freezegun/default.nix index 4179bb10949b..4e717c4d0cb8 100644 --- a/pkgs/development/python-modules/types-freezegun/default.nix +++ b/pkgs/development/python-modules/types-freezegun/default.nix @@ -10,8 +10,6 @@ buildPythonPackage (finalAttrs: { version = "1.1.10"; pyproject = true; - __structuredAttrs = true; - src = fetchPypi { pname = "types-freezegun"; inherit (finalAttrs) version; From c83b723d0dc82fdf0bef5cb7b5b666f8fca53191 Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 22:53:58 +0200 Subject: [PATCH 1524/2378] python3Packages.types-futures: remove redundant structuredAttrs --- pkgs/development/python-modules/types-futures/default.nix | 2 -- 1 file changed, 2 deletions(-) diff --git a/pkgs/development/python-modules/types-futures/default.nix b/pkgs/development/python-modules/types-futures/default.nix index d14012b90917..307b23bd9b22 100644 --- a/pkgs/development/python-modules/types-futures/default.nix +++ b/pkgs/development/python-modules/types-futures/default.nix @@ -10,8 +10,6 @@ buildPythonPackage (finalAttrs: { version = "3.3.8"; pyproject = true; - __structuredAttrs = true; - src = fetchPypi { inherit (finalAttrs) pname version; hash = "sha256-b+jMwsKvfvL92b9z6rbWFwdPCfMK19NzUQtAQ9OcQt4="; From 17b519c8bc5597f252d7a2dd204bba1a09fccb54 Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 22:53:58 +0200 Subject: [PATCH 1525/2378] python3Packages.types-ipaddress: remove redundant structuredAttrs --- pkgs/development/python-modules/types-ipaddress/default.nix | 2 -- 1 file changed, 2 deletions(-) diff --git a/pkgs/development/python-modules/types-ipaddress/default.nix b/pkgs/development/python-modules/types-ipaddress/default.nix index 3bb89f29f7d8..4648179f17fb 100644 --- a/pkgs/development/python-modules/types-ipaddress/default.nix +++ b/pkgs/development/python-modules/types-ipaddress/default.nix @@ -10,8 +10,6 @@ buildPythonPackage (finalAttrs: { version = "1.0.8"; pyproject = true; - __structuredAttrs = true; - src = fetchPypi { pname = "types-ipaddress"; inherit (finalAttrs) version; From b9516f7c92c530c292807dce2b13aeb165e8db32 Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 22:53:58 +0200 Subject: [PATCH 1526/2378] python3Packages.types-paramiko: remove redundant structuredAttrs --- pkgs/development/python-modules/types-paramiko/default.nix | 1 - 1 file changed, 1 deletion(-) diff --git a/pkgs/development/python-modules/types-paramiko/default.nix b/pkgs/development/python-modules/types-paramiko/default.nix index f9b3811cebc5..735b7b688f43 100644 --- a/pkgs/development/python-modules/types-paramiko/default.nix +++ b/pkgs/development/python-modules/types-paramiko/default.nix @@ -9,7 +9,6 @@ buildPythonPackage (finalAttrs: { pname = "types-paramiko"; version = "5.0.0.20261006"; pyproject = true; - __structuredAttrs = true; src = fetchPypi { pname = "types_paramiko"; From 1fa5fb7cc2e00c09c453fc8576b3657bfb495973 Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 22:53:59 +0200 Subject: [PATCH 1527/2378] python3Packages.types-pillow: remove redundant structuredAttrs --- pkgs/development/python-modules/types-pillow/default.nix | 2 -- 1 file changed, 2 deletions(-) diff --git a/pkgs/development/python-modules/types-pillow/default.nix b/pkgs/development/python-modules/types-pillow/default.nix index 88a80cce8eb1..a9d3702cba87 100644 --- a/pkgs/development/python-modules/types-pillow/default.nix +++ b/pkgs/development/python-modules/types-pillow/default.nix @@ -10,8 +10,6 @@ buildPythonPackage (finalAttrs: { version = "10.2.0.20240822"; pyproject = true; - __structuredAttrs = true; - src = fetchPypi { inherit (finalAttrs) version; pname = "types-Pillow"; From 0c991939589c96641646771dc2c03ffc5a7bb979 Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 22:53:59 +0200 Subject: [PATCH 1528/2378] python3Packages.types-protobuf: remove redundant structuredAttrs --- pkgs/development/python-modules/types-protobuf/default.nix | 2 -- 1 file changed, 2 deletions(-) diff --git a/pkgs/development/python-modules/types-protobuf/default.nix b/pkgs/development/python-modules/types-protobuf/default.nix index 68004378f0b8..f8df56a48828 100644 --- a/pkgs/development/python-modules/types-protobuf/default.nix +++ b/pkgs/development/python-modules/types-protobuf/default.nix @@ -11,8 +11,6 @@ buildPythonPackage (finalAttrs: { version = "6.32.1.20260221"; pyproject = true; - __structuredAttrs = true; - src = fetchPypi { pname = "types_protobuf"; inherit (finalAttrs) version; From eefcacc701b6fcbc65a035fa055796ec7f07766d Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 22:53:59 +0200 Subject: [PATCH 1529/2378] python3Packages.types-retry: remove redundant structuredAttrs --- pkgs/development/python-modules/types-retry/default.nix | 2 -- 1 file changed, 2 deletions(-) diff --git a/pkgs/development/python-modules/types-retry/default.nix b/pkgs/development/python-modules/types-retry/default.nix index 0d3c807464c1..2af0b8c7009f 100644 --- a/pkgs/development/python-modules/types-retry/default.nix +++ b/pkgs/development/python-modules/types-retry/default.nix @@ -10,8 +10,6 @@ buildPythonPackage (finalAttrs: { version = "0.9.9.20260408"; pyproject = true; - __structuredAttrs = true; - src = fetchPypi { pname = "types_retry"; inherit (finalAttrs) version; From 9273189adb9f1a324c33273fb1df8ec073e7d3e2 Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 22:54:00 +0200 Subject: [PATCH 1530/2378] python3Packages.types-tqdm: remove redundant structuredAttrs --- pkgs/development/python-modules/types-tqdm/default.nix | 1 - 1 file changed, 1 deletion(-) diff --git a/pkgs/development/python-modules/types-tqdm/default.nix b/pkgs/development/python-modules/types-tqdm/default.nix index 319cf59faa1b..712a7ec4ed49 100644 --- a/pkgs/development/python-modules/types-tqdm/default.nix +++ b/pkgs/development/python-modules/types-tqdm/default.nix @@ -10,7 +10,6 @@ buildPythonPackage (finalAttrs: { pname = "types-tqdm"; version = "4.70.0.20260906"; pyproject = true; - __structuredAttrs = true; src = fetchPypi { pname = "types_tqdm"; From 570135a5426c87e0cc79ae1f44b864a5216d7ea1 Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 22:54:00 +0200 Subject: [PATCH 1531/2378] python3Packages.types-urllib3: remove redundant structuredAttrs --- pkgs/development/python-modules/types-urllib3/default.nix | 2 -- 1 file changed, 2 deletions(-) diff --git a/pkgs/development/python-modules/types-urllib3/default.nix b/pkgs/development/python-modules/types-urllib3/default.nix index 98d0f136a4f8..198ef86aded9 100644 --- a/pkgs/development/python-modules/types-urllib3/default.nix +++ b/pkgs/development/python-modules/types-urllib3/default.nix @@ -10,8 +10,6 @@ buildPythonPackage (finalAttrs: { version = "1.26.25.14"; pyproject = true; - __structuredAttrs = true; - src = fetchPypi { inherit (finalAttrs) pname version; hash = "sha256-Ipt/V3yVG4wbksG8Ky/bC0mEe9KvbRzCouPdNA872o8="; From 7abe79c7b8327a6ff844a36bea2ccec92ccfd997 Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 22:54:00 +0200 Subject: [PATCH 1532/2378] python3Packages.typish: remove redundant structuredAttrs --- pkgs/development/python-modules/typish/default.nix | 2 -- 1 file changed, 2 deletions(-) diff --git a/pkgs/development/python-modules/typish/default.nix b/pkgs/development/python-modules/typish/default.nix index f0eb2e85e5cc..e9cf2547b6f1 100644 --- a/pkgs/development/python-modules/typish/default.nix +++ b/pkgs/development/python-modules/typish/default.nix @@ -13,8 +13,6 @@ buildPythonPackage (finalAttrs: { version = "1.9.3"; pyproject = true; - __structuredAttrs = true; - src = fetchFromGitHub { owner = "ramonhagenaars"; repo = "typish"; From 2fe8dcfb638c25f7e4c175e99b1b826e43056bcd Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 22:54:01 +0200 Subject: [PATCH 1533/2378] python3Packages.tzlocal: remove redundant structuredAttrs --- pkgs/development/python-modules/tzlocal/default.nix | 1 - 1 file changed, 1 deletion(-) diff --git a/pkgs/development/python-modules/tzlocal/default.nix b/pkgs/development/python-modules/tzlocal/default.nix index fdd7bd269bce..57d163ee4c8b 100644 --- a/pkgs/development/python-modules/tzlocal/default.nix +++ b/pkgs/development/python-modules/tzlocal/default.nix @@ -12,7 +12,6 @@ buildPythonPackage (finalAttrs: { pname = "tzlocal"; version = "5.4.4"; # version needs to be compatible with APScheduler pyproject = true; - __structuredAttrs = true; src = fetchFromGitHub { owner = "regebro"; From 3e20ba7fded356c2d2a0e9f61208a99096f1718d Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 22:54:01 +0200 Subject: [PATCH 1534/2378] python3Packages.ua-generator: remove redundant structuredAttrs --- pkgs/development/python-modules/ua-generator/default.nix | 2 -- 1 file changed, 2 deletions(-) diff --git a/pkgs/development/python-modules/ua-generator/default.nix b/pkgs/development/python-modules/ua-generator/default.nix index ebe0fc43bbc6..c54c2440db4f 100644 --- a/pkgs/development/python-modules/ua-generator/default.nix +++ b/pkgs/development/python-modules/ua-generator/default.nix @@ -16,8 +16,6 @@ buildPythonPackage (finalAttrs: { version = "2.1.6"; pyproject = true; - __structuredAttrs = true; - src = fetchFromGitHub { owner = "iamdual"; repo = "ua-generator"; From e934264a07941722cd47c6fdeca780c83ea160fe Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 22:54:01 +0200 Subject: [PATCH 1535/2378] python3Packages.ua-parser-rs: remove redundant structuredAttrs --- pkgs/development/python-modules/ua-parser-rs/default.nix | 2 -- 1 file changed, 2 deletions(-) diff --git a/pkgs/development/python-modules/ua-parser-rs/default.nix b/pkgs/development/python-modules/ua-parser-rs/default.nix index 2fb58a162e01..d30d6a173c17 100644 --- a/pkgs/development/python-modules/ua-parser-rs/default.nix +++ b/pkgs/development/python-modules/ua-parser-rs/default.nix @@ -13,8 +13,6 @@ buildPythonPackage (finalAttrs: { version = "0.1.4"; pyproject = true; - __structuredAttrs = true; - src = fetchFromGitHub { owner = "ua-parser"; repo = "uap-rust"; From dd4470bd6c7d9b943abad8281bc938adaaf62ea8 Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 22:54:02 +0200 Subject: [PATCH 1536/2378] python3Packages.uasiren: remove redundant structuredAttrs --- pkgs/development/python-modules/uasiren/default.nix | 2 -- 1 file changed, 2 deletions(-) diff --git a/pkgs/development/python-modules/uasiren/default.nix b/pkgs/development/python-modules/uasiren/default.nix index 94aef05ac844..df40bc1c2805 100644 --- a/pkgs/development/python-modules/uasiren/default.nix +++ b/pkgs/development/python-modules/uasiren/default.nix @@ -20,8 +20,6 @@ buildPythonPackage (finalAttrs: { version = "0.0.1"; pyproject = true; - __structuredAttrs = true; - src = fetchFromGitHub { owner = "PaulAnnekov"; repo = "uasiren"; From 429c58cfdc8977e96bfb3123320a7b63fd707a05 Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 22:54:02 +0200 Subject: [PATCH 1537/2378] python3Packages.udatetime: remove redundant structuredAttrs --- pkgs/development/python-modules/udatetime/default.nix | 2 -- 1 file changed, 2 deletions(-) diff --git a/pkgs/development/python-modules/udatetime/default.nix b/pkgs/development/python-modules/udatetime/default.nix index ce8e20908c74..f2cb560e84f0 100644 --- a/pkgs/development/python-modules/udatetime/default.nix +++ b/pkgs/development/python-modules/udatetime/default.nix @@ -11,8 +11,6 @@ buildPythonPackage (finalAttrs: { version = "0.0.17"; pyproject = true; - __structuredAttrs = true; - src = fetchFromGitHub { owner = "freach"; repo = "udatetime"; From c7593796f3ade2ca4018cabac17ecf9a56af11cf Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 22:54:03 +0200 Subject: [PATCH 1538/2378] python3Packages.udsoncan: remove redundant structuredAttrs --- pkgs/development/python-modules/udsoncan/default.nix | 1 - 1 file changed, 1 deletion(-) diff --git a/pkgs/development/python-modules/udsoncan/default.nix b/pkgs/development/python-modules/udsoncan/default.nix index bacb49129417..981b49275d4b 100644 --- a/pkgs/development/python-modules/udsoncan/default.nix +++ b/pkgs/development/python-modules/udsoncan/default.nix @@ -11,7 +11,6 @@ buildPythonPackage (finalAttrs: { pname = "udsoncan"; version = "1.26.1"; pyproject = true; - __structuredAttrs = true; src = fetchFromGitHub { owner = "pylessard"; From 011f2d37c2a83b84b6e2d129f8d9bc63f40ca62f Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 22:54:03 +0200 Subject: [PATCH 1539/2378] python3Packages.ueagle: remove redundant structuredAttrs --- pkgs/development/python-modules/ueagle/default.nix | 2 -- 1 file changed, 2 deletions(-) diff --git a/pkgs/development/python-modules/ueagle/default.nix b/pkgs/development/python-modules/ueagle/default.nix index 06c5f5e868d2..317a7d737499 100644 --- a/pkgs/development/python-modules/ueagle/default.nix +++ b/pkgs/development/python-modules/ueagle/default.nix @@ -11,8 +11,6 @@ buildPythonPackage (finalAttrs: { version = "0.0.2"; pyproject = true; - __structuredAttrs = true; - src = fetchFromGitHub { owner = "jcalbert"; repo = "uEagle"; From 0d9748d10ae2ac5cab0bd1d783e3af744c151b2a Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 22:54:03 +0200 Subject: [PATCH 1540/2378] python3Packages.ufonormalizer: remove redundant structuredAttrs --- pkgs/development/python-modules/ufonormalizer/default.nix | 2 -- 1 file changed, 2 deletions(-) diff --git a/pkgs/development/python-modules/ufonormalizer/default.nix b/pkgs/development/python-modules/ufonormalizer/default.nix index cfc05699d058..235c682f2497 100644 --- a/pkgs/development/python-modules/ufonormalizer/default.nix +++ b/pkgs/development/python-modules/ufonormalizer/default.nix @@ -11,8 +11,6 @@ buildPythonPackage (finalAttrs: { version = "0.6.2"; pyproject = true; - __structuredAttrs = true; - src = fetchPypi { inherit (finalAttrs) pname version; hash = "sha256-TFcVu5SDgfLGQa+CuUk4rSQtm1Nl3RxbfOPXVVaibDo="; From 6975e47c1c3efb7d0da23657f2ecb6a3769d0d03 Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 22:54:03 +0200 Subject: [PATCH 1541/2378] python3Packages.uncalled-for: remove redundant structuredAttrs --- pkgs/development/python-modules/uncalled-for/default.nix | 2 -- 1 file changed, 2 deletions(-) diff --git a/pkgs/development/python-modules/uncalled-for/default.nix b/pkgs/development/python-modules/uncalled-for/default.nix index c3550b749214..10d40a83efc5 100644 --- a/pkgs/development/python-modules/uncalled-for/default.nix +++ b/pkgs/development/python-modules/uncalled-for/default.nix @@ -19,8 +19,6 @@ buildPythonPackage (finalAttrs: { version = "0.4.0"; pyproject = true; - __structuredAttrs = true; - src = fetchFromGitHub { owner = "chrisguidry"; repo = "uncalled-for"; From 0298a0de988caf902374fe8fd0b5fd235a0515e5 Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 22:54:04 +0200 Subject: [PATCH 1542/2378] python3Packages.unclecode-litellm: remove redundant structuredAttrs --- pkgs/development/python-modules/unclecode-litellm/default.nix | 2 -- 1 file changed, 2 deletions(-) diff --git a/pkgs/development/python-modules/unclecode-litellm/default.nix b/pkgs/development/python-modules/unclecode-litellm/default.nix index cdf3bb42eea9..53375668b76a 100644 --- a/pkgs/development/python-modules/unclecode-litellm/default.nix +++ b/pkgs/development/python-modules/unclecode-litellm/default.nix @@ -23,8 +23,6 @@ buildPythonPackage (finalAttrs: { version = "1.81.13"; pyproject = true; - __structuredAttrs = true; - src = fetchPypi { pname = "unclecode_litellm"; inherit (finalAttrs) version; From a4133233dcf987f5fecb46839e82cfcdfb8ac1fc Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 22:54:04 +0200 Subject: [PATCH 1543/2378] python3Packages.unicode-segmentation-rs: remove redundant structuredAttrs --- .../python-modules/unicode-segmentation-rs/default.nix | 1 - 1 file changed, 1 deletion(-) diff --git a/pkgs/development/python-modules/unicode-segmentation-rs/default.nix b/pkgs/development/python-modules/unicode-segmentation-rs/default.nix index 0d87b61125a2..b1b1b6a43ddb 100644 --- a/pkgs/development/python-modules/unicode-segmentation-rs/default.nix +++ b/pkgs/development/python-modules/unicode-segmentation-rs/default.nix @@ -10,7 +10,6 @@ buildPythonPackage (finalAttrs: { pname = "unicode-segmentation-rs"; version = "0.3.3"; pyproject = true; - __structuredAttrs = true; src = fetchFromGitHub { owner = "WeblateOrg"; From 2e9424be1a6c5cd5aa37f16c79da902b00cefd02 Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 22:54:04 +0200 Subject: [PATCH 1544/2378] python3Packages.update-copyright: remove redundant structuredAttrs --- pkgs/development/python-modules/update-copyright/default.nix | 2 -- 1 file changed, 2 deletions(-) diff --git a/pkgs/development/python-modules/update-copyright/default.nix b/pkgs/development/python-modules/update-copyright/default.nix index 32e0d88aa1eb..0f0c439712ae 100644 --- a/pkgs/development/python-modules/update-copyright/default.nix +++ b/pkgs/development/python-modules/update-copyright/default.nix @@ -10,8 +10,6 @@ buildPythonPackage (finalAttrs: { version = "0.6.2"; pyproject = true; - __structuredAttrs = true; - src = fetchPypi { inherit (finalAttrs) version; pname = "update-copyright"; From ee2ebbbcb6ff5ef891b698bc54d7956fe8f3fee6 Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 22:54:05 +0200 Subject: [PATCH 1545/2378] python3Packages.uproot: remove redundant structuredAttrs --- pkgs/development/python-modules/uproot/default.nix | 1 - 1 file changed, 1 deletion(-) diff --git a/pkgs/development/python-modules/uproot/default.nix b/pkgs/development/python-modules/uproot/default.nix index eecf88d86f7f..a675fc5b9b85 100644 --- a/pkgs/development/python-modules/uproot/default.nix +++ b/pkgs/development/python-modules/uproot/default.nix @@ -29,7 +29,6 @@ buildPythonPackage (finalAttrs: { pname = "uproot"; version = "5.7.7"; pyproject = true; - __structuredAttrs = true; src = fetchFromGitHub { owner = "scikit-hep"; From 4efaf27513ec5d5950dcb08fc20f51ec42b1269c Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 22:54:05 +0200 Subject: [PATCH 1546/2378] python3Packages.usb-monitor: remove redundant structuredAttrs --- pkgs/development/python-modules/usb-monitor/default.nix | 2 -- 1 file changed, 2 deletions(-) diff --git a/pkgs/development/python-modules/usb-monitor/default.nix b/pkgs/development/python-modules/usb-monitor/default.nix index 263fae224053..dda3ae781abf 100644 --- a/pkgs/development/python-modules/usb-monitor/default.nix +++ b/pkgs/development/python-modules/usb-monitor/default.nix @@ -11,8 +11,6 @@ buildPythonPackage (finalAttrs: { version = "1.23"; pyproject = true; - __structuredAttrs = true; - src = fetchPypi { inherit (finalAttrs) version; pname = "usb_monitor"; From ee05f256763ec39504e48708c523dae67e0f4df7 Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 22:54:05 +0200 Subject: [PATCH 1547/2378] python3Packages.usearch: remove redundant structuredAttrs --- pkgs/development/python-modules/usearch/default.nix | 1 - 1 file changed, 1 deletion(-) diff --git a/pkgs/development/python-modules/usearch/default.nix b/pkgs/development/python-modules/usearch/default.nix index a96ab35aa19a..46691817f450 100644 --- a/pkgs/development/python-modules/usearch/default.nix +++ b/pkgs/development/python-modules/usearch/default.nix @@ -19,7 +19,6 @@ buildPythonPackage { inherit (pkgs.usearch) pname version src; pyproject = true; - __structuredAttrs = true; postPatch = '' substituteInPlace python/usearch/__init__.py \ From 4d406c61fa8e10ad8684d7560a0b1a288b128674 Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 22:54:05 +0200 Subject: [PATCH 1548/2378] python3Packages.user-agents: remove redundant structuredAttrs --- pkgs/development/python-modules/user-agents/default.nix | 2 -- 1 file changed, 2 deletions(-) diff --git a/pkgs/development/python-modules/user-agents/default.nix b/pkgs/development/python-modules/user-agents/default.nix index 4695bdb13acc..20222ddfab10 100644 --- a/pkgs/development/python-modules/user-agents/default.nix +++ b/pkgs/development/python-modules/user-agents/default.nix @@ -11,8 +11,6 @@ buildPythonPackage (finalAttrs: { version = "2.2.0"; pyproject = true; - __structuredAttrs = true; - # PyPI is missing devices.json src = fetchFromGitHub { owner = "selwin"; From 90ff4da79ea34f062c7222eb525cb6d9392d0570 Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 22:54:06 +0200 Subject: [PATCH 1549/2378] python3Packages.utils: remove redundant structuredAttrs --- pkgs/development/python-modules/utils/default.nix | 2 -- 1 file changed, 2 deletions(-) diff --git a/pkgs/development/python-modules/utils/default.nix b/pkgs/development/python-modules/utils/default.nix index 73d8bb71b39a..1f26b8ba3412 100644 --- a/pkgs/development/python-modules/utils/default.nix +++ b/pkgs/development/python-modules/utils/default.nix @@ -12,8 +12,6 @@ buildPythonPackage (finalAttrs: { version = "1.0.1"; pyproject = true; - __structuredAttrs = true; - src = fetchFromGitHub { owner = "haaksmash"; repo = "pyutils"; From 09c97213d43ac5d19e6be001a437849daa9768d5 Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 22:54:06 +0200 Subject: [PATCH 1550/2378] python3Packages.uuid-utils: remove redundant structuredAttrs --- pkgs/development/python-modules/uuid-utils/default.nix | 1 - 1 file changed, 1 deletion(-) diff --git a/pkgs/development/python-modules/uuid-utils/default.nix b/pkgs/development/python-modules/uuid-utils/default.nix index e2e0b87c5573..94aecc091b5f 100644 --- a/pkgs/development/python-modules/uuid-utils/default.nix +++ b/pkgs/development/python-modules/uuid-utils/default.nix @@ -11,7 +11,6 @@ buildPythonPackage (finalAttrs: { pname = "uuid-utils"; version = "0.17.0"; pyproject = true; - __structuredAttrs = true; src = fetchFromGitHub { owner = "aminalaee"; From 83f2217b8bd33db95e1e2d9f0f9a0640693e289f Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 22:54:06 +0200 Subject: [PATCH 1551/2378] python3Packages.valhallaapi: remove redundant structuredAttrs --- pkgs/development/python-modules/valhallaapi/default.nix | 2 -- 1 file changed, 2 deletions(-) diff --git a/pkgs/development/python-modules/valhallaapi/default.nix b/pkgs/development/python-modules/valhallaapi/default.nix index 0ac99d469f2a..4161df42c67e 100644 --- a/pkgs/development/python-modules/valhallaapi/default.nix +++ b/pkgs/development/python-modules/valhallaapi/default.nix @@ -14,8 +14,6 @@ buildPythonPackage (finalAttrs: { version = "0.5.2"; pyproject = true; - __structuredAttrs = true; - src = fetchFromGitHub { owner = "NextronSystems"; repo = "valhallaAPI"; From db0ce6c4ff3fbc773eaf6222a15b823c64527852 Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 22:54:07 +0200 Subject: [PATCH 1552/2378] python3Packages.validate-pyproject-schema-store: remove redundant structuredAttrs --- .../python-modules/validate-pyproject-schema-store/default.nix | 2 -- 1 file changed, 2 deletions(-) diff --git a/pkgs/development/python-modules/validate-pyproject-schema-store/default.nix b/pkgs/development/python-modules/validate-pyproject-schema-store/default.nix index 204d01a0279d..021f1abc9a2a 100644 --- a/pkgs/development/python-modules/validate-pyproject-schema-store/default.nix +++ b/pkgs/development/python-modules/validate-pyproject-schema-store/default.nix @@ -13,8 +13,6 @@ buildPythonPackage (finalAttrs: { version = "2026.10.06"; pyproject = true; - __structuredAttrs = true; - src = fetchFromGitHub { owner = "henryiii"; repo = "validate-pyproject-schema-store"; From e76971c56e5fbe706df2523898bbcb263fe8f7e4 Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 22:54:07 +0200 Subject: [PATCH 1553/2378] python3Packages.validate-pyproject: remove redundant structuredAttrs --- pkgs/development/python-modules/validate-pyproject/default.nix | 2 -- 1 file changed, 2 deletions(-) diff --git a/pkgs/development/python-modules/validate-pyproject/default.nix b/pkgs/development/python-modules/validate-pyproject/default.nix index 10047678e0b0..2cf07cc2f295 100644 --- a/pkgs/development/python-modules/validate-pyproject/default.nix +++ b/pkgs/development/python-modules/validate-pyproject/default.nix @@ -19,8 +19,6 @@ buildPythonPackage (finalAttrs: { version = "0.26"; pyproject = true; - __structuredAttrs = true; - src = fetchFromGitHub { owner = "abravalheri"; repo = "validate-pyproject"; From 26e1689fdfbdf78003aca0db0509be9e14b37a6d Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 22:54:07 +0200 Subject: [PATCH 1554/2378] python3Packages.variants: remove redundant structuredAttrs --- pkgs/development/python-modules/variants/default.nix | 2 -- 1 file changed, 2 deletions(-) diff --git a/pkgs/development/python-modules/variants/default.nix b/pkgs/development/python-modules/variants/default.nix index 41c5f862636f..2e13a70f18b2 100644 --- a/pkgs/development/python-modules/variants/default.nix +++ b/pkgs/development/python-modules/variants/default.nix @@ -13,8 +13,6 @@ buildPythonPackage (finalAttrs: { version = "0.2.0"; pyproject = true; - __structuredAttrs = true; - src = fetchPypi { pname = "variants"; inherit (finalAttrs) version; From e650e0c0685cf8e0e6eff49529faa6c7c18a17f4 Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 22:54:07 +0200 Subject: [PATCH 1555/2378] python3Packages.varint: remove redundant structuredAttrs --- pkgs/development/python-modules/varint/default.nix | 2 -- 1 file changed, 2 deletions(-) diff --git a/pkgs/development/python-modules/varint/default.nix b/pkgs/development/python-modules/varint/default.nix index 30212770567a..ac1854aadc96 100644 --- a/pkgs/development/python-modules/varint/default.nix +++ b/pkgs/development/python-modules/varint/default.nix @@ -9,8 +9,6 @@ buildPythonPackage (finalAttrs: { version = "1.0.2"; pyproject = true; - __structuredAttrs = true; - src = fetchPypi { pname = "varint"; inherit (finalAttrs) version; From 0f0632485e42edc621bfe60645efc872a96f03da Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 22:54:08 +0200 Subject: [PATCH 1556/2378] python3Packages.vcversioner: remove redundant structuredAttrs --- pkgs/development/python-modules/vcversioner/default.nix | 2 -- 1 file changed, 2 deletions(-) diff --git a/pkgs/development/python-modules/vcversioner/default.nix b/pkgs/development/python-modules/vcversioner/default.nix index 0917620dd968..a692f6356998 100644 --- a/pkgs/development/python-modules/vcversioner/default.nix +++ b/pkgs/development/python-modules/vcversioner/default.nix @@ -10,8 +10,6 @@ buildPythonPackage (finalAttrs: { version = "2.16.0.0"; pyproject = true; - __structuredAttrs = true; - src = fetchPypi { pname = "vcversioner"; inherit (finalAttrs) version; From 3f48805c07d0b94ea856f2c9a703f27afa6b629a Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 22:54:08 +0200 Subject: [PATCH 1557/2378] python3Packages.vdf: remove redundant structuredAttrs --- pkgs/development/python-modules/vdf/default.nix | 2 -- 1 file changed, 2 deletions(-) diff --git a/pkgs/development/python-modules/vdf/default.nix b/pkgs/development/python-modules/vdf/default.nix index 1d5e8f6720f5..a9248eef0ebb 100644 --- a/pkgs/development/python-modules/vdf/default.nix +++ b/pkgs/development/python-modules/vdf/default.nix @@ -14,8 +14,6 @@ buildPythonPackage (finalAttrs: { version = "3.4"; pyproject = true; - __structuredAttrs = true; - src = fetchFromGitHub { owner = "ValvePython"; repo = "vdf"; From 35a6931f8e7a36895e1f25a360c15775b2be82f5 Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 22:54:08 +0200 Subject: [PATCH 1558/2378] python3Packages.vector: remove redundant structuredAttrs --- pkgs/development/python-modules/vector/default.nix | 1 - 1 file changed, 1 deletion(-) diff --git a/pkgs/development/python-modules/vector/default.nix b/pkgs/development/python-modules/vector/default.nix index 8a176a003e6f..4f6d11c786af 100644 --- a/pkgs/development/python-modules/vector/default.nix +++ b/pkgs/development/python-modules/vector/default.nix @@ -25,7 +25,6 @@ buildPythonPackage (finalAttrs: { pname = "vector"; version = "1.9.0"; pyproject = true; - __structuredAttrs = true; src = fetchFromGitHub { owner = "scikit-hep"; From 496f57a28154d991a84d9736b9d39da583dadc69 Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 22:54:09 +0200 Subject: [PATCH 1559/2378] python3Packages.venstarcolortouch: remove redundant structuredAttrs --- pkgs/development/python-modules/venstarcolortouch/default.nix | 2 -- 1 file changed, 2 deletions(-) diff --git a/pkgs/development/python-modules/venstarcolortouch/default.nix b/pkgs/development/python-modules/venstarcolortouch/default.nix index 28566f03c474..0f0b1fac84d8 100644 --- a/pkgs/development/python-modules/venstarcolortouch/default.nix +++ b/pkgs/development/python-modules/venstarcolortouch/default.nix @@ -11,8 +11,6 @@ buildPythonPackage (finalAttrs: { version = "0.22"; pyproject = true; - __structuredAttrs = true; - src = fetchPypi { pname = "venstarcolortouch"; inherit (finalAttrs) version; From 7f1ff22f8af5bb3e188f215b7b9243389d02cbe1 Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 22:54:09 +0200 Subject: [PATCH 1560/2378] python3Packages.verboselogs: remove redundant structuredAttrs --- pkgs/development/python-modules/verboselogs/default.nix | 2 -- 1 file changed, 2 deletions(-) diff --git a/pkgs/development/python-modules/verboselogs/default.nix b/pkgs/development/python-modules/verboselogs/default.nix index 07ce208c51c8..61adc40a2d3a 100644 --- a/pkgs/development/python-modules/verboselogs/default.nix +++ b/pkgs/development/python-modules/verboselogs/default.nix @@ -12,8 +12,6 @@ buildPythonPackage (finalAttrs: { version = "1.7"; pyproject = true; - __structuredAttrs = true; - src = fetchFromGitHub { owner = "xolox"; repo = "python-verboselogs"; From 5e725ee512253fbfc8f1d67a00e8aaef58091eb6 Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 22:54:09 +0200 Subject: [PATCH 1561/2378] python3Packages.versiontools: remove redundant structuredAttrs --- pkgs/development/python-modules/versiontools/default.nix | 2 -- 1 file changed, 2 deletions(-) diff --git a/pkgs/development/python-modules/versiontools/default.nix b/pkgs/development/python-modules/versiontools/default.nix index 5e99a1560e6b..87fb9a364eda 100644 --- a/pkgs/development/python-modules/versiontools/default.nix +++ b/pkgs/development/python-modules/versiontools/default.nix @@ -11,8 +11,6 @@ buildPythonPackage (finalAttrs: { version = "1.9.1"; pyproject = true; - __structuredAttrs = true; - src = fetchPypi { pname = "versiontools"; inherit (finalAttrs) version; From 51ef9b12189803c634607fa23cc21c0f565f606d Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 22:54:09 +0200 Subject: [PATCH 1562/2378] python3Packages.vllm: remove redundant structuredAttrs --- pkgs/development/python-modules/vllm/default.nix | 1 - 1 file changed, 1 deletion(-) diff --git a/pkgs/development/python-modules/vllm/default.nix b/pkgs/development/python-modules/vllm/default.nix index 54f7c55f8ad6..f9614ae2537b 100644 --- a/pkgs/development/python-modules/vllm/default.nix +++ b/pkgs/development/python-modules/vllm/default.nix @@ -388,7 +388,6 @@ buildPythonPackage.override { stdenv = torch.stdenv; } (finalAttrs: { pname = "vllm"; version = "0.29.0"; pyproject = true; - __structuredAttrs = true; src = fetchFromGitHub { owner = "vllm-project"; From 3176f6fad1744f99f1e91a05699748c4a2fd7b30 Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 22:54:10 +0200 Subject: [PATCH 1563/2378] python3Packages.vncdotool: remove redundant structuredAttrs --- pkgs/development/python-modules/vncdotool/default.nix | 1 - 1 file changed, 1 deletion(-) diff --git a/pkgs/development/python-modules/vncdotool/default.nix b/pkgs/development/python-modules/vncdotool/default.nix index 5bfb05292676..bd748fc8156d 100644 --- a/pkgs/development/python-modules/vncdotool/default.nix +++ b/pkgs/development/python-modules/vncdotool/default.nix @@ -15,7 +15,6 @@ buildPythonPackage rec { pname = "vncdotool"; version = "1.2.0"; pyproject = true; - __structuredAttrs = true; src = fetchFromGitHub { owner = "sibson"; From f0f4eb8f88a68a7adc9102dd726f17585a431f2a Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 22:54:10 +0200 Subject: [PATCH 1564/2378] python3Packages.vpk: remove redundant structuredAttrs --- pkgs/development/python-modules/vpk/default.nix | 2 -- 1 file changed, 2 deletions(-) diff --git a/pkgs/development/python-modules/vpk/default.nix b/pkgs/development/python-modules/vpk/default.nix index f69c9566bed5..97bf147ff9ac 100644 --- a/pkgs/development/python-modules/vpk/default.nix +++ b/pkgs/development/python-modules/vpk/default.nix @@ -11,8 +11,6 @@ buildPythonPackage (finalAttrs: { version = "1.4.0"; pyproject = true; - __structuredAttrs = true; - src = fetchFromGitHub { owner = "ValvePython"; repo = "vpk"; From f4b6c31fa387d8532cc95b0193dff34ef2937f9b Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 22:54:10 +0200 Subject: [PATCH 1565/2378] python3Packages.vsts-cd-manager: remove redundant structuredAttrs --- pkgs/development/python-modules/vsts-cd-manager/default.nix | 2 -- 1 file changed, 2 deletions(-) diff --git a/pkgs/development/python-modules/vsts-cd-manager/default.nix b/pkgs/development/python-modules/vsts-cd-manager/default.nix index ce6a7a665765..3e51d9fc4225 100644 --- a/pkgs/development/python-modules/vsts-cd-manager/default.nix +++ b/pkgs/development/python-modules/vsts-cd-manager/default.nix @@ -12,8 +12,6 @@ buildPythonPackage (finalAttrs: { version = "1.0.2"; pyproject = true; - __structuredAttrs = true; - src = fetchPypi { inherit (finalAttrs) pname version; hash = "sha256-C7CQWc1VPhwgbpLvMkyw3PkjNIRtZGxExoT2JWuGRHs="; From be810d94d0f2136b23376fd64652d2e9d9e0040b Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 22:54:11 +0200 Subject: [PATCH 1566/2378] python3Packages.vsts: remove redundant structuredAttrs --- pkgs/development/python-modules/vsts/default.nix | 2 -- 1 file changed, 2 deletions(-) diff --git a/pkgs/development/python-modules/vsts/default.nix b/pkgs/development/python-modules/vsts/default.nix index 7696690c699a..59c647b1c837 100644 --- a/pkgs/development/python-modules/vsts/default.nix +++ b/pkgs/development/python-modules/vsts/default.nix @@ -12,8 +12,6 @@ buildPythonPackage (finalAttrs: { version = "0.1.25"; pyproject = true; - __structuredAttrs = true; - src = fetchPypi { inherit (finalAttrs) pname version; hash = "sha256-2heRYBIfWzi+Bh2/8pzStg1dApsiBxAkVNd6cRTmT5c="; From 01f0a7a23fa7aff08494d63282622fa691fd1c20 Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 22:54:11 +0200 Subject: [PATCH 1567/2378] python3Packages.vulners: remove redundant structuredAttrs --- pkgs/development/python-modules/vulners/default.nix | 2 -- 1 file changed, 2 deletions(-) diff --git a/pkgs/development/python-modules/vulners/default.nix b/pkgs/development/python-modules/vulners/default.nix index 2ef3420f8a5c..517f98c3daff 100644 --- a/pkgs/development/python-modules/vulners/default.nix +++ b/pkgs/development/python-modules/vulners/default.nix @@ -27,8 +27,6 @@ buildPythonPackage (finalAttrs: { version = "4.3.0"; pyproject = true; - __structuredAttrs = true; - src = fetchFromGitHub { owner = "vulnersCom"; repo = "api"; From 854c0e9b2ea7e50a731d3ed5fbcbcf459c976cb0 Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 22:54:11 +0200 Subject: [PATCH 1568/2378] python3Packages.waqiasync: remove redundant structuredAttrs --- pkgs/development/python-modules/waqiasync/default.nix | 2 -- 1 file changed, 2 deletions(-) diff --git a/pkgs/development/python-modules/waqiasync/default.nix b/pkgs/development/python-modules/waqiasync/default.nix index a12987160cbf..d3c3833ffd1a 100644 --- a/pkgs/development/python-modules/waqiasync/default.nix +++ b/pkgs/development/python-modules/waqiasync/default.nix @@ -12,8 +12,6 @@ buildPythonPackage (finalAttrs: { version = "1.1.0"; pyproject = true; - __structuredAttrs = true; - src = fetchPypi { inherit (finalAttrs) pname version; hash = "sha256-SOs998BQV4UlLnRB3Yf7zze51u43g2Npwgk6y80S+m8="; From b52ad7fd70c85a5d95d2410bb0df4c185f17195b Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 22:54:11 +0200 Subject: [PATCH 1569/2378] python3Packages.warp-lang: remove redundant structuredAttrs --- pkgs/development/python-modules/warp-lang/default.nix | 1 - 1 file changed, 1 deletion(-) diff --git a/pkgs/development/python-modules/warp-lang/default.nix b/pkgs/development/python-modules/warp-lang/default.nix index d99f1e2c3530..b7582b2634b8 100644 --- a/pkgs/development/python-modules/warp-lang/default.nix +++ b/pkgs/development/python-modules/warp-lang/default.nix @@ -51,7 +51,6 @@ buildPythonPackage.override { stdenv = effectiveStdenv; } (finalAttrs: { # TODO(@connorbaker): Some CUDA setup hook is failing when __structuredAttrs is false, # causing a bunch of missing math symbols (like expf) when linking against the static library # provided by NVCC. - __structuredAttrs = true; src = fetchFromGitHub { owner = "NVIDIA"; From 1872422ff925795769dbe9b4d5ed92a5f9a59296 Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 22:54:12 +0200 Subject: [PATCH 1570/2378] python3Packages.warp-nn: remove redundant structuredAttrs --- pkgs/development/python-modules/warp-nn/default.nix | 1 - 1 file changed, 1 deletion(-) diff --git a/pkgs/development/python-modules/warp-nn/default.nix b/pkgs/development/python-modules/warp-nn/default.nix index fb41f0c47adf..6d3553d69854 100644 --- a/pkgs/development/python-modules/warp-nn/default.nix +++ b/pkgs/development/python-modules/warp-nn/default.nix @@ -20,7 +20,6 @@ buildPythonPackage (finalAttrs: { pname = "warp-nn"; version = "0.4.0"; pyproject = true; - __structuredAttrs = true; src = fetchFromGitHub { owner = "NVIDIA"; From 5c93a4c0fc5c1c412933ff281eaa875d4991a11b Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 22:54:12 +0200 Subject: [PATCH 1571/2378] python3Packages.warrant: remove redundant structuredAttrs --- pkgs/development/python-modules/warrant/default.nix | 2 -- 1 file changed, 2 deletions(-) diff --git a/pkgs/development/python-modules/warrant/default.nix b/pkgs/development/python-modules/warrant/default.nix index a12173be23a4..806ba536561c 100644 --- a/pkgs/development/python-modules/warrant/default.nix +++ b/pkgs/development/python-modules/warrant/default.nix @@ -16,8 +16,6 @@ buildPythonPackage { version = "0.6.1"; pyproject = true; - __structuredAttrs = true; - # move to fetchPyPi when https://github.com/capless/warrant/issues/97 is fixed src = fetchFromGitHub { owner = "capless"; From a832b6f87f53f54c919c76e8b2e23b6cd5edd1bc Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 22:54:12 +0200 Subject: [PATCH 1572/2378] python3Packages.wasabi: remove redundant structuredAttrs --- pkgs/development/python-modules/wasabi/default.nix | 2 -- 1 file changed, 2 deletions(-) diff --git a/pkgs/development/python-modules/wasabi/default.nix b/pkgs/development/python-modules/wasabi/default.nix index 286cdf7a1ecd..4e41fce8011c 100644 --- a/pkgs/development/python-modules/wasabi/default.nix +++ b/pkgs/development/python-modules/wasabi/default.nix @@ -16,8 +16,6 @@ buildPythonPackage (finalAttrs: { version = "1.1.3"; pyproject = true; - __structuredAttrs = true; - src = fetchPypi { inherit (finalAttrs) pname version; hash = "sha256-S7MAjwA4CdsMPii02vIJBuqHGiu0P5kUGX1UD08uCHg="; From 02e413aec7cfc968487610a00621a9b8a1caec14 Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 22:54:13 +0200 Subject: [PATCH 1573/2378] python3Packages.wavedrom: remove redundant structuredAttrs --- pkgs/development/python-modules/wavedrom/default.nix | 2 -- 1 file changed, 2 deletions(-) diff --git a/pkgs/development/python-modules/wavedrom/default.nix b/pkgs/development/python-modules/wavedrom/default.nix index 965ea7fcdae1..fac69a98ba5c 100644 --- a/pkgs/development/python-modules/wavedrom/default.nix +++ b/pkgs/development/python-modules/wavedrom/default.nix @@ -19,8 +19,6 @@ buildPythonPackage (finalAttrs: { version = "2.0.3.post3"; pyproject = true; - __structuredAttrs = true; - src = fetchPypi { inherit (finalAttrs) pname version; hash = "sha256-MntNXcpZPIElfCAv6lFvepCHR/sRUnw1nwNPW3r39Hs="; From 4478101b7ff79a5692bd0669466f6e48f02654c3 Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 22:54:13 +0200 Subject: [PATCH 1574/2378] python3Packages.waybackpy: remove redundant structuredAttrs --- pkgs/development/python-modules/waybackpy/default.nix | 2 -- 1 file changed, 2 deletions(-) diff --git a/pkgs/development/python-modules/waybackpy/default.nix b/pkgs/development/python-modules/waybackpy/default.nix index f95c25cf6976..c505e8dd26fe 100644 --- a/pkgs/development/python-modules/waybackpy/default.nix +++ b/pkgs/development/python-modules/waybackpy/default.nix @@ -13,8 +13,6 @@ buildPythonPackage (finalAttrs: { version = "3.0.6"; pyproject = true; - __structuredAttrs = true; - src = fetchPypi { inherit (finalAttrs) pname version; hash = "sha256-SXo3F1arp2ROt62g69TtsVy4xTvBNMyXO/AjoSyv+D8="; From 546c3f7a3bb1237c0e21b0e56d938c7a571a2540 Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 22:54:13 +0200 Subject: [PATCH 1575/2378] python3Packages.wcag-contrast-ratio: remove redundant structuredAttrs --- pkgs/development/python-modules/wcag-contrast-ratio/default.nix | 2 -- 1 file changed, 2 deletions(-) diff --git a/pkgs/development/python-modules/wcag-contrast-ratio/default.nix b/pkgs/development/python-modules/wcag-contrast-ratio/default.nix index 5a41c559a17b..5b6cddf24c17 100644 --- a/pkgs/development/python-modules/wcag-contrast-ratio/default.nix +++ b/pkgs/development/python-modules/wcag-contrast-ratio/default.nix @@ -12,8 +12,6 @@ buildPythonPackage (finalAttrs: { version = "0.9"; pyproject = true; - __structuredAttrs = true; - src = fetchPypi { inherit (finalAttrs) pname version; hash = "sha256-aRkrjlwKfQ3F/xGH7rPjmBQWM6S95RxpyH9Y/oftNhw="; From e37e4f9e195031c5d4e4e69a407446c6c0e937ab Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 22:54:13 +0200 Subject: [PATCH 1576/2378] python3Packages.wcwidth: remove redundant structuredAttrs --- pkgs/development/python-modules/wcwidth/default.nix | 1 - 1 file changed, 1 deletion(-) diff --git a/pkgs/development/python-modules/wcwidth/default.nix b/pkgs/development/python-modules/wcwidth/default.nix index 76dd49c249f0..43495f152482 100644 --- a/pkgs/development/python-modules/wcwidth/default.nix +++ b/pkgs/development/python-modules/wcwidth/default.nix @@ -15,7 +15,6 @@ buildPythonPackage (finalAttrs: { pname = "wcwidth"; version = "0.9.2"; pyproject = true; - __structuredAttrs = true; src = fetchFromGitHub { owner = "jquast"; From 57d9e1aebfc6432ed4c97802cc2b26b81d242bea Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 22:54:14 +0200 Subject: [PATCH 1577/2378] python3Packages.web-cache: remove redundant structuredAttrs --- pkgs/development/python-modules/web-cache/default.nix | 2 -- 1 file changed, 2 deletions(-) diff --git a/pkgs/development/python-modules/web-cache/default.nix b/pkgs/development/python-modules/web-cache/default.nix index aaa4ec066e94..e3202f75a033 100644 --- a/pkgs/development/python-modules/web-cache/default.nix +++ b/pkgs/development/python-modules/web-cache/default.nix @@ -11,8 +11,6 @@ buildPythonPackage (finalAttrs: { version = "1.1.0"; pyproject = true; - __structuredAttrs = true; - disabled = !isPy3k; src = fetchPypi { From 5406e01a5fd4672aea811e49ca9235f0b299932e Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 22:54:14 +0200 Subject: [PATCH 1578/2378] python3Packages.webauthn: remove redundant structuredAttrs --- pkgs/development/python-modules/webauthn/default.nix | 1 - 1 file changed, 1 deletion(-) diff --git a/pkgs/development/python-modules/webauthn/default.nix b/pkgs/development/python-modules/webauthn/default.nix index 39db5447c2bf..b270b017495a 100644 --- a/pkgs/development/python-modules/webauthn/default.nix +++ b/pkgs/development/python-modules/webauthn/default.nix @@ -15,7 +15,6 @@ buildPythonPackage (finalAttrs: { pname = "webauthn"; version = "3.0.0"; pyproject = true; - __structuredAttrs = true; src = fetchFromGitHub { owner = "duo-labs"; From de62547bc82b032a9cc44c9fab0436063fe53523 Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 22:54:14 +0200 Subject: [PATCH 1579/2378] python3Packages.weblate-fonts: remove redundant structuredAttrs --- pkgs/development/python-modules/weblate-fonts/default.nix | 1 - 1 file changed, 1 deletion(-) diff --git a/pkgs/development/python-modules/weblate-fonts/default.nix b/pkgs/development/python-modules/weblate-fonts/default.nix index e75d360f74bf..16ebaa69bdbc 100644 --- a/pkgs/development/python-modules/weblate-fonts/default.nix +++ b/pkgs/development/python-modules/weblate-fonts/default.nix @@ -9,7 +9,6 @@ buildPythonPackage (finalAttrs: { pname = "weblate-fonts"; version = "2026.1"; pyproject = true; - __structuredAttrs = true; # nixpkgs-update: no auto update # Only weblate uses this and we want to follow its version constraints From 0f5fa1ac9bc0fb5f3898c912f17f8d05686df851 Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 22:54:14 +0200 Subject: [PATCH 1580/2378] python3Packages.weblate-language-data: remove redundant structuredAttrs --- .../development/python-modules/weblate-language-data/default.nix | 1 - 1 file changed, 1 deletion(-) diff --git a/pkgs/development/python-modules/weblate-language-data/default.nix b/pkgs/development/python-modules/weblate-language-data/default.nix index b79b5c911708..724c41ff5a6d 100644 --- a/pkgs/development/python-modules/weblate-language-data/default.nix +++ b/pkgs/development/python-modules/weblate-language-data/default.nix @@ -10,7 +10,6 @@ buildPythonPackage (finalAttrs: { pname = "weblate-language-data"; version = "2026.10"; pyproject = true; - __structuredAttrs = true; # nixpkgs-update: no auto update # Only weblate uses this and we want to follow its version constraints From e3c75452f9d690d912914d8cebd4b576b3275b23 Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 22:54:15 +0200 Subject: [PATCH 1581/2378] python3Packages.weblate-schemas: remove redundant structuredAttrs --- pkgs/development/python-modules/weblate-schemas/default.nix | 1 - 1 file changed, 1 deletion(-) diff --git a/pkgs/development/python-modules/weblate-schemas/default.nix b/pkgs/development/python-modules/weblate-schemas/default.nix index a4ad91ae5197..b0bf93278078 100644 --- a/pkgs/development/python-modules/weblate-schemas/default.nix +++ b/pkgs/development/python-modules/weblate-schemas/default.nix @@ -14,7 +14,6 @@ buildPythonPackage (finalAttrs: { version = "2026.8"; pyproject = true; - __structuredAttrs = true; # nixpkgs-update: no auto update # Only weblate uses this and we want to follow its version constraints From bc776ba5224f67c55a1e4117cdbe725fc80fb190 Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 22:54:15 +0200 Subject: [PATCH 1582/2378] python3Packages.webrtcvad: remove redundant structuredAttrs --- pkgs/development/python-modules/webrtcvad/default.nix | 2 -- 1 file changed, 2 deletions(-) diff --git a/pkgs/development/python-modules/webrtcvad/default.nix b/pkgs/development/python-modules/webrtcvad/default.nix index ae2995c95293..ab272e883343 100644 --- a/pkgs/development/python-modules/webrtcvad/default.nix +++ b/pkgs/development/python-modules/webrtcvad/default.nix @@ -10,8 +10,6 @@ buildPythonPackage (finalAttrs: { version = "2.0.10"; pyproject = true; - __structuredAttrs = true; - src = fetchPypi { inherit (finalAttrs) pname version; hash = "sha256-8b7S+yW2P7expV1kCQyZPJyRZ7KEha4Lzdgc9u3pauo="; From e0c36d856f97dfa903c3a4889d9bcf9931df73c4 Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 22:54:16 +0200 Subject: [PATCH 1583/2378] python3Packages.websockify: remove redundant structuredAttrs --- pkgs/development/python-modules/websockify/default.nix | 2 -- 1 file changed, 2 deletions(-) diff --git a/pkgs/development/python-modules/websockify/default.nix b/pkgs/development/python-modules/websockify/default.nix index b7f348fd9cf3..f2cc8e34ae78 100644 --- a/pkgs/development/python-modules/websockify/default.nix +++ b/pkgs/development/python-modules/websockify/default.nix @@ -17,8 +17,6 @@ buildPythonPackage (finalAttrs: { version = "0.13.0"; pyproject = true; - __structuredAttrs = true; - src = fetchFromGitHub { owner = "novnc"; repo = "websockify"; From 91718ac875d66abf2b2ba86caba9a0b923a10ae8 Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 22:54:16 +0200 Subject: [PATCH 1584/2378] python3Packages.webthing-ws: remove redundant structuredAttrs --- pkgs/development/python-modules/webthing-ws/default.nix | 2 -- 1 file changed, 2 deletions(-) diff --git a/pkgs/development/python-modules/webthing-ws/default.nix b/pkgs/development/python-modules/webthing-ws/default.nix index 10195eefd35a..f1a98367156c 100644 --- a/pkgs/development/python-modules/webthing-ws/default.nix +++ b/pkgs/development/python-modules/webthing-ws/default.nix @@ -12,8 +12,6 @@ buildPythonPackage (finalAttrs: { version = "0.2.0"; pyproject = true; - __structuredAttrs = true; - src = fetchFromGitHub { owner = "home-assistant-ecosystem"; repo = "webthing-ws"; From 7ade6d57d56954c5a014969b04808546b5d93c4c Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 22:54:16 +0200 Subject: [PATCH 1585/2378] python3Packages.webthing: remove redundant structuredAttrs --- pkgs/development/python-modules/webthing/default.nix | 2 -- 1 file changed, 2 deletions(-) diff --git a/pkgs/development/python-modules/webthing/default.nix b/pkgs/development/python-modules/webthing/default.nix index 0a1198dd81f1..0bdaf4aca53c 100644 --- a/pkgs/development/python-modules/webthing/default.nix +++ b/pkgs/development/python-modules/webthing/default.nix @@ -15,8 +15,6 @@ buildPythonPackage (finalAttrs: { version = "0.15.0"; pyproject = true; - __structuredAttrs = true; - src = fetchFromGitHub { owner = "WebThingsIO"; repo = "webthing-python"; From 352051b8849edcd0a61404688f47ce466d00727f Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 22:54:17 +0200 Subject: [PATCH 1586/2378] python3Packages.wheezy-captcha: remove redundant structuredAttrs --- pkgs/development/python-modules/wheezy-captcha/default.nix | 2 -- 1 file changed, 2 deletions(-) diff --git a/pkgs/development/python-modules/wheezy-captcha/default.nix b/pkgs/development/python-modules/wheezy-captcha/default.nix index 0132bd07a011..10b4782a0615 100644 --- a/pkgs/development/python-modules/wheezy-captcha/default.nix +++ b/pkgs/development/python-modules/wheezy-captcha/default.nix @@ -11,8 +11,6 @@ buildPythonPackage (finalAttrs: { version = "3.2.0"; pyproject = true; - __structuredAttrs = true; - src = fetchPypi { inherit (finalAttrs) pname version; hash = "sha256-UtTpgrPK5eRr7sq97jptjdJyvAyrM2oU07+GZr2Ad7s="; From 989415e3a09327f6de9f27f3d002397961026004 Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 22:54:17 +0200 Subject: [PATCH 1587/2378] python3Packages.wiffi: remove redundant structuredAttrs --- pkgs/development/python-modules/wiffi/default.nix | 2 -- 1 file changed, 2 deletions(-) diff --git a/pkgs/development/python-modules/wiffi/default.nix b/pkgs/development/python-modules/wiffi/default.nix index 5fd196c50944..22758f808daf 100644 --- a/pkgs/development/python-modules/wiffi/default.nix +++ b/pkgs/development/python-modules/wiffi/default.nix @@ -11,8 +11,6 @@ buildPythonPackage (finalAttrs: { version = "1.1.2"; pyproject = true; - __structuredAttrs = true; - src = fetchFromGitHub { owner = "mampfes"; repo = "python-wiffi"; From b1767560e2cd91cb9029f461a3a2f2b9a2ceb9cb Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 22:54:17 +0200 Subject: [PATCH 1588/2378] python3Packages.wikipedia: remove redundant structuredAttrs --- pkgs/development/python-modules/wikipedia/default.nix | 2 -- 1 file changed, 2 deletions(-) diff --git a/pkgs/development/python-modules/wikipedia/default.nix b/pkgs/development/python-modules/wikipedia/default.nix index 704f927f5c1d..9c1d83a3cca1 100644 --- a/pkgs/development/python-modules/wikipedia/default.nix +++ b/pkgs/development/python-modules/wikipedia/default.nix @@ -13,8 +13,6 @@ buildPythonPackage (finalAttrs: { version = "1.4.0"; pyproject = true; - __structuredAttrs = true; - src = fetchPypi { inherit (finalAttrs) pname version; hash = "sha256-2w+tGCn91EGxhSMG6YVjmCBNwHhtKZbdLgyLuOJhM7I="; From 90129f261024a252089d687b8d2757459eb85d6c Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 22:54:17 +0200 Subject: [PATCH 1589/2378] python3Packages.winsspi: remove redundant structuredAttrs --- pkgs/development/python-modules/winsspi/default.nix | 2 -- 1 file changed, 2 deletions(-) diff --git a/pkgs/development/python-modules/winsspi/default.nix b/pkgs/development/python-modules/winsspi/default.nix index baae8550e97e..d9dbf29ecebd 100644 --- a/pkgs/development/python-modules/winsspi/default.nix +++ b/pkgs/development/python-modules/winsspi/default.nix @@ -11,8 +11,6 @@ buildPythonPackage (finalAttrs: { version = "0.0.11"; pyproject = true; - __structuredAttrs = true; - src = fetchPypi { inherit (finalAttrs) pname version; hash = "sha256-AXC6SJ+iWPGqTmdgoWKEbD8tDUUcg2aD609hO2bdQfM="; From fd63398fad99c5fe1c51039d52d4e092e77400d0 Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 22:54:18 +0200 Subject: [PATCH 1590/2378] python3Packages.woodblock: remove redundant structuredAttrs --- pkgs/development/python-modules/woodblock/default.nix | 2 -- 1 file changed, 2 deletions(-) diff --git a/pkgs/development/python-modules/woodblock/default.nix b/pkgs/development/python-modules/woodblock/default.nix index 3046ca43ea2c..b71045afea7c 100644 --- a/pkgs/development/python-modules/woodblock/default.nix +++ b/pkgs/development/python-modules/woodblock/default.nix @@ -12,8 +12,6 @@ buildPythonPackage (finalAttrs: { version = "0.1.7"; pyproject = true; - __structuredAttrs = true; - src = fetchPypi { inherit (finalAttrs) pname version; hash = "sha256-wDR+zpILcAnZRVGYOgH0LbApIMqNew/zbSSjN+LJN/c="; From 494d91fc429ad86b5390b0baa94e93bee39bbf2b Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 22:54:18 +0200 Subject: [PATCH 1591/2378] python3Packages.wsgiprox: remove redundant structuredAttrs --- pkgs/development/python-modules/wsgiprox/default.nix | 2 -- 1 file changed, 2 deletions(-) diff --git a/pkgs/development/python-modules/wsgiprox/default.nix b/pkgs/development/python-modules/wsgiprox/default.nix index f19e06dd3833..d7cdde6fb600 100644 --- a/pkgs/development/python-modules/wsgiprox/default.nix +++ b/pkgs/development/python-modules/wsgiprox/default.nix @@ -12,8 +12,6 @@ buildPythonPackage { version = "1.5.2"; pyproject = true; - __structuredAttrs = true; - src = fetchFromGitHub { owner = "webrecorder"; repo = "wsgiprox"; From 2b30122a427f8b20cc52867fe3fc155af39be730 Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 22:54:18 +0200 Subject: [PATCH 1592/2378] python3Packages.wurlitzer: remove redundant structuredAttrs --- pkgs/development/python-modules/wurlitzer/default.nix | 2 -- 1 file changed, 2 deletions(-) diff --git a/pkgs/development/python-modules/wurlitzer/default.nix b/pkgs/development/python-modules/wurlitzer/default.nix index c604d6b73ed5..1a1c6c3d77ab 100644 --- a/pkgs/development/python-modules/wurlitzer/default.nix +++ b/pkgs/development/python-modules/wurlitzer/default.nix @@ -11,8 +11,6 @@ buildPythonPackage (finalAttrs: { version = "3.1.1"; pyproject = true; - __structuredAttrs = true; - src = fetchPypi { inherit (finalAttrs) pname version; hash = "sha256-v7kUSrnwJIfYArn/idvT+jgtCPc+EtuK3EwvsAzTm9k="; From db0a6b065785ec954d78f5f5017c3a3a5ebd7e6c Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 22:54:19 +0200 Subject: [PATCH 1593/2378] python3Packages.x256: remove redundant structuredAttrs --- pkgs/development/python-modules/x256/default.nix | 2 -- 1 file changed, 2 deletions(-) diff --git a/pkgs/development/python-modules/x256/default.nix b/pkgs/development/python-modules/x256/default.nix index d055ee8a96f7..bad51ab1cb1f 100644 --- a/pkgs/development/python-modules/x256/default.nix +++ b/pkgs/development/python-modules/x256/default.nix @@ -10,8 +10,6 @@ buildPythonPackage (finalAttrs: { version = "0.0.3"; pyproject = true; - __structuredAttrs = true; - src = fetchPypi { inherit (finalAttrs) pname version; hash = "sha256-+FXbzNkeU/WJAoPYIDhVdDgn5+7VldXPGVRLo9IS4AE="; From 8dc787f995d3cdb8f0e809488658726728c2fcf9 Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 22:54:19 +0200 Subject: [PATCH 1594/2378] python3Packages.xarray: remove redundant structuredAttrs --- pkgs/development/python-modules/xarray/default.nix | 1 - 1 file changed, 1 deletion(-) diff --git a/pkgs/development/python-modules/xarray/default.nix b/pkgs/development/python-modules/xarray/default.nix index bb4ffd542d8d..38b494325cd2 100644 --- a/pkgs/development/python-modules/xarray/default.nix +++ b/pkgs/development/python-modules/xarray/default.nix @@ -42,7 +42,6 @@ buildPythonPackage (finalAttrs: { version = "2026.07.0"; pyproject = true; # Needed mainly for pytestFlags with spaces - __structuredAttrs = true; src = fetchFromGitHub { owner = "pydata"; From b9098ea49a2469fad23628646a06c4aa53b4d43e Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 22:54:19 +0200 Subject: [PATCH 1595/2378] python3Packages.xformers: remove redundant structuredAttrs --- pkgs/development/python-modules/xformers/default.nix | 1 - 1 file changed, 1 deletion(-) diff --git a/pkgs/development/python-modules/xformers/default.nix b/pkgs/development/python-modules/xformers/default.nix index 3a69a6f27349..bb2b4be3d9e7 100644 --- a/pkgs/development/python-modules/xformers/default.nix +++ b/pkgs/development/python-modules/xformers/default.nix @@ -43,7 +43,6 @@ buildPythonPackage.override { stdenv = effectiveStdenv; } (finalAttrs: { pname = "xformers"; version = "0.0.35"; pyproject = true; - __structuredAttrs = true; src = fetchFromGitHub { owner = "facebookresearch"; From 3bee8018e307e60eef1ad00be11b9dc36ead8507 Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 22:54:19 +0200 Subject: [PATCH 1596/2378] python3Packages.xgrammar: remove redundant structuredAttrs --- pkgs/development/python-modules/xgrammar/default.nix | 1 - 1 file changed, 1 deletion(-) diff --git a/pkgs/development/python-modules/xgrammar/default.nix b/pkgs/development/python-modules/xgrammar/default.nix index 2eaea4b1a062..55271c0b264d 100644 --- a/pkgs/development/python-modules/xgrammar/default.nix +++ b/pkgs/development/python-modules/xgrammar/default.nix @@ -30,7 +30,6 @@ buildPythonPackage (finalAttrs: { pname = "xgrammar"; version = "0.2.8"; pyproject = true; - __structuredAttrs = true; src = fetchFromGitHub { owner = "mlc-ai"; From c6aa82850c5b5bdabb1774bc9ef5a64634e2c2b2 Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 22:54:20 +0200 Subject: [PATCH 1597/2378] python3Packages.xkbcommon: remove redundant structuredAttrs --- pkgs/development/python-modules/xkbcommon/default.nix | 2 -- 1 file changed, 2 deletions(-) diff --git a/pkgs/development/python-modules/xkbcommon/default.nix b/pkgs/development/python-modules/xkbcommon/default.nix index 45f3a723ac39..9573865d5bab 100644 --- a/pkgs/development/python-modules/xkbcommon/default.nix +++ b/pkgs/development/python-modules/xkbcommon/default.nix @@ -15,8 +15,6 @@ buildPythonPackage (finalAttrs: { version = "1.5.1"; pyproject = true; - __structuredAttrs = true; - src = fetchPypi { inherit (finalAttrs) pname version; hash = "sha256-rBdICNv2HTXZ2oBL8zuqx0vG8r4MEIWUrpPHnNFd3DY="; From b7f653e27a17069e9ca6997c25ea85fb3c8014ee Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 22:54:20 +0200 Subject: [PATCH 1598/2378] python3Packages.xlrd: remove redundant structuredAttrs --- pkgs/development/python-modules/xlrd/default.nix | 2 -- 1 file changed, 2 deletions(-) diff --git a/pkgs/development/python-modules/xlrd/default.nix b/pkgs/development/python-modules/xlrd/default.nix index 5c68872e28d2..6d35dec69063 100644 --- a/pkgs/development/python-modules/xlrd/default.nix +++ b/pkgs/development/python-modules/xlrd/default.nix @@ -11,8 +11,6 @@ buildPythonPackage (finalAttrs: { version = "2.0.2"; pyproject = true; - __structuredAttrs = true; - src = fetchPypi { inherit (finalAttrs) pname version; hash = "sha256-CLXiXeWPIc5x3H2zs7gQbB+ndvMCTFTkW0WzdOiSNMk="; From 987ae41f1ca22f0c9863b521e4ed62c7e3c6585a Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 22:54:20 +0200 Subject: [PATCH 1599/2378] python3Packages.xmind: remove redundant structuredAttrs --- pkgs/development/python-modules/xmind/default.nix | 2 -- 1 file changed, 2 deletions(-) diff --git a/pkgs/development/python-modules/xmind/default.nix b/pkgs/development/python-modules/xmind/default.nix index 8580615cbca2..d66f80ab4e03 100644 --- a/pkgs/development/python-modules/xmind/default.nix +++ b/pkgs/development/python-modules/xmind/default.nix @@ -10,8 +10,6 @@ buildPythonPackage (finalAttrs: { version = "1.2.0"; pyproject = true; - __structuredAttrs = true; - src = fetchFromGitHub { owner = "zhuifengshen"; repo = "xmind"; From a3b7ff83d6b62f1b4145290806b1688795640cf5 Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 22:54:21 +0200 Subject: [PATCH 1600/2378] python3Packages.xml-marshaller: remove redundant structuredAttrs --- pkgs/development/python-modules/xml-marshaller/default.nix | 2 -- 1 file changed, 2 deletions(-) diff --git a/pkgs/development/python-modules/xml-marshaller/default.nix b/pkgs/development/python-modules/xml-marshaller/default.nix index d1e069e63c8f..3e2ff3cd5f14 100644 --- a/pkgs/development/python-modules/xml-marshaller/default.nix +++ b/pkgs/development/python-modules/xml-marshaller/default.nix @@ -12,8 +12,6 @@ buildPythonPackage (finalAttrs: { version = "1.0.3"; pyproject = true; - __structuredAttrs = true; - src = fetchPypi { pname = "xml_marshaller"; inherit (finalAttrs) version; From 7a8e5401fb04ed101b2c157c2e6f05b50f67b608 Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 22:54:21 +0200 Subject: [PATCH 1601/2378] python3Packages.xmljson: remove redundant structuredAttrs --- pkgs/development/python-modules/xmljson/default.nix | 2 -- 1 file changed, 2 deletions(-) diff --git a/pkgs/development/python-modules/xmljson/default.nix b/pkgs/development/python-modules/xmljson/default.nix index bd7f8e4b7af9..e00323dc23df 100644 --- a/pkgs/development/python-modules/xmljson/default.nix +++ b/pkgs/development/python-modules/xmljson/default.nix @@ -11,8 +11,6 @@ buildPythonPackage (finalAttrs: { version = "0.2.1"; pyproject = true; - __structuredAttrs = true; - src = fetchPypi { inherit (finalAttrs) pname version; hash = "sha256-tBWOZqoeYu459/gOsv5PdnZwujwNXemARCDcU0J/3sg="; From 093ad182d473e5ce29e7c6ccc8d9ff93c8c5efe0 Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 22:54:21 +0200 Subject: [PATCH 1602/2378] python3Packages.xmodem: remove redundant structuredAttrs --- pkgs/development/python-modules/xmodem/default.nix | 2 -- 1 file changed, 2 deletions(-) diff --git a/pkgs/development/python-modules/xmodem/default.nix b/pkgs/development/python-modules/xmodem/default.nix index 1a9115e52ae4..a20e38ec53ba 100644 --- a/pkgs/development/python-modules/xmodem/default.nix +++ b/pkgs/development/python-modules/xmodem/default.nix @@ -13,8 +13,6 @@ buildPythonPackage (finalAttrs: { version = "0.4.7"; pyproject = true; - __structuredAttrs = true; - src = fetchFromGitHub { owner = "tehmaze"; repo = "xmodem"; From 26aaf5fad3f8e2512af379eab01a69321a6b8047 Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 22:54:21 +0200 Subject: [PATCH 1603/2378] python3Packages.xpybutil: remove redundant structuredAttrs --- pkgs/development/python-modules/xpybutil/default.nix | 2 -- 1 file changed, 2 deletions(-) diff --git a/pkgs/development/python-modules/xpybutil/default.nix b/pkgs/development/python-modules/xpybutil/default.nix index f8c696f41781..e08f4b865423 100644 --- a/pkgs/development/python-modules/xpybutil/default.nix +++ b/pkgs/development/python-modules/xpybutil/default.nix @@ -12,8 +12,6 @@ buildPythonPackage (finalAttrs: { version = "0.0.6"; pyproject = true; - __structuredAttrs = true; - # Pypi only offers a wheel src = fetchFromGitHub { owner = "BurntSushi"; From ba4de9c203469d8703ab5899b7c0e3b4d6b7f458 Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 22:54:22 +0200 Subject: [PATCH 1604/2378] python3Packages.xstatic-asciinema-player: remove redundant structuredAttrs --- .../python-modules/xstatic-asciinema-player/default.nix | 2 -- 1 file changed, 2 deletions(-) diff --git a/pkgs/development/python-modules/xstatic-asciinema-player/default.nix b/pkgs/development/python-modules/xstatic-asciinema-player/default.nix index 22858af4a33f..309a4ef1c4e8 100644 --- a/pkgs/development/python-modules/xstatic-asciinema-player/default.nix +++ b/pkgs/development/python-modules/xstatic-asciinema-player/default.nix @@ -10,8 +10,6 @@ buildPythonPackage (finalAttrs: { version = "2.6.1.1"; pyproject = true; - __structuredAttrs = true; - src = fetchPypi { pname = "XStatic-asciinema-player"; inherit (finalAttrs) version; From 06e7911a4c1bb3ddce7c98fe8ce03a7b8de4bd63 Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 22:54:22 +0200 Subject: [PATCH 1605/2378] python3Packages.xstatic-bootbox: remove redundant structuredAttrs --- pkgs/development/python-modules/xstatic-bootbox/default.nix | 2 -- 1 file changed, 2 deletions(-) diff --git a/pkgs/development/python-modules/xstatic-bootbox/default.nix b/pkgs/development/python-modules/xstatic-bootbox/default.nix index 947cf2318760..234b2d97ed89 100644 --- a/pkgs/development/python-modules/xstatic-bootbox/default.nix +++ b/pkgs/development/python-modules/xstatic-bootbox/default.nix @@ -10,8 +10,6 @@ buildPythonPackage (finalAttrs: { version = "5.5.1.1"; pyproject = true; - __structuredAttrs = true; - src = fetchPypi { pname = "XStatic-Bootbox"; inherit (finalAttrs) version; From 9fb7bdda280eac323687c4a22df900367cb167ee Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 22:54:22 +0200 Subject: [PATCH 1606/2378] python3Packages.xstatic-bootstrap: remove redundant structuredAttrs --- pkgs/development/python-modules/xstatic-bootstrap/default.nix | 2 -- 1 file changed, 2 deletions(-) diff --git a/pkgs/development/python-modules/xstatic-bootstrap/default.nix b/pkgs/development/python-modules/xstatic-bootstrap/default.nix index e06f095ceb55..edf23a49b4f9 100644 --- a/pkgs/development/python-modules/xstatic-bootstrap/default.nix +++ b/pkgs/development/python-modules/xstatic-bootstrap/default.nix @@ -10,8 +10,6 @@ buildPythonPackage (finalAttrs: { version = "5.3.8.0"; pyproject = true; - __structuredAttrs = true; - src = fetchPypi { pname = "xstatic_bootstrap"; inherit (finalAttrs) version; From 8bf86f1602711528ad82af240c4009e1704ff56c Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 22:54:23 +0200 Subject: [PATCH 1607/2378] python3Packages.xstatic-jquery-file-upload: remove redundant structuredAttrs --- .../python-modules/xstatic-jquery-file-upload/default.nix | 2 -- 1 file changed, 2 deletions(-) diff --git a/pkgs/development/python-modules/xstatic-jquery-file-upload/default.nix b/pkgs/development/python-modules/xstatic-jquery-file-upload/default.nix index 48e76531d3c5..980e6a477105 100644 --- a/pkgs/development/python-modules/xstatic-jquery-file-upload/default.nix +++ b/pkgs/development/python-modules/xstatic-jquery-file-upload/default.nix @@ -11,8 +11,6 @@ buildPythonPackage (finalAttrs: { version = "10.32.0.1"; pyproject = true; - __structuredAttrs = true; - src = fetchPypi { pname = "XStatic-jQuery-File-Upload"; inherit (finalAttrs) version; From ca414234460d9e75548537a5a5aaf78295db8bec Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 22:54:23 +0200 Subject: [PATCH 1608/2378] python3Packages.xstatic-jquery-ui: remove redundant structuredAttrs --- pkgs/development/python-modules/xstatic-jquery-ui/default.nix | 2 -- 1 file changed, 2 deletions(-) diff --git a/pkgs/development/python-modules/xstatic-jquery-ui/default.nix b/pkgs/development/python-modules/xstatic-jquery-ui/default.nix index a5788bf13228..2e2808c88eb9 100644 --- a/pkgs/development/python-modules/xstatic-jquery-ui/default.nix +++ b/pkgs/development/python-modules/xstatic-jquery-ui/default.nix @@ -11,8 +11,6 @@ buildPythonPackage (finalAttrs: { version = "1.13.0.2"; pyproject = true; - __structuredAttrs = true; - src = fetchPypi { pname = "XStatic-jquery-ui"; inherit (finalAttrs) version; From 701afa46206547d05b24b995db8e6e86917a529b Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 22:54:23 +0200 Subject: [PATCH 1609/2378] python3Packages.xstatic-jquery: remove redundant structuredAttrs --- pkgs/development/python-modules/xstatic-jquery/default.nix | 2 -- 1 file changed, 2 deletions(-) diff --git a/pkgs/development/python-modules/xstatic-jquery/default.nix b/pkgs/development/python-modules/xstatic-jquery/default.nix index 2a6e9f980165..42db8b381a33 100644 --- a/pkgs/development/python-modules/xstatic-jquery/default.nix +++ b/pkgs/development/python-modules/xstatic-jquery/default.nix @@ -10,8 +10,6 @@ buildPythonPackage (finalAttrs: { version = "3.5.1.1"; pyproject = true; - __structuredAttrs = true; - src = fetchPypi { pname = "XStatic-jQuery"; inherit (finalAttrs) version; From 26bbc035c264e6212e1c08d511937de6df6f68b3 Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 22:54:23 +0200 Subject: [PATCH 1610/2378] python3Packages.xstatic-pygments: remove redundant structuredAttrs --- pkgs/development/python-modules/xstatic-pygments/default.nix | 2 -- 1 file changed, 2 deletions(-) diff --git a/pkgs/development/python-modules/xstatic-pygments/default.nix b/pkgs/development/python-modules/xstatic-pygments/default.nix index ef85fa3476a0..dd82f23f460e 100644 --- a/pkgs/development/python-modules/xstatic-pygments/default.nix +++ b/pkgs/development/python-modules/xstatic-pygments/default.nix @@ -10,8 +10,6 @@ buildPythonPackage (finalAttrs: { version = "2.9.0.1"; pyproject = true; - __structuredAttrs = true; - src = fetchPypi { pname = "XStatic-Pygments"; inherit (finalAttrs) version; From 37cc132f66ddf90fbbfb6ad3713f46c16d806e3f Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 22:54:24 +0200 Subject: [PATCH 1611/2378] python3Packages.xstatic: remove redundant structuredAttrs --- pkgs/development/python-modules/xstatic/default.nix | 2 -- 1 file changed, 2 deletions(-) diff --git a/pkgs/development/python-modules/xstatic/default.nix b/pkgs/development/python-modules/xstatic/default.nix index 16726e48976a..ceed9dbab63c 100644 --- a/pkgs/development/python-modules/xstatic/default.nix +++ b/pkgs/development/python-modules/xstatic/default.nix @@ -10,8 +10,6 @@ buildPythonPackage (finalAttrs: { version = "1.0.3"; pyproject = true; - __structuredAttrs = true; - src = fetchPypi { pname = "XStatic"; inherit (finalAttrs) version; From 54a0bb60666e0ae570da206af13063f141a3d5e9 Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 22:54:24 +0200 Subject: [PATCH 1612/2378] python3Packages.yacs: remove redundant structuredAttrs --- pkgs/development/python-modules/yacs/default.nix | 2 -- 1 file changed, 2 deletions(-) diff --git a/pkgs/development/python-modules/yacs/default.nix b/pkgs/development/python-modules/yacs/default.nix index 83ffef5b51b4..31ef541bc98b 100644 --- a/pkgs/development/python-modules/yacs/default.nix +++ b/pkgs/development/python-modules/yacs/default.nix @@ -12,8 +12,6 @@ buildPythonPackage (finalAttrs: { version = "0.1.8"; pyproject = true; - __structuredAttrs = true; - src = fetchFromGitHub { owner = "rbgirshick"; repo = "yacs"; From d68307cbefd39fd059c91c95ae68964df9b3f04a Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 22:54:24 +0200 Subject: [PATCH 1613/2378] python3Packages.yamlordereddictloader: remove redundant structuredAttrs --- .../python-modules/yamlordereddictloader/default.nix | 2 -- 1 file changed, 2 deletions(-) diff --git a/pkgs/development/python-modules/yamlordereddictloader/default.nix b/pkgs/development/python-modules/yamlordereddictloader/default.nix index c2158ff92a70..3a243a5864f1 100644 --- a/pkgs/development/python-modules/yamlordereddictloader/default.nix +++ b/pkgs/development/python-modules/yamlordereddictloader/default.nix @@ -11,8 +11,6 @@ buildPythonPackage (finalAttrs: { version = "0.4.2"; pyproject = true; - __structuredAttrs = true; - src = fetchPypi { inherit (finalAttrs) pname version; hash = "sha256-Nq8vYhD8/12k/EwS4dgV+XPc60EETnleHwYRXWNLyhM="; From 236d08bad6d6aa0c31b6e776bce96299cff2c12d Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 22:54:24 +0200 Subject: [PATCH 1614/2378] python3Packages.yargy: remove redundant structuredAttrs --- pkgs/development/python-modules/yargy/default.nix | 2 -- 1 file changed, 2 deletions(-) diff --git a/pkgs/development/python-modules/yargy/default.nix b/pkgs/development/python-modules/yargy/default.nix index e1dd6454c44a..8950f3f36dca 100644 --- a/pkgs/development/python-modules/yargy/default.nix +++ b/pkgs/development/python-modules/yargy/default.nix @@ -12,8 +12,6 @@ buildPythonPackage (finalAttrs: { version = "0.16.0"; pyproject = true; - __structuredAttrs = true; - src = fetchPypi { inherit (finalAttrs) pname version; hash = "sha256-yRfu+zKkDCPEa2yojWiScHLdAKuU6Q/V3GqwpitZtZM="; From ba199118463df30d05386469eebde9eb6178118a Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 22:54:25 +0200 Subject: [PATCH 1615/2378] python3Packages.yaswfp: remove redundant structuredAttrs --- pkgs/development/python-modules/yaswfp/default.nix | 2 -- 1 file changed, 2 deletions(-) diff --git a/pkgs/development/python-modules/yaswfp/default.nix b/pkgs/development/python-modules/yaswfp/default.nix index 6d0b1f447c34..f1768dcd9d9c 100644 --- a/pkgs/development/python-modules/yaswfp/default.nix +++ b/pkgs/development/python-modules/yaswfp/default.nix @@ -11,8 +11,6 @@ buildPythonPackage (finalAttrs: { version = "0.9.3-unstable-2014-09-11"; pyproject = true; - __structuredAttrs = true; - src = fetchFromGitHub { owner = "facundobatista"; repo = "yaswfp"; From 024fe0737ef207a9615737f0ada6fba7ae6ef2d0 Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 22:54:25 +0200 Subject: [PATCH 1616/2378] python3Packages.yattag: remove redundant structuredAttrs --- pkgs/development/python-modules/yattag/default.nix | 2 -- 1 file changed, 2 deletions(-) diff --git a/pkgs/development/python-modules/yattag/default.nix b/pkgs/development/python-modules/yattag/default.nix index 9fd35f7f47af..b163f47fbcfc 100644 --- a/pkgs/development/python-modules/yattag/default.nix +++ b/pkgs/development/python-modules/yattag/default.nix @@ -11,8 +11,6 @@ buildPythonPackage (finalAttrs: { version = "1.16.1"; pyproject = true; - __structuredAttrs = true; - src = fetchPypi { inherit (finalAttrs) pname version; hash = "sha256-uqjyVOfqXT4GGCga0v9WEODlNgs2COaVwpv7OynQUfQ="; From 10148e203ddc460e8c4e9f38b607852ac589e6eb Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 22:54:25 +0200 Subject: [PATCH 1617/2378] python3Packages.ydiff: remove redundant structuredAttrs --- pkgs/development/python-modules/ydiff/default.nix | 2 -- 1 file changed, 2 deletions(-) diff --git a/pkgs/development/python-modules/ydiff/default.nix b/pkgs/development/python-modules/ydiff/default.nix index d778a8a9804d..8fa8708fbba1 100644 --- a/pkgs/development/python-modules/ydiff/default.nix +++ b/pkgs/development/python-modules/ydiff/default.nix @@ -16,8 +16,6 @@ buildPythonPackage (finalAttrs: { version = "1.5"; pyproject = true; - __structuredAttrs = true; - src = fetchFromGitHub { owner = "ymattw"; repo = "ydiff"; From dc9a0bf80a20ab154830250dc9ce869ced69222b Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 22:54:26 +0200 Subject: [PATCH 1618/2378] python3Packages.yoyo-migrations: remove redundant structuredAttrs --- pkgs/development/python-modules/yoyo-migrations/default.nix | 2 -- 1 file changed, 2 deletions(-) diff --git a/pkgs/development/python-modules/yoyo-migrations/default.nix b/pkgs/development/python-modules/yoyo-migrations/default.nix index f071b8395218..41dfa57530f1 100644 --- a/pkgs/development/python-modules/yoyo-migrations/default.nix +++ b/pkgs/development/python-modules/yoyo-migrations/default.nix @@ -13,8 +13,6 @@ buildPythonPackage (finalAttrs: { version = "9.0.0"; pyproject = true; - __structuredAttrs = true; - src = fetchFromSourcehut { owner = "~olly"; repo = "yoyo"; From be247f7731e83bb0eb357dea1ca42b2e9fd5727b Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 22:54:26 +0200 Subject: [PATCH 1619/2378] python3Packages.yubico-client: remove redundant structuredAttrs --- pkgs/development/python-modules/yubico-client/default.nix | 2 -- 1 file changed, 2 deletions(-) diff --git a/pkgs/development/python-modules/yubico-client/default.nix b/pkgs/development/python-modules/yubico-client/default.nix index f237e955cf9e..90e23056b28b 100644 --- a/pkgs/development/python-modules/yubico-client/default.nix +++ b/pkgs/development/python-modules/yubico-client/default.nix @@ -11,8 +11,6 @@ buildPythonPackage (finalAttrs: { version = "1.13.0"; pyproject = true; - __structuredAttrs = true; - src = fetchPypi { inherit (finalAttrs) pname version; hash = "sha256-47hs0qEjEF7frK1AVRx7JunBGT2B/+Fo7nBOv9PREWI="; From 6dabed22d4d81c68a2bf8137c2c70974eb705e45 Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 22:54:26 +0200 Subject: [PATCH 1620/2378] python3Packages.yubico: remove redundant structuredAttrs --- pkgs/development/python-modules/yubico/default.nix | 2 -- 1 file changed, 2 deletions(-) diff --git a/pkgs/development/python-modules/yubico/default.nix b/pkgs/development/python-modules/yubico/default.nix index 9d2ff41859aa..6bc220f7980c 100644 --- a/pkgs/development/python-modules/yubico/default.nix +++ b/pkgs/development/python-modules/yubico/default.nix @@ -12,8 +12,6 @@ buildPythonPackage (finalAttrs: { version = "1.3.3"; pyproject = true; - __structuredAttrs = true; - src = fetchPypi { inherit (finalAttrs) pname version; hash = "sha256-2EZkJ6pZIqxdS36cZbaTEIQnz1N9ZT1oyyEsBxPo5vU="; From 1d68eb3b21bb23b81a35527012393b3acfdea3c0 Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 22:54:26 +0200 Subject: [PATCH 1621/2378] python3Packages.zaproxy: remove redundant structuredAttrs --- pkgs/development/python-modules/zaproxy/default.nix | 2 -- 1 file changed, 2 deletions(-) diff --git a/pkgs/development/python-modules/zaproxy/default.nix b/pkgs/development/python-modules/zaproxy/default.nix index 9765b308c3ee..d6fad94a1788 100644 --- a/pkgs/development/python-modules/zaproxy/default.nix +++ b/pkgs/development/python-modules/zaproxy/default.nix @@ -16,8 +16,6 @@ buildPythonPackage (finalAttrs: { version = "0.6.0"; pyproject = true; - __structuredAttrs = true; - src = fetchFromGitHub { owner = "zaproxy"; repo = "zap-api-python"; From 547653124ccab3f1ae9c3cd563e3fa25f0584cac Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 22:54:27 +0200 Subject: [PATCH 1622/2378] python3Packages.zigpy-cc: remove redundant structuredAttrs --- pkgs/development/python-modules/zigpy-cc/default.nix | 2 -- 1 file changed, 2 deletions(-) diff --git a/pkgs/development/python-modules/zigpy-cc/default.nix b/pkgs/development/python-modules/zigpy-cc/default.nix index 36b41b0e6ff8..cfc56c282329 100644 --- a/pkgs/development/python-modules/zigpy-cc/default.nix +++ b/pkgs/development/python-modules/zigpy-cc/default.nix @@ -15,8 +15,6 @@ buildPythonPackage (finalAttrs: { version = "0.5.2"; pyproject = true; - __structuredAttrs = true; - # https://github.com/Martiusweb/asynctest/issues/152 # broken by upstream python bug with asynctest and # is used exclusively by home-assistant with python 3.8 From 2474696c25e9010455fbabaeb499bc3751c618fb Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 22:54:27 +0200 Subject: [PATCH 1623/2378] python3Packages.zigpy-ziggurat: remove redundant structuredAttrs --- pkgs/development/python-modules/zigpy-ziggurat/default.nix | 1 - 1 file changed, 1 deletion(-) diff --git a/pkgs/development/python-modules/zigpy-ziggurat/default.nix b/pkgs/development/python-modules/zigpy-ziggurat/default.nix index e9ba18410df2..e66a2938f4e3 100644 --- a/pkgs/development/python-modules/zigpy-ziggurat/default.nix +++ b/pkgs/development/python-modules/zigpy-ziggurat/default.nix @@ -16,7 +16,6 @@ buildPythonPackage (finalAttrs: { pname = "zigpy-ziggurat"; version = "1.1.1"; pyproject = true; - __structuredAttrs = true; src = fetchFromGitHub { owner = "zigpy"; From 5188f50a5887070882700b3dcb92bce2615b4276 Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 22:54:27 +0200 Subject: [PATCH 1624/2378] python3Packages.zxcvbn: remove redundant structuredAttrs --- pkgs/development/python-modules/zxcvbn/default.nix | 2 -- 1 file changed, 2 deletions(-) diff --git a/pkgs/development/python-modules/zxcvbn/default.nix b/pkgs/development/python-modules/zxcvbn/default.nix index f680dd2e100d..8b10ad7f1f32 100644 --- a/pkgs/development/python-modules/zxcvbn/default.nix +++ b/pkgs/development/python-modules/zxcvbn/default.nix @@ -11,8 +11,6 @@ buildPythonPackage (finalAttrs: { version = "4.5.0"; pyproject = true; - __structuredAttrs = true; - # no tests included in PyPI tarball src = fetchFromGitHub { owner = "dwolfhub"; From 94e78b90037db15870db7d50f46d454a39659e90 Mon Sep 17 00:00:00 2001 From: rntpts Date: Sat, 17 Oct 2026 02:03:59 +0200 Subject: [PATCH 1625/2378] tree-sitter: enable structuredAttrs --- pkgs/by-name/tr/tree-sitter/package.nix | 2 ++ 1 file changed, 2 insertions(+) diff --git a/pkgs/by-name/tr/tree-sitter/package.nix b/pkgs/by-name/tr/tree-sitter/package.nix index ebd2c362f222..54d742bd8616 100644 --- a/pkgs/by-name/tr/tree-sitter/package.nix +++ b/pkgs/by-name/tr/tree-sitter/package.nix @@ -137,6 +137,8 @@ rustPlatform.buildRustPackage (finalAttrs: { pname = "tree-sitter"; version = "0.26.11"; + __structuredAttrs = true; + src = fetchFromGitHub { owner = "tree-sitter"; repo = "tree-sitter"; From 01d7c51e104f2391e61e120e8cc3bedd2f0d05c4 Mon Sep 17 00:00:00 2001 From: Randy Eckenrode Date: Fri, 16 Oct 2026 20:52:23 -0400 Subject: [PATCH 1626/2378] llvmPackages.clang-unwrapped: make ROCm fix unconditional This can target staging since ROCm is fixed on master. See https://github.com/NixOS/nixpkgs/pull/575036. --- .../compilers/llvm/common/clang/default.nix | 54 +++++++------------ 1 file changed, 20 insertions(+), 34 deletions(-) diff --git a/pkgs/development/compilers/llvm/common/clang/default.nix b/pkgs/development/compilers/llvm/common/clang/default.nix index c2f20ca26ff3..6223f2d93d0c 100644 --- a/pkgs/development/compilers/llvm/common/clang/default.nix +++ b/pkgs/development/compilers/llvm/common/clang/default.nix @@ -180,40 +180,26 @@ stdenv.mkDerivation ( moveToOutput "lib/libclang-cpp.*" "$lib" mkdir -p $python/bin $python/share/clang/ '' - + ( - # This conditional will be dropped on staging. Doing this to fix ROCm on master without rebuilding Darwin. - if lib.hasSuffix "rocm" finalAttrs.version then - '' - declare -a pythonScripts=( - analyze-build - git-clang-format - hmaptool - intercept-build - run-clang-tidy - scan-build-py - scan-view - set-xcode-analyzer - ) - for pythonScript in "''${pythonScripts[@]}"; do - if [ -e $out/bin/$pythonScript ]; then - mv $out/bin/$pythonScript $python/bin - fi - done - mv $out/share/clang/*.py $python/share/clang - # Delete the Perl implementation of scan-build. It doesn’t even work when libexec is in a separate output. - rm -rf $out/bin/scan-build $lib/libexec - '' - else - '' - mv $out/bin/{analyze-build,git-clang-format,hmaptool,intercept-build,run-clang-tidy,scan-build-py,scan-view} $python/bin - if [ -e $out/bin/set-xcode-analyzer ]; then - mv $out/bin/set-xcode-analyzer $python/bin - fi - mv $out/share/clang/*.py $python/share/clang - # Delete the Perl implementation of scan-build. It doesn’t even work when libexec is in a separate output. - rm -rf $out/bin/scan-build $lib/libexec - '' - ) + + '' + declare -a pythonScripts=( + analyze-build + git-clang-format + hmaptool + intercept-build + run-clang-tidy + scan-build-py + scan-view + set-xcode-analyzer + ) + for pythonScript in "''${pythonScripts[@]}"; do + if [ -e $out/bin/$pythonScript ]; then + mv $out/bin/$pythonScript $python/bin + fi + done + mv $out/share/clang/*.py $python/share/clang + # Delete the Perl implementation of scan-build. It doesn’t even work when libexec is in a separate output. + rm -rf $out/bin/scan-build $lib/libexec + '' + lib.optionalString (lib.versionOlder release_version "22") '' rm $out/bin/c-index-test '' From e1aeec339daea5b52c94ea1948c8f15d945fd059 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Robert=20Sch=C3=BCtz?= Date: Fri, 16 Oct 2026 19:09:38 -0700 Subject: [PATCH 1627/2378] python3Packages.syrupy: 6.0.0 -> 6.1.1 Diff: https://github.com/syrupy-project/syrupy/compare/v6.0.0...v6.1.1 Changelog: https://github.com/syrupy-project/syrupy/blob/v6.1.1/CHANGELOG.md --- pkgs/development/python-modules/syrupy/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/syrupy/default.nix b/pkgs/development/python-modules/syrupy/default.nix index 11efd8b12cb3..90366db56a9c 100644 --- a/pkgs/development/python-modules/syrupy/default.nix +++ b/pkgs/development/python-modules/syrupy/default.nix @@ -12,14 +12,14 @@ buildPythonPackage (finalAttrs: { pname = "syrupy"; - version = "6.0.0"; + version = "6.1.1"; pyproject = true; src = fetchFromGitHub { owner = "syrupy-project"; repo = "syrupy"; tag = "v${finalAttrs.version}"; - hash = "sha256-dpGEX0abz20sI+tVSRXQRbFTz/EOQEwbduOdtLZS/AQ="; + hash = "sha256-+WuG0UDxbAIVci+/IfRqvKr4YM3ewzvEAtk6PEiBcpw="; }; build-system = [ hatchling ]; From 336f7b059dcd03136b57916c39851fb37e49a102 Mon Sep 17 00:00:00 2001 From: Michael Daniels Date: Fri, 16 Oct 2026 23:15:25 -0400 Subject: [PATCH 1628/2378] python3Packages.meson-python: 0.20.0 -> 0.22.1 Changelog: https://github.com/mesonbuild/meson-python/blob/0.22.1/CHANGELOG.rst Assisted-by: gpt-6.1-sol (high, codex) --- .../python-modules/meson-python/default.nix | 14 ++++++++++++-- 1 file changed, 12 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/meson-python/default.nix b/pkgs/development/python-modules/meson-python/default.nix index b618b5a5856a..1695fb53ed6c 100644 --- a/pkgs/development/python-modules/meson-python/default.nix +++ b/pkgs/development/python-modules/meson-python/default.nix @@ -20,13 +20,13 @@ buildPythonPackage rec { pname = "meson-python"; - version = "0.20.0"; + version = "0.22.1"; pyproject = true; src = fetchPypi { inherit version; pname = "meson_python"; - hash = "sha256-bZcmrmzTfiLyEMdLNkswGApowgRC6X/wnzxWakFK9zg="; + hash = "sha256-UsiGKLDlZxWS3CMGYT+19vNhX9JN7wWbmJTxQ7f5oTk="; }; build-system = [ @@ -51,6 +51,16 @@ buildPythonPackage rec { dontUseCmakeConfigure = true; + # For the ld-wrapper to work, we need to use pure rpaths. + # Ones under $out will do (even though there's no native library in it) + preCheck = '' + substituteInPlace tests/test_wheel.py \ + --replace-fail /usr/lib/test-ldflags "$out/lib/test-ldflags" \ + --replace-fail /usr/local/lib "$out/lib" + substituteInPlace tests/packages/purelib-and-platlib/meson.build \ + --replace-fail /usr/local/lib "$out/lib" + ''; + setupHooks = [ ./add-build-flags.sh ]; meta = { From 70113404a5b766e031ba6cbbecd26decfa4b059c Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sat, 10 Oct 2026 15:21:07 +0200 Subject: [PATCH 1629/2378] python3Packages.nftables: remove redundant structuredAttrs --- pkgs/os-specific/linux/nftables/python.nix | 2 -- 1 file changed, 2 deletions(-) diff --git a/pkgs/os-specific/linux/nftables/python.nix b/pkgs/os-specific/linux/nftables/python.nix index 0a7856ea6535..072fe5730043 100644 --- a/pkgs/os-specific/linux/nftables/python.nix +++ b/pkgs/os-specific/linux/nftables/python.nix @@ -9,8 +9,6 @@ buildPythonPackage (finalAttrs: { inherit (nftables) version src; pyproject = true; - __structuredAttrs = true; - postPatch = '' substituteInPlace "src/nftables.py" \ --replace-fail 'NFTABLES_VERSION = "0.1"' 'NFTABLES_VERSION = "${finalAttrs.version}"' \ From 81ff1f1a446914b20f7933a9fc27ca005bc32d2c Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sat, 10 Oct 2026 15:23:36 +0200 Subject: [PATCH 1630/2378] home-assistant: remove redundant structuredAttrs from internal Python module --- .../home-assistant/python-modules/gazetteer-matcher/default.nix | 1 - 1 file changed, 1 deletion(-) diff --git a/pkgs/servers/home-assistant/python-modules/gazetteer-matcher/default.nix b/pkgs/servers/home-assistant/python-modules/gazetteer-matcher/default.nix index 73590f29f7c2..81299f2888e3 100644 --- a/pkgs/servers/home-assistant/python-modules/gazetteer-matcher/default.nix +++ b/pkgs/servers/home-assistant/python-modules/gazetteer-matcher/default.nix @@ -13,7 +13,6 @@ buildPythonPackage (finalAttrs: { pname = "gazetteer-matcher"; version = "1.1.0"; pyproject = true; - __structuredAttrs = true; src = fetchFromGitHub { owner = "OHF-Voice"; From 6bbc78f7d188a4de0c5f606f8d5e3a56687501a2 Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sat, 17 Oct 2026 12:06:02 +0200 Subject: [PATCH 1631/2378] gtk-doc: remove redundant __structuredAttrs --- pkgs/by-name/gt/gtk-doc/package.nix | 2 -- 1 file changed, 2 deletions(-) diff --git a/pkgs/by-name/gt/gtk-doc/package.nix b/pkgs/by-name/gt/gtk-doc/package.nix index 97117f61992b..542ea8b19a3b 100644 --- a/pkgs/by-name/gt/gtk-doc/package.nix +++ b/pkgs/by-name/gt/gtk-doc/package.nix @@ -85,8 +85,6 @@ python3.pkgs.buildPythonApplication (finalAttrs: { }; }; - __structuredAttrs = true; - meta = { changelog = "https://gitlab.gnome.org/GNOME/gtk-doc/-/blob/${finalAttrs.src.tag}/NEWS"; description = "Tools to extract documentation embedded in GTK and GNOME source code"; From bddf526719af753ff365e89fe654c02c069d1c64 Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sat, 17 Oct 2026 12:18:43 +0200 Subject: [PATCH 1632/2378] python3Packages.amazon-ion: remove redundant structuredAttrs --- pkgs/development/python-modules/amazon-ion/default.nix | 1 - 1 file changed, 1 deletion(-) diff --git a/pkgs/development/python-modules/amazon-ion/default.nix b/pkgs/development/python-modules/amazon-ion/default.nix index 96c07ff28a2c..5e94cac249f2 100644 --- a/pkgs/development/python-modules/amazon-ion/default.nix +++ b/pkgs/development/python-modules/amazon-ion/default.nix @@ -20,7 +20,6 @@ buildPythonPackage (finalAttrs: { pname = "amazon-ion"; version = "0.15.0"; pyproject = true; - __structuredAttrs = true; src = fetchFromGitHub { owner = "amazon-ion"; From 133af5a9b8a523ddccf4c16cddfd6dc8b0109e4c Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sat, 17 Oct 2026 12:18:46 +0200 Subject: [PATCH 1633/2378] python3Packages.blockbuster: remove redundant structuredAttrs --- pkgs/development/python-modules/blockbuster/default.nix | 1 - 1 file changed, 1 deletion(-) diff --git a/pkgs/development/python-modules/blockbuster/default.nix b/pkgs/development/python-modules/blockbuster/default.nix index 15373b115b5f..172e5d8ca81c 100644 --- a/pkgs/development/python-modules/blockbuster/default.nix +++ b/pkgs/development/python-modules/blockbuster/default.nix @@ -39,7 +39,6 @@ buildPythonPackage (finalAttrs: { ]; __darwinAllowLocalNetworking = true; - __structuredAttrs = true; pythonImportsCheck = [ "blockbuster" ]; From 5c46bb139a494bcfc4179e44d2c78fa2c613509f Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sat, 17 Oct 2026 12:18:46 +0200 Subject: [PATCH 1634/2378] python3Packages.cairosvg: remove redundant structuredAttrs --- pkgs/development/python-modules/cairosvg/default.nix | 1 - 1 file changed, 1 deletion(-) diff --git a/pkgs/development/python-modules/cairosvg/default.nix b/pkgs/development/python-modules/cairosvg/default.nix index b6c027589dc6..125a01c47f52 100644 --- a/pkgs/development/python-modules/cairosvg/default.nix +++ b/pkgs/development/python-modules/cairosvg/default.nix @@ -21,7 +21,6 @@ buildPythonPackage (finalAttrs: { pname = "cairosvg"; version = "2.9.1"; pyproject = true; - __structuredAttrs = true; src = fetchFromGitHub { owner = "Kozea"; From 112a3f7d51b88f980a02d8f389554bc452276f75 Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sat, 17 Oct 2026 12:18:46 +0200 Subject: [PATCH 1635/2378] python3Packages.cupti-python: remove redundant structuredAttrs --- pkgs/development/python-modules/cupti-python/default.nix | 1 - 1 file changed, 1 deletion(-) diff --git a/pkgs/development/python-modules/cupti-python/default.nix b/pkgs/development/python-modules/cupti-python/default.nix index a876031c9308..f7381b0f012d 100644 --- a/pkgs/development/python-modules/cupti-python/default.nix +++ b/pkgs/development/python-modules/cupti-python/default.nix @@ -65,7 +65,6 @@ buildPythonPackage (finalAttrs: { pname = "cupti-python"; inherit version; format = "wheel"; - __structuredAttrs = true; src = srcs.${srcKey} or (throw "cupti-python: no wheel for ${srcKey}"); From 43252e90199e53c68a99aa84b60490719165092d Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sat, 17 Oct 2026 12:18:47 +0200 Subject: [PATCH 1636/2378] python3Packages.draccus: remove redundant structuredAttrs --- pkgs/development/python-modules/draccus/default.nix | 1 - 1 file changed, 1 deletion(-) diff --git a/pkgs/development/python-modules/draccus/default.nix b/pkgs/development/python-modules/draccus/default.nix index a53c25d1e24f..f08a36f7a742 100644 --- a/pkgs/development/python-modules/draccus/default.nix +++ b/pkgs/development/python-modules/draccus/default.nix @@ -21,7 +21,6 @@ buildPythonPackage (finalAttrs: { pname = "draccus"; version = "0.11.6"; pyproject = true; - __structuredAttrs = true; src = fetchFromGitHub { owner = "marin-community"; From a3a0073a7559f7d897ceb93ba3917b4986b8bd74 Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sat, 17 Oct 2026 12:18:47 +0200 Subject: [PATCH 1637/2378] python3Packages.flashinfer-python: remove redundant structuredAttrs --- pkgs/development/python-modules/flashinfer-python/default.nix | 1 - 1 file changed, 1 deletion(-) diff --git a/pkgs/development/python-modules/flashinfer-python/default.nix b/pkgs/development/python-modules/flashinfer-python/default.nix index 83f8954d7c93..7f073c8c3c14 100644 --- a/pkgs/development/python-modules/flashinfer-python/default.nix +++ b/pkgs/development/python-modules/flashinfer-python/default.nix @@ -51,7 +51,6 @@ buildPythonPackage.override { inherit (torch) stdenv; } (finalAttrs: { pname = "flashinfer-python"; version = "0.7.1"; pyproject = true; - __structuredAttrs = true; src = fetchFromGitHub { owner = "flashinfer-ai"; From cca8e3685c208df1d16369ea50496f12cfc2a598 Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sat, 17 Oct 2026 12:18:47 +0200 Subject: [PATCH 1638/2378] python3Packages.harlequin-odbc: remove redundant structuredAttrs --- pkgs/development/python-modules/harlequin-odbc/default.nix | 1 - 1 file changed, 1 deletion(-) diff --git a/pkgs/development/python-modules/harlequin-odbc/default.nix b/pkgs/development/python-modules/harlequin-odbc/default.nix index dbaa4a720fc1..4cbbc77e4bcc 100644 --- a/pkgs/development/python-modules/harlequin-odbc/default.nix +++ b/pkgs/development/python-modules/harlequin-odbc/default.nix @@ -11,7 +11,6 @@ buildPythonPackage (finalAttrs: { pname = "harlequin-odbc"; version = "0.4.0"; pyproject = true; - __structuredAttrs = true; src = fetchFromGitHub { owner = "tconbeer"; From d559987134164dc1fce16605013ce3274222fd38 Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sat, 17 Oct 2026 12:18:47 +0200 Subject: [PATCH 1639/2378] python3Packages.jiter: remove redundant structuredAttrs, use finalAttrs --- pkgs/development/python-modules/jiter/default.nix | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/pkgs/development/python-modules/jiter/default.nix b/pkgs/development/python-modules/jiter/default.nix index 77ec4c80dc14..2eebf0726e50 100644 --- a/pkgs/development/python-modules/jiter/default.nix +++ b/pkgs/development/python-modules/jiter/default.nix @@ -9,16 +9,15 @@ nix-update-script, }: -buildPythonPackage rec { +buildPythonPackage (finalAttrs: { pname = "jiter"; version = "0.17.0"; pyproject = true; - __structuredAttrs = true; src = fetchFromGitHub { owner = "pydantic"; repo = "jiter"; - tag = "v${version}"; + tag = "v${finalAttrs.version}"; hash = "sha256-ZYLxywATUWU/KmzVyBBsGIqGuWWyQoQHIOXPxHGkk9E="; }; @@ -48,11 +47,11 @@ buildPythonPackage rec { meta = { description = "Fast iterable JSON parser"; homepage = "https://github.com/pydantic/jiter/"; - changelog = "https://github.com/pydantic/jiter/releases/tag/v${version}"; + changelog = "https://github.com/pydantic/jiter/releases/tag/v${finalAttrs.version}"; license = lib.licenses.mit; maintainers = with lib.maintainers; [ natsukium sarahec ]; }; -} +}) From 87d938e23a15378e6209fa4043c3adb9dd528a85 Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sat, 17 Oct 2026 12:18:48 +0200 Subject: [PATCH 1640/2378] python3Packages.kestra: remove redundant structuredAttrs --- pkgs/development/python-modules/kestra/default.nix | 1 - 1 file changed, 1 deletion(-) diff --git a/pkgs/development/python-modules/kestra/default.nix b/pkgs/development/python-modules/kestra/default.nix index eca72800cac0..65b89f124bb2 100644 --- a/pkgs/development/python-modules/kestra/default.nix +++ b/pkgs/development/python-modules/kestra/default.nix @@ -22,7 +22,6 @@ buildPythonPackage (finalAttrs: { pname = "kestra"; version = "2.0.0"; pyproject = true; - __structuredAttrs = true; src = fetchFromGitHub { owner = "kestra-io"; From 178ee61632e7f5f134da5601bf7a64ed71b73c53 Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sat, 17 Oct 2026 12:18:48 +0200 Subject: [PATCH 1641/2378] python3Packages.llm-anthropic: remove redundant structuredAttrs --- pkgs/development/python-modules/llm-anthropic/default.nix | 1 - 1 file changed, 1 deletion(-) diff --git a/pkgs/development/python-modules/llm-anthropic/default.nix b/pkgs/development/python-modules/llm-anthropic/default.nix index 06484e65aec6..96a7508d0d0c 100644 --- a/pkgs/development/python-modules/llm-anthropic/default.nix +++ b/pkgs/development/python-modules/llm-anthropic/default.nix @@ -17,7 +17,6 @@ buildPythonPackage (finalAttrs: { pname = "llm-anthropic"; version = "0.28"; pyproject = true; - __structuredAttrs = true; src = fetchFromGitHub { owner = "simonw"; From 3b44e2daa848c878353ab8aeebfc4fc6334eb91f Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sat, 17 Oct 2026 12:18:48 +0200 Subject: [PATCH 1642/2378] python3Packages.llmx: remove redundant structuredAttrs --- pkgs/development/python-modules/llmx/default.nix | 1 - 1 file changed, 1 deletion(-) diff --git a/pkgs/development/python-modules/llmx/default.nix b/pkgs/development/python-modules/llmx/default.nix index fb3a93ca1674..6cacd1a24892 100644 --- a/pkgs/development/python-modules/llmx/default.nix +++ b/pkgs/development/python-modules/llmx/default.nix @@ -26,7 +26,6 @@ buildPythonPackage (finalAttrs: { pname = "llmx"; version = "0.0.21a0"; pyproject = true; - __structuredAttrs = true; src = fetchPypi { inherit (finalAttrs) pname version; From 41b537ee3b11f38ed10d1541633870855bf40a7a Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sat, 17 Oct 2026 12:18:49 +0200 Subject: [PATCH 1643/2378] python3Packages.mcp-types: remove redundant structuredAttrs --- pkgs/development/python-modules/mcp-types/default.nix | 1 - 1 file changed, 1 deletion(-) diff --git a/pkgs/development/python-modules/mcp-types/default.nix b/pkgs/development/python-modules/mcp-types/default.nix index 214ca8b36216..bcff58461344 100644 --- a/pkgs/development/python-modules/mcp-types/default.nix +++ b/pkgs/development/python-modules/mcp-types/default.nix @@ -16,7 +16,6 @@ buildPythonPackage (finalAttrs: { pname = "mcp-types"; inherit (mcp_2) version src; pyproject = true; - __structuredAttrs = true; sourceRoot = "${finalAttrs.src.name}/src/mcp-types"; From 5b7588b4062932ea44905c872ce107f0c2f1e3c0 Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sat, 17 Oct 2026 12:18:49 +0200 Subject: [PATCH 1644/2378] python3Packages.mindsdb-evaluator: remove redundant structuredAttrs --- pkgs/development/python-modules/mindsdb-evaluator/default.nix | 1 - 1 file changed, 1 deletion(-) diff --git a/pkgs/development/python-modules/mindsdb-evaluator/default.nix b/pkgs/development/python-modules/mindsdb-evaluator/default.nix index a62b762aea9e..167effd908cb 100644 --- a/pkgs/development/python-modules/mindsdb-evaluator/default.nix +++ b/pkgs/development/python-modules/mindsdb-evaluator/default.nix @@ -15,7 +15,6 @@ buildPythonPackage (finalAttrs: { pname = "mindsdb-evaluator"; version = "0.0.21"; pyproject = true; - __structuredAttrs = true; src = fetchFromGitHub { owner = "mindsdb"; From b0a29223bddc2bd42712a8218397fc62c0b6fd82 Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sat, 17 Oct 2026 12:18:49 +0200 Subject: [PATCH 1645/2378] python3Packages.mrsqm: remove redundant structuredAttrs --- pkgs/development/python-modules/mrsqm/default.nix | 1 - 1 file changed, 1 deletion(-) diff --git a/pkgs/development/python-modules/mrsqm/default.nix b/pkgs/development/python-modules/mrsqm/default.nix index 0b56a937e5a5..338961d17b27 100644 --- a/pkgs/development/python-modules/mrsqm/default.nix +++ b/pkgs/development/python-modules/mrsqm/default.nix @@ -17,7 +17,6 @@ buildPythonPackage (finalAttrs: { pname = "mrsqm"; version = "0.0.7"; pyproject = true; - __structuredAttrs = true; src = fetchFromGitHub { owner = "mlgig"; From a0018e5628dd8c418244b3a4b8fc3f37eeeeeb33 Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sat, 17 Oct 2026 12:18:49 +0200 Subject: [PATCH 1646/2378] python3Packages.niaarm: remove redundant structuredAttrs --- pkgs/development/python-modules/niaarm/default.nix | 1 - 1 file changed, 1 deletion(-) diff --git a/pkgs/development/python-modules/niaarm/default.nix b/pkgs/development/python-modules/niaarm/default.nix index 01a2f2000af4..b1629eee5ab6 100644 --- a/pkgs/development/python-modules/niaarm/default.nix +++ b/pkgs/development/python-modules/niaarm/default.nix @@ -25,7 +25,6 @@ buildPythonPackage (finalAttrs: { # nixpkgs-update: no auto update version = "0.13.4"; pyproject = true; - __structuredAttrs = true; src = fetchFromGitHub { owner = "firefly-cpp"; From 2d0716560bedf94baa3491066447fd93e67e18bd Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sat, 17 Oct 2026 12:18:50 +0200 Subject: [PATCH 1647/2378] python3Packages.nixl: remove redundant structuredAttrs --- pkgs/development/python-modules/nixl/default.nix | 2 -- 1 file changed, 2 deletions(-) diff --git a/pkgs/development/python-modules/nixl/default.nix b/pkgs/development/python-modules/nixl/default.nix index 0fcf38c6ec4c..cd8c42a15f89 100644 --- a/pkgs/development/python-modules/nixl/default.nix +++ b/pkgs/development/python-modules/nixl/default.nix @@ -27,8 +27,6 @@ buildPythonPackage.override { inherit (nixl) stdenv; } (finalAttrs: { pname version src - __structuredAttrs - strictDeps nativeBuildInputs dontUseCmakeConfigure buildInputs From 1bcacf99fc824a696f9ce8a410c3dd378f32333d Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sat, 17 Oct 2026 12:18:50 +0200 Subject: [PATCH 1648/2378] python3Packages.nvidia-resiliency-ext: remove redundant structuredAttrs --- .../development/python-modules/nvidia-resiliency-ext/default.nix | 1 - 1 file changed, 1 deletion(-) diff --git a/pkgs/development/python-modules/nvidia-resiliency-ext/default.nix b/pkgs/development/python-modules/nvidia-resiliency-ext/default.nix index 7b2306b939a8..07c6be40c727 100644 --- a/pkgs/development/python-modules/nvidia-resiliency-ext/default.nix +++ b/pkgs/development/python-modules/nvidia-resiliency-ext/default.nix @@ -48,7 +48,6 @@ buildPythonPackage.override { stdenv = cudaPackages.backendStdenv; } (finalAttrs pname = "nvidia-resiliency-ext"; version = "0.7.0"; pyproject = true; - __structuredAttrs = true; src = fetchFromGitHub { owner = "NVIDIA"; From ce3d23aaf57bcea8b63447690c161b6e0e2138dd Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sat, 17 Oct 2026 12:18:50 +0200 Subject: [PATCH 1649/2378] python3Packages.oauthenticator: remove redundant structuredAttrs --- pkgs/development/python-modules/oauthenticator/default.nix | 1 - 1 file changed, 1 deletion(-) diff --git a/pkgs/development/python-modules/oauthenticator/default.nix b/pkgs/development/python-modules/oauthenticator/default.nix index 2034ec35d8d7..e593bf241c5c 100644 --- a/pkgs/development/python-modules/oauthenticator/default.nix +++ b/pkgs/development/python-modules/oauthenticator/default.nix @@ -25,7 +25,6 @@ buildPythonPackage (finalAttrs: { pname = "oauthenticator"; version = "17.4.0"; pyproject = true; - __structuredAttrs = true; src = fetchFromGitHub { owner = "jupyterhub"; From c2f0a50ecfc4aa4da6b426830b3ef4e4876381a8 Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sat, 17 Oct 2026 12:18:51 +0200 Subject: [PATCH 1650/2378] python3Packages.openai-agents: remove redundant structuredAttrs --- pkgs/development/python-modules/openai-agents/default.nix | 1 - 1 file changed, 1 deletion(-) diff --git a/pkgs/development/python-modules/openai-agents/default.nix b/pkgs/development/python-modules/openai-agents/default.nix index 6e07cd9f63ac..1eaf787a4010 100644 --- a/pkgs/development/python-modules/openai-agents/default.nix +++ b/pkgs/development/python-modules/openai-agents/default.nix @@ -16,7 +16,6 @@ buildPythonPackage (finalAttrs: { pname = "openai-agents"; version = "0.22.0"; pyproject = true; - __structuredAttrs = true; src = fetchPypi { inherit (finalAttrs) version; From 255f79b972fe3fdcabbff372ec784f3f3944d823 Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sat, 17 Oct 2026 12:18:51 +0200 Subject: [PATCH 1651/2378] python3Packages.openai: remove redundant structuredAttrs --- pkgs/development/python-modules/openai/default.nix | 1 - 1 file changed, 1 deletion(-) diff --git a/pkgs/development/python-modules/openai/default.nix b/pkgs/development/python-modules/openai/default.nix index 9c17cc39c7ac..81c620595302 100644 --- a/pkgs/development/python-modules/openai/default.nix +++ b/pkgs/development/python-modules/openai/default.nix @@ -43,7 +43,6 @@ buildPythonPackage (finalAttrs: { pname = "openai"; version = "3.14.1"; pyproject = true; - __structuredAttrs = true; src = fetchFromGitHub { owner = "openai"; From 53c542169af938f2a9fe106f94e103a15174c60d Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sat, 17 Oct 2026 12:18:51 +0200 Subject: [PATCH 1652/2378] python3Packages.ppscore: remove redundant structuredAttrs --- pkgs/development/python-modules/ppscore/default.nix | 1 - 1 file changed, 1 deletion(-) diff --git a/pkgs/development/python-modules/ppscore/default.nix b/pkgs/development/python-modules/ppscore/default.nix index 9e1c9f5d1621..450f5efed585 100644 --- a/pkgs/development/python-modules/ppscore/default.nix +++ b/pkgs/development/python-modules/ppscore/default.nix @@ -12,7 +12,6 @@ buildPythonPackage (finalAttrs: { pname = "ppscore"; version = "1.3.1"; pyproject = true; - __structuredAttrs = true; src = fetchFromGitHub { owner = "8080labs"; From f73e7eac9fa4f2d096d056865257e5b1bbc3e99c Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sat, 17 Oct 2026 12:18:51 +0200 Subject: [PATCH 1653/2378] python3Packages.pybase91: remove redundant structuredAttrs --- pkgs/development/python-modules/pybase91/default.nix | 1 - 1 file changed, 1 deletion(-) diff --git a/pkgs/development/python-modules/pybase91/default.nix b/pkgs/development/python-modules/pybase91/default.nix index 3e4d59635eb0..ce0e42599595 100644 --- a/pkgs/development/python-modules/pybase91/default.nix +++ b/pkgs/development/python-modules/pybase91/default.nix @@ -12,7 +12,6 @@ buildPythonPackage (finalAttrs: { pname = "pybase91"; - __structuredAttrs = true; # The same source and vendored crates as the base91 command-line tool: # updating base91 updates both. inherit (base91) version src cargoDeps; From 3957ce1e9b14e89619afe7d76f53aef182b86418 Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sat, 17 Oct 2026 12:18:52 +0200 Subject: [PATCH 1654/2378] python3Packages.pydantic-ai-harness: remove redundant structuredAttrs --- pkgs/development/python-modules/pydantic-ai-harness/default.nix | 2 -- 1 file changed, 2 deletions(-) diff --git a/pkgs/development/python-modules/pydantic-ai-harness/default.nix b/pkgs/development/python-modules/pydantic-ai-harness/default.nix index 6327ed55f576..e91dda0cf143 100644 --- a/pkgs/development/python-modules/pydantic-ai-harness/default.nix +++ b/pkgs/development/python-modules/pydantic-ai-harness/default.nix @@ -22,8 +22,6 @@ buildPythonPackage (finalAttrs: { version = "2.54.0"; pyproject = true; - __structuredAttrs = true; - src = fetchFromGitHub { owner = "pydantic"; repo = "pydantic-ai"; From 7ff21f007bd0c7df4d3f151a97bc2d65b6c0c2d2 Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sat, 17 Oct 2026 12:18:52 +0200 Subject: [PATCH 1655/2378] python3Packages.pydantic-graph: remove redundant structuredAttrs --- pkgs/development/python-modules/pydantic-graph/default.nix | 2 -- 1 file changed, 2 deletions(-) diff --git a/pkgs/development/python-modules/pydantic-graph/default.nix b/pkgs/development/python-modules/pydantic-graph/default.nix index d58f0bcbf304..cab7f0474f81 100644 --- a/pkgs/development/python-modules/pydantic-graph/default.nix +++ b/pkgs/development/python-modules/pydantic-graph/default.nix @@ -22,8 +22,6 @@ buildPythonPackage (finalAttrs: { version = "2.54.0"; pyproject = true; - __structuredAttrs = true; - src = fetchFromGitHub { owner = "pydantic"; repo = "pydantic-ai"; From db8a641432c67e31bea38b09ae089a1c8fc32963 Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sat, 17 Oct 2026 12:18:52 +0200 Subject: [PATCH 1656/2378] python3Packages.quantulum3: remove redundant structuredAttrs --- pkgs/development/python-modules/quantulum3/default.nix | 1 - 1 file changed, 1 deletion(-) diff --git a/pkgs/development/python-modules/quantulum3/default.nix b/pkgs/development/python-modules/quantulum3/default.nix index c33df965ed7d..940c09016b2b 100644 --- a/pkgs/development/python-modules/quantulum3/default.nix +++ b/pkgs/development/python-modules/quantulum3/default.nix @@ -20,7 +20,6 @@ in buildPythonPackage { inherit version pname; pyproject = true; - __structuredAttrs = true; src = fetchFromGitHub { owner = "nielstron"; From ec67143c435ecd5e07db6719f422d4ce5c4dcabc Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sat, 17 Oct 2026 12:18:52 +0200 Subject: [PATCH 1657/2378] python3Packages.radio-beam: remove redundant structuredAttrs --- pkgs/development/python-modules/radio-beam/default.nix | 1 - 1 file changed, 1 deletion(-) diff --git a/pkgs/development/python-modules/radio-beam/default.nix b/pkgs/development/python-modules/radio-beam/default.nix index 4b562dde5be2..8f94136db101 100644 --- a/pkgs/development/python-modules/radio-beam/default.nix +++ b/pkgs/development/python-modules/radio-beam/default.nix @@ -22,7 +22,6 @@ buildPythonPackage (finalAttrs: { pname = "radio-beam"; version = "0.3.10"; pyproject = true; - __structuredAttrs = true; src = fetchFromGitHub { owner = "radio-astro-tools"; From 65284e5cb121639be56cb5608e64ce7e223080a1 Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sat, 17 Oct 2026 12:18:53 +0200 Subject: [PATCH 1658/2378] python3Packages.recordlinkage: remove redundant structuredAttrs --- pkgs/development/python-modules/recordlinkage/default.nix | 1 - 1 file changed, 1 deletion(-) diff --git a/pkgs/development/python-modules/recordlinkage/default.nix b/pkgs/development/python-modules/recordlinkage/default.nix index 33986bb4e4d5..c622be709184 100644 --- a/pkgs/development/python-modules/recordlinkage/default.nix +++ b/pkgs/development/python-modules/recordlinkage/default.nix @@ -22,7 +22,6 @@ buildPythonPackage (finalAttrs: { pname = "recordlinkage"; version = "0.16"; pyproject = true; - __structuredAttrs = true; src = fetchPypi { inherit (finalAttrs) pname version; From 99f977847888e9a41b0d78fc8373ca19e605475c Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sat, 17 Oct 2026 12:18:53 +0200 Subject: [PATCH 1659/2378] python3Packages.saiph: remove redundant structuredAttrs --- pkgs/development/python-modules/saiph/default.nix | 1 - 1 file changed, 1 deletion(-) diff --git a/pkgs/development/python-modules/saiph/default.nix b/pkgs/development/python-modules/saiph/default.nix index 14983c27c9ca..38838d4d5cd1 100644 --- a/pkgs/development/python-modules/saiph/default.nix +++ b/pkgs/development/python-modules/saiph/default.nix @@ -19,7 +19,6 @@ buildPythonPackage (finalAttrs: { pname = "saiph"; version = "3.0.1"; pyproject = true; - __structuredAttrs = true; src = fetchFromGitHub { owner = "octopize"; From ee2aa71b55cab79fda4f0f4b291172efbab0712b Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sat, 17 Oct 2026 12:18:53 +0200 Subject: [PATCH 1660/2378] python3Packages.spectral-cube: remove redundant structuredAttrs --- pkgs/development/python-modules/spectral-cube/default.nix | 1 - 1 file changed, 1 deletion(-) diff --git a/pkgs/development/python-modules/spectral-cube/default.nix b/pkgs/development/python-modules/spectral-cube/default.nix index b70bf47d25fc..c4946744771d 100644 --- a/pkgs/development/python-modules/spectral-cube/default.nix +++ b/pkgs/development/python-modules/spectral-cube/default.nix @@ -28,7 +28,6 @@ buildPythonPackage (finalAttrs: { pname = "spectral-cube"; version = "0.7.0"; pyproject = true; - __structuredAttrs = true; src = fetchFromGitHub { owner = "radio-astro-tools"; From 3721dd9b4282e2d4e7697dcf4f9ed5a5ace7db28 Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sat, 17 Oct 2026 12:18:54 +0200 Subject: [PATCH 1661/2378] python3Packages.suntime: remove redundant structuredAttrs --- pkgs/development/python-modules/suntime/default.nix | 1 - 1 file changed, 1 deletion(-) diff --git a/pkgs/development/python-modules/suntime/default.nix b/pkgs/development/python-modules/suntime/default.nix index 9eaa903e2503..15e194ead7a8 100644 --- a/pkgs/development/python-modules/suntime/default.nix +++ b/pkgs/development/python-modules/suntime/default.nix @@ -11,7 +11,6 @@ buildPythonPackage (finalAttrs: { pname = "suntime"; version = "1.4.0"; pyproject = true; - __structuredAttrs = true; src = fetchFromGitHub { owner = "SatAgro"; From fd0993f355c7d344e226e076364d7c4bf4ec8b76 Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sat, 17 Oct 2026 12:18:54 +0200 Subject: [PATCH 1662/2378] python3Packages.ttnn: remove redundant structuredAttrs --- pkgs/development/python-modules/ttnn/default.nix | 1 - 1 file changed, 1 deletion(-) diff --git a/pkgs/development/python-modules/ttnn/default.nix b/pkgs/development/python-modules/ttnn/default.nix index e77ee5ac4493..d43236389887 100644 --- a/pkgs/development/python-modules/ttnn/default.nix +++ b/pkgs/development/python-modules/ttnn/default.nix @@ -25,7 +25,6 @@ buildPythonPackage { pname = "ttnn"; inherit (tt-metal') version src; pyproject = true; - __structuredAttrs = true; # nanobind builds _ttnn.so against the stable ABI targeting python 3.12+ disabled = pythonOlder "3.12"; From 24a2309457546928c62e3594774cb78934c0eef7 Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sat, 17 Oct 2026 12:18:54 +0200 Subject: [PATCH 1663/2378] python3Packages.vllm-tt-plugin: remove redundant structuredAttrs --- pkgs/development/python-modules/vllm-tt-plugin/default.nix | 1 - 1 file changed, 1 deletion(-) diff --git a/pkgs/development/python-modules/vllm-tt-plugin/default.nix b/pkgs/development/python-modules/vllm-tt-plugin/default.nix index fb0a2c157388..96f159e11f86 100644 --- a/pkgs/development/python-modules/vllm-tt-plugin/default.nix +++ b/pkgs/development/python-modules/vllm-tt-plugin/default.nix @@ -20,7 +20,6 @@ buildPythonPackage (finalAttrs: { pname = "vllm-tt-plugin"; version = "0.1.0-unstable-2026-10-09"; pyproject = true; - __structuredAttrs = true; disabled = pythonAtLeast "3.14"; From 50dccf0fc29a6080e1c5343dc49801bc7db6647f Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sat, 17 Oct 2026 12:18:54 +0200 Subject: [PATCH 1664/2378] python3Packages.zulip-emoji-mapping: remove redundant structuredAttrs --- pkgs/development/python-modules/zulip-emoji-mapping/default.nix | 1 - 1 file changed, 1 deletion(-) diff --git a/pkgs/development/python-modules/zulip-emoji-mapping/default.nix b/pkgs/development/python-modules/zulip-emoji-mapping/default.nix index 43973a52ce74..69ae08ba23d7 100644 --- a/pkgs/development/python-modules/zulip-emoji-mapping/default.nix +++ b/pkgs/development/python-modules/zulip-emoji-mapping/default.nix @@ -9,7 +9,6 @@ buildPythonPackage (finalAttrs: { pname = "zulip-emoji-mapping"; version = "1.0.1"; pyproject = true; - __structuredAttrs = true; src = fetchFromGitHub { owner = "GearKite"; From 982c1a00cc7ef47cc51523405a452c70c483e18e Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sat, 17 Oct 2026 12:19:07 +0200 Subject: [PATCH 1665/2378] codechecker-unwrapped: remove redundant __structuredAttrs --- pkgs/by-name/co/codechecker-unwrapped/package.nix | 2 -- 1 file changed, 2 deletions(-) diff --git a/pkgs/by-name/co/codechecker-unwrapped/package.nix b/pkgs/by-name/co/codechecker-unwrapped/package.nix index c3035619cd26..04b501853b84 100644 --- a/pkgs/by-name/co/codechecker-unwrapped/package.nix +++ b/pkgs/by-name/co/codechecker-unwrapped/package.nix @@ -11,8 +11,6 @@ python313Packages.buildPythonApplication (finalAttrs: { version = "6.29.1"; pyproject = true; - __structuredAttrs = true; - src = fetchPypi { inherit (finalAttrs) version; pname = "codechecker"; From 2380a5fc165738ba5b5e590aaa8562c4d37eb933 Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sat, 17 Oct 2026 12:19:08 +0200 Subject: [PATCH 1666/2378] countryguess: remove redundant __structuredAttrs --- pkgs/by-name/co/countryguess/package.nix | 2 -- 1 file changed, 2 deletions(-) diff --git a/pkgs/by-name/co/countryguess/package.nix b/pkgs/by-name/co/countryguess/package.nix index 2e16f204d1ef..19366a21f90a 100644 --- a/pkgs/by-name/co/countryguess/package.nix +++ b/pkgs/by-name/co/countryguess/package.nix @@ -20,8 +20,6 @@ python3Packages.buildPythonApplication { hash = "sha256-OaCHrUvUKvdTNophi9qpGMzAIDcKfRJ9o5DkT1PrwDc="; }; - __structuredAttrs = true; - dependencies = with python3Packages; [ art colorama From 1deb4396ca8af89171f71bf920842898ffee7770 Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sat, 17 Oct 2026 12:19:08 +0200 Subject: [PATCH 1667/2378] exo: remove redundant __structuredAttrs --- pkgs/by-name/ex/exo/package.nix | 1 - 1 file changed, 1 deletion(-) diff --git a/pkgs/by-name/ex/exo/package.nix b/pkgs/by-name/ex/exo/package.nix index 21ac190c99f0..4740b5dd20dd 100644 --- a/pkgs/by-name/ex/exo/package.nix +++ b/pkgs/by-name/ex/exo/package.nix @@ -77,7 +77,6 @@ in python3Packages.buildPythonApplication (finalAttrs: { pname = "exo"; pyproject = true; - __structuredAttrs = true; inherit version src; From 993b33c233ea348f37f0ce9ee9a30ce284d862ce Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sat, 17 Oct 2026 12:19:08 +0200 Subject: [PATCH 1668/2378] git-of-theseus: remove redundant __structuredAttrs --- pkgs/by-name/gi/git-of-theseus/package.nix | 1 - 1 file changed, 1 deletion(-) diff --git a/pkgs/by-name/gi/git-of-theseus/package.nix b/pkgs/by-name/gi/git-of-theseus/package.nix index d0948e5ed354..3b63931140b6 100644 --- a/pkgs/by-name/gi/git-of-theseus/package.nix +++ b/pkgs/by-name/gi/git-of-theseus/package.nix @@ -7,7 +7,6 @@ python3Packages.buildPythonApplication { pname = "git-of-theseus"; version = "0.2.0"; pyproject = true; - __structuredAttrs = true; src = fetchFromGitHub { owner = "erikbern"; From 94b21b1c4f0bbb1d6ab6dd70975a7bdaa74356be Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sat, 17 Oct 2026 12:19:08 +0200 Subject: [PATCH 1669/2378] gitlabform: remove redundant __structuredAttrs --- pkgs/by-name/gi/gitlabform/package.nix | 1 - 1 file changed, 1 deletion(-) diff --git a/pkgs/by-name/gi/gitlabform/package.nix b/pkgs/by-name/gi/gitlabform/package.nix index 8d515275ab01..421c64d6f61d 100644 --- a/pkgs/by-name/gi/gitlabform/package.nix +++ b/pkgs/by-name/gi/gitlabform/package.nix @@ -10,7 +10,6 @@ python3Packages.buildPythonApplication (finalAttrs: { pname = "gitlabform"; version = "6.2.4"; pyproject = true; - __structuredAttrs = true; src = fetchFromGitHub { owner = "gitlabform"; From f477e030139a85559872fe2d3422b32027464e6e Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sat, 17 Oct 2026 12:19:09 +0200 Subject: [PATCH 1670/2378] immich-machine-learning: remove redundant __structuredAttrs --- pkgs/by-name/im/immich-machine-learning/package.nix | 2 -- 1 file changed, 2 deletions(-) diff --git a/pkgs/by-name/im/immich-machine-learning/package.nix b/pkgs/by-name/im/immich-machine-learning/package.nix index 2536cd3d6455..acecb8bbb6f9 100644 --- a/pkgs/by-name/im/immich-machine-learning/package.nix +++ b/pkgs/by-name/im/immich-machine-learning/package.nix @@ -16,8 +16,6 @@ python.pkgs.buildPythonApplication (finalAttrs: { src = "${immich.src}/machine-learning"; pyproject = true; - __structuredAttrs = true; - pythonRelaxDeps = [ "onnx" ]; From dcb0a0210462c87da81e42532b3a4c520ded7b46 Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sat, 17 Oct 2026 12:19:09 +0200 Subject: [PATCH 1671/2378] minuspod: remove redundant __structuredAttrs --- pkgs/by-name/mi/minuspod/package.nix | 2 -- 1 file changed, 2 deletions(-) diff --git a/pkgs/by-name/mi/minuspod/package.nix b/pkgs/by-name/mi/minuspod/package.nix index 1c418dfb169f..52f319036c26 100644 --- a/pkgs/by-name/mi/minuspod/package.nix +++ b/pkgs/by-name/mi/minuspod/package.nix @@ -70,8 +70,6 @@ pythonPackages.buildPythonApplication (finalAttrs: { inherit version src; format = "other"; - __structuredAttrs = true; - dontConfigure = true; dontBuild = true; From adadd4e40b71a44d9b38bec96c4904c1cedc8430 Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sat, 17 Oct 2026 12:19:09 +0200 Subject: [PATCH 1672/2378] riffle: remove redundant __structuredAttrs --- pkgs/by-name/ri/riffle/package.nix | 1 - 1 file changed, 1 deletion(-) diff --git a/pkgs/by-name/ri/riffle/package.nix b/pkgs/by-name/ri/riffle/package.nix index c4c3bce8e816..4618c9f10ae2 100644 --- a/pkgs/by-name/ri/riffle/package.nix +++ b/pkgs/by-name/ri/riffle/package.nix @@ -10,7 +10,6 @@ python3Packages.buildPythonApplication (finalAttrs: { pname = "riffle"; version = "1.0.4"; pyproject = true; - __structuredAttrs = true; src = fetchFromGitHub { owner = "Naved124"; From 76158b404d493dc46666a4300481e3b84d2943cc Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sat, 17 Oct 2026 12:19:09 +0200 Subject: [PATCH 1673/2378] yamlpath: remove redundant __structuredAttrs --- pkgs/by-name/ya/yamlpath/package.nix | 1 - 1 file changed, 1 deletion(-) diff --git a/pkgs/by-name/ya/yamlpath/package.nix b/pkgs/by-name/ya/yamlpath/package.nix index 9c0100c48675..f2008c7e5393 100644 --- a/pkgs/by-name/ya/yamlpath/package.nix +++ b/pkgs/by-name/ya/yamlpath/package.nix @@ -10,7 +10,6 @@ python3Packages.buildPythonApplication (finalAttrs: { pname = "yamlpath"; version = "3.9.1"; pyproject = true; - __structuredAttrs = true; src = fetchFromGitHub { owner = "wwkimball"; From bc4ad393b76ad97ab004bae215af61285460fbf1 Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sat, 17 Oct 2026 12:26:31 +0200 Subject: [PATCH 1674/2378] python3Packages.httpx2-pytest: remove redundant structuredAttrs --- pkgs/development/python-modules/httpx2-pytest/default.nix | 1 - 1 file changed, 1 deletion(-) diff --git a/pkgs/development/python-modules/httpx2-pytest/default.nix b/pkgs/development/python-modules/httpx2-pytest/default.nix index 111f093e6be8..4663ceead684 100644 --- a/pkgs/development/python-modules/httpx2-pytest/default.nix +++ b/pkgs/development/python-modules/httpx2-pytest/default.nix @@ -21,7 +21,6 @@ buildPythonPackage (finalAttrs: { pname = "httpx2-pytest"; version = "2.0.0"; pyproject = true; - __structuredAttrs = true; src = fetchFromGitHub { owner = "angryfoxx"; From 766e8927bba570f4fa0ab15add4559a1855bb95f Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sat, 17 Oct 2026 12:28:45 +0200 Subject: [PATCH 1675/2378] immich-machine-learning: remove redundant structuredAttrs from immich-model --- pkgs/by-name/im/immich-machine-learning/immich-model.nix | 1 - 1 file changed, 1 deletion(-) diff --git a/pkgs/by-name/im/immich-machine-learning/immich-model.nix b/pkgs/by-name/im/immich-machine-learning/immich-model.nix index cb70ca60a579..571c5f9e0b15 100644 --- a/pkgs/by-name/im/immich-machine-learning/immich-model.nix +++ b/pkgs/by-name/im/immich-machine-learning/immich-model.nix @@ -16,7 +16,6 @@ buildPythonPackage (finalAttrs: { pname = "immich-model"; version = "0-unstable-2026-10-06"; pyproject = true; - __structuredAttrs = true; src = fetchFromGitHub { owner = "immich-app"; From 4f2b086a8d43cbf7bb9cb47813503e1b122a7006 Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sat, 17 Oct 2026 12:30:25 +0200 Subject: [PATCH 1676/2378] python3Packages.mcp_2: remove redundant structuredAttrs --- pkgs/development/python-modules/mcp/2.nix | 1 - 1 file changed, 1 deletion(-) diff --git a/pkgs/development/python-modules/mcp/2.nix b/pkgs/development/python-modules/mcp/2.nix index a043609de6cc..6a897ad706e3 100644 --- a/pkgs/development/python-modules/mcp/2.nix +++ b/pkgs/development/python-modules/mcp/2.nix @@ -52,7 +52,6 @@ buildPythonPackage (finalAttrs: { pname = "mcp"; version = "2.2.0"; pyproject = true; - __structuredAttrs = true; src = fetchFromGitHub { owner = "modelcontextprotocol"; From 24adee8c3069634e21b3eaab1957b9d7235a53bc Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sat, 17 Oct 2026 12:35:30 +0200 Subject: [PATCH 1677/2378] raysession: remove redundant strictDeps --- pkgs/by-name/ra/raysession/package.nix | 2 -- 1 file changed, 2 deletions(-) diff --git a/pkgs/by-name/ra/raysession/package.nix b/pkgs/by-name/ra/raysession/package.nix index 69a3400aaa84..8eaa251cef54 100644 --- a/pkgs/by-name/ra/raysession/package.nix +++ b/pkgs/by-name/ra/raysession/package.nix @@ -63,8 +63,6 @@ python3Packages.buildPythonApplication (finalAttrs: { "RCC=${qt6.qtbase}/libexec/rcc" ]; - strictDeps = true; - postFixup = '' wrapPythonProgramsIn "$out/share/raysession/src" "$out ''${pythonPath[*]}" for file in $out/bin/*; do From 0ce4130294b498aca6b523d6bc62300df04b81b6 Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 13:29:00 +0200 Subject: [PATCH 1678/2378] macs2: use unittestFlags, finalAttrs --- pkgs/by-name/ma/macs2/package.nix | 15 +++++++-------- 1 file changed, 7 insertions(+), 8 deletions(-) diff --git a/pkgs/by-name/ma/macs2/package.nix b/pkgs/by-name/ma/macs2/package.nix index bfe64f51d3ae..c1424353a80b 100644 --- a/pkgs/by-name/ma/macs2/package.nix +++ b/pkgs/by-name/ma/macs2/package.nix @@ -7,14 +7,14 @@ # pin python311 because macs2 does not support python 3.12 # https://github.com/macs3-project/MACS/issues/598#issuecomment-1812622572 -python311.pkgs.buildPythonPackage rec { +python311.pkgs.buildPythonPackage (finalAttrs: { pname = "macs2"; version = "2.2.9.1"; pyproject = true; src = fetchPypi { - pname = lib.toUpper pname; - inherit version; + pname = "MACS2"; + inherit (finalAttrs) version; hash = "sha256-jVa8N/uCP8Y4fXgTjOloQFxUoKjNl3ZoJwX9CYMlLRY="; }; @@ -43,9 +43,8 @@ python311.pkgs.buildPythonPackage rec { unittestCheckHook ]; - unittestFlagsArray = [ - "-s" - "test" + unittestFlags = [ + "--start-directory=test" ]; pythonImportsCheck = [ "MACS2" ]; @@ -54,8 +53,8 @@ python311.pkgs.buildPythonPackage rec { description = "Model-based Analysis for ChIP-Seq"; mainProgram = "macs2"; homepage = "https://github.com/macs3-project/MACS/"; - changelog = "https://github.com/macs3-project/MACS/releases/tag/v${version}"; + changelog = "https://github.com/macs3-project/MACS/releases/tag/v${finalAttrs.version}"; license = lib.licenses.bsd3; maintainers = [ ]; }; -} +}) From 373897a47ce46d08674cd4b25ca73e20031a8827 Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 13:29:26 +0200 Subject: [PATCH 1679/2378] ocrodjvu: use unittestFlags, finalAttrs --- pkgs/by-name/oc/ocrodjvu/package.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/by-name/oc/ocrodjvu/package.nix b/pkgs/by-name/oc/ocrodjvu/package.nix index a657929e5ed6..0cd64e3416aa 100644 --- a/pkgs/by-name/oc/ocrodjvu/package.nix +++ b/pkgs/by-name/oc/ocrodjvu/package.nix @@ -65,8 +65,8 @@ python3Packages.buildPythonApplication (finalAttrs: { tesseract5 ]; - unittestFlagsArray = [ - "tests" + unittestFlags = [ + "--start-directory=tests" "-v" ]; From 6a78574c8ea6d45f31dc7fc3bffe53a283dae33e Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 13:29:57 +0200 Subject: [PATCH 1680/2378] petsc: use unittestFlags, enable structuredAttrs --- pkgs/by-name/pe/petsc/package.nix | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/pkgs/by-name/pe/petsc/package.nix b/pkgs/by-name/pe/petsc/package.nix index 73e8f36246b2..b07ff4f1d5ce 100644 --- a/pkgs/by-name/pe/petsc/package.nix +++ b/pkgs/by-name/pe/petsc/package.nix @@ -250,9 +250,8 @@ stdenv.mkDerivation (finalAttrs: { python3Packages.unittestCheckHook ]; - unittestFlagsArray = [ - "-s" - "src/binding/petsc4py/test" + unittestFlags = [ + "--start-directory=src/binding/petsc4py/test" "-v" ]; @@ -287,6 +286,8 @@ stdenv.mkDerivation (finalAttrs: { setupHook = ./setup-hook.sh; + __structuredAttrs = true; + meta = { description = "Portable Extensible Toolkit for Scientific computation"; homepage = "https://petsc.org/release/"; From 837567e07d21812a8fbbe1f783112be8a688fe26 Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 13:30:15 +0200 Subject: [PATCH 1681/2378] rss2email: use unittestFlags --- pkgs/by-name/rs/rss2email/package.nix | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/pkgs/by-name/rs/rss2email/package.nix b/pkgs/by-name/rs/rss2email/package.nix index 19677fff4678..84868f8f4022 100644 --- a/pkgs/by-name/rs/rss2email/package.nix +++ b/pkgs/by-name/rs/rss2email/package.nix @@ -66,9 +66,8 @@ python3Packages.buildPythonApplication (finalAttrs: { python3Packages.unittestCheckHook ]; - unittestFlagsArray = [ - "-s" - "test" + unittestFlags = [ + "--start-directory=test" ]; meta = { From 683a2e64813d100b9cfb9c427070f54b3f657be8 Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 13:30:34 +0200 Subject: [PATCH 1682/2378] slepc: use unittestFlags, enable structuredAttrs --- pkgs/by-name/sl/slepc/package.nix | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/pkgs/by-name/sl/slepc/package.nix b/pkgs/by-name/sl/slepc/package.nix index 5643d8620af6..63078fad14c9 100644 --- a/pkgs/by-name/sl/slepc/package.nix +++ b/pkgs/by-name/sl/slepc/package.nix @@ -84,9 +84,8 @@ stdenv.mkDerivation (finalAttrs: { installCheckTarget = [ "check_install" ]; - unittestFlagsArray = [ - "-s" - "src/binding/slepc4py/test" + unittestFlags = [ + "--start-directory=src/binding/slepc4py/test" "-v" ]; @@ -94,6 +93,8 @@ stdenv.mkDerivation (finalAttrs: { setupHook = ./setup-hook.sh; + __structuredAttrs = true; + meta = { description = "Scalable Library for Eigenvalue Problem Computations"; homepage = "https://slepc.upv.es"; From 35855da3d5c6094f90e72191b350d8eae43d90db Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 13:30:57 +0200 Subject: [PATCH 1683/2378] python3Packages.aiotarfile: use unittestFlags, use finalAttrs --- .../python-modules/aiotarfile/default.nix | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/pkgs/development/python-modules/aiotarfile/default.nix b/pkgs/development/python-modules/aiotarfile/default.nix index 4008a15e1e1b..90e67bc0cde3 100644 --- a/pkgs/development/python-modules/aiotarfile/default.nix +++ b/pkgs/development/python-modules/aiotarfile/default.nix @@ -10,7 +10,7 @@ semver, }: -buildPythonPackage rec { +buildPythonPackage (finalAttrs: { pname = "aiotarfile"; version = "0.5.2"; pyproject = true; @@ -18,12 +18,12 @@ buildPythonPackage rec { src = fetchFromGitHub { owner = "rhelmot"; repo = "aiotarfile"; - tag = "v${version}"; + tag = "v${finalAttrs.version}"; hash = "sha256-V88cvVw6ss7iiojhlqDd2frG/gCEH0YKTP0IpgeFASw="; }; cargoDeps = rustPlatform.fetchCargoVendor { - inherit pname version src; + inherit (finalAttrs) pname version src; hash = "sha256-Yf6N615X9ZB+HDp3xehMc3kjKbdsSbIJrqARRXwCRDQ="; }; @@ -45,7 +45,7 @@ buildPythonPackage rec { nativeCheckInputs = [ unittestCheckHook ]; - unittestFlagsArray = [ "tests/" ]; # Not sure why it isn't autodiscovered + unittestFlags = [ "--start-directory=tests" ]; # Not sure why it isn't autodiscovered # pyo3-asyncio 0.20 segfaults on the python 3.14 interpreter state. doCheck = pythonOlder "3.14"; @@ -55,8 +55,8 @@ buildPythonPackage rec { meta = { description = "Stream-based, asynchronous tarball processing"; homepage = "https://github.com/rhelmot/aiotarfile"; - changelog = "https://github.com/rhelmot/aiotarfile/commits/${src.tag}"; + changelog = "https://github.com/rhelmot/aiotarfile/commits/${finalAttrs.src.tag}"; license = lib.licenses.mit; maintainers = with lib.maintainers; [ nicoo ]; }; -} +}) From 9e8262e1dc0f3fceab60d5cfc48405cfcc2b44ec Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 13:31:10 +0200 Subject: [PATCH 1684/2378] python3Packages.arxiv2bib: use unittestFlags --- pkgs/development/python-modules/arxiv2bib/default.nix | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/pkgs/development/python-modules/arxiv2bib/default.nix b/pkgs/development/python-modules/arxiv2bib/default.nix index 4d9c1a037099..18986454ec75 100644 --- a/pkgs/development/python-modules/arxiv2bib/default.nix +++ b/pkgs/development/python-modules/arxiv2bib/default.nix @@ -26,9 +26,8 @@ buildPythonPackage (finalAttrs: { unittestCheckHook mock ]; - unittestFlagsArray = [ - "-s" - "tests" + unittestFlags = [ + "--start-directory=tests" ]; pythonImportsCheck = [ "arxiv2bib" ]; From ba59919818cfa52bfd471e3263b88322d27623a4 Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 13:31:30 +0200 Subject: [PATCH 1685/2378] python3Packages.auditok: use unittestFlags --- pkgs/development/python-modules/auditok/default.nix | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/pkgs/development/python-modules/auditok/default.nix b/pkgs/development/python-modules/auditok/default.nix index 6c14b827f766..e6df43998a34 100644 --- a/pkgs/development/python-modules/auditok/default.nix +++ b/pkgs/development/python-modules/auditok/default.nix @@ -32,9 +32,8 @@ buildPythonPackage (finalAttrs: { nativeCheckInputs = [ unittestCheckHook ]; - unittestFlagsArray = [ - "-s" - "tests" + unittestFlags = [ + "--start-directory=tests" ]; pythonImportsCheck = [ "auditok" ]; From 9b37f1c75a98ebb8489766f5c67cda1eea33d777 Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 13:31:54 +0200 Subject: [PATCH 1686/2378] python3Packages.clustershell: use unittestFlags, finalAttrs --- .../python-modules/clustershell/default.nix | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/pkgs/development/python-modules/clustershell/default.nix b/pkgs/development/python-modules/clustershell/default.nix index 6c18d2b35da6..861f7827c1f2 100644 --- a/pkgs/development/python-modules/clustershell/default.nix +++ b/pkgs/development/python-modules/clustershell/default.nix @@ -14,13 +14,14 @@ bash, }: -buildPythonPackage rec { +buildPythonPackage (finalAttrs: { pname = "clustershell"; version = "1.10.1"; pyproject = true; src = fetchPypi { - inherit pname version; + pname = "clustershell"; + inherit (finalAttrs) version; hash = "sha256-snrwuqnRsQrGonKXALA+WieWyDjLtqrxkCaYImq56oo="; }; @@ -61,10 +62,9 @@ buildPythonPackage rec { pythonImportsCheck = [ "ClusterShell" ]; - unittestFlagsArray = [ - "tests" - "-p" - "'*Test.py'" + unittestFlags = [ + "--start-directory=tests" + "--pattern=*Test.py" ]; # Many tests want to open network connections @@ -93,4 +93,4 @@ buildPythonPackage rec { license = lib.licenses.lgpl21; maintainers = [ lib.maintainers.alexvorobiev ]; }; -} +}) From 579d83ffb9800c8aa5be98f0c24947bc8cfbc9af Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 13:32:09 +0200 Subject: [PATCH 1687/2378] python3Packages.colored: use unittestFlags, use finalAttrs --- pkgs/development/python-modules/colored/default.nix | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/pkgs/development/python-modules/colored/default.nix b/pkgs/development/python-modules/colored/default.nix index 896a3dffc1b8..961acd06aef8 100644 --- a/pkgs/development/python-modules/colored/default.nix +++ b/pkgs/development/python-modules/colored/default.nix @@ -6,7 +6,7 @@ unittestCheckHook, }: -buildPythonPackage rec { +buildPythonPackage (finalAttrs: { pname = "colored"; version = "2.3.2"; pyproject = true; @@ -14,7 +14,7 @@ buildPythonPackage rec { src = fetchFromGitLab { owner = "dslackw"; repo = "colored"; - tag = version; + tag = finalAttrs.version; hash = "sha256-MnRWb9uQczkwikyorkS77PTpajCG6M/FZibm4ww+xC4="; }; @@ -22,15 +22,15 @@ buildPythonPackage rec { nativeCheckInputs = [ unittestCheckHook ]; - unittestFlagsArray = [ "unittests" ]; + unittestFlags = [ "--start-directory=unittests" ]; pythonImportsCheck = [ "colored" ]; meta = { description = "Simple library for color and formatting to terminal"; homepage = "https://gitlab.com/dslackw/colored"; - changelog = "https://gitlab.com/dslackw/colored/-/raw/${version}/CHANGES.md"; + changelog = "https://gitlab.com/dslackw/colored/-/raw/${finalAttrs.version}/CHANGES.md"; maintainers = [ ]; license = lib.licenses.mit; }; -} +}) From 7e998f2ed9448ce82337b37fac47160bf7938b58 Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 13:32:21 +0200 Subject: [PATCH 1688/2378] python3Packages.cvxopt: use unittestFlags --- pkgs/development/python-modules/cvxopt/default.nix | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/pkgs/development/python-modules/cvxopt/default.nix b/pkgs/development/python-modules/cvxopt/default.nix index 0626fb21ee40..19d629fe3c36 100644 --- a/pkgs/development/python-modules/cvxopt/default.nix +++ b/pkgs/development/python-modules/cvxopt/default.nix @@ -68,9 +68,8 @@ buildPythonPackage (finalAttrs: { nativeCheckInputs = [ unittestCheckHook ]; - unittestFlagsArray = [ - "-s" - "tests" + unittestFlags = [ + "--start-directory=tests" ]; pythonImportsCheck = [ "cvxopt" ]; From 86b9151aa20f85d33ae484d8d681f6e7f86c262e Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 13:32:30 +0200 Subject: [PATCH 1689/2378] python3Packages.daqp: use unittestFlags --- pkgs/development/python-modules/daqp/default.nix | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/pkgs/development/python-modules/daqp/default.nix b/pkgs/development/python-modules/daqp/default.nix index e0f4da194dac..8bb73ad78bda 100644 --- a/pkgs/development/python-modules/daqp/default.nix +++ b/pkgs/development/python-modules/daqp/default.nix @@ -31,11 +31,9 @@ buildPythonPackage (finalAttrs: { nativeCheckInputs = [ unittestCheckHook ]; - unittestFlagsArray = [ - "-s" - "test" - "-p" - "'*.py'" + unittestFlags = [ + "--start-directory=test" + "--pattern=*.py" "-v" ]; From 9d39cf1238b2423303564dd153d6fcc12367f45d Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 13:32:48 +0200 Subject: [PATCH 1690/2378] python3Packages.djvulibre-python: use unittestFlags, finalAttrs --- .../python-modules/djvulibre-python/default.nix | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/pkgs/development/python-modules/djvulibre-python/default.nix b/pkgs/development/python-modules/djvulibre-python/default.nix index b5212124bfda..ddd7ec7fd0ee 100644 --- a/pkgs/development/python-modules/djvulibre-python/default.nix +++ b/pkgs/development/python-modules/djvulibre-python/default.nix @@ -10,7 +10,7 @@ unittestCheckHook, }: -buildPythonPackage rec { +buildPythonPackage (finalAttrs: { pname = "djvulibre-python"; version = "0.9.3"; pyproject = true; @@ -18,7 +18,7 @@ buildPythonPackage rec { src = fetchFromGitHub { owner = "FriedrichFroebel"; repo = "python-djvulibre"; - tag = version; + tag = finalAttrs.version; hash = "sha256-ntDRntNxVchZm+i+qBbiZlfHAXJRKMin9Hi+BoJQjTM="; }; @@ -42,8 +42,8 @@ buildPythonPackage rec { nativeCheckInputs = [ unittestCheckHook ]; - unittestFlagsArray = [ - "tests" + unittestFlags = [ + "--start-directory=tests" "-v" ]; @@ -51,7 +51,7 @@ buildPythonPackage rec { description = "Python support for the DjVu image format"; homepage = "https://github.com/FriedrichFroebel/python-djvulibre"; license = lib.licenses.gpl2Only; - changelog = "https://github.com/FriedrichFroebel/python-djvulibre/releases/tag/${src.tag}"; + changelog = "https://github.com/FriedrichFroebel/python-djvulibre/releases/tag/${finalAttrs.src.tag}"; maintainers = with lib.maintainers; [ dansbandit ]; }; -} +}) From 11199178d6c933a185a337f45efa7fb8cfdada1c Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 13:33:06 +0200 Subject: [PATCH 1691/2378] python3Packages.enturclient: use unittestFlags --- pkgs/development/python-modules/enturclient/default.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkgs/development/python-modules/enturclient/default.nix b/pkgs/development/python-modules/enturclient/default.nix index ad997121e576..8d6c79bc6598 100644 --- a/pkgs/development/python-modules/enturclient/default.nix +++ b/pkgs/development/python-modules/enturclient/default.nix @@ -33,7 +33,7 @@ buildPythonPackage (finalAttrs: { nativeCheckInputs = [ unittestCheckHook ]; - unittestFlagsArray = [ "tests/dto/" ]; + unittestFlags = [ "--start-directory=tests/dto" ]; meta = { description = "Python library for interacting with the Entur.org API"; From 06261145ea381fd53dad6ec681a6835aefca51ff Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 13:34:12 +0200 Subject: [PATCH 1692/2378] python3Packages.epitran: use unittestFlags, use finalAttrs --- pkgs/development/python-modules/epitran/default.nix | 13 ++++++------- 1 file changed, 6 insertions(+), 7 deletions(-) diff --git a/pkgs/development/python-modules/epitran/default.nix b/pkgs/development/python-modules/epitran/default.nix index 76806f40dc52..7e93cad84a18 100644 --- a/pkgs/development/python-modules/epitran/default.nix +++ b/pkgs/development/python-modules/epitran/default.nix @@ -15,7 +15,7 @@ requests, }: -buildPythonPackage rec { +buildPythonPackage (finalAttrs: { pname = "epitran"; version = "1.35.2"; pyproject = true; @@ -23,7 +23,7 @@ buildPythonPackage rec { src = fetchFromGitHub { owner = "dmort27"; repo = "epitran"; - tag = "v${version}"; + tag = "v${finalAttrs.version}"; hash = "sha256-O9AzL+snaL0WawsL00v0nnuUZqqC0gAmrlJWLsDnfyU="; }; @@ -42,9 +42,8 @@ buildPythonPackage rec { nativeCheckInputs = [ unittestCheckHook ]; - unittestFlagsArray = [ - "-s" - "test" + unittestFlags = [ + "--start-directory=test" ]; pythonImportsCheck = [ @@ -56,8 +55,8 @@ buildPythonPackage rec { meta = { description = "Tools for transcribing languages into IPA"; homepage = "https://github.com/dmort27/epitran"; - changelog = "https://github.com/dmort27/epitran/releases/tag/${src.tag}"; + changelog = "https://github.com/dmort27/epitran/releases/tag/${finalAttrs.src.tag}"; license = lib.licenses.mit; maintainers = with lib.maintainers; [ vizid ]; }; -} +}) From 4388c30d484dfc641f4fa4aeeb7444ac203f4261 Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 13:34:21 +0200 Subject: [PATCH 1693/2378] python3Packages.greenlet: use unittestFlags, finalAttrs --- pkgs/development/python-modules/greenlet/default.nix | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/pkgs/development/python-modules/greenlet/default.nix b/pkgs/development/python-modules/greenlet/default.nix index 6b44c66a2070..6a785a6065d6 100644 --- a/pkgs/development/python-modules/greenlet/default.nix +++ b/pkgs/development/python-modules/greenlet/default.nix @@ -15,13 +15,14 @@ }: let - greenlet = buildPythonPackage rec { + greenlet = buildPythonPackage (finalAttrs: { pname = "greenlet"; version = "3.5.5"; pyproject = true; src = fetchPypi { - inherit pname version; + pname = "greenlet"; + inherit (finalAttrs) version; hash = "sha256-rbS64C6RqOhj5IsXfkAUvcrIprXgR+od9oemFTS4Xmw="; }; @@ -45,7 +46,7 @@ let pushd ${placeholder "out"}/${python.sitePackages} ''; - unittestFlagsArray = [ "greenlet.tests" ]; + unittestFlags = [ "--start-directory=greenlet.tests" ]; postCheck = '' popd @@ -56,7 +57,7 @@ let }); meta = { - changelog = "https://github.com/python-greenlet/greenlet/blob/${version}/CHANGES.rst"; + changelog = "https://github.com/python-greenlet/greenlet/blob/${finalAttrs.version}/CHANGES.rst"; homepage = "https://github.com/python-greenlet/greenlet"; description = "Module for lightweight in-process concurrent programming"; license = with lib.licenses; [ @@ -64,6 +65,6 @@ let mit ]; }; - }; + }); in greenlet From 59cd13e51cadfb1bc089d45d17c5802175677513 Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 13:34:35 +0200 Subject: [PATCH 1694/2378] python3Packages.hnswlib: use unittestFlags --- pkgs/development/python-modules/hnswlib/default.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pkgs/development/python-modules/hnswlib/default.nix b/pkgs/development/python-modules/hnswlib/default.nix index f3196685d3bd..c8cfea93f707 100644 --- a/pkgs/development/python-modules/hnswlib/default.nix +++ b/pkgs/development/python-modules/hnswlib/default.nix @@ -20,9 +20,9 @@ buildPythonPackage { nativeCheckInputs = [ unittestCheckHook ]; - unittestFlagsArray = [ - "tests/python" - "--pattern 'bindings_test*.py'" + unittestFlags = [ + "--start-directory=tests/python" + "--pattern=bindings_test*.py" ]; pythonImportsCheck = [ "hnswlib" ]; From db1cf397b078648ebac801a5715c74e422a98f7f Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 13:34:49 +0200 Subject: [PATCH 1695/2378] python3Packages.june-analytics-python: use unittestFlags --- .../python-modules/june-analytics-python/default.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkgs/development/python-modules/june-analytics-python/default.nix b/pkgs/development/python-modules/june-analytics-python/default.nix index 37d0a4c204c4..f1445dfa8be1 100644 --- a/pkgs/development/python-modules/june-analytics-python/default.nix +++ b/pkgs/development/python-modules/june-analytics-python/default.nix @@ -37,7 +37,7 @@ buildPythonPackage { unittestCheckHook ]; - unittestFlagsArray = [ "june" ]; + unittestFlags = [ "--start-directory=june" ]; pythonImportsCheck = [ "june" ]; From 11f0cbf477495aa3e01d36d2f616ba67a7279556 Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 13:35:01 +0200 Subject: [PATCH 1696/2378] python3Packages.jxmlease: use unittestFlags, use finalAttrs --- pkgs/development/python-modules/jxmlease/default.nix | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/pkgs/development/python-modules/jxmlease/default.nix b/pkgs/development/python-modules/jxmlease/default.nix index 84b875707fe0..3515610072f8 100644 --- a/pkgs/development/python-modules/jxmlease/default.nix +++ b/pkgs/development/python-modules/jxmlease/default.nix @@ -6,13 +6,14 @@ unittestCheckHook, }: -buildPythonPackage rec { +buildPythonPackage (finalAttrs: { pname = "jxmlease"; version = "1.0.3"; format = "setuptools"; src = fetchPypi { - inherit pname version; + pname = "jxmlease"; + inherit (finalAttrs) version; hash = "sha256-YSwVddiocCbeoJa7dazscwLdaQQPoj2RFuceMNXgg54="; }; @@ -24,7 +25,7 @@ buildPythonPackage rec { nativeCheckInputs = [ unittestCheckHook ]; - unittestFlagsArray = [ "-v" ]; + unittestFlags = [ "-v" ]; meta = { description = "Converts between XML and intelligent Python data structures"; @@ -32,4 +33,4 @@ buildPythonPackage rec { license = lib.licenses.mit; maintainers = [ ]; }; -} +}) From 2554fa7a3b78689f7ba39ab85dec44b646c8350e Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 13:35:14 +0200 Subject: [PATCH 1697/2378] python3Packages.khanaa: use unittestFlags, use finalAttrs --- pkgs/development/python-modules/khanaa/default.nix | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/pkgs/development/python-modules/khanaa/default.nix b/pkgs/development/python-modules/khanaa/default.nix index 1d77ca276460..aa3f7d2871ea 100644 --- a/pkgs/development/python-modules/khanaa/default.nix +++ b/pkgs/development/python-modules/khanaa/default.nix @@ -8,7 +8,7 @@ setuptools, }: -buildPythonPackage rec { +buildPythonPackage (finalAttrs: { pname = "khanaa"; version = "0.1.1"; pyproject = true; @@ -16,7 +16,7 @@ buildPythonPackage rec { src = fetchFromGitHub { owner = "cakimpei"; repo = "khanaa"; - tag = "v${version}"; + tag = "v${finalAttrs.version}"; hash = "sha256-QFvvahVEld3BooINeUYJDahZyfh5xmQNtWRLAOdr6lw="; }; @@ -28,9 +28,8 @@ buildPythonPackage rec { nativeCheckInputs = [ unittestCheckHook ]; - unittestFlagsArray = [ - "-s" - "tests" + unittestFlags = [ + "--start-directory=tests" ]; pythonImportsCheck = [ "khanaa" ]; @@ -42,4 +41,4 @@ buildPythonPackage rec { license = lib.licenses.mit; maintainers = with lib.maintainers; [ vizid ]; }; -} +}) From c440d55a4a72e162bcb2369ee4eaad9d7ad17de4 Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 13:35:36 +0200 Subject: [PATCH 1698/2378] python3Packages.kneaddata: use unittestFlags, finalAttrs --- pkgs/development/python-modules/kneaddata/default.nix | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/pkgs/development/python-modules/kneaddata/default.nix b/pkgs/development/python-modules/kneaddata/default.nix index 310d3ad10164..2106017bc72d 100644 --- a/pkgs/development/python-modules/kneaddata/default.nix +++ b/pkgs/development/python-modules/kneaddata/default.nix @@ -6,7 +6,7 @@ setuptools, }: -buildPythonPackage rec { +buildPythonPackage (finalAttrs: { pname = "kneaddata"; version = "0.12.1"; pyproject = true; @@ -16,13 +16,16 @@ buildPythonPackage rec { src = fetchFromGitHub { owner = "biobakery"; repo = "kneaddata"; - tag = version; + tag = finalAttrs.version; hash = "sha256-biZ6lS0a81CBAAhTOb1Ol38/YagLqXA3AbMr2nBmSEw="; }; nativeCheckInputs = [ unittestCheckHook ]; - unittestFlagsArray = [ "kneaddata/tests/ '*.py'" ]; + unittestFlags = [ + "--start-directory=kneaddata/tests/" + "--pattern=*.py" + ]; pythonImportsCheck = [ "kneaddata" ]; @@ -35,4 +38,4 @@ buildPythonPackage rec { maintainers = with lib.maintainers; [ pandapip1 ]; mainProgram = "kneaddata"; }; -} +}) From 1ae8b3a8292336e352dc05ab59323fc37f0a1b84 Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 13:35:56 +0200 Subject: [PATCH 1699/2378] python3Packages.mkdocs: use unittestFlags, finalAttrs --- .../python-modules/mkdocs/default.nix | 17 ++++++++--------- 1 file changed, 8 insertions(+), 9 deletions(-) diff --git a/pkgs/development/python-modules/mkdocs/default.nix b/pkgs/development/python-modules/mkdocs/default.nix index c82a0e7e3f88..1dfff4cb3606 100644 --- a/pkgs/development/python-modules/mkdocs/default.nix +++ b/pkgs/development/python-modules/mkdocs/default.nix @@ -32,7 +32,7 @@ unittestCheckHook, }: -buildPythonPackage rec { +buildPythonPackage (finalAttrs: { pname = "mkdocs"; version = "1.6.1"; pyproject = true; @@ -40,7 +40,7 @@ buildPythonPackage rec { src = fetchFromGitHub { owner = "mkdocs"; repo = "mkdocs"; - tag = version; + tag = finalAttrs.version; hash = "sha256-JQSOgV12iYE6FubxdoJpWy9EHKFxyKoxrm/7arCn9Ak="; }; @@ -80,19 +80,18 @@ buildPythonPackage rec { unittestCheckHook mock ] - ++ optional-dependencies.i18n; + ++ finalAttrs.finalPackage.passthru.optional-dependencies.i18n; - unittestFlagsArray = [ + unittestFlags = [ + "--start-directory=mkdocs" + "--pattern=*tests.py" "-v" - "-p" - "'*tests.py'" - "mkdocs" ]; pythonImportsCheck = [ "mkdocs" ]; meta = { - changelog = "https://github.com/mkdocs/mkdocs/releases/tag/${version}"; + changelog = "https://github.com/mkdocs/mkdocs/releases/tag/${finalAttrs.src.tag}"; description = "Project documentation with Markdown / static website generator"; mainProgram = "mkdocs"; downloadPage = "https://github.com/mkdocs/mkdocs"; @@ -108,4 +107,4 @@ buildPythonPackage rec { platforms = lib.platforms.unix; maintainers = with lib.maintainers; [ rkoe ]; }; -} +}) From f0aa3e8e725965906ab9fe75b4243da920fd6c19 Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 13:36:22 +0200 Subject: [PATCH 1700/2378] python3Packages.mmtf-python: use unittestFlags, finalAttrs --- .../python-modules/mmtf-python/default.nix | 15 ++++++++------- 1 file changed, 8 insertions(+), 7 deletions(-) diff --git a/pkgs/development/python-modules/mmtf-python/default.nix b/pkgs/development/python-modules/mmtf-python/default.nix index 9e40d8a76adc..f32ed8e198f4 100644 --- a/pkgs/development/python-modules/mmtf-python/default.nix +++ b/pkgs/development/python-modules/mmtf-python/default.nix @@ -7,13 +7,14 @@ unittestCheckHook, }: -buildPythonPackage rec { +buildPythonPackage (finalAttrs: { pname = "mmtf-python"; version = "1.1.3"; format = "setuptools"; src = fetchPypi { - inherit pname version; + pname = "mmtf-python"; + inherit (finalAttrs) version; hash = "sha256-EqAv4bcTHworjORbRvHgzdKLmBj+RJlVTCaISYfqDDI="; }; @@ -24,9 +25,9 @@ buildPythonPackage rec { nativeCheckInputs = [ unittestCheckHook ]; - unittestFlagsArray = [ - "-s mmtf/tests" - "-p \"*_tests.py\"" + unittestFlags = [ + "--start-directory=mmtf/tests" + "--pattern=*_tests.py" ]; pythonImportsCheck = [ "mmtf" ]; @@ -34,8 +35,8 @@ buildPythonPackage rec { meta = { description = "Python implementation of the MMTF API, decoder and encoder"; homepage = "https://github.com/rcsb/mmtf-python"; - changelog = "https://github.com/rcsb/mmtf-python/releases/tag/v${version}"; + changelog = "https://github.com/rcsb/mmtf-python/releases/tag/v${finalAttrs.version}"; license = lib.licenses.asl20; maintainers = with lib.maintainers; [ natsukium ]; }; -} +}) From 27b327095e144ac5e7a6837006c90704858667dd Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 13:36:39 +0200 Subject: [PATCH 1701/2378] python3Packages.mrjob: use unittestFlags, finalAttrs --- pkgs/development/python-modules/mrjob/default.nix | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/pkgs/development/python-modules/mrjob/default.nix b/pkgs/development/python-modules/mrjob/default.nix index 214dfeff8b55..6c1dbb63676d 100644 --- a/pkgs/development/python-modules/mrjob/default.nix +++ b/pkgs/development/python-modules/mrjob/default.nix @@ -28,7 +28,7 @@ warcio, }: -buildPythonPackage rec { +buildPythonPackage (finalAttrs: { pname = "mrjob"; version = "0.7.4"; pyproject = true; @@ -36,7 +36,7 @@ buildPythonPackage rec { src = fetchFromGitHub { owner = "Yelp"; repo = "mrjob"; - tag = "v${version}"; + tag = "v${finalAttrs.version}"; hash = "sha256-Yp4yUx6tkyGB622I9y+AWK2AkIDVGKQPMM+LtB/M3uo="; }; @@ -72,15 +72,15 @@ buildPythonPackage rec { unittestCheckHook warcio ] - ++ lib.concatAttrValues optional-dependencies; + ++ lib.concatAttrValues finalAttrs.finalPackage.passthru.optional-dependencies; - unittestFlagsArray = [ "-v" ]; + unittestFlags = [ "-v" ]; meta = { - changelog = "https://github.com/Yelp/mrjob/blob/v${version}/CHANGES.txt"; + changelog = "https://github.com/Yelp/mrjob/blob/v${finalAttrs.version}/CHANGES.txt"; description = "Run MapReduce jobs on Hadoop or Amazon Web Services"; homepage = "https://github.com/Yelp/mrjob"; license = lib.licenses.asl20; maintainers = [ ]; }; -} +}) From b35ec7ac1a213278aec073d45f55797a77c475ef Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 13:37:06 +0200 Subject: [PATCH 1702/2378] python3Packages.nbexec: use unittestFlags --- pkgs/development/python-modules/nbexec/default.nix | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/pkgs/development/python-modules/nbexec/default.nix b/pkgs/development/python-modules/nbexec/default.nix index c202f6f7ee7d..30314fc04fb3 100644 --- a/pkgs/development/python-modules/nbexec/default.nix +++ b/pkgs/development/python-modules/nbexec/default.nix @@ -44,9 +44,8 @@ buildPythonPackage { export HOME=$(mktemp -d) ''; - unittestFlagsArray = [ - "-s" - "test" + unittestFlags = [ + "--start-directory=test" "-v" ]; From 87838f21be6281df1e948e58bd650d136f6ea502 Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 13:37:19 +0200 Subject: [PATCH 1703/2378] python3Packages.nlpo3: use unittestFlags, use finalAttrs --- .../python-modules/nlpo3/default.nix | 17 ++++++++--------- 1 file changed, 8 insertions(+), 9 deletions(-) diff --git a/pkgs/development/python-modules/nlpo3/default.nix b/pkgs/development/python-modules/nlpo3/default.nix index 45a133a19b6f..9a429ec3e8c1 100644 --- a/pkgs/development/python-modules/nlpo3/default.nix +++ b/pkgs/development/python-modules/nlpo3/default.nix @@ -12,7 +12,7 @@ setuptools-rust, }: -buildPythonPackage rec { +buildPythonPackage (finalAttrs: { pname = "nlpo3"; version = "1.4.0"; pyproject = true; @@ -20,7 +20,7 @@ buildPythonPackage rec { src = fetchFromGitHub { owner = "PyThaiNLP"; repo = "nlpo3"; - tag = "nlpo3-python-v${version}"; + tag = "nlpo3-python-v${finalAttrs.version}"; hash = "sha256-GQwUKc6VXF1mDzvB2HBwHlaC0Eu3sZvlTuGe0CDrP4k="; }; @@ -29,10 +29,10 @@ buildPythonPackage rec { --replace-fail "data/test_dict.txt" "$src/nlpo3-python/tests/data/test_dict.txt" ''; - sourceRoot = "${src.name}/nlpo3-python"; + sourceRoot = "${finalAttrs.src.name}/nlpo3-python"; cargoDeps = rustPlatform.fetchCargoVendor { - inherit src sourceRoot; + inherit (finalAttrs) src sourceRoot; hash = "sha256-Kp2FL6GXb5g5jqvFWZxZUy7OuGaavN9DZkp9kdI4d/4="; }; @@ -55,9 +55,8 @@ buildPythonPackage rec { nativeCheckInputs = [ unittestCheckHook ]; - unittestFlagsArray = [ - "-s" - "tests" + unittestFlags = [ + "--start-directory=tests" "-v" ]; @@ -66,8 +65,8 @@ buildPythonPackage rec { meta = { description = "Thai Natural Language Processing library in Rust, with Python and Node bindings"; homepage = "https://github.com/PyThaiNLP/nlpo3"; - changelog = "https://github.com/PyThaiNLP/nlpo3/releases/tag/${src.tag}"; + changelog = "https://github.com/PyThaiNLP/nlpo3/releases/tag/${finalAttrs.src.tag}"; license = lib.licenses.asl20; maintainers = with lib.maintainers; [ vizid ]; }; -} +}) From c3f5805825853467577e0b2a6a725ba4449fdcbb Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 13:37:30 +0200 Subject: [PATCH 1704/2378] python3Packages.onnxconverter-common: use unittestFlags --- .../python-modules/onnxconverter-common/default.nix | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/pkgs/development/python-modules/onnxconverter-common/default.nix b/pkgs/development/python-modules/onnxconverter-common/default.nix index 95ca6b17ba91..adca1ae050b2 100644 --- a/pkgs/development/python-modules/onnxconverter-common/default.nix +++ b/pkgs/development/python-modules/onnxconverter-common/default.nix @@ -51,9 +51,8 @@ buildPythonPackage (finalAttrs: { unittestCheckHook ]; - unittestFlagsArray = [ - "-s" - "tests" + unittestFlags = [ + "--start-directory=tests" ]; # Failing tests From aa6446ebf1de45d01bebc65a338cae34b447cb88 Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 13:37:38 +0200 Subject: [PATCH 1705/2378] python3Packages.panphon: use unittestFlags, use finalAttrs --- pkgs/development/python-modules/panphon/default.nix | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/pkgs/development/python-modules/panphon/default.nix b/pkgs/development/python-modules/panphon/default.nix index c13895ae5644..549979b0d7db 100644 --- a/pkgs/development/python-modules/panphon/default.nix +++ b/pkgs/development/python-modules/panphon/default.nix @@ -17,13 +17,14 @@ levenshtein, }: -buildPythonPackage rec { +buildPythonPackage (finalAttrs: { pname = "panphon"; version = "0.22.2"; pyproject = true; src = fetchPypi { - inherit pname version; + pname = "panphon"; + inherit (finalAttrs) version; hash = "sha256-OD1HfVh/66HKWoKHjiT+d8FkXW++ngHJ6X1JjYopujU="; }; @@ -42,9 +43,8 @@ buildPythonPackage rec { nativeCheckInputs = [ unittestCheckHook ]; - unittestFlagsArray = [ - "-s" - "test" + unittestFlags = [ + "--start-directory=test" ]; pythonImportsCheck = [ @@ -59,4 +59,4 @@ buildPythonPackage rec { license = lib.licenses.mit; maintainers = with lib.maintainers; [ vizid ]; }; -} +}) From 75a5a523f766c23a1a92b378f0596a0d378e09e2 Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 13:38:00 +0200 Subject: [PATCH 1706/2378] python3Packages.pgsanity: use unittestFlags --- pkgs/development/python-modules/pgsanity/default.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkgs/development/python-modules/pgsanity/default.nix b/pkgs/development/python-modules/pgsanity/default.nix index ec7a8ff8957b..34d21fab5300 100644 --- a/pkgs/development/python-modules/pgsanity/default.nix +++ b/pkgs/development/python-modules/pgsanity/default.nix @@ -30,7 +30,7 @@ buildPythonPackage (finalAttrs: { unittestCheckHook ]; - unittestFlagsArray = [ "test" ]; + unittestFlags = [ "--start-directory=test" ]; propagatedBuildInputs = [ postgresql ]; From 6a1d7ccfb9f9f6e6723961c8ae886de31ce6a115 Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 13:38:10 +0200 Subject: [PATCH 1707/2378] python3Packages.pulsar-client: use unittestFlags --- pkgs/development/python-modules/pulsar-client/default.nix | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/pkgs/development/python-modules/pulsar-client/default.nix b/pkgs/development/python-modules/pulsar-client/default.nix index 6c0387135012..b97531491206 100644 --- a/pkgs/development/python-modules/pulsar-client/default.nix +++ b/pkgs/development/python-modules/pulsar-client/default.nix @@ -84,9 +84,8 @@ buildPythonPackage (finalAttrs: { ] ++ lib.concatAttrValues finalAttrs.passthru.optional-dependencies; - unittestFlagsArray = [ - "-s" - "test" + unittestFlags = [ + "--start-directory=test" ]; pythonImportsCheck = [ "pulsar" ]; From bd689d68a6109654b6615d61dcdcdfccf4abb0d3 Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 13:38:18 +0200 Subject: [PATCH 1708/2378] python3Packages.pycparser: use unittestFlags, use finalAttrs --- .../python-modules/pycparser/default.nix | 13 ++++++------- 1 file changed, 6 insertions(+), 7 deletions(-) diff --git a/pkgs/development/python-modules/pycparser/default.nix b/pkgs/development/python-modules/pycparser/default.nix index 2e369960993c..fa49f893a9df 100644 --- a/pkgs/development/python-modules/pycparser/default.nix +++ b/pkgs/development/python-modules/pycparser/default.nix @@ -8,7 +8,7 @@ unittestCheckHook, }: -buildPythonPackage rec { +buildPythonPackage (finalAttrs: { pname = "pycparser"; version = "3.00"; pyproject = true; @@ -16,7 +16,7 @@ buildPythonPackage rec { src = fetchFromGitHub { owner = "eliben"; repo = "pycparser"; - tag = "release_v${version}"; + tag = "release_v${finalAttrs.version}"; hash = "sha256-6eKc+p3xLyRPo3oCWP/dbMpHlkBXLy8XiGR0gTEHI2E="; }; @@ -30,9 +30,8 @@ buildPythonPackage rec { substituteInPlace examples/using_gcc_E_libc.py \ --replace-fail "'gcc'" "'${stdenv.cc.targetPrefix}cc'" ''; - unittestFlagsArray = [ - "-s" - "tests" + unittestFlags = [ + "--start-directory=tests" ]; passthru.updateScript = gitUpdater { @@ -40,10 +39,10 @@ buildPythonPackage rec { }; meta = { - changelog = "https://github.com/eliben/pycparser/releases/tag/${src.tag}"; + changelog = "https://github.com/eliben/pycparser/releases/tag/${finalAttrs.src.tag}"; description = "C parser in Python"; homepage = "https://github.com/eliben/pycparser"; license = lib.licenses.bsd3; maintainers = [ lib.maintainers.dotlambda ]; }; -} +}) From 28420989b94a57ceac0f4c76157c9ee38ccf5c4e Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 13:38:37 +0200 Subject: [PATCH 1709/2378] python3Packages.pyperf: use unittestFlags, finalAttrs --- pkgs/development/python-modules/pyperf/default.nix | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/pkgs/development/python-modules/pyperf/default.nix b/pkgs/development/python-modules/pyperf/default.nix index 7903a717fc30..3687b845235c 100644 --- a/pkgs/development/python-modules/pyperf/default.nix +++ b/pkgs/development/python-modules/pyperf/default.nix @@ -7,13 +7,14 @@ setuptools, }: -buildPythonPackage rec { +buildPythonPackage (finalAttrs: { pname = "pyperf"; version = "2.10.0"; pyproject = true; src = fetchPypi { - inherit pname version; + pname = "pyperf"; + inherit (finalAttrs) version; hash = "sha256-3ZPM/aeSFHJSk+lfH6bgDLSmStzxMmA5SG1OH5HKqmI="; }; @@ -23,9 +24,8 @@ buildPythonPackage rec { nativeCheckInputs = [ unittestCheckHook ]; - unittestFlagsArray = [ - "-s" - "pyperf/tests/" + unittestFlags = [ + "--start-directory=pyperf/tests" "-v" ]; @@ -35,8 +35,8 @@ buildPythonPackage rec { description = "Python module to generate and modify perf"; mainProgram = "pyperf"; homepage = "https://pyperf.readthedocs.io/"; - changelog = "https://github.com/psf/pyperf/releases/tag/${version}"; + changelog = "https://github.com/psf/pyperf/releases/tag/${finalAttrs.version}"; license = lib.licenses.mit; maintainers = [ ]; }; -} +}) From 220ae3f8bb76ea11c9ed0f88e634346954f4859a Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 13:38:45 +0200 Subject: [PATCH 1710/2378] python3Packages.pysensors: use unittestFlags --- pkgs/development/python-modules/pysensors/default.nix | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/pkgs/development/python-modules/pysensors/default.nix b/pkgs/development/python-modules/pysensors/default.nix index d73385b52845..df3c05aa8805 100644 --- a/pkgs/development/python-modules/pysensors/default.nix +++ b/pkgs/development/python-modules/pysensors/default.nix @@ -26,9 +26,8 @@ buildPythonPackage { nativeCheckInputs = [ unittestCheckHook ]; - unittestFlagsArray = [ - "-s" - "tests" + unittestFlags = [ + "--start-directory=tests" ]; meta = { From fea8316b97ad35fa5c20ff918c2dfb441dae2d14 Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 13:38:58 +0200 Subject: [PATCH 1711/2378] python3Packages.pyserial: use unittestFlags, finalAttrs --- pkgs/development/python-modules/pyserial/default.nix | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/pkgs/development/python-modules/pyserial/default.nix b/pkgs/development/python-modules/pyserial/default.nix index 07ae23c2ffac..54efccb5965d 100644 --- a/pkgs/development/python-modules/pyserial/default.nix +++ b/pkgs/development/python-modules/pyserial/default.nix @@ -6,13 +6,14 @@ unittestCheckHook, }: -buildPythonPackage rec { +buildPythonPackage (finalAttrs: { pname = "pyserial"; version = "3.5"; format = "setuptools"; src = fetchPypi { - inherit pname version; + pname = "pyserial"; + inherit (finalAttrs) version; hash = "sha256-PHfgFBcN//vYFub/wgXphC77EL6fWOwW0+hnW0klzds="; }; @@ -25,9 +26,8 @@ buildPythonPackage rec { nativeCheckInputs = [ unittestCheckHook ]; - unittestFlagsArray = [ - "-s" - "test" + unittestFlags = [ + "--start-directory=test" ]; pythonImportsCheck = [ "serial" ]; @@ -38,4 +38,4 @@ buildPythonPackage rec { license = lib.licenses.bsd3; maintainers = with lib.maintainers; [ makefu ]; }; -} +}) From beca1ffe092f034118fdb086fb868b29adcdb447 Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 13:39:12 +0200 Subject: [PATCH 1712/2378] python3Packages.pytorchviz: use unittestFlags --- pkgs/development/python-modules/pytorchviz/default.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkgs/development/python-modules/pytorchviz/default.nix b/pkgs/development/python-modules/pytorchviz/default.nix index a4bad9b38c43..6151c922f8d8 100644 --- a/pkgs/development/python-modules/pytorchviz/default.nix +++ b/pkgs/development/python-modules/pytorchviz/default.nix @@ -33,7 +33,7 @@ buildPythonPackage { fsspec ]; - unittestFlagsArray = [ "test/" ]; + unittestFlags = [ "--start-directory=test" ]; pythonImportsCheck = [ "torchviz" ]; From a6fd9a2686a15bc2ffca0e4b2ceb9c9fe1ae790b Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 13:39:37 +0200 Subject: [PATCH 1713/2378] python3Packages.pytz: use unittestFlags, finalAttrs --- pkgs/development/python-modules/pytz/default.nix | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/pkgs/development/python-modules/pytz/default.nix b/pkgs/development/python-modules/pytz/default.nix index 3e7ff7322381..e964418374f9 100644 --- a/pkgs/development/python-modules/pytz/default.nix +++ b/pkgs/development/python-modules/pytz/default.nix @@ -7,13 +7,14 @@ unittestCheckHook, }: -buildPythonPackage rec { +buildPythonPackage (finalAttrs: { pname = "pytz"; version = "2026.3.post1"; pyproject = true; src = fetchPypi { - inherit pname version; + pname = "pytz"; + inherit (finalAttrs) version; hash = "sha256-IhHT/Pmnl9NAXKyWrH9h2A5qZE9yozCWBygv6KIBDF0="; }; @@ -27,9 +28,8 @@ buildPythonPackage rec { nativeCheckInputs = [ unittestCheckHook ]; - unittestFlagsArray = [ - "-s" - "pytz/tests" + unittestFlags = [ + "--start-directory=pytz/tests" ]; pythonImportsCheck = [ "pytz" ]; @@ -44,4 +44,4 @@ buildPythonPackage rec { jherland ]; }; -} +}) From fd79abfd1516e02235bda4a1aad8141221f7bce3 Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 13:39:50 +0200 Subject: [PATCH 1714/2378] python3Packages.readlike: use unittestFlags, finalAttrs --- pkgs/development/python-modules/readlike/default.nix | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/pkgs/development/python-modules/readlike/default.nix b/pkgs/development/python-modules/readlike/default.nix index d9b18b1ba6c7..0de5a89e99da 100644 --- a/pkgs/development/python-modules/readlike/default.nix +++ b/pkgs/development/python-modules/readlike/default.nix @@ -5,7 +5,7 @@ unittestCheckHook, }: -buildPythonPackage rec { +buildPythonPackage (finalAttrs: { pname = "readlike"; version = "0.1.3"; format = "setuptools"; @@ -13,15 +13,14 @@ buildPythonPackage rec { src = fetchFromGitHub { owner = "jangler"; repo = "readlike"; - rev = version; + tag = finalAttrs.version; hash = "sha256-gWFkKrp9nyhYUSS89MfQJXISnbs8akH+ahgi3RSSiNc="; }; nativeCheckInputs = [ unittestCheckHook ]; - unittestFlagsArray = [ - "-s" - "tests" + unittestFlags = [ + "--start-directory=tests" ]; meta = { @@ -30,4 +29,4 @@ buildPythonPackage rec { license = lib.licenses.mit; maintainers = with lib.maintainers; [ dotlambda ]; }; -} +}) From 9ac661e015666f63cc9b528c093e80d53207252c Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 13:40:02 +0200 Subject: [PATCH 1715/2378] python3Packages.rtp: use unittestFlags, finalAttrs --- pkgs/development/python-modules/rtp/default.nix | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/pkgs/development/python-modules/rtp/default.nix b/pkgs/development/python-modules/rtp/default.nix index 20016f3d23e4..ebc0970c679d 100644 --- a/pkgs/development/python-modules/rtp/default.nix +++ b/pkgs/development/python-modules/rtp/default.nix @@ -9,13 +9,14 @@ }: -buildPythonPackage rec { +buildPythonPackage (finalAttrs: { pname = "rtp"; version = "0.0.3"; format = "setuptools"; src = fetchPypi { - inherit pname version; + pname = "rtp"; + inherit (finalAttrs) version; hash = "sha256-I5k3uF5lSLDdCWjBEQC4kl2dWyAKcHEJIYwqnEvJDBI="; }; @@ -24,9 +25,8 @@ buildPythonPackage rec { unittestCheckHook ]; - unittestFlagsArray = [ - "-s" - "tests" + unittestFlags = [ + "--start-directory=tests" "-v" ]; @@ -38,4 +38,4 @@ buildPythonPackage rec { license = lib.licenses.asl20; maintainers = with lib.maintainers; [ fleaz ]; }; -} +}) From a65a5a821a3fbbf0a170a240218fc3ef61cc9ea9 Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 13:40:15 +0200 Subject: [PATCH 1716/2378] python3Packages.simplefix: use unittestFlags, finalAttrs --- .../python-modules/simplefix/default.nix | 13 ++++++------- 1 file changed, 6 insertions(+), 7 deletions(-) diff --git a/pkgs/development/python-modules/simplefix/default.nix b/pkgs/development/python-modules/simplefix/default.nix index 18dfe1329d3a..ca0e27f7ceaf 100644 --- a/pkgs/development/python-modules/simplefix/default.nix +++ b/pkgs/development/python-modules/simplefix/default.nix @@ -5,7 +5,7 @@ unittestCheckHook, }: -buildPythonPackage rec { +buildPythonPackage (finalAttrs: { pname = "simplefix"; version = "1.0.17"; format = "setuptools"; @@ -13,7 +13,7 @@ buildPythonPackage rec { src = fetchFromGitHub { repo = "simplefix"; owner = "da4089"; - tag = "v${version}"; + tag = "v${finalAttrs.version}"; hash = "sha256-D85JW3JRQ1xErw6krMbAg94WYjPi76Xqjv/MGNMY5ZU="; }; @@ -21,15 +21,14 @@ buildPythonPackage rec { pythonImportsCheck = [ "simplefix" ]; - unittestFlagsArray = [ - "-s" - "test" + unittestFlags = [ + "--start-directory=test" ]; meta = { description = "Simple FIX Protocol implementation for Python"; homepage = "https://github.com/da4089/simplefix"; - changelog = "https://github.com/da4089/simplefix/releases/tag/v${version}"; + changelog = "https://github.com/da4089/simplefix/releases/tag/${finalAttrs.src.tag}"; license = lib.licenses.mit; }; -} +}) From d48f12f891ba4c4c05be1d77e23c510571cc0866 Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 13:40:29 +0200 Subject: [PATCH 1717/2378] python3Packages.skl2onnx: use unittestFlags --- pkgs/development/python-modules/skl2onnx/default.nix | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/pkgs/development/python-modules/skl2onnx/default.nix b/pkgs/development/python-modules/skl2onnx/default.nix index 6b37430426f9..6bf63d4c5e86 100644 --- a/pkgs/development/python-modules/skl2onnx/default.nix +++ b/pkgs/development/python-modules/skl2onnx/default.nix @@ -43,9 +43,8 @@ buildPythonPackage (finalAttrs: { unittestCheckHook ]; - unittestFlagsArray = [ - "-s" - "tests" + unittestFlags = [ + "--start-directory=tests" ]; # Core dump From 0d6500a078f75bb3b51dc033644ea69e2282ecc4 Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 13:40:51 +0200 Subject: [PATCH 1718/2378] python3Packages.spark-parser: use unittestFlags, finalAttrs --- .../python-modules/spark-parser/default.nix | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/pkgs/development/python-modules/spark-parser/default.nix b/pkgs/development/python-modules/spark-parser/default.nix index 4f5ad1dc3de0..19a87b18d08d 100644 --- a/pkgs/development/python-modules/spark-parser/default.nix +++ b/pkgs/development/python-modules/spark-parser/default.nix @@ -6,23 +6,22 @@ click, }: -buildPythonPackage rec { +buildPythonPackage (finalAttrs: { pname = "spark-parser"; version = "1.9.0"; format = "setuptools"; src = fetchPypi { pname = "spark_parser"; - inherit version; + inherit (finalAttrs) version; hash = "sha256-3GbUjEJlxBM9tBqcX+nBxQKzsgFn3xWKDyNM0xcSz2Q="; }; propagatedBuildInputs = [ click ]; nativeCheckInputs = [ unittestCheckHook ]; - unittestFlagsArray = [ - "-s" - "test" + unittestFlags = [ + "--start-directory=test" "-v" ]; @@ -33,4 +32,4 @@ buildPythonPackage rec { license = lib.licenses.mit; maintainers = with lib.maintainers; [ raskin ]; }; -} +}) From 524dba7cbc8f98046bfddf6cba74e3c1bf1a1007 Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 13:41:04 +0200 Subject: [PATCH 1719/2378] python3Packages.sphinx-testing: use unittestFlags, finalAttrs --- .../python-modules/sphinx-testing/default.nix | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/pkgs/development/python-modules/sphinx-testing/default.nix b/pkgs/development/python-modules/sphinx-testing/default.nix index 066436fc21d1..099409df5589 100644 --- a/pkgs/development/python-modules/sphinx-testing/default.nix +++ b/pkgs/development/python-modules/sphinx-testing/default.nix @@ -8,13 +8,14 @@ unittestCheckHook, }: -buildPythonPackage rec { +buildPythonPackage (finalAttrs: { pname = "sphinx-testing"; version = "1.0.1"; format = "setuptools"; src = fetchPypi { - inherit pname version; + pname = "sphinx-testing"; + inherit (finalAttrs) version; hash = "sha256-72YXdbVyLXsA9n/CKRBDF9NWN6T7RDS/LABa/fHaTQk="; }; @@ -27,9 +28,8 @@ buildPythonPackage rec { six ]; - unittestFlagsArray = [ - "-s" - "tests" + unittestFlags = [ + "--start-directory=tests" ]; # Test failures https://github.com/sphinx-doc/sphinx-testing/issues/5 @@ -40,4 +40,4 @@ buildPythonPackage rec { license = lib.licenses.bsd2; description = "Testing utility classes and functions for Sphinx extensions"; }; -} +}) From a61d13dc66ee166ab0ddaff8c545d392f772d04c Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 13:41:19 +0200 Subject: [PATCH 1720/2378] python3Packages.sphinxcontrib-blockdiag: use unittestFlags, finalAttrs --- .../sphinxcontrib-blockdiag/default.nix | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/pkgs/development/python-modules/sphinxcontrib-blockdiag/default.nix b/pkgs/development/python-modules/sphinxcontrib-blockdiag/default.nix index 9cdf52761f59..96e8000b872b 100644 --- a/pkgs/development/python-modules/sphinxcontrib-blockdiag/default.nix +++ b/pkgs/development/python-modules/sphinxcontrib-blockdiag/default.nix @@ -9,13 +9,14 @@ blockdiag, }: -buildPythonPackage rec { +buildPythonPackage (finalAttrs: { pname = "sphinxcontrib-blockdiag"; version = "3.0.0"; format = "setuptools"; src = fetchPypi { - inherit pname version; + pname = "sphinxcontrib-blockdiag"; + inherit (finalAttrs) version; hash = "sha256-qkm/kkUW9d6KR5mUx76B4HffVZnJ2ioIIAPVs4jh1FA="; }; @@ -33,9 +34,8 @@ buildPythonPackage rec { nativeCheckInputs = [ unittestCheckHook ]; - unittestFlagsArray = [ - "-s" - "tests" + unittestFlags = [ + "--start-directory=tests" ]; pythonNamespaces = [ "sphinxcontrib" ]; @@ -46,4 +46,4 @@ buildPythonPackage rec { maintainers = [ ]; license = lib.licenses.bsd2; }; -} +}) From 2411b6225e296512bfcc7aa8984e06b5280dc637 Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 13:41:38 +0200 Subject: [PATCH 1721/2378] python3Packages.tinysegmenter: use unittestFlags, finalAttrs --- .../python-modules/tinysegmenter/default.nix | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/pkgs/development/python-modules/tinysegmenter/default.nix b/pkgs/development/python-modules/tinysegmenter/default.nix index e52da624ab0c..01add7d5e0dc 100644 --- a/pkgs/development/python-modules/tinysegmenter/default.nix +++ b/pkgs/development/python-modules/tinysegmenter/default.nix @@ -8,13 +8,14 @@ setuptools, }: -buildPythonPackage rec { +buildPythonPackage (finalAttrs: { pname = "tinysegmenter"; version = "0.4"; pyproject = true; src = fetchPypi { - inherit pname version; + pname = "tinysegmenter"; + inherit (finalAttrs) version; hash = "sha256-ZEWL26VLp0gsAseF+WDPPWz2FZSk2rPWTDJUOQlPwbc="; }; @@ -22,9 +23,8 @@ buildPythonPackage rec { nativeCheckInputs = [ unittestCheckHook ]; - unittestFlagsArray = [ - "-s" - "tests" + unittestFlags = [ + "--start-directory=tests" ]; pythonImportsCheck = [ "tinysegmenter" ]; @@ -35,4 +35,4 @@ buildPythonPackage rec { license = lib.licenses.bsd3; maintainers = with lib.maintainers; [ vizid ]; }; -} +}) From ffc7e5f82ed32a02676019168eb50e3f6e361b67 Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 13:41:51 +0200 Subject: [PATCH 1722/2378] python3Packages.trytond: use unittestFlags, finalAttrs --- .../development/python-modules/trytond/default.nix | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/pkgs/development/python-modules/trytond/default.nix b/pkgs/development/python-modules/trytond/default.nix index 59844f2bc2fd..6185b1f55f03 100644 --- a/pkgs/development/python-modules/trytond/default.nix +++ b/pkgs/development/python-modules/trytond/default.nix @@ -27,13 +27,14 @@ writableTmpDirAsHomeHook, }: -buildPythonPackage rec { +buildPythonPackage (finalAttrs: { pname = "trytond"; version = "7.8.15"; pyproject = true; src = fetchPypi { - inherit pname version; + pname = "trytond"; + inherit (finalAttrs) version; hash = "sha256-YuuefJfB5pF0W2BO48w1uvD4wcXxK8BjdUmp1BCzJpg="; }; @@ -78,9 +79,8 @@ buildPythonPackage rec { export DB_NAME=":memory:"; ''; - unittestFlagsArray = [ - "-s" - "trytond.tests" + unittestFlags = [ + "--start-directory=trytond.tests" ]; meta = { @@ -94,7 +94,7 @@ buildPythonPackage rec { modularity, scalability and security. ''; homepage = "http://www.tryton.org/"; - changelog = "https://foss.heptapod.net/tryton/tryton/-/blob/trytond-${version}/trytond/CHANGELOG?ref_type=tags"; + changelog = "https://foss.heptapod.net/tryton/tryton/-/blob/trytond-${finalAttrs.version}/trytond/CHANGELOG?ref_type=tags"; license = lib.licenses.gpl3Plus; broken = stdenv.hostPlatform.isDarwin; maintainers = with lib.maintainers; [ @@ -102,4 +102,4 @@ buildPythonPackage rec { johbo ]; }; -} +}) From 859a578bcc6ceae440ac247e80acf3f64e513ea3 Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 13:42:21 +0200 Subject: [PATCH 1723/2378] python3Packages.unidiff: use unittestFlags --- pkgs/development/python-modules/unidiff/default.nix | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/pkgs/development/python-modules/unidiff/default.nix b/pkgs/development/python-modules/unidiff/default.nix index 05dd37828946..e66912bc770b 100644 --- a/pkgs/development/python-modules/unidiff/default.nix +++ b/pkgs/development/python-modules/unidiff/default.nix @@ -20,9 +20,8 @@ buildPythonPackage (finalAttrs: { nativeCheckInputs = [ unittestCheckHook ]; - unittestFlagsArray = [ - "-s" - "tests" + unittestFlags = [ + "--start-directory=tests" ]; pythonImportsCheck = [ "unidiff" ]; From ece7aadb47bf62acb64361e728f44d9b5af47c08 Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 13:42:36 +0200 Subject: [PATCH 1724/2378] python3Packages.untangle: use unittestFlags, finalAttrs --- pkgs/development/python-modules/untangle/default.nix | 12 +++++------- 1 file changed, 5 insertions(+), 7 deletions(-) diff --git a/pkgs/development/python-modules/untangle/default.nix b/pkgs/development/python-modules/untangle/default.nix index 0266500dc8ea..ded5dc210a64 100644 --- a/pkgs/development/python-modules/untangle/default.nix +++ b/pkgs/development/python-modules/untangle/default.nix @@ -6,7 +6,7 @@ defusedxml, }: -buildPythonPackage rec { +buildPythonPackage (finalAttrs: { pname = "untangle"; version = "1.2.1"; format = "setuptools"; @@ -14,8 +14,7 @@ buildPythonPackage rec { src = fetchFromGitHub { owner = "stchris"; repo = "untangle"; - # 1.1.1 is not tagged on GitHub - tag = version; + tag = finalAttrs.version; hash = "sha256-cJkN8vT5hW5hRuLxr/6udwMO4GVH1pJhAc6qmPO2EEI="; }; @@ -23,9 +22,8 @@ buildPythonPackage rec { nativeCheckInputs = [ unittestCheckHook ]; - unittestFlagsArray = [ - "-s" - "tests" + unittestFlags = [ + "--start-directory=tests" ]; meta = { @@ -34,4 +32,4 @@ buildPythonPackage rec { license = lib.licenses.mit; maintainers = [ ]; }; -} +}) From d0069609f6b401a22730ca5ca741a05f4296b504 Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 13:42:51 +0200 Subject: [PATCH 1725/2378] python3Packages.vapoursynth: use unittestFlags --- pkgs/development/python-modules/vapoursynth/default.nix | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/pkgs/development/python-modules/vapoursynth/default.nix b/pkgs/development/python-modules/vapoursynth/default.nix index 8e50bba69a4d..a40c28319e93 100644 --- a/pkgs/development/python-modules/vapoursynth/default.nix +++ b/pkgs/development/python-modules/vapoursynth/default.nix @@ -18,11 +18,9 @@ buildPythonPackage { nativeCheckInputs = [ unittestCheckHook ]; - unittestFlagsArray = [ - "-s" - "test" - "-p" - "'*test.py'" + unittestFlags = [ + "--start-directory=test" + "--pattern=*test.py" ]; passthru = { From 174cad50a7f20efd97af22e28b9121178c2f9161 Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 13:43:19 +0200 Subject: [PATCH 1726/2378] python3Packages.wikipedia: use unittestFlags, remove redundant structuredAttrs --- pkgs/development/python-modules/wikipedia/default.nix | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/pkgs/development/python-modules/wikipedia/default.nix b/pkgs/development/python-modules/wikipedia/default.nix index 9c1d83a3cca1..ecf7cbffd12f 100644 --- a/pkgs/development/python-modules/wikipedia/default.nix +++ b/pkgs/development/python-modules/wikipedia/default.nix @@ -27,7 +27,10 @@ buildPythonPackage (finalAttrs: { nativeCheckInputs = [ unittestCheckHook ]; - unittestFlagsArray = [ "tests/ '*test.py'" ]; + unittestFlags = [ + "--start-directory=tests" + "--pattern=*test.py" + ]; pythonImportsCheck = [ "wikipedia" ]; From d43c08d1ac7e948aea38350221d75aff6907e8fb Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 13:43:49 +0200 Subject: [PATCH 1727/2378] python3Packages.wunsen: use unittestFlags, finalAttrs --- pkgs/development/python-modules/wunsen/default.nix | 13 ++++++------- 1 file changed, 6 insertions(+), 7 deletions(-) diff --git a/pkgs/development/python-modules/wunsen/default.nix b/pkgs/development/python-modules/wunsen/default.nix index eae2eb9ea348..9f28385549d9 100644 --- a/pkgs/development/python-modules/wunsen/default.nix +++ b/pkgs/development/python-modules/wunsen/default.nix @@ -10,7 +10,7 @@ khanaa, }: -buildPythonPackage rec { +buildPythonPackage (finalAttrs: { pname = "wunsen"; version = "0.0.3"; pyproject = true; @@ -18,7 +18,7 @@ buildPythonPackage rec { src = fetchFromGitHub { owner = "cakimpei"; repo = "wunsen"; - tag = "v${version}"; + tag = "v${finalAttrs.version}"; hash = "sha256-lMEhtcWG+S3vAz+Y/qDxhaZslsO0pbs5xUn5QgZNs2U="; }; @@ -28,9 +28,8 @@ buildPythonPackage rec { nativeCheckInputs = [ unittestCheckHook ]; - unittestFlagsArray = [ - "-s" - "tests" + unittestFlags = [ + "--start-directory=tests" ]; pythonImportsCheck = [ "wunsen" ]; @@ -38,8 +37,8 @@ buildPythonPackage rec { meta = { description = "Transliterate/transcribe other languages into Thai Topics"; homepage = "https://github.com/cakimpei/wunsen"; - changelog = "https://github.com/cakimpei/wunsen/releases/tag/v${version}"; + changelog = "https://github.com/cakimpei/wunsen/releases/tag/${finalAttrs.src.tag}"; license = lib.licenses.mit; maintainers = with lib.maintainers; [ vizid ]; }; -} +}) From 04998e56f9e449ac02136f0777a53821f00510e9 Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 13:44:04 +0200 Subject: [PATCH 1728/2378] python3Packages.zdaemon: use unittestFlags, finalAttrs --- pkgs/development/python-modules/zdaemon/default.nix | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/pkgs/development/python-modules/zdaemon/default.nix b/pkgs/development/python-modules/zdaemon/default.nix index 0fbf5b4607ff..91c03c76d548 100644 --- a/pkgs/development/python-modules/zdaemon/default.nix +++ b/pkgs/development/python-modules/zdaemon/default.nix @@ -9,13 +9,14 @@ zope-testing, }: -buildPythonPackage rec { +buildPythonPackage (finalAttrs: { pname = "zdaemon"; version = "5.2.1"; pyproject = true; src = fetchPypi { - inherit pname version; + pname = "zdaemon"; + inherit (finalAttrs) version; hash = "sha256-8GwsfK9RnHYINPj+JuVzWVDVAX9y1cII3IsZABQFlM0="; }; @@ -35,15 +36,15 @@ buildPythonPackage rec { zope-testing ]; - unittestFlagsArray = [ "src/zdaemon/tests" ]; + unittestFlags = [ "--start-directory=src/zdaemon/tests" ]; meta = { description = "Daemon process control library and tools for Unix-based systems"; mainProgram = "zdaemon"; homepage = "https://github.com/zopefoundation/zdaemon"; - changelog = "https://github.com/zopefoundation/zdaemon/blob/${version}/CHANGES.rst"; + changelog = "https://github.com/zopefoundation/zdaemon/blob/${finalAttrs.version}/CHANGES.rst"; license = lib.licenses.zpl21; maintainers = [ ]; broken = true; }; -} +}) From abe17c849c4f59a24729c853f647706eedd24044 Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 13:44:26 +0200 Subject: [PATCH 1729/2378] python3Packages.zope-component: use unittestFlags, finalAttrs --- .../python-modules/zope-component/default.nix | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/pkgs/development/python-modules/zope-component/default.nix b/pkgs/development/python-modules/zope-component/default.nix index 4db532448b8c..4cb4ec58b96f 100644 --- a/pkgs/development/python-modules/zope-component/default.nix +++ b/pkgs/development/python-modules/zope-component/default.nix @@ -15,7 +15,7 @@ unittestCheckHook, }: -buildPythonPackage rec { +buildPythonPackage (finalAttrs: { pname = "zope-component"; version = "7.0"; pyproject = true; @@ -23,7 +23,7 @@ buildPythonPackage rec { src = fetchFromGitHub { owner = "zopefoundation"; repo = "zope.component"; - tag = version; + tag = finalAttrs.version; hash = "sha256-3Hl2sm2M0we+fpdt4GSjAStLSAJ1c4Za1vfm9Bj8z8s="; }; @@ -61,7 +61,7 @@ buildPythonPackage rec { zope-configuration ]; - unittestFlagsArray = [ "src/zope/component/tests" ]; + unittestFlags = [ "--start-directory=src/zope/component/tests" ]; # AssertionError: 'test_interface.IFoo' != 'zope.component.tests.test_interface.IFoo' preCheck = '' @@ -73,8 +73,8 @@ buildPythonPackage rec { meta = { homepage = "https://github.com/zopefoundation/zope.component"; description = "Zope Component Architecture"; - changelog = "https://github.com/zopefoundation/zope.component/blob/${version}/CHANGES.rst"; + changelog = "https://github.com/zopefoundation/zope.component/blob/${finalAttrs.version}/CHANGES.rst"; license = lib.licenses.zpl21; maintainers = [ ]; }; -} +}) From d91416c2fc3fecf4a531935e0fa51a6eaabdc4c1 Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 13:44:42 +0200 Subject: [PATCH 1730/2378] python3Packages.zope-configuration: use unittestFlags, finalAttrs --- .../python-modules/zope-configuration/default.nix | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/pkgs/development/python-modules/zope-configuration/default.nix b/pkgs/development/python-modules/zope-configuration/default.nix index fad73639a875..1eccbee32229 100644 --- a/pkgs/development/python-modules/zope-configuration/default.nix +++ b/pkgs/development/python-modules/zope-configuration/default.nix @@ -10,7 +10,7 @@ unittestCheckHook, }: -buildPythonPackage rec { +buildPythonPackage (finalAttrs: { pname = "zope-configuration"; version = "7.0"; pyproject = true; @@ -18,7 +18,7 @@ buildPythonPackage rec { src = fetchFromGitHub { owner = "zopefoundation"; repo = "zope.configuration"; - tag = version; + tag = finalAttrs.version; hash = "sha256-G87VAEqMxF5Y3LuDJnDcOox5+ngJuRhUGSj9K8c3mYY="; }; @@ -43,15 +43,15 @@ buildPythonPackage rec { cd $out/${python.sitePackages}/zope/ ''; - unittestFlagsArray = [ "configuration/tests" ]; + unittestFlags = [ "--start-directory=configuration/tests" ]; pythonNamespaces = [ "zope" ]; meta = { description = "Zope Configuration Markup Language (ZCML)"; homepage = "https://github.com/zopefoundation/zope.configuration"; - changelog = "https://github.com/zopefoundation/zope.configuration/blob/${version}/CHANGES.rst"; + changelog = "https://github.com/zopefoundation/zope.configuration/blob/${finalAttrs.version}/CHANGES.rst"; license = lib.licenses.zpl21; maintainers = [ ]; }; -} +}) From 6037074c5c29a373e9353b94dd3bc3f016d01df1 Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 13:44:55 +0200 Subject: [PATCH 1731/2378] python3Packages.zope-copy: use unittestFlags, finalAttrs --- .../python-modules/zope-copy/default.nix | 13 ++++++------- 1 file changed, 6 insertions(+), 7 deletions(-) diff --git a/pkgs/development/python-modules/zope-copy/default.nix b/pkgs/development/python-modules/zope-copy/default.nix index 453542bbec60..1a3a065f78b4 100644 --- a/pkgs/development/python-modules/zope-copy/default.nix +++ b/pkgs/development/python-modules/zope-copy/default.nix @@ -10,7 +10,7 @@ unittestCheckHook, }: -buildPythonPackage rec { +buildPythonPackage (finalAttrs: { pname = "zope-copy"; version = "6.0"; pyproject = true; @@ -18,7 +18,7 @@ buildPythonPackage rec { src = fetchFromGitHub { owner = "zopefoundation"; repo = "zope.copy"; - tag = version; + tag = finalAttrs.version; hash = "sha256-hYeLUSwAq5rK4TRngvNQGR4Fdimb2k5dHtFdptMVqPo="; }; @@ -42,9 +42,8 @@ buildPythonPackage rec { zope-schema ]; - unittestFlagsArray = [ - "-s" - "src/zope/copy" + unittestFlags = [ + "--start-directory=src/zope/copy" ]; pythonNamespaces = [ "zope" ]; @@ -52,8 +51,8 @@ buildPythonPackage rec { meta = { description = "Pluggable object copying mechanism"; homepage = "https://github.com/zopefoundation/zope.copy"; - changelog = "https://github.com/zopefoundation/zope.copy/blob/${src.tag}/CHANGES.rst"; + changelog = "https://github.com/zopefoundation/zope.copy/blob/${finalAttrs.src.tag}/CHANGES.rst"; license = lib.licenses.zpl21; maintainers = [ ]; }; -} +}) From b2f6d03b00fc2d6bed08dbecad58434e5f8a0cc6 Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 13:45:07 +0200 Subject: [PATCH 1732/2378] python3Packages.zope-deferredimport: use unittestFlags, finalAttrs --- .../python-modules/zope-deferredimport/default.nix | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/pkgs/development/python-modules/zope-deferredimport/default.nix b/pkgs/development/python-modules/zope-deferredimport/default.nix index 0fbd5e147763..aa79f9aa3ab3 100644 --- a/pkgs/development/python-modules/zope-deferredimport/default.nix +++ b/pkgs/development/python-modules/zope-deferredimport/default.nix @@ -7,7 +7,7 @@ unittestCheckHook, }: -buildPythonPackage rec { +buildPythonPackage (finalAttrs: { pname = "zope-deferredimport"; version = "6.0"; pyproject = true; @@ -15,7 +15,7 @@ buildPythonPackage rec { src = fetchFromGitHub { owner = "zopefoundation"; repo = "zope.deferredimport"; - tag = version; + tag = finalAttrs.version; hash = "sha256-7Q8+Cew5987+CjUOxqpwMFXWdw+/B28tOEXRYC0SRyI="; }; @@ -32,14 +32,14 @@ buildPythonPackage rec { nativeCheckInputs = [ unittestCheckHook ]; - unittestFlagsArray = [ "src/zope/deferredimport" ]; + unittestFlags = [ "--start-directory=src/zope/deferredimport" ]; pythonNamespaces = [ "zope" ]; meta = { description = "Allows you to perform imports names that will only be resolved when used in the code"; homepage = "https://github.com/zopefoundation/zope.deferredimport"; - changelog = "https://github.com/zopefoundation/zope.deferredimport/blob/${version}/CHANGES.rst"; + changelog = "https://github.com/zopefoundation/zope.deferredimport/blob/${finalAttrs.version}/CHANGES.rst"; license = lib.licenses.zpl21; }; -} +}) From ec62d1f29fe242b93f04e147f87cc5d69699f256 Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 13:45:28 +0200 Subject: [PATCH 1733/2378] python3Packages.zope-filerepresentation: use unittestFlags, finalAttrs --- .../python-modules/zope-filerepresentation/default.nix | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/pkgs/development/python-modules/zope-filerepresentation/default.nix b/pkgs/development/python-modules/zope-filerepresentation/default.nix index 72757227cd69..88341ba89dc7 100644 --- a/pkgs/development/python-modules/zope-filerepresentation/default.nix +++ b/pkgs/development/python-modules/zope-filerepresentation/default.nix @@ -8,7 +8,7 @@ unittestCheckHook, }: -buildPythonPackage rec { +buildPythonPackage (finalAttrs: { pname = "zope-filerepresentation"; version = "7.0"; pyproject = true; @@ -16,7 +16,7 @@ buildPythonPackage rec { src = fetchFromGitHub { owner = "zopefoundation"; repo = "zope.filerepresentation"; - tag = version; + tag = finalAttrs.version; hash = "sha256-VWi00b7m+aKwkg/Gfzo5fJWMqdMqgowBpkqsYcEO2gY="; }; @@ -36,15 +36,15 @@ buildPythonPackage rec { nativeCheckInputs = [ unittestCheckHook ]; - unittestFlagsArray = [ "src/zope/filerepresentation" ]; + unittestFlags = [ "--start-directory=src/zope/filerepresentation" ]; pythonNamespaces = [ "zope" ]; meta = { homepage = "https://github.com/zopefoundation/zope.filerepresentation"; description = "File-system Representation Interfaces"; - changelog = "https://github.com/zopefoundation/zope.filerepresentation/blob/${version}/CHANGES.rst"; + changelog = "https://github.com/zopefoundation/zope.filerepresentation/blob/${finalAttrs.version}/CHANGES.rst"; license = lib.licenses.zpl21; maintainers = [ ]; }; -} +}) From a561eb3358daa6c2eb5c41a98325f735b189384a Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 13:45:41 +0200 Subject: [PATCH 1734/2378] python3Packages.zope-hookable: use unittestFlags, finalAttrs --- .../python-modules/zope-hookable/default.nix | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/pkgs/development/python-modules/zope-hookable/default.nix b/pkgs/development/python-modules/zope-hookable/default.nix index 1f72a9914162..10fa08eeb496 100644 --- a/pkgs/development/python-modules/zope-hookable/default.nix +++ b/pkgs/development/python-modules/zope-hookable/default.nix @@ -6,7 +6,7 @@ unittestCheckHook, }: -buildPythonPackage rec { +buildPythonPackage (finalAttrs: { pname = "zope-hookable"; version = "8.2"; pyproject = true; @@ -14,7 +14,7 @@ buildPythonPackage rec { src = fetchFromGitHub { owner = "zopefoundation"; repo = "zope.hookable"; - tag = version; + tag = finalAttrs.version; hash = "sha256-pryx55dzvg+6jSUj4avskTnGKe6w1HkEh6v6OOlHIXY="; }; @@ -24,14 +24,14 @@ buildPythonPackage rec { nativeCheckInputs = [ unittestCheckHook ]; - unittestFlagsArray = [ "src/zope/hookable/tests" ]; + unittestFlags = [ "--start-directory=src/zope/hookable/tests" ]; pythonNamespaces = [ "zope" ]; meta = { description = "Supports the efficient creation of “hookable” objects"; homepage = "https://github.com/zopefoundation/zope.hookable"; - changelog = "https://github.com/zopefoundation/zope.hookable/blob/${src.tag}/CHANGES.rst"; + changelog = "https://github.com/zopefoundation/zope.hookable/blob/${finalAttrs.src.tag}/CHANGES.rst"; license = lib.licenses.zpl21; }; -} +}) From f7b8d7ed0c8fbe6d6203999b88dea56312b8a175 Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 13:45:56 +0200 Subject: [PATCH 1735/2378] python3Packages.zope-i18nmessageid: use unittestFlags, finalAttrs --- .../python-modules/zope-i18nmessageid/default.nix | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/pkgs/development/python-modules/zope-i18nmessageid/default.nix b/pkgs/development/python-modules/zope-i18nmessageid/default.nix index 0d25f8b20f37..89daa7c1fb8d 100644 --- a/pkgs/development/python-modules/zope-i18nmessageid/default.nix +++ b/pkgs/development/python-modules/zope-i18nmessageid/default.nix @@ -7,7 +7,7 @@ zope-interface, }: -buildPythonPackage rec { +buildPythonPackage (finalAttrs: { pname = "zope-i18nmessageid"; version = "8.2"; pyproject = true; @@ -15,7 +15,7 @@ buildPythonPackage rec { src = fetchFromGitHub { owner = "zopefoundation"; repo = "zope.i18nmessageid"; - tag = version; + tag = finalAttrs.version; hash = "sha256-JDCbk7zh+9Ic5T3Pt1apQDN1Q59cLUdk5KCAIu5mlC4="; }; @@ -29,7 +29,7 @@ buildPythonPackage rec { unittestCheckHook ]; - unittestFlagsArray = [ "src/zope/i18nmessageid" ]; + unittestFlags = [ "--start-directory=src/zope/i18nmessageid" ]; pythonImportsCheck = [ "zope.i18nmessageid" ]; @@ -38,8 +38,8 @@ buildPythonPackage rec { meta = { homepage = "https://github.com/zopefoundation/zope.i18nmessageid"; description = "Message Identifiers for internationalization"; - changelog = "https://github.com/zopefoundation/zope.i18nmessageid/blob/${src.tag}/CHANGES.rst"; + changelog = "https://github.com/zopefoundation/zope.i18nmessageid/blob/${finalAttrs.src.tag}/CHANGES.rst"; license = lib.licenses.zpl21; maintainers = [ ]; }; -} +}) From b2d272c1d7ee123253fded1cdbaea689a413bf18 Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 13:46:10 +0200 Subject: [PATCH 1736/2378] python3Packages.zope-lifecycleevent: use unittestFlags, finalAttrs --- .../python-modules/zope-lifecycleevent/default.nix | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/pkgs/development/python-modules/zope-lifecycleevent/default.nix b/pkgs/development/python-modules/zope-lifecycleevent/default.nix index 10e880d4a1fe..a9372a93bf62 100644 --- a/pkgs/development/python-modules/zope-lifecycleevent/default.nix +++ b/pkgs/development/python-modules/zope-lifecycleevent/default.nix @@ -10,7 +10,7 @@ zope-testing, }: -buildPythonPackage rec { +buildPythonPackage (finalAttrs: { pname = "zope-lifecycleevent"; version = "6.0"; pyproject = true; @@ -18,7 +18,7 @@ buildPythonPackage rec { src = fetchFromGitHub { owner = "zopefoundation"; repo = "zope.lifecycleevent"; - tag = version; + tag = finalAttrs.version; hash = "sha256-HgxOUseRYc+mkwESUDqauoH2D2E4PL8XxM1C0FC35w8="; }; @@ -45,15 +45,15 @@ buildPythonPackage rec { zope-testing ]; - unittestFlagsArray = [ "src/zope/lifecycleevent" ]; + unittestFlags = [ "--start-directory=src/zope/lifecycleevent" ]; pythonNamespaces = [ "zope" ]; meta = { homepage = "https://github.com/zopefoundation/zope.lifecycleevent"; description = "Object life-cycle events"; - changelog = "https://github.com/zopefoundation/zope.lifecycleevent/blob/${src.tag}/CHANGES.rst"; + changelog = "https://github.com/zopefoundation/zope.lifecycleevent/blob/${finalAttrs.src.tag}/CHANGES.rst"; license = lib.licenses.zpl21; maintainers = [ ]; }; -} +}) From 185f1fdf9ae0c9de7c1b105c4b16d20050d37be8 Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 13:46:20 +0200 Subject: [PATCH 1737/2378] python3Packages.zope-location: use unittestFlags, finalAttrs --- .../python-modules/zope-location/default.nix | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/pkgs/development/python-modules/zope-location/default.nix b/pkgs/development/python-modules/zope-location/default.nix index c4d05a2e06ce..394f5a1388bd 100644 --- a/pkgs/development/python-modules/zope-location/default.nix +++ b/pkgs/development/python-modules/zope-location/default.nix @@ -12,7 +12,7 @@ unittestCheckHook, }: -buildPythonPackage rec { +buildPythonPackage (finalAttrs: { pname = "zope-location"; version = "6.0"; pyproject = true; @@ -20,7 +20,7 @@ buildPythonPackage rec { src = fetchFromGitHub { owner = "zopefoundation"; repo = "zope.location"; - tag = version; + tag = finalAttrs.version; hash = "sha256-s7HZda+U87P62elX/KbDp2o9zAplgFVmnedDI/uq2sk="; }; @@ -47,15 +47,15 @@ buildPythonPackage rec { nativeCheckInputs = [ unittestCheckHook ]; - unittestFlagsArray = [ "src/zope/location/tests" ]; + unittestFlags = [ "--start-directory=src/zope/location/tests" ]; pythonNamespaces = [ "zope" ]; meta = { homepage = "https://github.com/zopefoundation/zope.location/"; description = "Zope Location"; - changelog = "https://github.com/zopefoundation/zope.location/blob/${src.tag}/CHANGES.rst"; + changelog = "https://github.com/zopefoundation/zope.location/blob/${finalAttrs.src.tag}/CHANGES.rst"; license = lib.licenses.zpl21; maintainers = [ ]; }; -} +}) From 68948a6afea0ee689c7319f0ec0581012b5079c2 Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 13:46:38 +0200 Subject: [PATCH 1738/2378] python3Packages.zope-schema: use unittestFlags, finalAttrs --- .../development/python-modules/zope-schema/default.nix | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/pkgs/development/python-modules/zope-schema/default.nix b/pkgs/development/python-modules/zope-schema/default.nix index f6392e28fbb1..51673d23cd98 100644 --- a/pkgs/development/python-modules/zope-schema/default.nix +++ b/pkgs/development/python-modules/zope-schema/default.nix @@ -9,7 +9,7 @@ zope-i18nmessageid, }: -buildPythonPackage rec { +buildPythonPackage (finalAttrs: { pname = "zope-schema"; version = "8.1"; pyproject = true; @@ -17,7 +17,7 @@ buildPythonPackage rec { src = fetchFromGitHub { owner = "zopefoundation"; repo = "zope.schema"; - tag = version; + tag = finalAttrs.version; hash = "sha256-pO3yL0gej2PGD01ySiPJPU66P/9hW73T2n/ZnUPa3C0="; }; @@ -40,15 +40,15 @@ buildPythonPackage rec { zope-i18nmessageid ]; - unittestFlagsArray = [ "src/zope/schema/tests" ]; + unittestFlags = [ "--start-directory=src/zope/schema/tests" ]; pythonNamespaces = [ "zope" ]; meta = { homepage = "https://github.com/zopefoundation/zope.schema"; description = "zope.interface extension for defining data schemas"; - changelog = "https://github.com/zopefoundation/zope.schema/blob/${src.tag}/CHANGES.rst"; + changelog = "https://github.com/zopefoundation/zope.schema/blob/${finalAttrs.src.tag}/CHANGES.rst"; license = lib.licenses.zpl21; maintainers = [ ]; }; -} +}) From 2c853fc3c81868475f2664a313621acd2d86fae7 Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 13:46:57 +0200 Subject: [PATCH 1739/2378] python3Packages.zope-security: use unittestFlags, finalAttrs --- .../python-modules/zope-security/default.nix | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/pkgs/development/python-modules/zope-security/default.nix b/pkgs/development/python-modules/zope-security/default.nix index 59d4e9ebffd8..b0fb97bb7b4b 100644 --- a/pkgs/development/python-modules/zope-security/default.nix +++ b/pkgs/development/python-modules/zope-security/default.nix @@ -17,7 +17,7 @@ zope-testing, }: -buildPythonPackage rec { +buildPythonPackage (finalAttrs: { pname = "zope-security"; version = "8.3"; pyproject = true; @@ -25,7 +25,7 @@ buildPythonPackage rec { src = fetchFromGitHub { owner = "zopefoundation"; repo = "zope.security"; - tag = version; + tag = finalAttrs.version; hash = "sha256-iSWSBjtJe4iEvm+VUEWDvRCBdRz1R6m9mlfPLwh01Sk="; }; @@ -57,7 +57,7 @@ buildPythonPackage rec { zope-exceptions zope-testing ] - ++ lib.concatAttrValues optional-dependencies; + ++ lib.concatAttrValues finalAttrs.finalPackage.passthru.optional-dependencies; # Import process is too complex and some tests fail preCheck = '' @@ -66,15 +66,15 @@ buildPythonPackage rec { rm -r src/zope/security/tests/test_zcml_functest.py ''; - unittestFlagsArray = [ "src/zope/security/tests" ]; + unittestFlags = [ "--start-directory=src/zope/security/tests" ]; pythonNamespaces = [ "zope" ]; meta = { description = "Zope Security Framework"; homepage = "https://github.com/zopefoundation/zope.security"; - changelog = "https://github.com/zopefoundation/zope.security/blob/${src.tag}/CHANGES.rst"; + changelog = "https://github.com/zopefoundation/zope.security/blob/${finalAttrs.src.tag}/CHANGES.rst"; license = lib.licenses.zpl21; maintainers = [ ]; }; -} +}) From db1c53c1271e15ddc5ace19b0713b4f6dd58711e Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 13:47:09 +0200 Subject: [PATCH 1740/2378] python3Packages.zope-size: use unittestFlags, finalAttrs --- .../development/python-modules/zope-size/default.nix | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/pkgs/development/python-modules/zope-size/default.nix b/pkgs/development/python-modules/zope-size/default.nix index 8632f12c9a71..9fa0d4ad6e70 100644 --- a/pkgs/development/python-modules/zope-size/default.nix +++ b/pkgs/development/python-modules/zope-size/default.nix @@ -11,7 +11,7 @@ zope-security, }: -buildPythonPackage rec { +buildPythonPackage (finalAttrs: { pname = "zope-size"; version = "6.0"; pyproject = true; @@ -19,7 +19,7 @@ buildPythonPackage rec { src = fetchFromGitHub { owner = "zopefoundation"; repo = "zope.size"; - tag = version; + tag = finalAttrs.version; hash = "sha256-jjI9NvfxnIWZrqDEpZ6FDlhDWZoqEUBliiyh+5PxOAg="; }; @@ -50,17 +50,17 @@ buildPythonPackage rec { nativeCheckInputs = [ unittestCheckHook ] - ++ lib.concatAttrValues optional-dependencies; + ++ lib.concatAttrValues finalAttrs.finalPackage.passthru.optional-dependencies; - unittestFlagsArray = [ "src/zope/size" ]; + unittestFlags = [ "--start-directory=src/zope/size" ]; pythonNamespaces = [ "zope" ]; meta = { homepage = "https://github.com/zopefoundation/zope.size"; description = "Interfaces and simple adapter that give the size of an object"; - changelog = "https://github.com/zopefoundation/zope.size/blob/${version}/CHANGES.rst"; + changelog = "https://github.com/zopefoundation/zope.size/blob/${finalAttrs.version}/CHANGES.rst"; license = lib.licenses.zpl21; maintainers = [ ]; }; -} +}) From 7bd975651f676538ef92ce33fd9046ef6ba5b8b3 Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 11 Oct 2026 13:27:56 +0200 Subject: [PATCH 1741/2378] python3Packages.buildPythonPackage: warn on usage of deprecated unittestFlagsArray --- doc/release-notes/rl-2611.section.md | 4 ++++ .../interpreters/python/mk-python-derivation.nix | 14 ++++++++++++++ 2 files changed, 18 insertions(+) diff --git a/doc/release-notes/rl-2611.section.md b/doc/release-notes/rl-2611.section.md index 53e6892783de..388d126e6196 100644 --- a/doc/release-notes/rl-2611.section.md +++ b/doc/release-notes/rl-2611.section.md @@ -162,6 +162,10 @@ - `zerofs` has been updated from `1.x` to `2.x` which is a breaking change. Volumes created by earlier releases are refused at open with a clear error. There is no migration tool; older volumes remain readable and writable by the release that created them. +- `python3Packages.buildPythonPackage` and `python3Packages.buildPythonApplication` now warn in the presence of `unittestFlagsArray`. + Please use [`unittestFlags`](#using-unittestcheckhook) instead. + If modifying the Nix expression is not feasible, users can remediate the warning by overriding `unittestFlagsArray` with `null` or `[ ]`. + - `keycloak.plugins.keycloak-metrics-spi` has been removed. Keycloak exposes Prometheus metrics natively on its management interface; enable them with the `metrics-enabled` setting (and `event-metrics-user-enabled` for login and event counters). See [Gaining insights with metrics](https://www.keycloak.org/observability/configuration-metrics). - `alps` has been rewritten upstream, see [upstream repository](https://github.com/migadu/alps) for documentation. diff --git a/pkgs/development/interpreters/python/mk-python-derivation.nix b/pkgs/development/interpreters/python/mk-python-derivation.nix index c38259c642f1..d934e102fb1c 100644 --- a/pkgs/development/interpreters/python/mk-python-derivation.nix +++ b/pkgs/development/interpreters/python/mk-python-derivation.nix @@ -124,6 +124,7 @@ lib.extendMkDerivation { # Deprecated arguments "pytestFlagsArray" + "unittestFlagsArray" ]; extendDrvArgs = @@ -509,6 +510,19 @@ lib.extendMkDerivation { ''; } ) + // ( + let + deprecatedFlagNotEmpty = + attrs ? unittestFlagsArray && attrs.unittestFlagsArray != null && attrs.unittestFlagsArray != [ ]; + pos = builtins.unsafeGetAttrPos "unittestFlagsArray" attrs; + in + { + ${if deprecatedFlagNotEmpty then "unittestFlagsArray" else null} = lib.warn '' + buildPythonPackage: Deprecated flag unittestFlagsArray found at ${pos.file}:${toString pos.line} + Use unittestFlags instead. + ''; + } + ) // lib.mapAttrs ( From f05d1ce2b21d10703bc1972dbb45481c4b66dc9b Mon Sep 17 00:00:00 2001 From: Sergei Trofimovich Date: Sat, 17 Oct 2026 15:14:36 +0100 Subject: [PATCH 1742/2378] mold-unwrapped: add missing `zstd` depend Without the change the build fails on `staging` as: > Can't probe for zstd in pkg-config: Could not run `PKG_CONFIG_ALLOW_SYSTEM_LIBS=1 PKG_CONFIG_ALLOW_SYSTEM_CFLAGS=1 pkg-config --static --libs --cflags libzstd` --- pkgs/by-name/mo/mold-unwrapped/package.nix | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/pkgs/by-name/mo/mold-unwrapped/package.nix b/pkgs/by-name/mo/mold-unwrapped/package.nix index 2f40abfac444..b9e3328bc1ef 100644 --- a/pkgs/by-name/mo/mold-unwrapped/package.nix +++ b/pkgs/by-name/mo/mold-unwrapped/package.nix @@ -7,9 +7,11 @@ lib, mold, nix-update-script, + pkg-config, runCommandCC, rustPlatform, stdenv, + zstd, useMoldLinker, versionCheckHook, }: @@ -27,6 +29,9 @@ rustPlatform.buildRustPackage (finalAttrs: { cargoHash = "sha256-DgCFmTz+qulwXu1Oax8gBnc/6HIT6TlY8+xzBRGFvu0="; + nativeBuildInputs = [ pkg-config ]; + buildInputs = [ zstd ]; + # Upstream integration tests are way to finicky to keep around. Our internal # linking tests should suffice. doCheck = false; From c0e450be44c7fec17869283da1958172095aa18f Mon Sep 17 00:00:00 2001 From: winston Date: Thu, 8 Oct 2026 19:36:17 +0200 Subject: [PATCH 1743/2378] wasmtime_48: init at 48.0.6 --- pkgs/by-name/wa/wasmtime/package.nix | 5 +++++ pkgs/by-name/wa/wasmtime_48/package.nix | 16 ++++++++++++++++ 2 files changed, 21 insertions(+) create mode 100644 pkgs/by-name/wa/wasmtime_48/package.nix diff --git a/pkgs/by-name/wa/wasmtime/package.nix b/pkgs/by-name/wa/wasmtime/package.nix index 02bfe0b459e8..e93eaaf937e9 100644 --- a/pkgs/by-name/wa/wasmtime/package.nix +++ b/pkgs/by-name/wa/wasmtime/package.nix @@ -21,6 +21,11 @@ let hash = "sha256-+zwOVdidbJs8IWL1vwghkwvWwaYOQ5LvVlY2BGs0Lbg="; cargoHash = "sha256-V64KmH4M/biKmMZh/kT8nd4v8xOlHjOoWEO9RCWyX1c="; }; + lts-48 = { + version = "48.0.6"; + hash = "sha256-UysbVNsE9OVYF3e2+JVIedrKEn34NprLL1S8IUuWgF8="; + cargoHash = "sha256-W40zAZKKKEIOZaSDq8jgv2dz3LVHS0+2l2Hwt/zsMo0="; + }; main = { version = "49.0.2"; hash = "sha256-XwJOxAswT93KPPe1/Vv2DHHeNRUhfq68x2giRDQmK9o="; diff --git a/pkgs/by-name/wa/wasmtime_48/package.nix b/pkgs/by-name/wa/wasmtime_48/package.nix new file mode 100644 index 000000000000..c5afe3f1eb03 --- /dev/null +++ b/pkgs/by-name/wa/wasmtime_48/package.nix @@ -0,0 +1,16 @@ +{ + nix-update-script, + wasmtime, +}: + +# NOTE: LTS Version EOL August 20 2028 +(wasmtime.override { variant = "lts-48"; }).overrideAttrs (old: { + passthru = old.passthru // { + updateScript = nix-update-script { + extraArgs = [ + "--version-regex" + "^v(48\\.\\d+\\.\\d+)$" + ]; + }; + }; +}) From 706253cb80843ddcb66725f0737f85a94c58e985 Mon Sep 17 00:00:00 2001 From: winston Date: Thu, 8 Oct 2026 19:38:04 +0200 Subject: [PATCH 1744/2378] tree-sitter: 0.26.11 -> 0.27.1 --- pkgs/by-name/tr/tree-sitter/package.nix | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/pkgs/by-name/tr/tree-sitter/package.nix b/pkgs/by-name/tr/tree-sitter/package.nix index ebd2c362f222..bd013edacf94 100644 --- a/pkgs/by-name/tr/tree-sitter/package.nix +++ b/pkgs/by-name/tr/tree-sitter/package.nix @@ -21,7 +21,7 @@ installShellFiles, buildPackages, cmake, - wasmtime_36, + wasmtime_48, enableShared ? !stdenv.hostPlatform.isStatic, enableStatic ? stdenv.hostPlatform.isStatic, wasmSupport ? false, @@ -135,17 +135,17 @@ let in rustPlatform.buildRustPackage (finalAttrs: { pname = "tree-sitter"; - version = "0.26.11"; + version = "0.27.1"; src = fetchFromGitHub { owner = "tree-sitter"; repo = "tree-sitter"; tag = "v${finalAttrs.version}"; - hash = "sha256-YXnmVM90sEH8kqgqCygpeCAyvggMIsv+oXi0SJOvMRM="; + hash = "sha256-KbPqA6pfplWRUtwRgbNXUF7aivj/n4shJqWbjNO93nQ="; fetchSubmodules = true; }; - cargoHash = "sha256-kHDjPRhBUYlxLWYSv6cn6U1QDIWwCgHeIz2A5yCi1yo="; + cargoHash = "sha256-GbW/qFq8X0UNi9LIepTIAKSAqCXM/gdy6XV6s5YO8r0="; cargoBuildFeatures = lib.optionals wasmSupport [ "wasm" ]; @@ -153,7 +153,7 @@ rustPlatform.buildRustPackage (finalAttrs: { installShellFiles ] ++ lib.optionals wasmSupport [ - wasmtime_36 + wasmtime_48 ] ++ lib.optionals webUISupport [ openssl @@ -205,8 +205,8 @@ rustPlatform.buildRustPackage (finalAttrs: { # The Makefile install can't enable the wasm feature. cmakeFlags = lib.optionals wasmSupport [ (lib.cmakeBool "TREE_SITTER_FEATURE_WASM" true) - (lib.cmakeFeature "WASMTIME_INCLUDE_DIR" "${lib.getDev wasmtime_36}/include") - (lib.cmakeFeature "WASMTIME_LIBRARY" "${lib.getLib wasmtime_36}/lib/libwasmtime${stdenv.hostPlatform.extensions.sharedLibrary}") + (lib.cmakeFeature "WASMTIME_INCLUDE_DIR" "${lib.getDev wasmtime_48}/include") + (lib.cmakeFeature "WASMTIME_LIBRARY" "${lib.getLib wasmtime_48}/lib/libwasmtime${stdenv.hostPlatform.extensions.sharedLibrary}") (lib.cmakeFeature "CMAKE_INSTALL_INCLUDEDIR" "include") (lib.cmakeFeature "CMAKE_INSTALL_LIBDIR" "lib") ]; From 6f16c17127baa21770bb2d59e5d2f7cba4a2cfec Mon Sep 17 00:00:00 2001 From: winston Date: Thu, 8 Oct 2026 19:42:18 +0200 Subject: [PATCH 1745/2378] neovim-unwrapped: bump wasmtime_36 -> wasmtime_48 --- pkgs/by-name/ne/neovim-unwrapped/package.nix | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/pkgs/by-name/ne/neovim-unwrapped/package.nix b/pkgs/by-name/ne/neovim-unwrapped/package.nix index 627b6f6e227d..f057ed4cf9e7 100644 --- a/pkgs/by-name/ne/neovim-unwrapped/package.nix +++ b/pkgs/by-name/ne/neovim-unwrapped/package.nix @@ -11,7 +11,7 @@ unibilium, utf8proc, tree-sitter, - wasmtime_36, + wasmtime_48, fetchurl, buildPackages, treesitter-parsers ? import ./treesitter-parsers.nix { inherit fetchurl; }, @@ -164,7 +164,7 @@ stdenv.mkDerivation ( utf8proc ] ++ lib.optionals wasmSupport [ - wasmtime_36 + wasmtime_48 ] ++ lib.optionals (stdenv.hostPlatform.libc != "glibc") [ # Provide libintl for non-glibc platforms @@ -198,7 +198,7 @@ stdenv.mkDerivation ( lib.optionalString wasmSupport '' substituteInPlace src/nvim/CMakeLists.txt \ --replace-fail \ - 'find_package(Wasmtime 36.0.6 EXACT REQUIRED)' \ + 'find_package(Wasmtime 36.0 EXACT REQUIRED)' \ 'find_package(Wasmtime REQUIRED)' '' # nvim --version output retains compilation flags and references to build tools @@ -231,8 +231,8 @@ stdenv.mkDerivation ( ++ lib.optionals wasmSupport [ # FindWasmtime has no pkg-config fallback. (lib.cmakeBool "ENABLE_WASMTIME" true) - (lib.cmakeFeature "WASMTIME_INCLUDE_DIR" "${lib.getDev wasmtime_36}/include") - (lib.cmakeFeature "WASMTIME_LIBRARY" "${lib.getLib wasmtime_36}/lib/libwasmtime${stdenv.hostPlatform.extensions.sharedLibrary}") + (lib.cmakeFeature "WASMTIME_INCLUDE_DIR" "${lib.getDev wasmtime_48}/include") + (lib.cmakeFeature "WASMTIME_LIBRARY" "${lib.getLib wasmtime_48}/lib/libwasmtime${stdenv.hostPlatform.extensions.sharedLibrary}") ] ++ ( if lua.pkgs.isLuaJIT then From b3eac255e6a9f5fd6bff8e7e68f9d5106aa80d69 Mon Sep 17 00:00:00 2001 From: winston Date: Sat, 10 Oct 2026 19:10:20 +0200 Subject: [PATCH 1746/2378] tree-sitter: fix static build --- pkgs/by-name/tr/tree-sitter/package.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/by-name/tr/tree-sitter/package.nix b/pkgs/by-name/tr/tree-sitter/package.nix index bd013edacf94..c1422e266dbe 100644 --- a/pkgs/by-name/tr/tree-sitter/package.nix +++ b/pkgs/by-name/tr/tree-sitter/package.nix @@ -192,7 +192,7 @@ rustPlatform.buildRustPackage (finalAttrs: { + lib.optionalString stdenv.hostPlatform.isStatic '' substituteInPlace ./Makefile \ --replace-fail 'all: libtree-sitter.a libtree-sitter.$(SOEXT) tree-sitter.pc' 'all: libtree-sitter.a tree-sitter.pc' - sed -i '/^install:/,/^[^[:space:]]/ { /$(SOEXT/d; }' ./Makefile + sed -i '/^install:/,/^uninstall:/ { /$(SOEXT/d; }' ./Makefile '' # rquickjs-sys passes the raw rust target to clang, which does not know riscv64gc + lib.optionalString stdenv.hostPlatform.isRiscV64 '' @@ -206,7 +206,7 @@ rustPlatform.buildRustPackage (finalAttrs: { cmakeFlags = lib.optionals wasmSupport [ (lib.cmakeBool "TREE_SITTER_FEATURE_WASM" true) (lib.cmakeFeature "WASMTIME_INCLUDE_DIR" "${lib.getDev wasmtime_48}/include") - (lib.cmakeFeature "WASMTIME_LIBRARY" "${lib.getLib wasmtime_48}/lib/libwasmtime${stdenv.hostPlatform.extensions.sharedLibrary}") + (lib.cmakeFeature "WASMTIME_LIBRARY" "${lib.getLib wasmtime_48}/lib/libwasmtime${stdenv.hostPlatform.extensions.library}") (lib.cmakeFeature "CMAKE_INSTALL_INCLUDEDIR" "include") (lib.cmakeFeature "CMAKE_INSTALL_LIBDIR" "lib") ]; From 3e2a4a18b58feee83011ef2ad095d33738d9c01d Mon Sep 17 00:00:00 2001 From: winston Date: Sat, 10 Oct 2026 20:29:03 +0200 Subject: [PATCH 1747/2378] tree-sitter: set up a `TREE_SITTER_WASI_SDK_PATH` with `wasmSupport = true;` --- pkgs/by-name/tr/tree-sitter/package.nix | 25 ++++++++++++++++++++++++- 1 file changed, 24 insertions(+), 1 deletion(-) diff --git a/pkgs/by-name/tr/tree-sitter/package.nix b/pkgs/by-name/tr/tree-sitter/package.nix index c1422e266dbe..d7d8f012a37b 100644 --- a/pkgs/by-name/tr/tree-sitter/package.nix +++ b/pkgs/by-name/tr/tree-sitter/package.nix @@ -21,7 +21,14 @@ installShellFiles, buildPackages, cmake, + # dependencies for wasmSupport wasmtime_48, + binaryen, + llvmPackages, + makeWrapper, + pkgsCross, + symlinkJoin, + enableShared ? !stdenv.hostPlatform.isStatic, enableStatic ? stdenv.hostPlatform.isStatic, wasmSupport ? false, @@ -131,7 +138,16 @@ let ); isWasi = stdenv.hostPlatform.isWasi; - + # create a `TREE_SITTER_WASI_SDK_PATH` environment where + # `clang -> wasm32-unknown-wasip1-clang` so tree-sitter can find it + wasiCC = pkgsCross.wasi32.stdenv.cc; + wasiSdk = symlinkJoin { + name = "wasi-sdk"; + paths = [ wasiCC ]; + postBuild = '' + ln -s ${wasiCC.targetPrefix}clang $out/bin/clang + ''; + }; in rustPlatform.buildRustPackage (finalAttrs: { pname = "tree-sitter"; @@ -164,6 +180,7 @@ rustPlatform.buildRustPackage (finalAttrs: { ] ++ lib.optionals wasmSupport [ cmake + makeWrapper ] ++ lib.optionals webUISupport [ emscripten @@ -223,8 +240,14 @@ rustPlatform.buildRustPackage (finalAttrs: { postInstall = '' PREFIX=$out make install '' + # supply the nix paths for the Wasi SDK & `wasm-opt`: https://tree-sitter.github.io/tree-sitter/6-contributing.html#wasm-stdlib + # lld is required for the linker phase in `tree-sitter build --wasm` + lib.optionalString wasmSupport '' cmake --install $cmakeBuildDir + wrapProgram $out/bin/tree-sitter \ + --set-default TREE_SITTER_BINARYEN_PATH "${binaryen}" \ + --set-default TREE_SITTER_WASI_SDK_PATH "${wasiSdk}" \ + --prefix PATH : "${lib.makeBinPath [ llvmPackages.lld ]}" '' + '' ${lib.optionalString (!enableShared) "rm -f $out/lib/*.so{,.*}"} From c5efe1ac56b3d5a16df4f8bfc182715e5d60966f Mon Sep 17 00:00:00 2001 From: winston Date: Sat, 10 Oct 2026 20:29:35 +0200 Subject: [PATCH 1748/2378] tree-sitter: split into multiple-output derivation The previous commit sets up the WASM environment for the binary, which is required when using `tree-sitter build --wasm`, but this also introduces the wrapper binaries, if one only uses the shared library (e.g. for neovim): > Closure size: 8 -> 36 (29 paths added, 1 paths removed, delta +28, disk usage +1.6GiB). This commit splits it into a multiple-output derivation, which actually shrinks the dependency of the closure when just the library is used: > Closure size: 8 -> 8 (1 paths added, 1 paths removed, delta +0, disk usage -12.1MiB). --- pkgs/by-name/tr/tree-sitter/package.nix | 30 ++++++++++++++++++++----- 1 file changed, 24 insertions(+), 6 deletions(-) diff --git a/pkgs/by-name/tr/tree-sitter/package.nix b/pkgs/by-name/tr/tree-sitter/package.nix index d7d8f012a37b..8db616dfcd71 100644 --- a/pkgs/by-name/tr/tree-sitter/package.nix +++ b/pkgs/by-name/tr/tree-sitter/package.nix @@ -21,6 +21,7 @@ installShellFiles, buildPackages, cmake, + validatePkgConfig, # dependencies for wasmSupport wasmtime_48, binaryen, @@ -165,6 +166,12 @@ rustPlatform.buildRustPackage (finalAttrs: { cargoBuildFeatures = lib.optionals wasmSupport [ "wasm" ]; + outputs = [ + "out" + "dev" + "lib" + ]; + buildInputs = [ installShellFiles ] @@ -176,6 +183,7 @@ rustPlatform.buildRustPackage (finalAttrs: { ]; nativeBuildInputs = [ rustPlatform.bindgenHook + validatePkgConfig which ] ++ lib.optionals wasmSupport [ @@ -199,7 +207,17 @@ rustPlatform.buildRustPackage (finalAttrs: { ]; postPatch = - lib.optionalString webUISupport '' + # tree-sitter tries to concatenate $libdir/$includedir to $prefix, + # having multiple outputs on different paths requires patching this. + '' + substituteInPlace lib/tree-sitter.pc.in \ + --replace-fail 'libdir=''${prefix}/@CMAKE_INSTALL_LIBDIR@' 'libdir=@CMAKE_INSTALL_FULL_LIBDIR@' \ + --replace-fail 'includedir=''${prefix}/@CMAKE_INSTALL_INCLUDEDIR@' 'includedir=@CMAKE_INSTALL_FULL_INCLUDEDIR@' + substituteInPlace ./Makefile \ + --replace-fail 's|@CMAKE_INSTALL_LIBDIR@|$(LIBDIR:$(PREFIX)/%=%)|' 's|@CMAKE_INSTALL_FULL_LIBDIR@|$(LIBDIR)|' \ + --replace-fail 's|@CMAKE_INSTALL_INCLUDEDIR@|$(INCLUDEDIR:$(PREFIX)/%=%)|' 's|@CMAKE_INSTALL_FULL_INCLUDEDIR@|$(INCLUDEDIR)|' + '' + + lib.optionalString webUISupport '' substituteInPlace crates/xtask/src/build_wasm.rs \ --replace-fail 'let emcc_name = if cfg!(windows) { "emcc.bat" } else { "emcc" };' 'let emcc_name = "${lib.getExe' emscripten "emcc"}";' '' @@ -224,8 +242,8 @@ rustPlatform.buildRustPackage (finalAttrs: { (lib.cmakeBool "TREE_SITTER_FEATURE_WASM" true) (lib.cmakeFeature "WASMTIME_INCLUDE_DIR" "${lib.getDev wasmtime_48}/include") (lib.cmakeFeature "WASMTIME_LIBRARY" "${lib.getLib wasmtime_48}/lib/libwasmtime${stdenv.hostPlatform.extensions.library}") - (lib.cmakeFeature "CMAKE_INSTALL_INCLUDEDIR" "include") - (lib.cmakeFeature "CMAKE_INSTALL_LIBDIR" "lib") + (lib.cmakeFeature "CMAKE_INSTALL_FULL_INCLUDEDIR" "${placeholder "dev"}/include") + (lib.cmakeFeature "CMAKE_INSTALL_FULL_LIBDIR" "${placeholder "lib"}/lib") ]; # Compile web assembly with emscripten. The --debug flag prevents us from @@ -238,7 +256,7 @@ rustPlatform.buildRustPackage (finalAttrs: { ''; postInstall = '' - PREFIX=$out make install + make install PREFIX=$out LIBDIR=$lib/lib INCLUDEDIR=$dev/include '' # supply the nix paths for the Wasi SDK & `wasm-opt`: https://tree-sitter.github.io/tree-sitter/6-contributing.html#wasm-stdlib # lld is required for the linker phase in `tree-sitter build --wasm` @@ -250,8 +268,8 @@ rustPlatform.buildRustPackage (finalAttrs: { --prefix PATH : "${lib.makeBinPath [ llvmPackages.lld ]}" '' + '' - ${lib.optionalString (!enableShared) "rm -f $out/lib/*.so{,.*}"} - ${lib.optionalString (!enableStatic) "rm -f $out/lib/*.a"} + ${lib.optionalString (!enableShared) "rm -f $lib/lib/*.so{,.*}"} + ${lib.optionalString (!enableStatic) "rm -f $lib/lib/*.a"} mv docs/src/assets/schemas/config.schema.json $out/ '' From f806f7b71fbf32c8a1eb08c8b1b473d544942e92 Mon Sep 17 00:00:00 2001 From: winston Date: Sun, 11 Oct 2026 02:43:20 +0200 Subject: [PATCH 1749/2378] umple-lsp: fix build for new tree-sitter wasm setup --- pkgs/by-name/um/umple-lsp/package.nix | 19 +------------------ 1 file changed, 1 insertion(+), 18 deletions(-) diff --git a/pkgs/by-name/um/umple-lsp/package.nix b/pkgs/by-name/um/umple-lsp/package.nix index a9f26473dd21..04cfa0351ebf 100644 --- a/pkgs/by-name/um/umple-lsp/package.nix +++ b/pkgs/by-name/um/umple-lsp/package.nix @@ -1,9 +1,7 @@ { lib, - pkgsCross, buildNpmPackage, fetchFromGitHub, - linkFarm, versionCheckHook, jre_headless, nodejs, @@ -11,16 +9,6 @@ umple, withUmple ? true, }: -let - # tree-sitter needs a wasi32 clang available at `bin/clang` - wasi32cc = lib.getExe pkgsCross.wasi32.stdenv.cc; - wasi-sdk = linkFarm "wasi-sdk" { "bin/clang" = wasi32cc; }; - # tree-sitter invokes clang with `--target=wasm32-unknown-wasi`, so clang looks - # for an unprefixed `wasm-ld` instead of the prefixed one that the cross bintools ship - wasm-ld = linkFarm "wasm-ld" { - "bin/wasm-ld" = lib.getExe' pkgsCross.wasi32.buildPackages.llvmPackages.lld "wasm-ld"; - }; -in buildNpmPackage (finalAttrs: { pname = "umple-lsp"; version = "1.0.2"; @@ -46,14 +34,9 @@ buildNpmPackage (finalAttrs: { nativeBuildInputs = [ nodejs - pkgsCross.wasi32.stdenv.cc.bintools - tree-sitter - wasm-ld + (tree-sitter.override { wasmSupport = true; }) ]; - # Stop tree-sitter from trying to fetch its own wasi-sdk - env.TREE_SITTER_WASI_SDK_PATH = wasi-sdk; - dontNpmBuild = true; # Same process as the `build-grammar` script from package.json From 7d4ddda50f1ee396934ffbe8d4502d49543bcbed Mon Sep 17 00:00:00 2001 From: "R. Ryantm" Date: Sat, 17 Oct 2026 15:01:33 +0000 Subject: [PATCH 1750/2378] simdjson: 4.6.11 -> 5.0.5 --- pkgs/by-name/si/simdjson/package.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/by-name/si/simdjson/package.nix b/pkgs/by-name/si/simdjson/package.nix index ded5d188378d..89594db90e81 100644 --- a/pkgs/by-name/si/simdjson/package.nix +++ b/pkgs/by-name/si/simdjson/package.nix @@ -9,13 +9,13 @@ stdenv.mkDerivation (finalAttrs: { pname = "simdjson"; - version = "4.6.11"; + version = "5.0.5"; src = fetchFromGitHub { owner = "simdjson"; repo = "simdjson"; tag = "v${finalAttrs.version}"; - hash = "sha256-JjcvJldWQTTFq9PU1F0IafL7GVoMfVUDz6hVb5Po/A4="; + hash = "sha256-smD805QjIwUqTyMC0RmjjRKUX3jJZo/uOHSTvcBzca0="; }; outputs = [ From 9c0c09b8fac09734d327f9305f9b1ba9f4bfdef8 Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sat, 17 Oct 2026 21:41:52 +0200 Subject: [PATCH 1751/2378] libsndfile: enable strictDeps --- pkgs/by-name/li/libsndfile/package.nix | 2 ++ 1 file changed, 2 insertions(+) diff --git a/pkgs/by-name/li/libsndfile/package.nix b/pkgs/by-name/li/libsndfile/package.nix index 9fadf930ba0e..a3c4947367a7 100644 --- a/pkgs/by-name/li/libsndfile/package.nix +++ b/pkgs/by-name/li/libsndfile/package.nix @@ -61,6 +61,8 @@ stdenv.mkDerivation (finalAttrs: { ] ++ lib.optionals stdenv.hostPlatform.isLinux [ alsa-lib ]; + strictDeps = true; + enableParallelBuilding = true; outputs = [ From bca9acaeaca22e38390ef1d3dfbf5244ad3a682b Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sat, 17 Oct 2026 21:42:14 +0200 Subject: [PATCH 1752/2378] libsndfile: enable structuredAttrs --- pkgs/by-name/li/libsndfile/package.nix | 2 ++ 1 file changed, 2 insertions(+) diff --git a/pkgs/by-name/li/libsndfile/package.nix b/pkgs/by-name/li/libsndfile/package.nix index a3c4947367a7..5f989afd8cbc 100644 --- a/pkgs/by-name/li/libsndfile/package.nix +++ b/pkgs/by-name/li/libsndfile/package.nix @@ -111,6 +111,8 @@ stdenv.mkDerivation (finalAttrs: { lame = (lame.override { sndfileFileIOSupport = true; }); }; + __structuredAttrs = true; + meta = { description = "C library for reading and writing files containing sampled sound"; homepage = "https://libsndfile.github.io/libsndfile/"; From 91d5f8b1e1343fc25cda7dcbbe4079b0a102c9c9 Mon Sep 17 00:00:00 2001 From: cinereal Date: Sat, 17 Oct 2026 19:28:16 +0200 Subject: [PATCH 1753/2378] libsndfile: add patches for CVE-2024-50612, CVE-2026-37555 Assisted-by: Claude:claude-opus-5-5 --- pkgs/by-name/li/libsndfile/package.nix | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) diff --git a/pkgs/by-name/li/libsndfile/package.nix b/pkgs/by-name/li/libsndfile/package.nix index 9fadf930ba0e..8bb867883e3e 100644 --- a/pkgs/by-name/li/libsndfile/package.nix +++ b/pkgs/by-name/li/libsndfile/package.nix @@ -43,6 +43,28 @@ stdenv.mkDerivation (finalAttrs: { url = "https://github.com/libsndfile/libsndfile/commit/2251737b3b175925684ec0d37029ff4cb521d302.patch"; hash = "sha256-LaeptEicnjpVBExlK4dNMlN8+AAJhW8dIvemF6S4W2M="; }) + # Fix an out-of-bounds read in `vorbis_analysis_wrote` (CVE-2024-50612) + # https://github.com/libsndfile/libsndfile/pull/1045 + (fetchpatch { + name = "CVE-2024-50612.patch"; + url = "https://github.com/libsndfile/libsndfile/commit/4755f5bd7854611d92ad0f1295587b439f9950ba.patch"; + hash = "sha256-PtDNAOxzy0f6YmK84uznh+3qQF3bbbKeZTNCs0I7lXA="; + }) + # Fix integer overflows in the IMA ADPCM codec. + # The first patch fixes the AIFF path and is a part of the CVE-2022-33065 fixes. + # The second patch fixes the WAV and close paths (CVE-2026-37555). + # https://github.com/libsndfile/libsndfile/pull/979 + (fetchpatch { + name = "ima-adpcm-int-overflow-aiff.patch"; + url = "https://github.com/libsndfile/libsndfile/commit/9a829113c88a51e57c1e46473e90609e4b7df151.patch"; + hash = "sha256-gUCNPSj/F5M9QhkSPwhFV7r0tm9eIWSzEltWtIp/3cE="; + }) + # https://github.com/libsndfile/libsndfile/pull/1123 + (fetchpatch { + name = "CVE-2026-37555.patch"; + url = "https://github.com/libsndfile/libsndfile/commit/cdadf9a65fdc1f28da9d235eb443d5f5e57010d2.patch"; + hash = "sha256-GxyE9rYHFVT0RXjHYzHyrooqboa9SZKIR8kw1oEHffI="; + }) ]; nativeBuildInputs = [ From 643bc6325fc8aefc69c7f97bc00ec58e0e815967 Mon Sep 17 00:00:00 2001 From: Sergei Trofimovich Date: Sat, 17 Oct 2026 21:21:36 +0100 Subject: [PATCH 1754/2378] harper: add missing `zstd` depend Without the chnage the build fails in` staging` as: > Can't probe for zstd in pkg-config: Could not run `PKG_CONFIG_ALLOW_SYSTEM_LIBS=1 PKG_CONFIG_ALLOW_SYSTEM_CFLAGS=1 pkg-config --static --libs --cflags libzstd` --- pkgs/by-name/ha/harper/package.nix | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/pkgs/by-name/ha/harper/package.nix b/pkgs/by-name/ha/harper/package.nix index b65a573ccf35..f7ff49f4ba3d 100644 --- a/pkgs/by-name/ha/harper/package.nix +++ b/pkgs/by-name/ha/harper/package.nix @@ -4,6 +4,8 @@ fetchFromGitHub, installShellFiles, stdenv, + pkg-config, + zstd, nix-update-script, versionCheckHook, vscode-extensions, @@ -33,7 +35,11 @@ rustPlatform.buildRustPackage (finalAttrs: { "--package=harper-ls" ]; - nativeBuildInputs = [ installShellFiles ]; + nativeBuildInputs = [ + installShellFiles + pkg-config + ]; + buildInputs = [ zstd ]; postInstall = lib.optionalString (stdenv.buildPlatform.canExecute stdenv.hostPlatform) '' installShellCompletion --cmd harper-cli \ From 652667185f3720299c0c48bce3599262c83b748a Mon Sep 17 00:00:00 2001 From: Sergei Trofimovich Date: Sat, 17 Oct 2026 21:31:32 +0100 Subject: [PATCH 1755/2378] vale-ls: add missing `zstd` depend Without the change the build fails in `staging` as: > The system library `libzstd` required by crate `zstd-sys` was not found. --- pkgs/by-name/va/vale-ls/package.nix | 2 ++ 1 file changed, 2 insertions(+) diff --git a/pkgs/by-name/va/vale-ls/package.nix b/pkgs/by-name/va/vale-ls/package.nix index d9483b7966b2..b1507d67487f 100644 --- a/pkgs/by-name/va/vale-ls/package.nix +++ b/pkgs/by-name/va/vale-ls/package.nix @@ -6,6 +6,7 @@ rustPlatform, pkg-config, openssl, + zstd, vale, }: @@ -28,6 +29,7 @@ rustPlatform.buildRustPackage (finalAttrs: { buildInputs = [ openssl + zstd ]; checkFlags = [ From 5a4ad89d65cab015fcc2f22eec4dbd4713150adc Mon Sep 17 00:00:00 2001 From: Sergei Trofimovich Date: Sat, 17 Oct 2026 21:51:03 +0100 Subject: [PATCH 1756/2378] forgejo-cli: add missing `aws-lc` depend Without the change the build fails in `staging` as: > AWS_LC_SYS_USE_SYSTEM=1 requires a system-installed AWS-LC, but none was found. --- pkgs/by-name/fo/forgejo-cli/package.nix | 2 ++ 1 file changed, 2 insertions(+) diff --git a/pkgs/by-name/fo/forgejo-cli/package.nix b/pkgs/by-name/fo/forgejo-cli/package.nix index 4216ecd5fbdc..b19346a413d3 100644 --- a/pkgs/by-name/fo/forgejo-cli/package.nix +++ b/pkgs/by-name/fo/forgejo-cli/package.nix @@ -6,6 +6,7 @@ pkg-config, installShellFiles, writableTmpDirAsHomeHook, + aws-lc, libgit2, oniguruma, openssl, @@ -34,6 +35,7 @@ rustPlatform.buildRustPackage (finalAttrs: { ]; buildInputs = [ + aws-lc libgit2 oniguruma openssl From c33c4d684d4f22cd26dc1510f3d58b6f04e8f632 Mon Sep 17 00:00:00 2001 From: Aiden Schembri Date: Sat, 17 Oct 2026 23:20:52 +0200 Subject: [PATCH 1757/2378] bazaar: 0.9.1 -> 0.9.9 --- pkgs/by-name/ba/bazaar/package.nix | 19 +++++++++++++------ 1 file changed, 13 insertions(+), 6 deletions(-) diff --git a/pkgs/by-name/ba/bazaar/package.nix b/pkgs/by-name/ba/bazaar/package.nix index 0300802cf929..099362b2042d 100644 --- a/pkgs/by-name/ba/bazaar/package.nix +++ b/pkgs/by-name/ba/bazaar/package.nix @@ -1,13 +1,15 @@ { lib, stdenv, - fetchFromGitHub, + fetchFromGitLab, blueprint-compiler, desktop-file-utils, + dbus, meson, python3, ninja, pkg-config, + vala, wrapGAppsHook4, appstream, flatpak, @@ -29,12 +31,13 @@ md4c, webkitgtk_6_0, libsecret, + systemdLibs, nix-update-script, }: stdenv.mkDerivation (finalAttrs: { pname = "bazaar"; - version = "0.9.1"; + version = "0.9.9"; __structuredAttrs = true; strictDeps = true; @@ -46,11 +49,12 @@ stdenv.mkDerivation (finalAttrs: { "dev" ]; - src = fetchFromGitHub { - owner = "bazaar-org"; + src = fetchFromGitLab { + domain = "gitlab.gnome.org"; + owner = "World"; repo = "bazaar"; tag = "v${finalAttrs.version}"; - hash = "sha256-9J+XI5JnV8Yfk3xRI/VM5RSG4eMafbw2rBRpPMIu5yA="; + hash = "sha256-qmMwlvB8DXNP0SHip1mQoktYFeH/DwfvVtVIny16Ryo="; }; nativeBuildInputs = [ @@ -60,6 +64,7 @@ stdenv.mkDerivation (finalAttrs: { meson ninja pkg-config + vala wrapGAppsHook4 (python3.withPackages (p: [ p.babel @@ -69,6 +74,7 @@ stdenv.mkDerivation (finalAttrs: { buildInputs = [ appstream + dbus flatpak glib-networking gtk4 @@ -87,6 +93,7 @@ stdenv.mkDerivation (finalAttrs: { md4c webkitgtk_6_0 libsecret + systemdLibs ]; postInstall = '' @@ -112,7 +119,7 @@ stdenv.mkDerivation (finalAttrs: { meta = { description = "FlatHub-first app store for GNOME"; - homepage = "https://github.com/kolunmi/bazaar"; + homepage = "https://gitlab.gnome.org/World/bazaar"; license = lib.licenses.gpl3Plus; maintainers = with lib.maintainers; [ dtomvan From 6f7e21e38de1e47bb21a595a6ef2b36664c4587f Mon Sep 17 00:00:00 2001 From: cinereal Date: Sat, 17 Oct 2026 19:28:15 +0200 Subject: [PATCH 1758/2378] gnupatch: add patches for CVE-2026-56288, CVE-2026-56289 Assisted-by: Claude:claude-opus-5-5 --- pkgs/by-name/gn/gnupatch/CVE-2026-56288.patch | 72 +++++++++++++++++++ pkgs/by-name/gn/gnupatch/CVE-2026-56289.patch | 33 +++++++++ pkgs/by-name/gn/gnupatch/package.nix | 14 ++++ 3 files changed, 119 insertions(+) create mode 100644 pkgs/by-name/gn/gnupatch/CVE-2026-56288.patch create mode 100644 pkgs/by-name/gn/gnupatch/CVE-2026-56289.patch diff --git a/pkgs/by-name/gn/gnupatch/CVE-2026-56288.patch b/pkgs/by-name/gn/gnupatch/CVE-2026-56288.patch new file mode 100644 index 000000000000..00495586e74d --- /dev/null +++ b/pkgs/by-name/gn/gnupatch/CVE-2026-56288.patch @@ -0,0 +1,72 @@ +From e6d6a4e021660679d7fc9150f981d4920f722313 Mon Sep 17 00:00:00 2001 +From: Paul Eggert +Date: Tue, 21 Apr 2026 10:05:02 -0700 +Subject: Avoid null pointer derefence with bad hunks +MIME-Version: 1.0 +Content-Type: text/plain; charset=UTF-8 +Content-Transfer-Encoding: 8bit + +Problem reported by Michał Majchrowicz. +* src/pch.c (another_hunk): Keep chars_read positive +even with malformed hunks. +--- + src/pch.c | 15 ++++++++++----- + 1 file changed, 10 insertions(+), 5 deletions(-) + +diff --git a/src/pch.c b/src/pch.c +index e1319db..b83253c 100644 +--- a/src/pch.c ++++ b/src/pch.c +@@ -1694,7 +1694,8 @@ another_hunk (enum diff difftype, bool rev) + p_end = filldst-1; + malformed (); + } +- chars_read -= fillsrc == p_ptrn_lines && incomplete_line (); ++ chars_read -= (1 < chars_read && fillsrc == p_ptrn_lines ++ && incomplete_line ()); + p_Char[fillsrc] = ch; + p_line[fillsrc] = s; + p_len[fillsrc++] = chars_read; +@@ -1711,7 +1712,8 @@ another_hunk (enum diff difftype, bool rev) + malformed (); + } + context++; +- chars_read -= fillsrc == p_ptrn_lines && incomplete_line (); ++ chars_read -= (1 < chars_read && fillsrc == p_ptrn_lines ++ && incomplete_line ()); + p_Char[fillsrc] = ch; + p_line[fillsrc] = s; + p_len[fillsrc++] = chars_read; +@@ -1725,7 +1727,8 @@ another_hunk (enum diff difftype, bool rev) + p_end = fillsrc-1; + malformed (); + } +- chars_read -= filldst == p_end && incomplete_line (); ++ chars_read -= (1 < chars_read && filldst == p_end ++ && incomplete_line ()); + p_Char[filldst] = ch; + p_line[filldst] = s; + p_len[filldst++] = chars_read; +@@ -1808,7 +1811,8 @@ another_hunk (enum diff difftype, bool rev) + fatal (("'<' followed by space or tab expected" + " at line %td of patch"), + p_input_line); +- chars_read -= 2 + (i == p_ptrn_lines && incomplete_line ()); ++ chars_read -= 2 + (3 < chars_read && i == p_ptrn_lines ++ && incomplete_line ()); + p_len[i] = chars_read; + p_line[i] = savebuf (patchbuf + 2, chars_read); + p_Char[i] = '-'; +@@ -1833,7 +1837,8 @@ another_hunk (enum diff difftype, bool rev) + fatal (("'>' followed by space or tab expected" + " at line %td of patch"), + p_input_line); +- chars_read -= 2 + (i == p_end && incomplete_line ()); ++ chars_read -= 2 + (3 < chars_read && i == p_end ++ && incomplete_line ()); + p_len[i] = chars_read; + p_line[i] = savebuf (patchbuf + 2, chars_read); + p_Char[i] = '+'; +-- +cgit v1.3 + diff --git a/pkgs/by-name/gn/gnupatch/CVE-2026-56289.patch b/pkgs/by-name/gn/gnupatch/CVE-2026-56289.patch new file mode 100644 index 000000000000..19a228726ff0 --- /dev/null +++ b/pkgs/by-name/gn/gnupatch/CVE-2026-56289.patch @@ -0,0 +1,33 @@ +From faba04ef4f2b410257f76c1b9dc85e350929c4b9 Mon Sep 17 00:00:00 2001 +From: Paul Eggert +Date: Tue, 21 Apr 2026 13:16:10 -0700 +Subject: Don’t infloop on null ranges +MIME-Version: 1.0 +Content-Type: text/plain; charset=UTF-8 +Content-Transfer-Encoding: 8bit + +Problem reported by Michał Majchrowicz. +* src/patch.c (locate_hunk): Don’t attempt to optimize +matches of a null range. Instead, apply all the checks +we apply to non-null ranges. +--- + src/patch.c | 3 --- + 1 file changed, 3 deletions(-) + +diff --git a/src/patch.c b/src/patch.c +index 16aa5f5..0985af0 100644 +--- a/src/patch.c ++++ b/src/patch.c +@@ -1170,9 +1170,6 @@ locate_hunk (idx_t fuzz) + ptrdiff_t max_offset = MAX (max_pos_offset, max_neg_offset); + ptrdiff_t min_offset; + +- if (!pat_lines) /* null range matches always */ +- return first_guess; +- + /* Do not try lines <= 0. */ + if (first_guess <= max_neg_offset) + max_neg_offset = first_guess - 1; +-- +cgit v1.3 + diff --git a/pkgs/by-name/gn/gnupatch/package.nix b/pkgs/by-name/gn/gnupatch/package.nix index 361365accfb3..7350143d877e 100644 --- a/pkgs/by-name/gn/gnupatch/package.nix +++ b/pkgs/by-name/gn/gnupatch/package.nix @@ -6,6 +6,11 @@ autoreconfHook, }: +# Note: this package is used for bootstrapping fetchurl, and thus cannot use +# fetchpatch! Any mutable patches (retrieved from GitHub, cgit or any other +# place) that are needed here should be directly included together as regular +# files. + stdenv.mkDerivation (finalAttrs: { pname = "patch"; version = "2.8"; @@ -15,6 +20,15 @@ stdenv.mkDerivation (finalAttrs: { hash = "sha256-+Hzuae7CtPy/YKOWsDCtaqNBXxkqpffuhMrV4R9/WuM="; }; + patches = [ + # Avoid a null pointer dereference with bad hunks. + # https://cgit.git.savannah.gnu.org/cgit/patch.git/commit/?id=e6d6a4e021660679d7fc9150f981d4920f722313 + ./CVE-2026-56288.patch + # Do not loop forever on null ranges. + # https://cgit.git.savannah.gnu.org/cgit/patch.git/commit/?id=faba04ef4f2b410257f76c1b9dc85e350929c4b9 + ./CVE-2026-56289.patch + ]; + # This test is filesystem-dependent - observed failing on ZFS. # It is also just plain flaky: it has been observed failing about 10% # of the time on btrfs and ext4 too. From e588ba05454913786f9ea8cc9eb5fc463a900715 Mon Sep 17 00:00:00 2001 From: "R. Ryantm" Date: Sat, 17 Oct 2026 21:41:42 +0000 Subject: [PATCH 1759/2378] libsodium: 1.0.22-unstable-2026-09-28 -> 1.0.22-unstable-2026-10-15 --- pkgs/by-name/li/libsodium/package.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pkgs/by-name/li/libsodium/package.nix b/pkgs/by-name/li/libsodium/package.nix index eef03b5648f1..fb4a08fb45eb 100644 --- a/pkgs/by-name/li/libsodium/package.nix +++ b/pkgs/by-name/li/libsodium/package.nix @@ -9,13 +9,13 @@ stdenv.mkDerivation (finalAttrs: { pname = "libsodium"; - version = "1.0.22-unstable-2026-09-28"; + version = "1.0.22-unstable-2026-10-15"; src = fetchFromGitHub { owner = "jedisct1"; repo = "libsodium"; - rev = "9dcaa81943641565585482c20f2a211200aa1d89"; - hash = "sha256-QQlxeUgQDdFweGqsUOso+II64zMfjmmB2sUuF3Vu53o="; + rev = "dc7ca095739fe15abf8fdb6122f333da54cb7f7b"; + hash = "sha256-krfwT/OFcxRGXMvnLSFPJqDUnfqygHGp0TSFHbpV0TA="; }; outputs = [ From 72724a7a79a1c27be80293f34b8ea0c82ed10a6d Mon Sep 17 00:00:00 2001 From: Dmitry Bogatov Date: Tue, 6 Oct 2026 06:00:00 -0400 Subject: [PATCH 1760/2378] doc: Remove explicit calls to "runHook" from the documentation The previous rule of adding explicit runHook when overriding phases is now reversed: - Hooks are run automatically now by stdenv. - Explicit "runHook" calls are deprecated. - There is a temporary work-around that makes sure that explicit "runHook" doesn't cause hooks to run twice. In short: "runHook" is now implementation detail of stdenv, normal packages don't need to know about it. --- doc/doc-support/lib-function-docs.nix | 6 --- doc/doc-support/package.nix | 8 ---- doc/hooks/memcached-test-hook.section.md | 13 ------ doc/hooks/postgresql-test-hook.section.md | 11 ----- doc/hooks/redis-test-hook.section.md | 13 ------ doc/languages-frameworks/agda.section.md | 4 -- doc/languages-frameworks/dlang.section.md | 2 - .../emscripten.section.md | 31 +------------- doc/languages-frameworks/java.section.md | 10 ----- .../javascript.section.md | 4 -- doc/languages-frameworks/lisp.section.md | 4 -- doc/languages-frameworks/maven.section.md | 40 ------------------- doc/languages-frameworks/python.section.md | 4 -- doc/languages-frameworks/swift.section.md | 12 ------ doc/languages-frameworks/texlive.section.md | 14 ------- doc/packages/weechat.section.md | 4 -- doc/stdenv/stdenv.chapter.md | 10 ----- pkgs/README.md | 1 - 18 files changed, 1 insertion(+), 190 deletions(-) diff --git a/doc/doc-support/lib-function-docs.nix b/doc/doc-support/lib-function-docs.nix index 855cd6d0e3da..9af20daf1340 100644 --- a/doc/doc-support/lib-function-docs.nix +++ b/doc/doc-support/lib-function-docs.nix @@ -18,10 +18,4 @@ stdenvNoCC.mkDerivation { mkdir -p $out nixdoc --manifest ${../function-catalog.json} --root src --output $out/lib-functions.json ''; - - installPhase = '' - runHook preInstall - - runHook postInstall - ''; } diff --git a/doc/doc-support/package.nix b/doc/doc-support/package.nix index 5533a4ca38c9..78c232159324 100644 --- a/doc/doc-support/package.nix +++ b/doc/doc-support/package.nix @@ -86,8 +86,6 @@ stdenvNoCC.mkDerivation ( ''; buildPhase = '' - runHook preBuild - substituteInPlace ./languages-frameworks/python.section.md \ --subst-var-by python-interpreter-table "$(<"${pythonInterpreterTable}")" @@ -123,13 +121,9 @@ stdenvNoCC.mkDerivation ( --no-navheader \ manual.md \ out/index.html - - runHook postBuild ''; installPhase = '' - runHook preInstall - dest="$out/share/doc/nixpkgs" mkdir -p "$(dirname "$dest")" mv out "$dest" @@ -142,8 +136,6 @@ stdenvNoCC.mkDerivation ( mkdir -p $out/nix-support/ echo "doc manual $dest index.html" >> $out/nix-support/hydra-build-products echo "doc manual $dest nixpkgs-manual.epub" >> $out/nix-support/hydra-build-products - - runHook postInstall ''; passthru = { diff --git a/doc/hooks/memcached-test-hook.section.md b/doc/hooks/memcached-test-hook.section.md index 6575d33b7e05..d0a38521df0c 100644 --- a/doc/hooks/memcached-test-hook.section.md +++ b/doc/hooks/memcached-test-hook.section.md @@ -13,19 +13,6 @@ stdenv.mkDerivation { } ``` -If you use a custom `checkPhase`, remember to add the `runHook` calls: -```nix -{ - checkPhase = '' - runHook preCheck - - # ... your tests - - runHook postCheck - ''; -} -``` - ## Variables {#sec-memcachedTestHook-variables} Bash-only variables: diff --git a/doc/hooks/postgresql-test-hook.section.md b/doc/hooks/postgresql-test-hook.section.md index 96917192c521..e91f1f880f95 100644 --- a/doc/hooks/postgresql-test-hook.section.md +++ b/doc/hooks/postgresql-test-hook.section.md @@ -20,17 +20,6 @@ stdenv.mkDerivation { } ``` -If you use a custom `checkPhase`, remember to add the `runHook` calls: -```nix -checkPhase '' - runHook preCheck - - # ... your tests - - runHook postCheck -'' -``` - ## Variables {#sec-postgresqlTestHook-variables} The hook logic will read a number of variables and set them to a default value if unset or empty. diff --git a/doc/hooks/redis-test-hook.section.md b/doc/hooks/redis-test-hook.section.md index 3f5b0ba737d1..cfcce2026dd3 100644 --- a/doc/hooks/redis-test-hook.section.md +++ b/doc/hooks/redis-test-hook.section.md @@ -17,19 +17,6 @@ stdenv.mkDerivation { } ``` -If you use a custom `checkPhase`, remember to add the `runHook` calls: -```nix -{ - checkPhase = '' - runHook preCheck - - # ... your tests - - runHook postCheck - ''; -} -``` - ## Variables {#sec-redisTestHook-variables} The hook logic will read the following variables and set them to a default value if unset or empty. diff --git a/doc/languages-frameworks/agda.section.md b/doc/languages-frameworks/agda.section.md index 9f19229fac05..c86ae7aa1d3b 100644 --- a/doc/languages-frameworks/agda.section.md +++ b/doc/languages-frameworks/agda.section.md @@ -216,12 +216,8 @@ mkDerivation { libraryName = "IAL-1.3"; buildPhase = '' - runHook preBuild - patchShebangs find-deps.sh make - - runHook postBuild ''; } ``` diff --git a/doc/languages-frameworks/dlang.section.md b/doc/languages-frameworks/dlang.section.md index 34106e5cce14..693d0ce113f2 100644 --- a/doc/languages-frameworks/dlang.section.md +++ b/doc/languages-frameworks/dlang.section.md @@ -35,9 +35,7 @@ buildDubPackage rec { ]; installPhase = '' - runHook preInstall install -Dm755 btdu -t $out/bin - runHook postInstall ''; } ``` diff --git a/doc/languages-frameworks/emscripten.section.md b/doc/languages-frameworks/emscripten.section.md index aaf464e878c7..c0b183fe5b09 100644 --- a/doc/languages-frameworks/emscripten.section.md +++ b/doc/languages-frameworks/emscripten.section.md @@ -48,36 +48,23 @@ One advantage is that when `pkgs.zlib` is updated, it will automatically update configurePhase = '' # FIXME: Some tests require writing at $HOME HOME=$TMPDIR - runHook preConfigure #export EMCC_DEBUG=2 emconfigure ./configure --prefix=$out --shared - - runHook postConfigure ''; dontStrip = true; outputs = [ "out" ]; buildPhase = '' - runHook preBuild - emmake make - - runHook postBuild ''; installPhase = '' - runHook preInstall - emmake make install - - runHook postInstall ''; checkPhase = '' - runHook preCheck - echo "================= testing zlib using node =================" echo "Compiling a custom test" @@ -96,8 +83,6 @@ One advantage is that when `pkgs.zlib` is updated, it will automatically update echo "it seems to work! very good." fi echo "================= /testing zlib using node =================" - - runHook postCheck ''; postPatch = pkgs.lib.optionalString pkgs.stdenv.hostPlatform.isDarwin '' @@ -145,8 +130,6 @@ pkgs.buildEmscriptenPackage { }; configurePhase = '' - runHook preConfigure - rm -f fastXmlLint.js* # a fix for ERROR:root:For asm.js, TOTAL_MEMORY must be a multiple of 16MB, was 234217728 # https://gitlab.com/odfplugfest/xmlmirror/issues/8 @@ -156,16 +139,10 @@ pkgs.buildEmscriptenPackage { sed -e "s/\$(JSONC_LDFLAGS) \$(ZLIB_LDFLAGS) \$(LIBXML20_LDFLAGS)/\$(JSONC_LDFLAGS) \$(LIBXML20_LDFLAGS) \$(ZLIB_LDFLAGS) /g" -i Makefile.emEnv # https://gitlab.com/odfplugfest/xmlmirror/issues/11 sed -e "s/-o fastXmlLint.js/-s EXTRA_EXPORTED_RUNTIME_METHODS='[\"ccall\", \"cwrap\"]' -o fastXmlLint.js/g" -i Makefile.emEnv - - runHook postConfigure ''; buildPhase = '' - runHook preBuild - make -f Makefile.emEnv - - runHook postBuild ''; outputs = [ @@ -174,8 +151,6 @@ pkgs.buildEmscriptenPackage { ]; installPhase = '' - runHook preInstall - mkdir -p $out/share mkdir -p $doc/share/${name} @@ -189,14 +164,10 @@ pkgs.buildEmscriptenPackage { cp *.json $out/share cp *.rng $out/share cp README.md $doc/share/${name} - - runHook postInstall ''; checkPhase = '' - runHook preCheck - - runHook postCheck + ... ''; } ``` diff --git a/doc/languages-frameworks/java.section.md b/doc/languages-frameworks/java.section.md index cffa3779ea7d..6be7378af30a 100644 --- a/doc/languages-frameworks/java.section.md +++ b/doc/languages-frameworks/java.section.md @@ -18,18 +18,12 @@ stdenv.mkDerivation { ]; buildPhase = '' - runHook preBuild ant # build the project using ant - runHook postBuild ''; installPhase = '' - runHook preInstall - # copy generated jar file(s) to an appropriate location in $out install -Dm644 build/foo.jar $out/share/java/foo.jar - - runHook postInstall ''; } ``` @@ -69,13 +63,9 @@ script to run it using a JRE. You can use `makeWrapper` for this: nativeBuildInputs = [ makeWrapper ]; installPhase = '' - runHook preInstall - mkdir -p $out/bin makeWrapper ${lib.getExe jre} $out/bin/foo \ --add-flags "-cp $out/share/java/foo.jar org.foo.Main" - - runHook postInstall ''; } ``` diff --git a/doc/languages-frameworks/javascript.section.md b/doc/languages-frameworks/javascript.section.md index bf28cdf5b2bd..1cd59967d12d 100644 --- a/doc/languages-frameworks/javascript.section.md +++ b/doc/languages-frameworks/javascript.section.md @@ -440,11 +440,7 @@ For these projects, build with `pnpm --filter= build`, beca ```nix { buildPhase = '' - runHook preBuild - pnpm --filter=@astrojs/language-server build - - runHook postBuild ''; } ``` diff --git a/doc/languages-frameworks/lisp.section.md b/doc/languages-frameworks/lisp.section.md index bf5aa50bf6b9..57fb7718d15c 100644 --- a/doc/languages-frameworks/lisp.section.md +++ b/doc/languages-frameworks/lisp.section.md @@ -57,11 +57,7 @@ Such a Lisp can be now used e.g. to compile your sources: ```nix { buildPhase = '' - runHook preBuild - ${lib.getExe sbcl'} --load my-build-file.lisp - - runHook postBuild ''; } ``` diff --git a/doc/languages-frameworks/maven.section.md b/doc/languages-frameworks/maven.section.md index 9733d75484d9..65861891f71c 100644 --- a/doc/languages-frameworks/maven.section.md +++ b/doc/languages-frameworks/maven.section.md @@ -33,15 +33,11 @@ maven.buildMavenPackage (finalAttrs: { nativeBuildInputs = [ makeWrapper ]; installPhase = '' - runHook preInstall - mkdir -p $out/bin $out/share/jd-cli install -Dm644 jd-cli/target/jd-cli.jar $out/share/jd-cli makeWrapper ${lib.getExe jre} $out/bin/jd-cli \ --add-flags "-jar $out/share/jd-cli/jd-cli.jar" - - runHook postInstall ''; meta = { @@ -205,15 +201,11 @@ maven_4.buildMavenPackage (finalAttrs: { nativeBuildInputs = [ makeWrapper ]; installPhase = '' - runHook preInstall - mkdir -p $out/bin $out/share/jd-cli install -Dm644 jd-cli/target/jd-cli.jar $out/share/jd-cli makeWrapper ${lib.getExe jre} $out/bin/jd-cli \ --add-flags "-jar $out/share/jd-cli/jd-cli.jar" - - runHook postInstall ''; meta = { @@ -358,24 +350,16 @@ stdenv.mkDerivation { buildInputs = [ maven ]; src = ./.; # or fetchFromGitHub, cleanSourceWith, etc buildPhase = '' - runHook preBuild - mvn package -Dmaven.repo.local=$out - - runHook postBuild ''; # keep only *.{pom,jar,sha1,nbm} and delete all ephemeral files with lastModified timestamps inside installPhase = '' - runHook preInstall - find $out -type f \ -name \*.lastUpdated -or \ -name resolver-status.properties -or \ -name _remote.repositories \ -delete - - runHook postInstall ''; # don't do any fixup @@ -431,20 +415,12 @@ stdenv.mkDerivation (finalAttrs: { buildInputs = [ maven ]; buildPhase = '' - runHook preBuild - echo "Using repository ${repository}" mvn --offline -Dmaven.repo.local=${repository} package; - - runHook postBuild ''; installPhase = '' - runHook preInstall - install -Dm644 target/${finalAttrs.pname}-${finalAttrs.version}.jar $out/share/java - - runHook postInstall ''; }) ``` @@ -504,17 +480,11 @@ stdenv.mkDerivation (finalAttrs: { buildInputs = [ maven ]; buildPhase = '' - runHook preBuild - echo "Using repository ${repository}" mvn --offline -Dmaven.repo.local=${repository} package; - - runHook postBuild ''; installPhase = '' - runHook preInstall - mkdir -p $out/bin classpath=$(find ${repository} -name "*.jar" -printf ':%h/%f'); @@ -524,8 +494,6 @@ stdenv.mkDerivation (finalAttrs: { makeWrapper ${lib.getExe jre} $out/bin/maven-demo \ --add-flags "-classpath $out/share/java/maven-demo-${finalAttrs.version}.jar:''${classpath#:}" \ --add-flags "Main" - - runHook postInstall ''; }) ``` @@ -598,17 +566,11 @@ stdenv.mkDerivation (finalAttrs: { buildInputs = [ maven ]; buildPhase = '' - runHook preBuild - echo "Using repository ${repository}" mvn --offline -Dmaven.repo.local=${repository} package; - - runHook postBuild ''; installPhase = '' - runHook preInstall - mkdir -p $out/bin # create a symbolic link for the repository directory @@ -619,8 +581,6 @@ stdenv.mkDerivation (finalAttrs: { # this should be the paths from the dependency derivation makeWrapper ${lib.getExe jre} $out/bin/maven-demo \ --add-flags "-jar $out/share/java/maven-demo-${finalAttrs.version}.jar" - - runHook postInstall ''; }) ``` diff --git a/doc/languages-frameworks/python.section.md b/doc/languages-frameworks/python.section.md index 3ad93703b9b7..c164698a4e14 100644 --- a/doc/languages-frameworks/python.section.md +++ b/doc/languages-frameworks/python.section.md @@ -1361,11 +1361,7 @@ test run would be: { nativeCheckInputs = [ pytest ]; checkPhase = '' - runHook preCheck - pytest - - runHook postCheck ''; } ``` diff --git a/doc/languages-frameworks/swift.section.md b/doc/languages-frameworks/swift.section.md index d1e0d8496ee6..9767cc87bf40 100644 --- a/doc/languages-frameworks/swift.section.md +++ b/doc/languages-frameworks/swift.section.md @@ -143,24 +143,16 @@ stdenv.mkDerivation (finalAttrs: { # The helper provides a configure snippet that will prepare all dependencies # in the correct place, where SwiftPM expects them. configurePhase = '' - runHook preConfigure - ${generated.configure} - - runHook postConfigure ''; installPhase = '' - runHook preInstall - # This is a special function that invokes swiftpm to find the location # of the binaries it produced. binPath="$(swiftpmBinPath)" # Now perform any installation steps. mkdir -p $out/bin cp $binPath/myproject $out/bin/ - - runHook postInstall ''; }) ``` @@ -194,16 +186,12 @@ A special function `swiftpmMakeMutable` is available to replace the symlink with ```nix { configurePhase = '' - runHook preConfigure - ${generated.configure} # Replace the dependency symlink with a writable copy. swiftpmMakeMutable swift-crypto # Now apply a patch. patch -p1 -d .build/checkouts/swift-crypto -i ${./some-fix.patch} - - runHook postConfigure ''; } ``` diff --git a/doc/languages-frameworks/texlive.section.md b/doc/languages-frameworks/texlive.section.md index 391cb48633c3..0e10b1328ecc 100644 --- a/doc/languages-frameworks/texlive.section.md +++ b/doc/languages-frameworks/texlive.section.md @@ -69,9 +69,7 @@ There is a TeX Live packaging that lives entirely under attribute `texlive`. inherit (finalAttrs.src) pname version; installPhase = '' - runHook preInstall install -Dm644 $src/fonts/opentype/nowacki/iwona/*.otf -t $out/share/fonts/opentype - runHook postInstall ''; }) ``` @@ -118,13 +116,9 @@ let ]; unpackPhase = '' - runHook preUnpack - for _src in $srcs; do cp "$_src" $(stripHash "$_src") done - - runHook postUnpack ''; nativeBuildInputs = [ @@ -146,20 +140,14 @@ let dontConfigure = true; buildPhase = '' - runHook preBuild - # Generate the style files latex foiltex.ins # Generate the documentation latexmk -pdf foiltex.dtx - - runHook postBuild ''; installPhase = '' - runHook preInstall - path="$tex/tex/latex/foiltex" mkdir -p "$path" cp *.{cls,def,clo,sty} "$path/" @@ -167,8 +155,6 @@ let path="$texdoc/doc/tex/latex/foiltex" mkdir -p "$path" cp *.pdf "$path/" - - runHook postInstall ''; meta = { diff --git a/doc/packages/weechat.section.md b/doc/packages/weechat.section.md index 60e99302879a..6ba6a188522a 100644 --- a/doc/packages/weechat.section.md +++ b/doc/packages/weechat.section.md @@ -112,13 +112,9 @@ stdenv.mkDerivation { "bar.lua" ]; installPhase = '' - runHook preInstall - mkdir $out/share cp foo.py $out/share cp bar.lua $out/share - - runHook postInstall ''; } ``` diff --git a/doc/stdenv/stdenv.chapter.md b/doc/stdenv/stdenv.chapter.md index 24ebe31d45f4..925b1afe1bf6 100644 --- a/doc/stdenv/stdenv.chapter.md +++ b/doc/stdenv/stdenv.chapter.md @@ -57,20 +57,12 @@ stdenv.mkDerivation { # ... buildPhase = '' - runHook preBuild - gcc foo.c -o foo - - runHook postBuild ''; installPhase = '' - runHook preInstall - mkdir -p $out/bin cp foo $out/bin - - runHook postInstall ''; } ``` @@ -597,8 +589,6 @@ This generic command either invokes a script at *buildCommandPath*, or a *buildC Each phase can be overridden in its entirety either by setting the environment variable `namePhase` to a string containing some shell commands to be executed, or by redefining the shell function `namePhase`. The former is convenient to override a phase from the derivation, while the latter is convenient from a build script. However, typically one only wants to *add* some commands to a phase, e.g. by defining `postInstall` or `preFixup`, as skipping some of the default actions may have unexpected consequences. The default script for each phase is defined in the file `pkgs/stdenv/generic/setup.sh`. -When overriding a phase, for example `installPhase`, it is important to start with `runHook preInstall` and end it with `runHook postInstall`, otherwise `preInstall` and `postInstall` will not be run. Even if you don't use them directly, it is good practice to do so anyways for downstream users who would want to add a `postInstall` by overriding your derivation. - While inside an interactive `nix-shell`, if you wanted to run all phases in the order they would be run in an actual build, you can invoke `genericBuild` yourself. ### Controlling phases {#ssec-controlling-phases} diff --git a/pkgs/README.md b/pkgs/README.md index 068e39d7b405..38bb8d25c04c 100644 --- a/pkgs/README.md +++ b/pkgs/README.md @@ -1275,7 +1275,6 @@ Sample template for a new package review is provided below. - [ ] source is fetched using the appropriate function - [ ] the motives for any special packaging choices are documented - [ ] the list of `phases` is not overridden -- [ ] when a phase (like `installPhase`) is overridden it starts with `runHook preInstall` and ends with `runHook postInstall`. - [ ] patches have a comment describing either the upstream URL or a reason why the patch wasn't upstreamed - [ ] patches that are remotely available are fetched rather than vendored From 5f9cef6c2c34d8852dca4f5554e74e674b7d6fc2 Mon Sep 17 00:00:00 2001 From: Dmitry Bogatov Date: Wed, 7 Oct 2026 06:00:00 -0400 Subject: [PATCH 1761/2378] treewide: update code that explicitly disables pre/post hooks --- pkgs/build-support/fetchurl/builder.sh | 1 + .../interpreters/python/hooks/conda-unpack-hook.sh | 2 +- .../interpreters/python/hooks/egg-unpack-hook.sh | 2 +- .../interpreters/python/hooks/wheel-unpack-hook.sh | 2 +- pkgs/development/python-modules/granian/default.nix | 6 +++++- 5 files changed, 9 insertions(+), 4 deletions(-) diff --git a/pkgs/build-support/fetchurl/builder.sh b/pkgs/build-support/fetchurl/builder.sh index 9a5a8e2f7987..e1e9772cfb8c 100644 --- a/pkgs/build-support/fetchurl/builder.sh +++ b/pkgs/build-support/fetchurl/builder.sh @@ -85,6 +85,7 @@ finish() { if [ -z "$skipPostFetch" ]; then runHook postFetch fi + runHookDone[postFetch]=1 exit 0 } diff --git a/pkgs/development/interpreters/python/hooks/conda-unpack-hook.sh b/pkgs/development/interpreters/python/hooks/conda-unpack-hook.sh index b9d13fe1ee10..f90ccc1d42bc 100644 --- a/pkgs/development/interpreters/python/hooks/conda-unpack-hook.sh +++ b/pkgs/development/interpreters/python/hooks/conda-unpack-hook.sh @@ -8,7 +8,7 @@ condaUnpackPhase() { # use lbzip2 for parallel decompression (bz2 is slow) lbzip2 -dc -n $NIX_BUILD_CORES $src | tar --exclude='info' -x - # runHook postUnpack # Calls find...? + runHookDone[postUnpack]=1 # Calls find...? echo "Finished executing condaUnpackPhase" } diff --git a/pkgs/development/interpreters/python/hooks/egg-unpack-hook.sh b/pkgs/development/interpreters/python/hooks/egg-unpack-hook.sh index 25d099bfc5ef..8fb33194b6ca 100644 --- a/pkgs/development/interpreters/python/hooks/egg-unpack-hook.sh +++ b/pkgs/development/interpreters/python/hooks/egg-unpack-hook.sh @@ -7,7 +7,7 @@ eggUnpackPhase() { cp "$src" "$(stripHash "$src")" - # runHook postUnpack # Calls find...? + runHookDone[postUnpack]=1 # Calls find...? echo "Finished executing eggUnpackPhase" } diff --git a/pkgs/development/interpreters/python/hooks/wheel-unpack-hook.sh b/pkgs/development/interpreters/python/hooks/wheel-unpack-hook.sh index d15ec0412c25..4b81cb3b6eb9 100644 --- a/pkgs/development/interpreters/python/hooks/wheel-unpack-hook.sh +++ b/pkgs/development/interpreters/python/hooks/wheel-unpack-hook.sh @@ -8,7 +8,7 @@ wheelUnpackPhase() { mkdir -p dist cp "$src" "dist/$(stripHash "$src")" - # runHook postUnpack # Calls find...? + runHookDone[postUnpack]=1 # Calls find...? echo "Finished executing wheelUnpackPhase" } diff --git a/pkgs/development/python-modules/granian/default.nix b/pkgs/development/python-modules/granian/default.nix index 2a1b0745899b..70843e0b3eba 100644 --- a/pkgs/development/python-modules/granian/default.nix +++ b/pkgs/development/python-modules/granian/default.nix @@ -112,9 +112,13 @@ buildPythonPackage rec { # overridePythonAttrs is not available in finalAttrs.finalPackage pytest = granian.overridePythonAttrs { pname = "granian-with-check-phase"; + + preHook = '' + runHookDone[preBuild]=1 + ''; + # skip repeat build buildPhase = '' - # runHook preBuild die() { echo >&2 "$@"; exit 1; } [[ ! -d dist ]] || die "ERROR: dist/ found at start of buildPhase" cp -r ${granian.dist} dist From c26a03f59e9b553bd382629b2a2e9f99ed9b92f5 Mon Sep 17 00:00:00 2001 From: Dmitry Bogatov Date: Sun, 4 Oct 2026 11:28:02 -0400 Subject: [PATCH 1762/2378] stdenv: run pre/post hooks automatically Closes: NixOS/nixpkgs#175605 --- pkgs/stdenv/generic/setup.sh | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) diff --git a/pkgs/stdenv/generic/setup.sh b/pkgs/stdenv/generic/setup.sh index eed3f63d6144..022b63e6a93f 100644 --- a/pkgs/stdenv/generic/setup.sh +++ b/pkgs/stdenv/generic/setup.sh @@ -195,12 +195,25 @@ _logHook() { ###################################################################### # Hook handling. +# Keep track if pre/post hook was already run, so whether the package uses +# explicit "runHook" or not, hook runs exactly one. In rare cases when +# derivation needs to skip particular hook or run it multiple times, it can +# manipulate this hashmap directly. +declare -A runHookDone + # Run all hooks with the specified name in the order in which they # were added, stopping if any fails (returns a non-zero exit # code). The hooks for are the shell function or variable # , and the values of the shell array ‘Hooks’. runHook() { local hookName="$1" + if [[ "$hookName" =~ ^(pre|post)[a-zA-Z] ]]; then + if [[ -v runHookDone[$hookName] ]] ; then + return 0 + fi + runHookDone[$hookName]=1 + fi + shift local hooksSlice="${hookName%Hook}Hooks[@]" @@ -1758,10 +1771,14 @@ runPhase() { local startTime endTime startTime=$(date +"%s") + [[ "$curPhase" =~ ^(.*)Phase$ ]] && runHook "pre${BASH_REMATCH[1]^}" + # Evaluate the variable named $curPhase if it exists, otherwise the # function named $curPhase. eval "${!curPhase:-$curPhase}" + [[ "$curPhase" =~ ^(.*)Phase$ ]] && runHook "post${BASH_REMATCH[1]^}" + endTime=$(date +"%s") showPhaseFooter "$curPhase" "$startTime" "$endTime" From 14d7486e2119226100661fc6562bc30797585a27 Mon Sep 17 00:00:00 2001 From: Alex Galvin Date: Sat, 3 Oct 2026 22:29:55 -0400 Subject: [PATCH 1763/2378] ffmpeg: add dvd support into ffmpeg and ffmpeg-{headless,small} --- pkgs/development/libraries/ffmpeg/generic.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/libraries/ffmpeg/generic.nix b/pkgs/development/libraries/ffmpeg/generic.nix index 55e4bab926d4..86f849017b5e 100644 --- a/pkgs/development/libraries/ffmpeg/generic.nix +++ b/pkgs/development/libraries/ffmpeg/generic.nix @@ -72,8 +72,8 @@ withDavs2 ? withFullDeps && withGPL, # AVS2 decoder withDc1394 ? withFullDeps && !stdenv.hostPlatform.isDarwin, # IIDC-1394 grabbing (ieee 1394) withDrm ? withHeadlessDeps && (with stdenv.hostPlatform; isLinux || isFreeBSD), # libdrm support - withDvdnav ? withFullDeps && withGPL && lib.versionAtLeast version "7", # needed for DVD demuxing - withDvdread ? withFullDeps && withGPL && lib.versionAtLeast version "7", # needed for DVD demuxing + withDvdnav ? withHeadlessDeps && withGPL && lib.versionAtLeast version "7", # needed for DVD demuxing + withDvdread ? withHeadlessDeps && withGPL && lib.versionAtLeast version "7", # needed for DVD demuxing withFdkAac ? withFullDeps && (!withGPL || withUnfree), # Fraunhofer FDK AAC de/encoder withNvcodec ? withHeadlessDeps From f4a035900eb0029ec25426adbe3c3d8e305493be Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sat, 17 Oct 2026 02:26:16 +0200 Subject: [PATCH 1764/2378] libpkgconf: enable strictDeps --- pkgs/by-name/li/libpkgconf/package.nix | 2 ++ 1 file changed, 2 insertions(+) diff --git a/pkgs/by-name/li/libpkgconf/package.nix b/pkgs/by-name/li/libpkgconf/package.nix index 8765b41a3875..47244ec5517a 100644 --- a/pkgs/by-name/li/libpkgconf/package.nix +++ b/pkgs/by-name/li/libpkgconf/package.nix @@ -32,6 +32,8 @@ stdenv.mkDerivation (finalAttrs: { removeReferencesTo ]; + strictDeps = true; + # Debian has outputs like these too # (https://packages.debian.org/source/bullseye/pkgconf), so it is safe to # remove those references From c2cf87f357cb331f5987b216c5fb1fa16abf82a1 Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sat, 17 Oct 2026 02:26:30 +0200 Subject: [PATCH 1765/2378] libpkgconf: enable structuredAttrs --- pkgs/by-name/li/libpkgconf/package.nix | 2 ++ 1 file changed, 2 insertions(+) diff --git a/pkgs/by-name/li/libpkgconf/package.nix b/pkgs/by-name/li/libpkgconf/package.nix index 47244ec5517a..0e703c50334d 100644 --- a/pkgs/by-name/li/libpkgconf/package.nix +++ b/pkgs/by-name/li/libpkgconf/package.nix @@ -60,6 +60,8 @@ stdenv.mkDerivation (finalAttrs: { rev-prefix = "pkgconf-"; }; + __structuredAttrs = true; + meta = { homepage = "https://github.com/pkgconf/pkgconf"; description = "Package compiler and linker metadata toolkit"; From ab348e2dc2527cb2f052d28b248427eb49689d66 Mon Sep 17 00:00:00 2001 From: aaravrav <37036762+aaravrav@users.noreply.github.com> Date: Fri, 16 Oct 2026 23:20:55 +0530 Subject: [PATCH 1766/2378] llvmPackages_23.openmp: fix build for LLVM 23+ --- .../compilers/llvm/common/openmp/default.nix | 32 +++++++++++++++---- 1 file changed, 25 insertions(+), 7 deletions(-) diff --git a/pkgs/development/compilers/llvm/common/openmp/default.nix b/pkgs/development/compilers/llvm/common/openmp/default.nix index 2601e294fccf..d6792fa1a94b 100644 --- a/pkgs/development/compilers/llvm/common/openmp/default.nix +++ b/pkgs/development/compilers/llvm/common/openmp/default.nix @@ -36,15 +36,28 @@ stdenv.mkDerivation (finalAttrs: { strictDeps = true; __structuredAttrs = true; } - '' - mkdir -p "$out" - cp -r ${monorepoSrc}/cmake "$out" - cp -r ${monorepoSrc}/openmp "$out" - '' + ( + '' + mkdir -p "$out" + cp -r ${monorepoSrc}/cmake "$out" + cp -r ${monorepoSrc}/openmp "$out" + '' + + lib.optionalString (lib.versionAtLeast release_version "23") '' + mkdir -p "$out/llvm" + cp -r ${monorepoSrc}/llvm/cmake "$out/llvm" + cp -r ${monorepoSrc}/llvm/utils "$out/llvm" + cp -r ${monorepoSrc}/third-party "$out" + cp -r ${monorepoSrc}/runtimes "$out" + '' + ) else src; - sourceRoot = "${finalAttrs.src.name}/openmp"; + # LLVM 23 removed OpenMP's standalone build + # https://openmp.llvm.org/Building.html + sourceRoot = + "${finalAttrs.src.name}/" + + (if lib.versionAtLeast release_version "23" then "runtimes" else "openmp"); outputs = [ "out" @@ -89,6 +102,9 @@ stdenv.mkDerivation (finalAttrs: { (lib.cmakeFeature "OPT_TOOL" "${llvm}/bin/opt") (lib.cmakeFeature "LINK_TOOL" "${llvm}/bin/llvm-link") ] + ++ lib.optionals (lib.versionAtLeast release_version "23") [ + (lib.cmakeFeature "LLVM_ENABLE_RUNTIMES" "openmp") + ] ++ devExtraCmakeFlags; doCheck = false; @@ -96,7 +112,9 @@ stdenv.mkDerivation (finalAttrs: { checkTarget = "check-openmp"; preCheck = '' - patchShebangs ../tools/archer/tests/deflake.bash + patchShebangs ${ + if lib.versionAtLeast release_version "23" then "../../openmp" else ".." + }/tools/archer/tests/deflake.bash ''; __structuredAttrs = true; From c4d02334444f97dea730ec87ae0019deb7c52f51 Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 18 Oct 2026 14:21:42 +0200 Subject: [PATCH 1767/2378] setxkbmap: enable structuredAttrs --- pkgs/by-name/se/setxkbmap/package.nix | 2 ++ 1 file changed, 2 insertions(+) diff --git a/pkgs/by-name/se/setxkbmap/package.nix b/pkgs/by-name/se/setxkbmap/package.nix index 0b487e787508..4e06324a4c74 100644 --- a/pkgs/by-name/se/setxkbmap/package.nix +++ b/pkgs/by-name/se/setxkbmap/package.nix @@ -43,6 +43,8 @@ stdenv.mkDerivation (finalAttrs: { passthru.updateScript = nix-update-script { extraArgs = [ "--version-regex=setxkbmap-(.*)" ]; }; + __structuredAttrs = true; + meta = { description = "Set keymaps, layouts, and options via the X Keyboard Extension (XKB)"; longDescription = '' From fc5ec7f2b84df91fc369c78133b3de751ae01c87 Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 18 Oct 2026 17:48:09 +0200 Subject: [PATCH 1768/2378] libpthread-stubs: enable strictDeps --- pkgs/by-name/li/libpthread-stubs/package.nix | 2 ++ 1 file changed, 2 insertions(+) diff --git a/pkgs/by-name/li/libpthread-stubs/package.nix b/pkgs/by-name/li/libpthread-stubs/package.nix index c55a3fb36b3b..77c5ca34ade0 100644 --- a/pkgs/by-name/li/libpthread-stubs/package.nix +++ b/pkgs/by-name/li/libpthread-stubs/package.nix @@ -15,6 +15,8 @@ stdenv.mkDerivation (finalAttrs: { hash = "sha256-WdpWbezOunwqeXCkoDtI2ZBfEmL/lEEKZJIk4z0kQrw="; }; + strictDeps = true; + passthru = { updateScript = writeScript "update-${finalAttrs.pname}" '' #!/usr/bin/env nix-shell From 92d8bf293e24ef9b838548f90fb03bcf1ab32b95 Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 18 Oct 2026 17:48:15 +0200 Subject: [PATCH 1769/2378] libpthread-stubs: enable structuredAttrs --- pkgs/by-name/li/libpthread-stubs/package.nix | 2 ++ 1 file changed, 2 insertions(+) diff --git a/pkgs/by-name/li/libpthread-stubs/package.nix b/pkgs/by-name/li/libpthread-stubs/package.nix index 77c5ca34ade0..d5eeed0b2c99 100644 --- a/pkgs/by-name/li/libpthread-stubs/package.nix +++ b/pkgs/by-name/li/libpthread-stubs/package.nix @@ -31,6 +31,8 @@ stdenv.mkDerivation (finalAttrs: { tests.pkg-config = testers.testMetaPkgConfig finalAttrs.finalPackage; }; + __structuredAttrs = true; + meta = { description = "Provides a pkg-config file `pthread-stubs.pc` containing the Cflags/Libs flags applicable to programs/libraries that use only lightweight pthread API"; homepage = "https://gitlab.freedesktop.org/xorg/lib/pthread-stubs"; From f08e54ecc3c9649d51cbfadc134420c271d575ee Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 18 Oct 2026 18:52:19 +0200 Subject: [PATCH 1770/2378] xtrans: enable structuredAttrs --- pkgs/by-name/xt/xtrans/package.nix | 2 ++ 1 file changed, 2 insertions(+) diff --git a/pkgs/by-name/xt/xtrans/package.nix b/pkgs/by-name/xt/xtrans/package.nix index 5f6a4b9b7eaa..5c7a6911425e 100644 --- a/pkgs/by-name/xt/xtrans/package.nix +++ b/pkgs/by-name/xt/xtrans/package.nix @@ -40,6 +40,8 @@ stdenv.mkDerivation (finalAttrs: { tests.pkg-config = testers.testMetaPkgConfig finalAttrs.finalPackage; }; + __structuredAttrs = true; + meta = { description = "X Window System Protocols Transport layer shared code"; homepage = "https://gitlab.freedesktop.org/xorg/lib/libxtrans"; From c6c8e45445aebab5585418251c9650ede9fbcb0e Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 18 Oct 2026 18:54:47 +0200 Subject: [PATCH 1771/2378] xorgproto: enable structuredAttrs --- pkgs/by-name/xo/xorgproto/package.nix | 2 ++ 1 file changed, 2 insertions(+) diff --git a/pkgs/by-name/xo/xorgproto/package.nix b/pkgs/by-name/xo/xorgproto/package.nix index e36e92a8de03..eb1c2da89412 100644 --- a/pkgs/by-name/xo/xorgproto/package.nix +++ b/pkgs/by-name/xo/xorgproto/package.nix @@ -48,6 +48,8 @@ stdenv.mkDerivation (finalAttrs: { tests.pkg-config = testers.testMetaPkgConfig finalAttrs.finalPackage; }; + __structuredAttrs = true; + meta = { description = "X Window System unified protocol definitions"; homepage = "https://gitlab.freedesktop.org/xorg/proto/xorgproto"; From 11353dbc7c1dd763214f763807a8be0ea8f0ab06 Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 18 Oct 2026 18:58:26 +0200 Subject: [PATCH 1772/2378] libice: enable structuredAttrs --- pkgs/by-name/li/libice/package.nix | 2 ++ 1 file changed, 2 insertions(+) diff --git a/pkgs/by-name/li/libice/package.nix b/pkgs/by-name/li/libice/package.nix index c28044fa877e..d8f7df1ac902 100644 --- a/pkgs/by-name/li/libice/package.nix +++ b/pkgs/by-name/li/libice/package.nix @@ -44,6 +44,8 @@ stdenv.mkDerivation (finalAttrs: { tests.pkg-config = testers.testMetaPkgConfig finalAttrs.finalPackage; }; + __structuredAttrs = true; + meta = { description = "Inter-Client Exchange Library"; homepage = "https://gitlab.freedesktop.org/xorg/lib/libice"; From ab5bb3a4459118210758aa2c0608eae52cb66455 Mon Sep 17 00:00:00 2001 From: Eman Resu Date: Sun, 18 Oct 2026 13:50:30 -0400 Subject: [PATCH 1773/2378] Revert "stdenv: run pre/post hooks automatically" --- doc/doc-support/lib-function-docs.nix | 6 +++ doc/doc-support/package.nix | 8 ++++ doc/hooks/memcached-test-hook.section.md | 13 ++++++ doc/hooks/postgresql-test-hook.section.md | 11 +++++ doc/hooks/redis-test-hook.section.md | 13 ++++++ doc/languages-frameworks/agda.section.md | 4 ++ doc/languages-frameworks/dlang.section.md | 2 + .../emscripten.section.md | 31 +++++++++++++- doc/languages-frameworks/java.section.md | 10 +++++ .../javascript.section.md | 4 ++ doc/languages-frameworks/lisp.section.md | 4 ++ doc/languages-frameworks/maven.section.md | 40 +++++++++++++++++++ doc/languages-frameworks/python.section.md | 4 ++ doc/languages-frameworks/swift.section.md | 12 ++++++ doc/languages-frameworks/texlive.section.md | 14 +++++++ doc/packages/weechat.section.md | 4 ++ doc/stdenv/stdenv.chapter.md | 10 +++++ pkgs/README.md | 1 + pkgs/build-support/fetchurl/builder.sh | 1 - .../python/hooks/conda-unpack-hook.sh | 2 +- .../python/hooks/egg-unpack-hook.sh | 2 +- .../python/hooks/wheel-unpack-hook.sh | 2 +- .../python-modules/granian/default.nix | 6 +-- pkgs/stdenv/generic/setup.sh | 17 -------- 24 files changed, 194 insertions(+), 27 deletions(-) diff --git a/doc/doc-support/lib-function-docs.nix b/doc/doc-support/lib-function-docs.nix index 9af20daf1340..855cd6d0e3da 100644 --- a/doc/doc-support/lib-function-docs.nix +++ b/doc/doc-support/lib-function-docs.nix @@ -18,4 +18,10 @@ stdenvNoCC.mkDerivation { mkdir -p $out nixdoc --manifest ${../function-catalog.json} --root src --output $out/lib-functions.json ''; + + installPhase = '' + runHook preInstall + + runHook postInstall + ''; } diff --git a/doc/doc-support/package.nix b/doc/doc-support/package.nix index 78c232159324..5533a4ca38c9 100644 --- a/doc/doc-support/package.nix +++ b/doc/doc-support/package.nix @@ -86,6 +86,8 @@ stdenvNoCC.mkDerivation ( ''; buildPhase = '' + runHook preBuild + substituteInPlace ./languages-frameworks/python.section.md \ --subst-var-by python-interpreter-table "$(<"${pythonInterpreterTable}")" @@ -121,9 +123,13 @@ stdenvNoCC.mkDerivation ( --no-navheader \ manual.md \ out/index.html + + runHook postBuild ''; installPhase = '' + runHook preInstall + dest="$out/share/doc/nixpkgs" mkdir -p "$(dirname "$dest")" mv out "$dest" @@ -136,6 +142,8 @@ stdenvNoCC.mkDerivation ( mkdir -p $out/nix-support/ echo "doc manual $dest index.html" >> $out/nix-support/hydra-build-products echo "doc manual $dest nixpkgs-manual.epub" >> $out/nix-support/hydra-build-products + + runHook postInstall ''; passthru = { diff --git a/doc/hooks/memcached-test-hook.section.md b/doc/hooks/memcached-test-hook.section.md index d0a38521df0c..6575d33b7e05 100644 --- a/doc/hooks/memcached-test-hook.section.md +++ b/doc/hooks/memcached-test-hook.section.md @@ -13,6 +13,19 @@ stdenv.mkDerivation { } ``` +If you use a custom `checkPhase`, remember to add the `runHook` calls: +```nix +{ + checkPhase = '' + runHook preCheck + + # ... your tests + + runHook postCheck + ''; +} +``` + ## Variables {#sec-memcachedTestHook-variables} Bash-only variables: diff --git a/doc/hooks/postgresql-test-hook.section.md b/doc/hooks/postgresql-test-hook.section.md index e91f1f880f95..96917192c521 100644 --- a/doc/hooks/postgresql-test-hook.section.md +++ b/doc/hooks/postgresql-test-hook.section.md @@ -20,6 +20,17 @@ stdenv.mkDerivation { } ``` +If you use a custom `checkPhase`, remember to add the `runHook` calls: +```nix +checkPhase '' + runHook preCheck + + # ... your tests + + runHook postCheck +'' +``` + ## Variables {#sec-postgresqlTestHook-variables} The hook logic will read a number of variables and set them to a default value if unset or empty. diff --git a/doc/hooks/redis-test-hook.section.md b/doc/hooks/redis-test-hook.section.md index cfcce2026dd3..3f5b0ba737d1 100644 --- a/doc/hooks/redis-test-hook.section.md +++ b/doc/hooks/redis-test-hook.section.md @@ -17,6 +17,19 @@ stdenv.mkDerivation { } ``` +If you use a custom `checkPhase`, remember to add the `runHook` calls: +```nix +{ + checkPhase = '' + runHook preCheck + + # ... your tests + + runHook postCheck + ''; +} +``` + ## Variables {#sec-redisTestHook-variables} The hook logic will read the following variables and set them to a default value if unset or empty. diff --git a/doc/languages-frameworks/agda.section.md b/doc/languages-frameworks/agda.section.md index c86ae7aa1d3b..9f19229fac05 100644 --- a/doc/languages-frameworks/agda.section.md +++ b/doc/languages-frameworks/agda.section.md @@ -216,8 +216,12 @@ mkDerivation { libraryName = "IAL-1.3"; buildPhase = '' + runHook preBuild + patchShebangs find-deps.sh make + + runHook postBuild ''; } ``` diff --git a/doc/languages-frameworks/dlang.section.md b/doc/languages-frameworks/dlang.section.md index 693d0ce113f2..34106e5cce14 100644 --- a/doc/languages-frameworks/dlang.section.md +++ b/doc/languages-frameworks/dlang.section.md @@ -35,7 +35,9 @@ buildDubPackage rec { ]; installPhase = '' + runHook preInstall install -Dm755 btdu -t $out/bin + runHook postInstall ''; } ``` diff --git a/doc/languages-frameworks/emscripten.section.md b/doc/languages-frameworks/emscripten.section.md index c0b183fe5b09..aaf464e878c7 100644 --- a/doc/languages-frameworks/emscripten.section.md +++ b/doc/languages-frameworks/emscripten.section.md @@ -48,23 +48,36 @@ One advantage is that when `pkgs.zlib` is updated, it will automatically update configurePhase = '' # FIXME: Some tests require writing at $HOME HOME=$TMPDIR + runHook preConfigure #export EMCC_DEBUG=2 emconfigure ./configure --prefix=$out --shared + + runHook postConfigure ''; dontStrip = true; outputs = [ "out" ]; buildPhase = '' + runHook preBuild + emmake make + + runHook postBuild ''; installPhase = '' + runHook preInstall + emmake make install + + runHook postInstall ''; checkPhase = '' + runHook preCheck + echo "================= testing zlib using node =================" echo "Compiling a custom test" @@ -83,6 +96,8 @@ One advantage is that when `pkgs.zlib` is updated, it will automatically update echo "it seems to work! very good." fi echo "================= /testing zlib using node =================" + + runHook postCheck ''; postPatch = pkgs.lib.optionalString pkgs.stdenv.hostPlatform.isDarwin '' @@ -130,6 +145,8 @@ pkgs.buildEmscriptenPackage { }; configurePhase = '' + runHook preConfigure + rm -f fastXmlLint.js* # a fix for ERROR:root:For asm.js, TOTAL_MEMORY must be a multiple of 16MB, was 234217728 # https://gitlab.com/odfplugfest/xmlmirror/issues/8 @@ -139,10 +156,16 @@ pkgs.buildEmscriptenPackage { sed -e "s/\$(JSONC_LDFLAGS) \$(ZLIB_LDFLAGS) \$(LIBXML20_LDFLAGS)/\$(JSONC_LDFLAGS) \$(LIBXML20_LDFLAGS) \$(ZLIB_LDFLAGS) /g" -i Makefile.emEnv # https://gitlab.com/odfplugfest/xmlmirror/issues/11 sed -e "s/-o fastXmlLint.js/-s EXTRA_EXPORTED_RUNTIME_METHODS='[\"ccall\", \"cwrap\"]' -o fastXmlLint.js/g" -i Makefile.emEnv + + runHook postConfigure ''; buildPhase = '' + runHook preBuild + make -f Makefile.emEnv + + runHook postBuild ''; outputs = [ @@ -151,6 +174,8 @@ pkgs.buildEmscriptenPackage { ]; installPhase = '' + runHook preInstall + mkdir -p $out/share mkdir -p $doc/share/${name} @@ -164,10 +189,14 @@ pkgs.buildEmscriptenPackage { cp *.json $out/share cp *.rng $out/share cp README.md $doc/share/${name} + + runHook postInstall ''; checkPhase = '' - ... + runHook preCheck + + runHook postCheck ''; } ``` diff --git a/doc/languages-frameworks/java.section.md b/doc/languages-frameworks/java.section.md index 6be7378af30a..cffa3779ea7d 100644 --- a/doc/languages-frameworks/java.section.md +++ b/doc/languages-frameworks/java.section.md @@ -18,12 +18,18 @@ stdenv.mkDerivation { ]; buildPhase = '' + runHook preBuild ant # build the project using ant + runHook postBuild ''; installPhase = '' + runHook preInstall + # copy generated jar file(s) to an appropriate location in $out install -Dm644 build/foo.jar $out/share/java/foo.jar + + runHook postInstall ''; } ``` @@ -63,9 +69,13 @@ script to run it using a JRE. You can use `makeWrapper` for this: nativeBuildInputs = [ makeWrapper ]; installPhase = '' + runHook preInstall + mkdir -p $out/bin makeWrapper ${lib.getExe jre} $out/bin/foo \ --add-flags "-cp $out/share/java/foo.jar org.foo.Main" + + runHook postInstall ''; } ``` diff --git a/doc/languages-frameworks/javascript.section.md b/doc/languages-frameworks/javascript.section.md index 1cd59967d12d..bf28cdf5b2bd 100644 --- a/doc/languages-frameworks/javascript.section.md +++ b/doc/languages-frameworks/javascript.section.md @@ -440,7 +440,11 @@ For these projects, build with `pnpm --filter= build`, beca ```nix { buildPhase = '' + runHook preBuild + pnpm --filter=@astrojs/language-server build + + runHook postBuild ''; } ``` diff --git a/doc/languages-frameworks/lisp.section.md b/doc/languages-frameworks/lisp.section.md index 57fb7718d15c..bf5aa50bf6b9 100644 --- a/doc/languages-frameworks/lisp.section.md +++ b/doc/languages-frameworks/lisp.section.md @@ -57,7 +57,11 @@ Such a Lisp can be now used e.g. to compile your sources: ```nix { buildPhase = '' + runHook preBuild + ${lib.getExe sbcl'} --load my-build-file.lisp + + runHook postBuild ''; } ``` diff --git a/doc/languages-frameworks/maven.section.md b/doc/languages-frameworks/maven.section.md index 65861891f71c..9733d75484d9 100644 --- a/doc/languages-frameworks/maven.section.md +++ b/doc/languages-frameworks/maven.section.md @@ -33,11 +33,15 @@ maven.buildMavenPackage (finalAttrs: { nativeBuildInputs = [ makeWrapper ]; installPhase = '' + runHook preInstall + mkdir -p $out/bin $out/share/jd-cli install -Dm644 jd-cli/target/jd-cli.jar $out/share/jd-cli makeWrapper ${lib.getExe jre} $out/bin/jd-cli \ --add-flags "-jar $out/share/jd-cli/jd-cli.jar" + + runHook postInstall ''; meta = { @@ -201,11 +205,15 @@ maven_4.buildMavenPackage (finalAttrs: { nativeBuildInputs = [ makeWrapper ]; installPhase = '' + runHook preInstall + mkdir -p $out/bin $out/share/jd-cli install -Dm644 jd-cli/target/jd-cli.jar $out/share/jd-cli makeWrapper ${lib.getExe jre} $out/bin/jd-cli \ --add-flags "-jar $out/share/jd-cli/jd-cli.jar" + + runHook postInstall ''; meta = { @@ -350,16 +358,24 @@ stdenv.mkDerivation { buildInputs = [ maven ]; src = ./.; # or fetchFromGitHub, cleanSourceWith, etc buildPhase = '' + runHook preBuild + mvn package -Dmaven.repo.local=$out + + runHook postBuild ''; # keep only *.{pom,jar,sha1,nbm} and delete all ephemeral files with lastModified timestamps inside installPhase = '' + runHook preInstall + find $out -type f \ -name \*.lastUpdated -or \ -name resolver-status.properties -or \ -name _remote.repositories \ -delete + + runHook postInstall ''; # don't do any fixup @@ -415,12 +431,20 @@ stdenv.mkDerivation (finalAttrs: { buildInputs = [ maven ]; buildPhase = '' + runHook preBuild + echo "Using repository ${repository}" mvn --offline -Dmaven.repo.local=${repository} package; + + runHook postBuild ''; installPhase = '' + runHook preInstall + install -Dm644 target/${finalAttrs.pname}-${finalAttrs.version}.jar $out/share/java + + runHook postInstall ''; }) ``` @@ -480,11 +504,17 @@ stdenv.mkDerivation (finalAttrs: { buildInputs = [ maven ]; buildPhase = '' + runHook preBuild + echo "Using repository ${repository}" mvn --offline -Dmaven.repo.local=${repository} package; + + runHook postBuild ''; installPhase = '' + runHook preInstall + mkdir -p $out/bin classpath=$(find ${repository} -name "*.jar" -printf ':%h/%f'); @@ -494,6 +524,8 @@ stdenv.mkDerivation (finalAttrs: { makeWrapper ${lib.getExe jre} $out/bin/maven-demo \ --add-flags "-classpath $out/share/java/maven-demo-${finalAttrs.version}.jar:''${classpath#:}" \ --add-flags "Main" + + runHook postInstall ''; }) ``` @@ -566,11 +598,17 @@ stdenv.mkDerivation (finalAttrs: { buildInputs = [ maven ]; buildPhase = '' + runHook preBuild + echo "Using repository ${repository}" mvn --offline -Dmaven.repo.local=${repository} package; + + runHook postBuild ''; installPhase = '' + runHook preInstall + mkdir -p $out/bin # create a symbolic link for the repository directory @@ -581,6 +619,8 @@ stdenv.mkDerivation (finalAttrs: { # this should be the paths from the dependency derivation makeWrapper ${lib.getExe jre} $out/bin/maven-demo \ --add-flags "-jar $out/share/java/maven-demo-${finalAttrs.version}.jar" + + runHook postInstall ''; }) ``` diff --git a/doc/languages-frameworks/python.section.md b/doc/languages-frameworks/python.section.md index c164698a4e14..3ad93703b9b7 100644 --- a/doc/languages-frameworks/python.section.md +++ b/doc/languages-frameworks/python.section.md @@ -1361,7 +1361,11 @@ test run would be: { nativeCheckInputs = [ pytest ]; checkPhase = '' + runHook preCheck + pytest + + runHook postCheck ''; } ``` diff --git a/doc/languages-frameworks/swift.section.md b/doc/languages-frameworks/swift.section.md index 9767cc87bf40..d1e0d8496ee6 100644 --- a/doc/languages-frameworks/swift.section.md +++ b/doc/languages-frameworks/swift.section.md @@ -143,16 +143,24 @@ stdenv.mkDerivation (finalAttrs: { # The helper provides a configure snippet that will prepare all dependencies # in the correct place, where SwiftPM expects them. configurePhase = '' + runHook preConfigure + ${generated.configure} + + runHook postConfigure ''; installPhase = '' + runHook preInstall + # This is a special function that invokes swiftpm to find the location # of the binaries it produced. binPath="$(swiftpmBinPath)" # Now perform any installation steps. mkdir -p $out/bin cp $binPath/myproject $out/bin/ + + runHook postInstall ''; }) ``` @@ -186,12 +194,16 @@ A special function `swiftpmMakeMutable` is available to replace the symlink with ```nix { configurePhase = '' + runHook preConfigure + ${generated.configure} # Replace the dependency symlink with a writable copy. swiftpmMakeMutable swift-crypto # Now apply a patch. patch -p1 -d .build/checkouts/swift-crypto -i ${./some-fix.patch} + + runHook postConfigure ''; } ``` diff --git a/doc/languages-frameworks/texlive.section.md b/doc/languages-frameworks/texlive.section.md index 0e10b1328ecc..391cb48633c3 100644 --- a/doc/languages-frameworks/texlive.section.md +++ b/doc/languages-frameworks/texlive.section.md @@ -69,7 +69,9 @@ There is a TeX Live packaging that lives entirely under attribute `texlive`. inherit (finalAttrs.src) pname version; installPhase = '' + runHook preInstall install -Dm644 $src/fonts/opentype/nowacki/iwona/*.otf -t $out/share/fonts/opentype + runHook postInstall ''; }) ``` @@ -116,9 +118,13 @@ let ]; unpackPhase = '' + runHook preUnpack + for _src in $srcs; do cp "$_src" $(stripHash "$_src") done + + runHook postUnpack ''; nativeBuildInputs = [ @@ -140,14 +146,20 @@ let dontConfigure = true; buildPhase = '' + runHook preBuild + # Generate the style files latex foiltex.ins # Generate the documentation latexmk -pdf foiltex.dtx + + runHook postBuild ''; installPhase = '' + runHook preInstall + path="$tex/tex/latex/foiltex" mkdir -p "$path" cp *.{cls,def,clo,sty} "$path/" @@ -155,6 +167,8 @@ let path="$texdoc/doc/tex/latex/foiltex" mkdir -p "$path" cp *.pdf "$path/" + + runHook postInstall ''; meta = { diff --git a/doc/packages/weechat.section.md b/doc/packages/weechat.section.md index 6ba6a188522a..60e99302879a 100644 --- a/doc/packages/weechat.section.md +++ b/doc/packages/weechat.section.md @@ -112,9 +112,13 @@ stdenv.mkDerivation { "bar.lua" ]; installPhase = '' + runHook preInstall + mkdir $out/share cp foo.py $out/share cp bar.lua $out/share + + runHook postInstall ''; } ``` diff --git a/doc/stdenv/stdenv.chapter.md b/doc/stdenv/stdenv.chapter.md index 925b1afe1bf6..24ebe31d45f4 100644 --- a/doc/stdenv/stdenv.chapter.md +++ b/doc/stdenv/stdenv.chapter.md @@ -57,12 +57,20 @@ stdenv.mkDerivation { # ... buildPhase = '' + runHook preBuild + gcc foo.c -o foo + + runHook postBuild ''; installPhase = '' + runHook preInstall + mkdir -p $out/bin cp foo $out/bin + + runHook postInstall ''; } ``` @@ -589,6 +597,8 @@ This generic command either invokes a script at *buildCommandPath*, or a *buildC Each phase can be overridden in its entirety either by setting the environment variable `namePhase` to a string containing some shell commands to be executed, or by redefining the shell function `namePhase`. The former is convenient to override a phase from the derivation, while the latter is convenient from a build script. However, typically one only wants to *add* some commands to a phase, e.g. by defining `postInstall` or `preFixup`, as skipping some of the default actions may have unexpected consequences. The default script for each phase is defined in the file `pkgs/stdenv/generic/setup.sh`. +When overriding a phase, for example `installPhase`, it is important to start with `runHook preInstall` and end it with `runHook postInstall`, otherwise `preInstall` and `postInstall` will not be run. Even if you don't use them directly, it is good practice to do so anyways for downstream users who would want to add a `postInstall` by overriding your derivation. + While inside an interactive `nix-shell`, if you wanted to run all phases in the order they would be run in an actual build, you can invoke `genericBuild` yourself. ### Controlling phases {#ssec-controlling-phases} diff --git a/pkgs/README.md b/pkgs/README.md index 38bb8d25c04c..068e39d7b405 100644 --- a/pkgs/README.md +++ b/pkgs/README.md @@ -1275,6 +1275,7 @@ Sample template for a new package review is provided below. - [ ] source is fetched using the appropriate function - [ ] the motives for any special packaging choices are documented - [ ] the list of `phases` is not overridden +- [ ] when a phase (like `installPhase`) is overridden it starts with `runHook preInstall` and ends with `runHook postInstall`. - [ ] patches have a comment describing either the upstream URL or a reason why the patch wasn't upstreamed - [ ] patches that are remotely available are fetched rather than vendored diff --git a/pkgs/build-support/fetchurl/builder.sh b/pkgs/build-support/fetchurl/builder.sh index e1e9772cfb8c..9a5a8e2f7987 100644 --- a/pkgs/build-support/fetchurl/builder.sh +++ b/pkgs/build-support/fetchurl/builder.sh @@ -85,7 +85,6 @@ finish() { if [ -z "$skipPostFetch" ]; then runHook postFetch fi - runHookDone[postFetch]=1 exit 0 } diff --git a/pkgs/development/interpreters/python/hooks/conda-unpack-hook.sh b/pkgs/development/interpreters/python/hooks/conda-unpack-hook.sh index f90ccc1d42bc..b9d13fe1ee10 100644 --- a/pkgs/development/interpreters/python/hooks/conda-unpack-hook.sh +++ b/pkgs/development/interpreters/python/hooks/conda-unpack-hook.sh @@ -8,7 +8,7 @@ condaUnpackPhase() { # use lbzip2 for parallel decompression (bz2 is slow) lbzip2 -dc -n $NIX_BUILD_CORES $src | tar --exclude='info' -x - runHookDone[postUnpack]=1 # Calls find...? + # runHook postUnpack # Calls find...? echo "Finished executing condaUnpackPhase" } diff --git a/pkgs/development/interpreters/python/hooks/egg-unpack-hook.sh b/pkgs/development/interpreters/python/hooks/egg-unpack-hook.sh index 8fb33194b6ca..25d099bfc5ef 100644 --- a/pkgs/development/interpreters/python/hooks/egg-unpack-hook.sh +++ b/pkgs/development/interpreters/python/hooks/egg-unpack-hook.sh @@ -7,7 +7,7 @@ eggUnpackPhase() { cp "$src" "$(stripHash "$src")" - runHookDone[postUnpack]=1 # Calls find...? + # runHook postUnpack # Calls find...? echo "Finished executing eggUnpackPhase" } diff --git a/pkgs/development/interpreters/python/hooks/wheel-unpack-hook.sh b/pkgs/development/interpreters/python/hooks/wheel-unpack-hook.sh index 4b81cb3b6eb9..d15ec0412c25 100644 --- a/pkgs/development/interpreters/python/hooks/wheel-unpack-hook.sh +++ b/pkgs/development/interpreters/python/hooks/wheel-unpack-hook.sh @@ -8,7 +8,7 @@ wheelUnpackPhase() { mkdir -p dist cp "$src" "dist/$(stripHash "$src")" - runHookDone[postUnpack]=1 # Calls find...? + # runHook postUnpack # Calls find...? echo "Finished executing wheelUnpackPhase" } diff --git a/pkgs/development/python-modules/granian/default.nix b/pkgs/development/python-modules/granian/default.nix index 70843e0b3eba..2a1b0745899b 100644 --- a/pkgs/development/python-modules/granian/default.nix +++ b/pkgs/development/python-modules/granian/default.nix @@ -112,13 +112,9 @@ buildPythonPackage rec { # overridePythonAttrs is not available in finalAttrs.finalPackage pytest = granian.overridePythonAttrs { pname = "granian-with-check-phase"; - - preHook = '' - runHookDone[preBuild]=1 - ''; - # skip repeat build buildPhase = '' + # runHook preBuild die() { echo >&2 "$@"; exit 1; } [[ ! -d dist ]] || die "ERROR: dist/ found at start of buildPhase" cp -r ${granian.dist} dist diff --git a/pkgs/stdenv/generic/setup.sh b/pkgs/stdenv/generic/setup.sh index 022b63e6a93f..eed3f63d6144 100644 --- a/pkgs/stdenv/generic/setup.sh +++ b/pkgs/stdenv/generic/setup.sh @@ -195,25 +195,12 @@ _logHook() { ###################################################################### # Hook handling. -# Keep track if pre/post hook was already run, so whether the package uses -# explicit "runHook" or not, hook runs exactly one. In rare cases when -# derivation needs to skip particular hook or run it multiple times, it can -# manipulate this hashmap directly. -declare -A runHookDone - # Run all hooks with the specified name in the order in which they # were added, stopping if any fails (returns a non-zero exit # code). The hooks for are the shell function or variable # , and the values of the shell array ‘Hooks’. runHook() { local hookName="$1" - if [[ "$hookName" =~ ^(pre|post)[a-zA-Z] ]]; then - if [[ -v runHookDone[$hookName] ]] ; then - return 0 - fi - runHookDone[$hookName]=1 - fi - shift local hooksSlice="${hookName%Hook}Hooks[@]" @@ -1771,14 +1758,10 @@ runPhase() { local startTime endTime startTime=$(date +"%s") - [[ "$curPhase" =~ ^(.*)Phase$ ]] && runHook "pre${BASH_REMATCH[1]^}" - # Evaluate the variable named $curPhase if it exists, otherwise the # function named $curPhase. eval "${!curPhase:-$curPhase}" - [[ "$curPhase" =~ ^(.*)Phase$ ]] && runHook "post${BASH_REMATCH[1]^}" - endTime=$(date +"%s") showPhaseFooter "$curPhase" "$startTime" "$endTime" From 084270a6626c073552c98b0ac31660ada9bf3302 Mon Sep 17 00:00:00 2001 From: Martin Weinelt Date: Sun, 18 Oct 2026 19:54:04 +0200 Subject: [PATCH 1774/2378] python3Packages.pillow: 12.3.0 -> 13.0.0 https://pillow.readthedocs.io/en/stable/releasenotes/13.0.0.html Fixes: CVE-2026-96639, CVE-2026-96644, CVE-2026-96637, CVE-2026-96643, CVE-2026-96778, CVE-2026-96640, CVE-2026-96636, CVE-2026-96642, CVE-2026-96638 GHSA-5x8w-8jj5-q52h, GHSA-8g5g-8vmr-9782, GHSA-462x-pgg6-55fp, GHSA-c6hw-5grf-ff96, GHSA-p4wg-p73j-c528, GHSA-pchr-8j38-3x4p, GHSA-332p-7hrc-92wf, GHSA-xcvg-w56q-r89m, GHSA-xvh5-g6gv-559v, GHSA-q45j-58j2-45rg, GHSA-78g4-xqwv-q3g8, GHSA-4rr5-89j8-mwwm, GHSA-f2g6-542v-9j58, GHSA-5xm2-6676-qcp9, GHSA-gg2r-wvfm-q9rx, GHSA-wqgw-9xfh-qf2g, GHSA-jg86-v3jv-hrpm, GHSA-254f-3936-288h, GHSA-rfgq-q3w2-pmv2, GHSA-xgh8-jp6q-p5x8, GHSA-22hg-r758-rrw9, GHSA-74r2-7ff9-mjj2, GHSA-fc9g-5qg7-mf45, GHSA-27h8-gf7j-v5hc, GHSA-cp9v-662q-vvx9, GHSA-j4m9-6w36-pw47, GHSA-7mwm-ghpf-9vrm, GHSA-4558-3h8r-v8xp, GHSA-w889-685w-c8fh, GHSA-65qm-jvmh-6pqg, GHSA-vx6w-vv9f-6gvg, GHSA-58r4-6rv3-gfh8 --- pkgs/development/python-modules/pillow/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/pillow/default.nix b/pkgs/development/python-modules/pillow/default.nix index e19a87b695eb..10e829a49b6f 100644 --- a/pkgs/development/python-modules/pillow/default.nix +++ b/pkgs/development/python-modules/pillow/default.nix @@ -42,14 +42,14 @@ buildPythonPackage rec { pname = "pillow"; - version = "12.3.0"; + version = "13.0.0"; pyproject = true; src = fetchFromGitHub { owner = "python-pillow"; repo = "pillow"; tag = version; - hash = "sha256-kmUlgR+f75Y8DAKKPdEbchLLgg0m95oyVP53WTQni88="; + hash = "sha256-7FHwvgfT40qiHmvcJFZN/FlOECE0YiqOLBEYCMugk+4="; }; build-system = [ From 9aced67273bbf9797a6bd90561f794dceac13a09 Mon Sep 17 00:00:00 2001 From: Ethan Carter Edwards Date: Sun, 18 Oct 2026 14:24:38 -0400 Subject: [PATCH 1775/2378] libsodium: enable strictDeps, __structuredAttrs Signed-off-by: Ethan Carter Edwards --- pkgs/by-name/li/libsodium/package.nix | 3 +++ 1 file changed, 3 insertions(+) diff --git a/pkgs/by-name/li/libsodium/package.nix b/pkgs/by-name/li/libsodium/package.nix index eef03b5648f1..f06413a43178 100644 --- a/pkgs/by-name/li/libsodium/package.nix +++ b/pkgs/by-name/li/libsodium/package.nix @@ -11,6 +11,9 @@ stdenv.mkDerivation (finalAttrs: { pname = "libsodium"; version = "1.0.22-unstable-2026-09-28"; + strictDeps = true; + __structuredAttrs = true; + src = fetchFromGitHub { owner = "jedisct1"; repo = "libsodium"; From 30262f24afef268025bc0fa9724e77cd26cd64f1 Mon Sep 17 00:00:00 2001 From: Ihar Hrachyshka Date: Sun, 18 Oct 2026 18:57:39 -0400 Subject: [PATCH 1776/2378] python3Packages.typer: disable path-sensitive test --- pkgs/development/python-modules/typer/default.nix | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/pkgs/development/python-modules/typer/default.nix b/pkgs/development/python-modules/typer/default.nix index cc8c577597c0..48619931b9c9 100644 --- a/pkgs/development/python-modules/typer/default.nix +++ b/pkgs/development/python-modules/typer/default.nix @@ -70,6 +70,10 @@ buildPythonPackage rec { export PYTHONPATH="$PWD:$PYTHONPATH" ''; + # Long Nix build paths can make Rich wrap the filename in the error message. + # https://github.com/fastapi/typer/discussions/1984 + disabledTests = [ "test_file_error" ]; + pythonImportsCheck = [ "typer" ]; meta = { From 4b6107e2e7f4bd095832a8ed65f0fa5967a28577 Mon Sep 17 00:00:00 2001 From: Ben Siraphob Date: Sat, 10 Oct 2026 22:35:48 -0700 Subject: [PATCH 1777/2378] sip: make wheel ordering deterministic Sort directory traversal and filenames when assembling wheels so filesystem enumeration does not change the archive. Assisted-by: pi (OpenAI gpt-6.1-sol) --- pkgs/development/python-modules/sip/default.nix | 2 ++ .../sip/deterministic-wheel-order.patch | 12 ++++++++++++ 2 files changed, 14 insertions(+) create mode 100644 pkgs/development/python-modules/sip/deterministic-wheel-order.patch diff --git a/pkgs/development/python-modules/sip/default.nix b/pkgs/development/python-modules/sip/default.nix index beedae84943c..d1c02a918276 100644 --- a/pkgs/development/python-modules/sip/default.nix +++ b/pkgs/development/python-modules/sip/default.nix @@ -34,6 +34,8 @@ buildPythonPackage (finalAttrs: { ]; patches = [ + ./deterministic-wheel-order.patch + # Backports pyqt5 compile failure fix from upstream # https://github.com/Python-SIP/sip/issues/114 (fetchpatch { diff --git a/pkgs/development/python-modules/sip/deterministic-wheel-order.patch b/pkgs/development/python-modules/sip/deterministic-wheel-order.patch new file mode 100644 index 000000000000..73b98ff5f621 --- /dev/null +++ b/pkgs/development/python-modules/sip/deterministic-wheel-order.patch @@ -0,0 +1,12 @@ +diff --git a/sipbuild/builder.py b/sipbuild/builder.py +--- a/sipbuild/builder.py ++++ b/sipbuild/builder.py +@@ -200,5 +200,6 @@ class Builder(AbstractBuilder): + with ZipFile(wheel_path, 'w') as zf: +- for dirpath, _, filenames in os.walk('.'): +- for filename in filenames: ++ for dirpath, dirnames, filenames in os.walk('.'): ++ dirnames.sort() ++ for filename in sorted(filenames): + # This will result in a name with no leading '.'. + name = os.path.relpath(os.path.join(dirpath, filename)) From 1bc3e6e6dcd33b326308ee85008a38a1fe29ba99 Mon Sep 17 00:00:00 2001 From: Ben Siraphob Date: Sat, 10 Oct 2026 22:44:45 -0700 Subject: [PATCH 1778/2378] nixos/system-tarball: ignore physical input hardlinks Dereference hardlinks while archiving so store optimization does not change tar metadata. Symbolic links remain symbolic links. Assisted-by: pi (OpenAI gpt-6.1-sol) --- nixos/lib/make-system-tarball.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/nixos/lib/make-system-tarball.sh b/nixos/lib/make-system-tarball.sh index ea24dcf9842d..b76a38bb8c9b 100644 --- a/nixos/lib/make-system-tarball.sh +++ b/nixos/lib/make-system-tarball.sh @@ -41,7 +41,8 @@ mkdir -p $out/tarball rm env-vars -time tar --sort=name --mtime='@1' --owner=0 --group=0 --numeric-owner -c * $extraArgs | $compressCommand > $out/tarball/$fileName.tar${extension} +# Store optimization can change hardlink topology without changing input NARs. +time tar --hard-dereference --sort=name --mtime='@1' --owner=0 --group=0 --numeric-owner -c * $extraArgs | $compressCommand > $out/tarball/$fileName.tar${extension} mkdir -p $out/nix-support echo $system > $out/nix-support/system From 8f9e9b7cc404336f5fa2f42c7b44267039de85fb Mon Sep 17 00:00:00 2001 From: Doron Behar Date: Mon, 19 Oct 2026 10:04:28 +0300 Subject: [PATCH 1779/2378] python3Packages.scipy: relax meson-python --- pkgs/development/python-modules/scipy/default.nix | 1 + 1 file changed, 1 insertion(+) diff --git a/pkgs/development/python-modules/scipy/default.nix b/pkgs/development/python-modules/scipy/default.nix index 71b2cf8d75ef..23b577be470f 100644 --- a/pkgs/development/python-modules/scipy/default.nix +++ b/pkgs/development/python-modules/scipy/default.nix @@ -67,6 +67,7 @@ buildPythonPackage (finalAttrs: { postPatch = '' substituteInPlace pyproject.toml \ --replace-fail '"pybind11>=2.13.2,<3.1.0",' '"pybind11",' \ + --replace-fail "meson-python>=0.15.0,<0.22.0" "meson-python>=0.15.0" \ --replace-fail "Cython>=3.2.0,<3.3.0" "Cython>=3.2.0" '' + lib.optionalString (stdenv.hostPlatform.isDarwin) '' From 99c741d20423b470ccd3e958a4064c3e28563bad Mon Sep 17 00:00:00 2001 From: Sean Whitton Date: Wed, 26 Aug 2026 13:32:07 +0100 Subject: [PATCH 1780/2378] bintools-wrapper: ld-wrapper: Fix symlink resolution loop This code to address issue #454199 was always broken, it would seem. Since #472652, -L arguments to the linker consisting of symlinks that point outside the store were all dropped; now they reach RPATH. Assisted-by: Anthropic Claude Fable 5 Assisted-by: Anthropic Claude Fable 5.1 --- pkgs/build-support/bintools-wrapper/ld-wrapper.sh | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/pkgs/build-support/bintools-wrapper/ld-wrapper.sh b/pkgs/build-support/bintools-wrapper/ld-wrapper.sh index ae76e7a223f7..69e074740c04 100644 --- a/pkgs/build-support/bintools-wrapper/ld-wrapper.sh +++ b/pkgs/build-support/bintools-wrapper/ld-wrapper.sh @@ -212,14 +212,21 @@ if [[ "$NIX_DONT_SET_RPATH_@suffixSalt@" != 1 && "$linkType" != static-pie ]]; t else continue fi + symlinkDepth=0 while [ -z "${rpaths[$dir]:-}" ] && [[ "$dir" != "${NIX_STORE:-}"/* ]] && [ -L "$dir" ]; do + (( ++symlinkDepth > 40 )) && break if dir2=$(readlink "$dir"); then - dir="dir2" + # A relative link target is relative to the directory containing + # the link, not to our working directory. + case "$dir2" in + /*) dir="$dir2" ;; + *) dir="${dir%/*}/$dir2" ;; + esac else break fi if dir2=$(realpath -s "$dir"); then - dir="dir2" + dir="$dir2" else break fi From 19a03fe26dbc93dc1cb18d53010619a472e64cb1 Mon Sep 17 00:00:00 2001 From: Sean Whitton Date: Wed, 26 Aug 2026 13:32:07 +0100 Subject: [PATCH 1781/2378] bintools-wrapper: ld-wrapper: Add a fast path In testing, this halves the time taken for an Emacs ./configure script from 2:18 to 1:11, when /nix is a FUSE filesystem. Assisted-by: Anthropic Claude Fable 5 --- pkgs/build-support/bintools-wrapper/ld-wrapper.sh | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/pkgs/build-support/bintools-wrapper/ld-wrapper.sh b/pkgs/build-support/bintools-wrapper/ld-wrapper.sh index 69e074740c04..433cf7971186 100644 --- a/pkgs/build-support/bintools-wrapper/ld-wrapper.sh +++ b/pkgs/build-support/bintools-wrapper/ld-wrapper.sh @@ -207,7 +207,13 @@ if [[ "$NIX_DONT_SET_RPATH_@suffixSalt@" != 1 && "$linkType" != static-pie ]]; t # If it is outside the store, resolve symlinks step by step until it falls # into the store or it becomes not a symlink. # Always canonicalize the path before checking it is in the store or not. - if dir2=$(realpath -s "$dir"); then + # Fast path: an already-canonical absolute path (the overwhelmingly + # common case, e.g. /nix/store/...-foo/lib) is returned unchanged by + # realpath -s, so skip the fork+exec and just check existence. + if [[ "$dir" == /* && "$dir" != *'//'* && "$dir" != *'/./'* && "$dir" != *'/../'* \ + && "$dir" != */ && "$dir" != */. && "$dir" != */.. ]]; then + if ! [ -e "$dir" ]; then continue; fi + elif dir2=$(realpath -s "$dir"); then dir="$dir2" else continue From c1634d3a201554e594a74327330f309da05f21eb Mon Sep 17 00:00:00 2001 From: Robert Hensing Date: Sat, 17 Oct 2026 21:48:25 +0200 Subject: [PATCH 1782/2378] tests.cc-wrapper: check that rpath has -L symlinks into the store Since #472652, ld-wrapper dropped every -L directory outside the store that is a symlink, and no test noticed. The test fails on that code, and its relative-link case also fails with only the dir="dir2" typo fixed. Assisted-by: Claude Code (Claude Opus 5.5) --- pkgs/test/cc-wrapper/default.nix | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) diff --git a/pkgs/test/cc-wrapper/default.nix b/pkgs/test/cc-wrapper/default.nix index 9dc3413f0e04..032ed7a64c31 100644 --- a/pkgs/test/cc-wrapper/default.nix +++ b/pkgs/test/cc-wrapper/default.nix @@ -23,6 +23,17 @@ let CC = "PATH= ${lib.getExe' stdenv.cc "${stdenv.cc.targetPrefix}cc"}"; CXX = "PATH= ${lib.getExe' stdenv.cc "${stdenv.cc.targetPrefix}c++"}"; READELF = "PATH= ${lib.getExe' stdenv.cc "${stdenv.cc.targetPrefix}readelf"}"; + # ld-wrapper only computes an rpath for ELF shared libraries. + rpathWorking = stdenv.hostPlatform.isElf && !stdenv.hostPlatform.isStatic; + # A shared library in a store path of its own, so that only ld-wrapper's + # rpath logic can put its directory into the rpath. + fooLib = stdenv.mkDerivation { + name = "cc-wrapper-test-libfoo"; + buildCommand = '' + mkdir -p $out/lib + $CC -shared -DVALUE=42 -o $out/lib/libfoo.so ${./foo.c} + ''; + }; in stdenv.mkDerivation { pname = "cc-wrapper-test-${stdenv.cc.cc.pname}${libcxxStdenvSuffix}"; @@ -143,6 +154,22 @@ stdenv.mkDerivation { NIX_LDFLAGS="-L$NIX_BUILD_TOP/foo/lib -rpath $NIX_BUILD_TOP/foo/lib" ${CC} -lfoo -o ldflags-check ${./ldflags-main.c} ${emulator} ./ldflags-check + ${lib.optionalString rpathWorking '' + # Regression test for https://github.com/NixOS/nixpkgs/pull/566486 + echo "checking whether ld-wrapper follows -L symlinks into the store for the rpath... " >&2 + mkdir links + ln -s ${fooLib}/lib links/foo-abs + # A relative target resolves against the link's directory, which is not + # the working directory. + mkdir links/sub + ln -s ../foo-abs links/sub/foo-rel + for link in links/foo-abs links/sub/foo-rel; do + ${CC} -L"$NIX_BUILD_TOP/$link" -lfoo -o symlink-rpath-check ${./ldflags-main.c} + ${READELF} -d symlink-rpath-check | grep -F "${fooLib}/lib" + ${emulator} ./symlink-rpath-check + done + ''} + echo "Check whether -nostdinc and -nostdinc++ is handled correctly" >&2 mkdir -p std-include cp ${./stdio.h} std-include/stdio.h From e264b2b7a4cd319ffb56b661e1d80d56e40b67f4 Mon Sep 17 00:00:00 2001 From: aaravrav <37036762+aaravrav@users.noreply.github.com> Date: Mon, 19 Oct 2026 16:14:58 +0530 Subject: [PATCH 1783/2378] spirv-llvm-translator: add LLVM 23 support --- pkgs/by-name/sp/spirv-llvm-translator/package.nix | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/pkgs/by-name/sp/spirv-llvm-translator/package.nix b/pkgs/by-name/sp/spirv-llvm-translator/package.nix index 4fa49a4db564..79eeb1904a0e 100644 --- a/pkgs/by-name/sp/spirv-llvm-translator/package.nix +++ b/pkgs/by-name/sp/spirv-llvm-translator/package.nix @@ -16,6 +16,11 @@ let llvmMajor = lib.versions.major llvm.version; versions = { + "23" = rec { + version = "23.1.2"; + rev = "v${version}"; + hash = "sha256-V7AZ0e85ogfkFPMUBYqELQzHIsowM112PW4oHpzXU20="; + }; "22" = rec { version = "22.1.3"; rev = "v${version}"; @@ -107,7 +112,7 @@ stdenv.mkDerivation { ''; passthru.tests = lib.genAttrs (lib.attrNames versions) ( - version: pkgs.spirv-llvm-translator.override { llvm = pkgs."llvm_${version}"; } + version: pkgs.spirv-llvm-translator.override { llvm = pkgs."llvmPackages_${version}".llvm; } ); meta = { From 2d1a0c4ff30ded2fff1fd0cff554f777e8c045da Mon Sep 17 00:00:00 2001 From: Doron Behar Date: Mon, 19 Oct 2026 14:31:42 +0300 Subject: [PATCH 1784/2378] python3Packages.numpy: 2.5.3 -> 2.5.4 Diff: https://github.com/numpy/numpy/compare/v2.5.3...v2.5.4 Changelog: https://github.com/numpy/numpy/releases/tag/v2.5.4 --- pkgs/development/python-modules/numpy/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/numpy/default.nix b/pkgs/development/python-modules/numpy/default.nix index 57498de4c919..97841e132ea2 100644 --- a/pkgs/development/python-modules/numpy/default.nix +++ b/pkgs/development/python-modules/numpy/default.nix @@ -42,7 +42,7 @@ assert blas.isILP64 == lapack.isILP64; buildPythonPackage (finalAttrs: { pname = "numpy"; - version = "2.5.3"; + version = "2.5.4"; pyproject = true; src = fetchFromGitHub { @@ -50,7 +50,7 @@ buildPythonPackage (finalAttrs: { repo = "numpy"; tag = "v${finalAttrs.version}"; fetchSubmodules = true; - hash = "sha256-gahiYESYSgq4MEn6w/J1Mo2CD+QC2lcjzFsw+gAquOg="; + hash = "sha256-5vOI8VItWGgsks5qDeVuodhHbKa6WC2ZzWYJZICJuwI="; }; patches = [ From 0ee112aa07068500ff4240582080dd1bc5e5a4fa Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Robert=20Sch=C3=BCtz?= Date: Mon, 19 Oct 2026 11:11:51 -0700 Subject: [PATCH 1785/2378] python3Packages.mistune: 3.3.4 -> 3.4.0 Diff: https://github.com/lepture/mistune/compare/v3.3.4...v3.4.0 Changelog: https://github.com/lepture/mistune/blob/v3.4.0/docs/changes.rst --- pkgs/development/python-modules/mistune/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/mistune/default.nix b/pkgs/development/python-modules/mistune/default.nix index ad9fd2bd3d7a..03abf22fdf40 100644 --- a/pkgs/development/python-modules/mistune/default.nix +++ b/pkgs/development/python-modules/mistune/default.nix @@ -8,14 +8,14 @@ buildPythonPackage (finalAttrs: { pname = "mistune"; - version = "3.3.4"; + version = "3.4.0"; pyproject = true; src = fetchFromGitHub { owner = "lepture"; repo = "mistune"; tag = "v${finalAttrs.version}"; - hash = "sha256-7N1Kz2lN6GyDVKUhuGrEkbinV8Vpc4aahal/7KhnIXo="; + hash = "sha256-gbdjLZ6caH4dgHAJoZcLcOFBfGUp5NJ4WbJj9+EleGg="; }; build-system = [ setuptools ]; From c92df9c42a5ed6d30e643f1bbdf7d727a9e5c545 Mon Sep 17 00:00:00 2001 From: Martin Joerg Date: Mon, 19 Oct 2026 18:19:05 +0000 Subject: [PATCH 1786/2378] speechd: build python library fixes 75f645ed324881bf4e106e392f5d48688b588c13 --- pkgs/by-name/sp/speechd/package.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkgs/by-name/sp/speechd/package.nix b/pkgs/by-name/sp/speechd/package.nix index bf6b7304bf7f..ccd086d62595 100644 --- a/pkgs/by-name/sp/speechd/package.nix +++ b/pkgs/by-name/sp/speechd/package.nix @@ -78,6 +78,7 @@ stdenv.mkDerivation (finalAttrs: { libtool itstool texinfo + python3Packages.python python3Packages.wrapPython ]; @@ -87,7 +88,6 @@ stdenv.mkDerivation (finalAttrs: { libsndfile libao libpulseaudio - python3Packages.python ] ++ lib.optionals withSystemd [ systemdLibs From c69fc77d58c3243853d2db67277194ca6dc2c72e Mon Sep 17 00:00:00 2001 From: Damian Shaw Date: Mon, 19 Oct 2026 13:28:52 -0400 Subject: [PATCH 1787/2378] python3.pkgs.pythonRuntimeDepsCheckHook: use per-call prerelease policy --- .../python/hooks/python-runtime-deps-check-hook.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pkgs/development/interpreters/python/hooks/python-runtime-deps-check-hook.py b/pkgs/development/interpreters/python/hooks/python-runtime-deps-check-hook.py index 77a6f33d49dd..7c4617d08e5d 100644 --- a/pkgs/development/interpreters/python/hooks/python-runtime-deps-check-hook.py +++ b/pkgs/development/interpreters/python/hooks/python-runtime-deps-check-hook.py @@ -79,9 +79,9 @@ def test_requirement(requirement: Requirement) -> bool: return False # Allow prereleases, to give to give us some wiggle-room - requirement.specifier.prereleases = True - - if requirement.specifier and package.version not in requirement.specifier: + if requirement.specifier and not requirement.specifier.contains( + package.version, prereleases=True + ): error( f"{package_name}{requirement.specifier} not satisfied by version {package.version}" ) From c5d0a30e1f43e219f7615310158ec29256ffa1ca Mon Sep 17 00:00:00 2001 From: Sergei Trofimovich Date: Mon, 19 Oct 2026 21:27:36 +0100 Subject: [PATCH 1788/2378] libnotify: 0.8.8 -> 0.8.9 Changes: https://gitlab.gnome.org/GNOME/libnotify/-/blob/0.8.9/NEWS?ref_type=tags --- pkgs/by-name/li/libnotify/package.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/by-name/li/libnotify/package.nix b/pkgs/by-name/li/libnotify/package.nix index d31ba706e0a8..9d71e6d6a59c 100644 --- a/pkgs/by-name/li/libnotify/package.nix +++ b/pkgs/by-name/li/libnotify/package.nix @@ -19,7 +19,7 @@ stdenv.mkDerivation rec { pname = "libnotify"; - version = "0.8.8"; + version = "0.8.9"; outputs = [ "out" @@ -29,7 +29,7 @@ stdenv.mkDerivation rec { src = fetchurl { url = "mirror://gnome/sources/libnotify/${lib.versions.majorMinor version}/libnotify-${version}.tar.xz"; - hash = "sha256-I0IO9hncLLWuutYT9II6L6QcB+Wh0FYo1A9uxLNb/d0="; + hash = "sha256-yQa7CEAn6lEvlKYPv8DMjU8X5LTVJb7TcNB6bYcUySM="; }; mesonFlags = [ From 4dbd2c94d869552ca5e00d83f8671b769145df31 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Robert=20Sch=C3=BCtz?= Date: Mon, 19 Oct 2026 15:11:03 -0700 Subject: [PATCH 1789/2378] python3Packages.libpass: 1.9.3 -> 1.9.4 Diff: https://github.com/ThirVondukr/passlib/compare/1.9.3...1.9.4 Changelog: https://github.com/ThirVondukr/passlib/blob/1.9.4/CHANGELOG.md --- pkgs/development/python-modules/libpass/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/libpass/default.nix b/pkgs/development/python-modules/libpass/default.nix index 412de0e08820..9befd5626403 100644 --- a/pkgs/development/python-modules/libpass/default.nix +++ b/pkgs/development/python-modules/libpass/default.nix @@ -14,14 +14,14 @@ buildPythonPackage rec { pname = "libpass"; - version = "1.9.3"; + version = "1.9.4"; pyproject = true; src = fetchFromGitHub { owner = "ThirVondukr"; repo = "passlib"; tag = version; - hash = "sha256-fzI9HpGE3wNK41ZSOeA5NAr5T4r3Jzdqe5+SHoWVXUs="; + hash = "sha256-d+iBTJrUzzLXAnbIJ56NHg8dZrv7Qd3ikNWOhXBiUzM="; }; build-system = [ hatchling ]; From fdf18c4cf75724c45d3a96fe5aba263a946e47f8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Robert=20Sch=C3=BCtz?= Date: Mon, 19 Oct 2026 15:12:41 -0700 Subject: [PATCH 1790/2378] python3Packages.libpass: use finalAttrs --- pkgs/development/python-modules/libpass/default.nix | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/pkgs/development/python-modules/libpass/default.nix b/pkgs/development/python-modules/libpass/default.nix index 9befd5626403..ff93897c47da 100644 --- a/pkgs/development/python-modules/libpass/default.nix +++ b/pkgs/development/python-modules/libpass/default.nix @@ -12,7 +12,7 @@ typing-extensions, }: -buildPythonPackage rec { +buildPythonPackage (finalAttrs: { pname = "libpass"; version = "1.9.4"; pyproject = true; @@ -20,7 +20,7 @@ buildPythonPackage rec { src = fetchFromGitHub { owner = "ThirVondukr"; repo = "passlib"; - tag = version; + tag = finalAttrs.version; hash = "sha256-d+iBTJrUzzLXAnbIJ56NHg8dZrv7Qd3ikNWOhXBiUzM="; }; @@ -37,7 +37,7 @@ buildPythonPackage rec { pytest-xdist pytestCheckHook ] - ++ lib.concatAttrValues optional-dependencies; + ++ lib.concatAttrValues finalAttrs.passthru.optional-dependencies; pythonImportsCheck = [ "passlib" ]; @@ -57,10 +57,10 @@ buildPythonPackage rec { ]; meta = { - changelog = "https://github.com/ThirVondukr/passlib/blob/${src.tag}/CHANGELOG.md"; + changelog = "https://github.com/ThirVondukr/passlib/blob/${finalAttrs.src.tag}/CHANGELOG.md"; description = "Comprehensive password hashing framework supporting over 30 schemes"; homepage = "https://github.com/ThirVondukr/passlib"; license = lib.licenses.bsd3; maintainers = with lib.maintainers; [ dotlambda ]; }; -} +}) From 7a63c6b7f13eb38b13071f8559a344ad5479f871 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marco=20=22Capypara=22=20K=C3=B6pcke?= Date: Sun, 6 Sep 2026 10:38:17 +0200 Subject: [PATCH 1791/2378] librsvg: set correct versionPolicy --- pkgs/by-name/li/librsvg/package.nix | 1 + 1 file changed, 1 insertion(+) diff --git a/pkgs/by-name/li/librsvg/package.nix b/pkgs/by-name/li/librsvg/package.nix index 0500a7ee115b..2de7bededdff 100644 --- a/pkgs/by-name/li/librsvg/package.nix +++ b/pkgs/by-name/li/librsvg/package.nix @@ -187,6 +187,7 @@ stdenv.mkDerivation (finalAttrs: { let updateSource = gnome.updateScript { packageName = "librsvg"; + versionPolicy = "ninety-micro-unstable"; }; updateLockfile = { From 90c397e1d5e783ca956e0217e0c28ff105e22f99 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marco=20=22Capypara=22=20K=C3=B6pcke?= Date: Fri, 4 Sep 2026 02:53:14 +0200 Subject: [PATCH 1792/2378] ministream: init at 0.99.1 https://gitlab.gnome.org/GNOME/ministream Introduced as a lightweight replacement for appstream for libadwaita. --- pkgs/by-name/mi/ministream/package.nix | 76 ++++++++++++++++++++++++++ 1 file changed, 76 insertions(+) create mode 100644 pkgs/by-name/mi/ministream/package.nix diff --git a/pkgs/by-name/mi/ministream/package.nix b/pkgs/by-name/mi/ministream/package.nix new file mode 100644 index 000000000000..51e50bd5a934 --- /dev/null +++ b/pkgs/by-name/mi/ministream/package.nix @@ -0,0 +1,76 @@ +{ + lib, + stdenv, + buildPackages, + fetchurl, + meson, + ninja, + pkg-config, + glib, + testers, + gnome, + gobject-introspection, + withIntrospection ? + lib.meta.availableOn stdenv.hostPlatform gobject-introspection + && stdenv.hostPlatform.emulatorAvailable buildPackages, +}: + +stdenv.mkDerivation (finalAttrs: { + pname = "ministream"; + version = "0.99.1"; + + src = fetchurl { + url = "mirror://gnome/sources/ministream/${lib.versions.majorMinor finalAttrs.version}/ministream-${finalAttrs.version}.tar.xz"; + hash = "sha256-TIY7WI+pofjgu0akNXysVzdoLYLQkilxVokUX8NKrYM="; + }; + + strictDeps = true; + __structuredAttrs = true; + + nativeBuildInputs = [ + meson + ninja + pkg-config + ] + ++ lib.optionals withIntrospection [ + gobject-introspection + ]; + + buildInputs = [ + glib + ]; + + mesonFlags = [ + (lib.mesonEnable "as-compare" false) + (lib.mesonEnable "introspection" withIntrospection) + (lib.mesonBool "tests" finalAttrs.finalPackage.doCheck) + ]; + + doCheck = true; + + passthru = { + tests.pkg-config = testers.hasPkgConfigModules { + package = finalAttrs.finalPackage; + versionCheck = true; + }; + updateScript = gnome.updateScript { + packageName = "ministream"; + }; + }; + + meta = { + description = "Subset of libappstream for libadwaita"; + longDescription = '' + Ministream is a small subset of libappstream, intended to be used by + libadwaita to automatically populate its AboutDialog with data + contained in the application's AppStream manifest. Unlike libappstream, + this library only depends on GLib. + ''; + homepage = "https://gitlab.gnome.org/GNOME/ministream"; + changelog = "https://gitlab.gnome.org/GNOME/ministream/-/blob/${finalAttrs.version}/NEWS"; + license = lib.licenses.lgpl21Plus; + teams = [ lib.teams.gnome ]; + platforms = lib.platforms.unix; + pkgConfigModules = [ "ministream" ]; + }; +}) From 85f01da4f93279a932853bf0ac48f281fadde77a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marco=20=22Capypara=22=20K=C3=B6pcke?= Date: Fri, 4 Sep 2026 11:13:49 +0200 Subject: [PATCH 1793/2378] gnome-extensions-app: init at 51.alpha https://gitlab.gnome.org/GNOME/gnome-extensions-app The "Extensions" app was removed from GNOME Shell and moved to its own repository. --- .../services/desktop-managers/gnome.nix | 1 + .../gn/gnome-extensions-app/package.nix | 70 +++++++++++++++++++ .../gnome-extensions-app/shew-gir-path.patch | 11 +++ 3 files changed, 82 insertions(+) create mode 100644 pkgs/by-name/gn/gnome-extensions-app/package.nix create mode 100644 pkgs/by-name/gn/gnome-extensions-app/shew-gir-path.patch diff --git a/nixos/modules/services/desktop-managers/gnome.nix b/nixos/modules/services/desktop-managers/gnome.nix index d6537622102f..97fff5959e97 100644 --- a/nixos/modules/services/desktop-managers/gnome.nix +++ b/nixos/modules/services/desktop-managers/gnome.nix @@ -461,6 +461,7 @@ in pkgs.gtk3.out # for gtk-launch program pkgs.xdg-user-dirs # Update user dirs as described in https://freedesktop.org/wiki/Software/xdg-user-dirs/ pkgs.xdg-user-dirs-gtk # Used to create the default bookmarks + pkgs.gnome-extensions-app ]; in mandatoryPackages ++ removeExcluded optionalPackages; diff --git a/pkgs/by-name/gn/gnome-extensions-app/package.nix b/pkgs/by-name/gn/gnome-extensions-app/package.nix new file mode 100644 index 000000000000..18be66d3ea27 --- /dev/null +++ b/pkgs/by-name/gn/gnome-extensions-app/package.nix @@ -0,0 +1,70 @@ +{ + desktop-file-utils, + fetchurl, + gjs, + glib, + gnome, + gobject-introspection, + gtk4, + lib, + libadwaita, + meson, + ninja, + pkg-config, + stdenv, + wrapGAppsHook4, +}: + +stdenv.mkDerivation (finalAttrs: { + pname = "gnome-extensions-app"; + version = "51.alpha"; + + src = fetchurl { + url = "mirror://gnome/sources/gnome-extensions-app/${lib.versions.major finalAttrs.version}/gnome-extensions-app-${finalAttrs.version}.tar.xz"; + hash = "sha256-xgmY+rH2fnP86+qkDFgG3B6//W4esW47dHLcQmkcheY="; + }; + + __structuredAttrs = true; + strictDeps = true; + + patches = [ + # Use absolute path for libshew installation to make our patched gobject-introspection + # aware of the location to hardcode in the generated GIR file. + ./shew-gir-path.patch + ]; + + postPatch = '' + substituteInPlace meson.build \ + --replace-fail "gjs = find_program('gjs')" "gjs = find_program('${lib.getExe gjs}')" + ''; + + nativeBuildInputs = [ + desktop-file-utils + glib + gobject-introspection + meson + ninja + pkg-config + wrapGAppsHook4 + ]; + + buildInputs = [ + gjs + gtk4 + libadwaita + ]; + + passthru = { + updateScript = gnome.updateScript { packageName = "gnome-extensions-app"; }; + }; + + meta = { + description = "Small app for managing GNOME Shell extensions"; + homepage = "https://gitlab.gnome.org/GNOME/gnome-extensions-app"; + changelog = "https://gitlab.gnome.org/GNOME/gnome-extensions-app/-/blob/${finalAttrs.version}/NEWS"; + license = lib.licenses.gpl2Plus; + teams = [ lib.teams.gnome ]; + platforms = lib.platforms.linux; + mainProgram = "gnome-extensions-app"; + }; +}) diff --git a/pkgs/by-name/gn/gnome-extensions-app/shew-gir-path.patch b/pkgs/by-name/gn/gnome-extensions-app/shew-gir-path.patch new file mode 100644 index 000000000000..6efdff420d04 --- /dev/null +++ b/pkgs/by-name/gn/gnome-extensions-app/shew-gir-path.patch @@ -0,0 +1,11 @@ +--- a/subprojects/libshew/src/meson.build ++++ b/subprojects/libshew/src/meson.build +@@ -15,7 +15,7 @@ shew_sources = [ + libshew = library(full_name, + sources: shew_sources, + dependencies: [gtk_dep], +- install_dir: pkglibdir, ++ install_dir: get_option('prefix') / pkglibdir, + install: true, + ) + From 600e02ca522fa86ec06a0e41149d6a3a57fcce4b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marco=20=22Capypara=22=20K=C3=B6pcke?= Date: Sat, 5 Sep 2026 21:00:34 +0200 Subject: [PATCH 1794/2378] nixosTests.terminal-emulators.kgx: rename to nixosTests.terminal-emulators.gnome-console --- nixos/tests/terminal-emulators.nix | 9 +++++---- pkgs/by-name/gn/gnome-console/package.nix | 2 +- 2 files changed, 6 insertions(+), 5 deletions(-) diff --git a/nixos/tests/terminal-emulators.nix b/nixos/tests/terminal-emulators.nix index e0913974b86d..340d637e9d9c 100644 --- a/nixos/tests/terminal-emulators.nix +++ b/nixos/tests/terminal-emulators.nix @@ -40,6 +40,11 @@ let ghostty.pkg = p: p.ghostty; + gnome-console.pkg = p: p.gnome-console; + gnome-console.executable = "kgx"; + gnome-console.cmd = "kgx -e $command"; + gnome-console.kill = true; + gnome-terminal.pkg = p: p.gnome-terminal; guake.pkg = p: p.guake; @@ -50,10 +55,6 @@ let kermit.pkg = p: p.kermit-terminal; - kgx.pkg = p: p.kgx; - kgx.cmd = "kgx -e $command"; - kgx.kill = true; - kitty.pkg = p: p.kitty; kitty.cmd = "kitty $command"; diff --git a/pkgs/by-name/gn/gnome-console/package.nix b/pkgs/by-name/gn/gnome-console/package.nix index 695bac3a631c..480c694b9cf4 100644 --- a/pkgs/by-name/gn/gnome-console/package.nix +++ b/pkgs/by-name/gn/gnome-console/package.nix @@ -59,7 +59,7 @@ stdenv.mkDerivation (finalAttrs: { }; }; - passthru.tests.test = nixosTests.terminal-emulators.kgx; + passthru.tests.test = nixosTests.terminal-emulators.gnome-console; meta = { description = "Simple user-friendly terminal emulator for the GNOME desktop"; From 82a42309247c9e5ba7e6aab7c3683d7e06acf805 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marco=20=22Capypara=22=20K=C3=B6pcke?= Date: Sun, 30 Aug 2026 21:09:15 +0200 Subject: [PATCH 1795/2378] dconf: 0.49.0 -> 51.rc https://gitlab.gnome.org/GNOME/dconf/-/compare/0.49.0...51.rc --- pkgs/by-name/dc/dconf/package.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pkgs/by-name/dc/dconf/package.nix b/pkgs/by-name/dc/dconf/package.nix index 1396fe83303a..25a9c8b34f55 100644 --- a/pkgs/by-name/dc/dconf/package.nix +++ b/pkgs/by-name/dc/dconf/package.nix @@ -27,7 +27,7 @@ stdenv.mkDerivation (finalAttrs: { pname = "dconf"; - version = "0.49.0"; + version = "51.rc"; __structuredAttrs = true; strictDeps = true; @@ -41,8 +41,8 @@ stdenv.mkDerivation (finalAttrs: { ++ lib.optional withDocs "devdoc"; src = fetchurl { - url = "mirror://gnome/sources/dconf/${lib.versions.majorMinor finalAttrs.version}/dconf-${finalAttrs.version}.tar.xz"; - sha256 = "FqR+SaWBVtu5ZXjhcIMlKZ5MGe6pvhKNW9Ev0JY9bDY="; + url = "mirror://gnome/sources/dconf/${lib.versions.major finalAttrs.version}/dconf-${finalAttrs.version}.tar.xz"; + sha256 = "cddc5z4ZM13XidMLIv5l4sbD+9j/aC1JYmcRgcBEwtA="; }; nativeBuildInputs = [ From cdc5b101d0c901a3a0d0948de0be0e03827431d4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marco=20=22Capypara=22=20K=C3=B6pcke?= Date: Mon, 7 Sep 2026 17:49:35 +0000 Subject: [PATCH 1796/2378] adwaita-fonts: 50.0 -> 51.0 https://gitlab.gnome.org/GNOME/adwaita-fonts/-/compare/50.0...51.0 --- pkgs/by-name/ad/adwaita-fonts/package.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/by-name/ad/adwaita-fonts/package.nix b/pkgs/by-name/ad/adwaita-fonts/package.nix index 494925b08e6d..e6ee6870761c 100644 --- a/pkgs/by-name/ad/adwaita-fonts/package.nix +++ b/pkgs/by-name/ad/adwaita-fonts/package.nix @@ -9,11 +9,11 @@ stdenvNoCC.mkDerivation (finalAttrs: { pname = "adwaita-fonts"; - version = "50.0"; + version = "51.0"; src = fetchurl { url = "mirror://gnome/sources/adwaita-fonts/${lib.versions.major finalAttrs.version}/adwaita-fonts-${finalAttrs.version}.tar.xz"; - hash = "sha256-TJJ/v+7BxQOAG6UQwslOAFTILFIs97oNO+XU1B/PXIY="; + hash = "sha256-+hBK4sG5ZYDTIvVj/+iy38pSlrDspJce/S2AEUBRI9I="; }; nativeBuildInputs = [ From 029672212d6bbc69f081af09bed26b922043f2ff Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marco=20=22Capypara=22=20K=C3=B6pcke?= Date: Mon, 7 Sep 2026 17:49:46 +0000 Subject: [PATCH 1797/2378] adwaita-icon-theme: 50.0 -> 51.beta https://gitlab.gnome.org/GNOME/adwaita-icon-theme/-/compare/50.0...51.beta --- pkgs/by-name/ad/adwaita-icon-theme/package.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/by-name/ad/adwaita-icon-theme/package.nix b/pkgs/by-name/ad/adwaita-icon-theme/package.nix index 40d65bc2599b..c1faca52e828 100644 --- a/pkgs/by-name/ad/adwaita-icon-theme/package.nix +++ b/pkgs/by-name/ad/adwaita-icon-theme/package.nix @@ -14,11 +14,11 @@ stdenv.mkDerivation (finalAttrs: { pname = "adwaita-icon-theme"; - version = "50.0"; + version = "51.beta"; src = fetchurl { url = "mirror://gnome/sources/adwaita-icon-theme/${lib.versions.major finalAttrs.version}/adwaita-icon-theme-${finalAttrs.version}.tar.xz"; - hash = "sha256-+sbgQB/KcUeAVhoIG49+J8O8HbNOvaTaF1CB8msk1GA="; + hash = "sha256-tVtgtAb25zypJYdaMBRGkeNHlx03hdRICO2e8Js/LcM="; }; nativeBuildInputs = [ From d3882a5831ec4f80291c84e6061b6fdfcab9d4c6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marco=20=22Capypara=22=20K=C3=B6pcke?= Date: Mon, 7 Sep 2026 17:49:58 +0000 Subject: [PATCH 1798/2378] at-spi2-core: 2.60.6 -> 2.61.90 https://gitlab.gnome.org/GNOME/at-spi2-core/-/compare/2.60.6...2.61.90 --- pkgs/by-name/at/at-spi2-core/package.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/by-name/at/at-spi2-core/package.nix b/pkgs/by-name/at/at-spi2-core/package.nix index 6e7303d9b120..1c0054790c5b 100644 --- a/pkgs/by-name/at/at-spi2-core/package.nix +++ b/pkgs/by-name/at/at-spi2-core/package.nix @@ -29,7 +29,7 @@ stdenv.mkDerivation (finalAttrs: { pname = "at-spi2-core"; - version = "2.60.6"; + version = "2.61.90"; outputs = [ "out" @@ -39,7 +39,7 @@ stdenv.mkDerivation (finalAttrs: { src = fetchurl { url = "mirror://gnome/sources/at-spi2-core/${lib.versions.majorMinor finalAttrs.version}/at-spi2-core-${finalAttrs.version}.tar.xz"; - hash = "sha256-qJtkqLIXqAQr3w41y/q2Kc7uNWQNunXfV4r96ap4nVc="; + hash = "sha256-8JnWINKkiZf807ikoES2AVblnBFoV6y8Z2IIVW71QMM="; }; nativeBuildInputs = [ From 5a85b030ab1c540503c0f318e0db136bd97d6e0d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marco=20=22Capypara=22=20K=C3=B6pcke?= Date: Mon, 7 Sep 2026 17:50:24 +0000 Subject: [PATCH 1799/2378] blueprint-compiler: 0.20.4 -> 0.22.2 https://gitlab.gnome.org/GNOME/blueprint-compiler/-/compare/v0.20.4...v0.22.2 --- pkgs/by-name/bl/blueprint-compiler/package.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/by-name/bl/blueprint-compiler/package.nix b/pkgs/by-name/bl/blueprint-compiler/package.nix index f6c53be3fd4c..9d5876dd03da 100644 --- a/pkgs/by-name/bl/blueprint-compiler/package.nix +++ b/pkgs/by-name/bl/blueprint-compiler/package.nix @@ -16,14 +16,14 @@ }: stdenv.mkDerivation (finalAttrs: { pname = "blueprint-compiler"; - version = "0.20.4"; + version = "0.22.2"; src = fetchFromGitLab { domain = "gitlab.gnome.org"; owner = "GNOME"; repo = "blueprint-compiler"; rev = "v${finalAttrs.version}"; - hash = "sha256-dA+FQTRmTz6rl5ToZJ8CXY1Zd7Em7VwvF3U3Qoyvu80="; + hash = "sha256-DRpPUfiufwK2c2RW01IYIX6tgVyxfFl5hnv5F8+9aD4="; }; postPatch = '' From 4a6912422eed45274d2a1a16aab6755f2044b6d2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marco=20=22Capypara=22=20K=C3=B6pcke?= Date: Mon, 7 Sep 2026 17:50:55 +0000 Subject: [PATCH 1800/2378] epiphany: 50.4 -> 51.rc https://gitlab.gnome.org/GNOME/epiphany/-/compare/50.4...51.rc --- pkgs/by-name/ep/epiphany/package.nix | 13 +++++-------- 1 file changed, 5 insertions(+), 8 deletions(-) diff --git a/pkgs/by-name/ep/epiphany/package.nix b/pkgs/by-name/ep/epiphany/package.nix index 04542f042fd5..2ca546248041 100644 --- a/pkgs/by-name/ep/epiphany/package.nix +++ b/pkgs/by-name/ep/epiphany/package.nix @@ -33,6 +33,7 @@ gst_all_1, json-glib, libadwaita, + libpwquality, buildPackages, withPantheon ? false, pantheon, @@ -40,20 +41,15 @@ stdenv.mkDerivation (finalAttrs: { pname = "epiphany"; - version = "50.4"; + version = "51.rc"; src = fetchurl { url = "mirror://gnome/sources/epiphany/${lib.versions.major finalAttrs.version}/epiphany-${finalAttrs.version}.tar.xz"; - hash = "sha256-Hib5kB8PCL/pQ6pwFjyVMzTH7D1K78jTVOipwUCzNKc="; + hash = "sha256-FNWFwPpQmgifUqlWIZkswvn+xPvWDUpseUt/lOc7vQw="; }; patches = [ - # Required for `CVE-2026-18487.patch` to apply - (fetchpatch { - name = "fix-ipv6-address-prettification.patch"; - url = "https://gitlab.gnome.org/GNOME/epiphany/-/commit/e63bfdc7f117c9b60ea54b5760363ab256b9ff2b.patch"; - hash = "sha256-9m8R5GUOBCm3xDXVHBDrV/HbjfIDL+D3wUGkkqc4RmA=="; - }) + # Remove when updating to 51.0 # Upstream issue: https://gitlab.gnome.org/GNOME/epiphany/-/work_items/2897 # Upstream PR: https://gitlab.gnome.org/GNOME/epiphany/-/merge_requests/2123 ./CVE-2026-18487.patch @@ -90,6 +86,7 @@ stdenv.mkDerivation (finalAttrs: { isocodes json-glib libadwaita + libpwquality libportal-gtk4 libarchive libsecret From 5183447fae587fbd36622c8a515ec5b90fc02486 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marco=20=22Capypara=22=20K=C3=B6pcke?= Date: Mon, 7 Sep 2026 17:51:08 +0000 Subject: [PATCH 1801/2378] evolution-data-server: 3.60.2 -> 3.61.3 https://gitlab.gnome.org/GNOME/evolution-data-server/-/compare/3.60.2...3.61.3 --- .../hardcode-gsettings.patch | 94 +++++++++---------- .../ev/evolution-data-server/package.nix | 4 +- 2 files changed, 49 insertions(+), 49 deletions(-) diff --git a/pkgs/by-name/ev/evolution-data-server/hardcode-gsettings.patch b/pkgs/by-name/ev/evolution-data-server/hardcode-gsettings.patch index c259dd0f1269..4e7825882f29 100644 --- a/pkgs/by-name/ev/evolution-data-server/hardcode-gsettings.patch +++ b/pkgs/by-name/ev/evolution-data-server/hardcode-gsettings.patch @@ -1,8 +1,8 @@ diff --git a/src/addressbook/libebook/e-book-client.c b/src/addressbook/libebook/e-book-client.c -index 12fc59c..3fc80a5 100644 +index 9a9910b..51b5fea 100644 --- a/src/addressbook/libebook/e-book-client.c +++ b/src/addressbook/libebook/e-book-client.c -@@ -1944,7 +1944,18 @@ e_book_client_get_self (ESourceRegistry *registry, +@@ -1930,7 +1930,18 @@ e_book_client_get_self (ESourceRegistry *registry, *out_client = book_client; @@ -22,7 +22,7 @@ index 12fc59c..3fc80a5 100644 uid = g_settings_get_string (settings, SELF_UID_KEY); g_object_unref (settings); -@@ -2012,7 +2023,18 @@ e_book_client_set_self (EBookClient *client, +@@ -1998,7 +2009,18 @@ e_book_client_set_self (EBookClient *client, g_return_val_if_fail ( e_contact_get_const (contact, E_CONTACT_UID) != NULL, FALSE); @@ -42,7 +42,7 @@ index 12fc59c..3fc80a5 100644 g_settings_set_string ( settings, SELF_UID_KEY, e_contact_get_const (contact, E_CONTACT_UID)); -@@ -2048,8 +2070,20 @@ e_book_client_is_self (EContact *contact) +@@ -2034,8 +2056,20 @@ e_book_client_is_self (EContact *contact) * unfortunately the API doesn't allow that. */ g_mutex_lock (&mutex); @@ -66,10 +66,10 @@ index 12fc59c..3fc80a5 100644 g_mutex_unlock (&mutex); diff --git a/src/addressbook/libebook/e-book.c b/src/addressbook/libebook/e-book.c -index 9d986d2..d63902a 100644 +index 89d4415..126e76b 100644 --- a/src/addressbook/libebook/e-book.c +++ b/src/addressbook/libebook/e-book.c -@@ -2593,7 +2593,18 @@ e_book_get_self (ESourceRegistry *registry, +@@ -2585,7 +2585,18 @@ e_book_get_self (ESourceRegistry *registry, return FALSE; } @@ -89,7 +89,7 @@ index 9d986d2..d63902a 100644 uid = g_settings_get_string (settings, SELF_UID_KEY); g_object_unref (settings); -@@ -2648,7 +2659,18 @@ e_book_set_self (EBook *book, +@@ -2640,7 +2651,18 @@ e_book_set_self (EBook *book, g_return_val_if_fail (E_IS_BOOK (book), FALSE); g_return_val_if_fail (E_IS_CONTACT (contact), FALSE); @@ -109,7 +109,7 @@ index 9d986d2..d63902a 100644 g_settings_set_string ( settings, SELF_UID_KEY, e_contact_get_const (contact, E_CONTACT_UID)); -@@ -2676,7 +2698,18 @@ e_book_is_self (EContact *contact) +@@ -2668,7 +2690,18 @@ e_book_is_self (EContact *contact) g_return_val_if_fail (E_IS_CONTACT (contact), FALSE); @@ -130,10 +130,10 @@ index 9d986d2..d63902a 100644 g_object_unref (settings); diff --git a/src/addressbook/libedata-book/e-book-meta-backend.c b/src/addressbook/libedata-book/e-book-meta-backend.c -index c24a37a..e5cf57e 100644 +index b333983..ae02db6 100644 --- a/src/addressbook/libedata-book/e-book-meta-backend.c +++ b/src/addressbook/libedata-book/e-book-meta-backend.c -@@ -148,7 +148,18 @@ ebmb_is_power_saver_enabled (void) +@@ -137,7 +137,18 @@ ebmb_is_power_saver_enabled (void) GSettings *settings; gboolean enabled = FALSE; @@ -154,10 +154,10 @@ index c24a37a..e5cf57e 100644 if (g_settings_get_boolean (settings, "limit-operations-in-power-saver-mode")) { GPowerProfileMonitor *power_monitor; diff --git a/src/calendar/backends/contacts/e-cal-backend-contacts.c b/src/calendar/backends/contacts/e-cal-backend-contacts.c -index b16756f..f3d2d6b 100644 +index 8bf2aed..5090738 100644 --- a/src/calendar/backends/contacts/e-cal-backend-contacts.c +++ b/src/calendar/backends/contacts/e-cal-backend-contacts.c -@@ -1433,7 +1433,18 @@ e_cal_backend_contacts_init (ECalBackendContacts *cbc) +@@ -1420,7 +1420,18 @@ e_cal_backend_contacts_init (ECalBackendContacts *cbc) (GDestroyNotify) g_free, (GDestroyNotify) contact_record_free); @@ -178,10 +178,10 @@ index b16756f..f3d2d6b 100644 cbc->priv->update_alarms_id = 0; cbc->priv->alarm_enabled = FALSE; diff --git a/src/calendar/backends/file/e-cal-backend-file.c b/src/calendar/backends/file/e-cal-backend-file.c -index 2e2dd0b..b5f99ab 100644 +index ccf87f0..228c546 100644 --- a/src/calendar/backends/file/e-cal-backend-file.c +++ b/src/calendar/backends/file/e-cal-backend-file.c -@@ -3701,7 +3701,20 @@ e_cal_backend_file_receive_objects (ECalBackendSync *backend, +@@ -3698,7 +3698,20 @@ e_cal_backend_file_receive_objects (ECalBackendSync *backend, if (is_declined) { GSettings *settings; @@ -204,10 +204,10 @@ index 2e2dd0b..b5f99ab 100644 g_clear_object (&settings); } diff --git a/src/calendar/libecal/e-reminder-watcher.c b/src/calendar/libecal/e-reminder-watcher.c -index 92d68e2..d1e1fa4 100644 +index a51c457..13cb4fe 100644 --- a/src/calendar/libecal/e-reminder-watcher.c +++ b/src/calendar/libecal/e-reminder-watcher.c -@@ -2882,8 +2882,33 @@ e_reminder_watcher_init (EReminderWatcher *watcher) +@@ -2871,8 +2871,33 @@ e_reminder_watcher_init (EReminderWatcher *watcher) watcher->priv = e_reminder_watcher_get_instance_private (watcher); watcher->priv->cancellable = g_cancellable_new (); @@ -244,10 +244,10 @@ index 92d68e2..d1e1fa4 100644 g_signal_connect_object ( watcher->priv->desktop_settings, diff --git a/src/calendar/libedata-cal/e-cal-meta-backend.c b/src/calendar/libedata-cal/e-cal-meta-backend.c -index 866afd1..e57d877 100644 +index 5e5db03..3279dcf 100644 --- a/src/calendar/libedata-cal/e-cal-meta-backend.c +++ b/src/calendar/libedata-cal/e-cal-meta-backend.c -@@ -160,7 +160,18 @@ ecmb_is_power_saver_enabled (void) +@@ -149,7 +149,18 @@ ecmb_is_power_saver_enabled (void) GSettings *settings; gboolean enabled = FALSE; @@ -267,7 +267,7 @@ index 866afd1..e57d877 100644 if (g_settings_get_boolean (settings, "limit-operations-in-power-saver-mode")) { GPowerProfileMonitor *power_monitor; -@@ -2617,7 +2628,20 @@ ecmb_receive_object_sync (ECalMetaBackend *meta_backend, +@@ -2606,7 +2617,20 @@ ecmb_receive_object_sync (ECalMetaBackend *meta_backend, if (is_declined) { GSettings *settings; @@ -290,10 +290,10 @@ index 866afd1..e57d877 100644 g_clear_object (&settings); } diff --git a/src/camel/camel-cipher-context.c b/src/camel/camel-cipher-context.c -index a830f89..b9abaa2 100644 +index 01420f5..cf489d1 100644 --- a/src/camel/camel-cipher-context.c +++ b/src/camel/camel-cipher-context.c -@@ -1638,7 +1638,18 @@ camel_cipher_can_load_photos (void) +@@ -1648,7 +1648,18 @@ camel_cipher_can_load_photos (void) GSettings *settings; gboolean load_photos; @@ -314,10 +314,10 @@ index a830f89..b9abaa2 100644 g_clear_object (&settings); diff --git a/src/camel/camel-gpg-context.c b/src/camel/camel-gpg-context.c -index 94f0769..8de758b 100644 +index 4fce4dd..5eeb917 100644 --- a/src/camel/camel-gpg-context.c +++ b/src/camel/camel-gpg-context.c -@@ -748,7 +748,18 @@ gpg_ctx_get_executable_name (void) +@@ -736,7 +736,18 @@ gpg_ctx_get_executable_name (void) GSettings *settings; gchar *path; @@ -338,10 +338,10 @@ index 94f0769..8de758b 100644 g_clear_object (&settings); diff --git a/src/camel/camel-utils.c b/src/camel/camel-utils.c -index 3de034a..b6732ba 100644 +index bf8fc53..19c8cac 100644 --- a/src/camel/camel-utils.c +++ b/src/camel/camel-utils.c -@@ -363,7 +363,19 @@ void +@@ -352,7 +352,19 @@ void _camel_utils_initialize (void) { G_LOCK (mi_user_headers); @@ -363,10 +363,10 @@ index 3de034a..b6732ba 100644 G_CALLBACK (mi_user_headers_settings_changed_cb), NULL); G_UNLOCK (mi_user_headers); diff --git a/src/camel/providers/imapx/camel-imapx-server.c b/src/camel/providers/imapx/camel-imapx-server.c -index e3f2391..374c72d 100644 +index f1c3c4a..24368db 100644 --- a/src/camel/providers/imapx/camel-imapx-server.c +++ b/src/camel/providers/imapx/camel-imapx-server.c -@@ -5682,7 +5682,18 @@ camel_imapx_server_do_old_flags_update (CamelFolder *folder) +@@ -5758,7 +5758,18 @@ camel_imapx_server_do_old_flags_update (CamelFolder *folder) if (do_old_flags_update) { GSettings *eds_settings; @@ -387,10 +387,10 @@ index e3f2391..374c72d 100644 if (g_settings_get_boolean (eds_settings, "limit-operations-in-power-saver-mode")) { GPowerProfileMonitor *power_monitor; diff --git a/src/camel/providers/smtp/camel-smtp-transport.c b/src/camel/providers/smtp/camel-smtp-transport.c -index f7c5d3c..67732c3 100644 +index a255fb0..3a8fa63 100644 --- a/src/camel/providers/smtp/camel-smtp-transport.c +++ b/src/camel/providers/smtp/camel-smtp-transport.c -@@ -1471,7 +1471,18 @@ smtp_helo (CamelSmtpTransport *transport, +@@ -1457,7 +1457,18 @@ smtp_helo (CamelSmtpTransport *transport, transport->authtypes = NULL; } @@ -411,10 +411,10 @@ index f7c5d3c..67732c3 100644 g_clear_object (&settings); diff --git a/src/libedataserver/e-network-monitor.c b/src/libedataserver/e-network-monitor.c -index e9cb145..8fc30d5 100644 +index 9644e99..776a045 100644 --- a/src/libedataserver/e-network-monitor.c +++ b/src/libedataserver/e-network-monitor.c -@@ -260,7 +260,18 @@ e_network_monitor_constructed (GObject *object) +@@ -249,7 +249,18 @@ e_network_monitor_constructed (GObject *object) /* Chain up to parent's method. */ G_OBJECT_CLASS (e_network_monitor_parent_class)->constructed (object); @@ -435,10 +435,10 @@ index e9cb145..8fc30d5 100644 settings, "network-monitor-gio-name", object, "gio-name", diff --git a/src/libedataserver/e-oauth2-service-google.c b/src/libedataserver/e-oauth2-service-google.c -index 9624d86..6baa019 100644 +index f2936a9..85d31c1 100644 --- a/src/libedataserver/e-oauth2-service-google.c +++ b/src/libedataserver/e-oauth2-service-google.c -@@ -72,7 +72,18 @@ eos_google_read_settings (EOAuth2Service *service, +@@ -61,7 +61,18 @@ eos_google_read_settings (EOAuth2Service *service, if (!value) { GSettings *settings; @@ -459,10 +459,10 @@ index 9624d86..6baa019 100644 g_object_unref (settings); diff --git a/src/libedataserver/e-oauth2-service-outlook.c b/src/libedataserver/e-oauth2-service-outlook.c -index 7342577..915d8bd 100644 +index 3115880..4b93967 100644 --- a/src/libedataserver/e-oauth2-service-outlook.c +++ b/src/libedataserver/e-oauth2-service-outlook.c -@@ -75,7 +75,18 @@ eos_outlook_read_settings (EOAuth2Service *service, +@@ -64,7 +64,18 @@ eos_outlook_read_settings (EOAuth2Service *service, if (!value) { GSettings *settings; @@ -483,10 +483,10 @@ index 7342577..915d8bd 100644 g_object_unref (settings); diff --git a/src/libedataserver/e-oauth2-service-yahoo.c b/src/libedataserver/e-oauth2-service-yahoo.c -index 3738359..f9ce2d9 100644 +index d354463..1c02ad1 100644 --- a/src/libedataserver/e-oauth2-service-yahoo.c +++ b/src/libedataserver/e-oauth2-service-yahoo.c -@@ -67,7 +67,18 @@ eos_yahoo_read_settings (EOAuth2Service *service, +@@ -56,7 +56,18 @@ eos_yahoo_read_settings (EOAuth2Service *service, if (!value) { GSettings *settings; @@ -507,10 +507,10 @@ index 3738359..f9ce2d9 100644 g_object_unref (settings); diff --git a/src/libedataserver/e-oauth2-service.c b/src/libedataserver/e-oauth2-service.c -index 9f56da2..f82921a 100644 +index 801fc67..281125b 100644 --- a/src/libedataserver/e-oauth2-service.c +++ b/src/libedataserver/e-oauth2-service.c -@@ -95,7 +95,18 @@ eos_default_guess_can_process (EOAuth2Service *service, +@@ -89,7 +89,18 @@ eos_default_guess_can_process (EOAuth2Service *service, name_len = strlen (name); hostname_len = strlen (hostname); @@ -531,10 +531,10 @@ index 9f56da2..f82921a 100644 g_object_unref (settings); diff --git a/src/libedataserver/e-source-registry.c b/src/libedataserver/e-source-registry.c -index bcc2df7..42489da 100644 +index d336cc9..42dd5ab 100644 --- a/src/libedataserver/e-source-registry.c +++ b/src/libedataserver/e-source-registry.c -@@ -1751,7 +1751,19 @@ e_source_registry_init (ESourceRegistry *registry) +@@ -1738,7 +1738,19 @@ e_source_registry_init (ESourceRegistry *registry) g_mutex_init (®istry->priv->sources_lock); @@ -556,10 +556,10 @@ index bcc2df7..42489da 100644 g_signal_connect ( registry->priv->settings, "changed", diff --git a/src/libedataserverui/e-reminders-widget.c b/src/libedataserverui/e-reminders-widget.c -index 302aacf..ed4a7fa 100644 +index 9049c01..d3f6530 100644 --- a/src/libedataserverui/e-reminders-widget.c +++ b/src/libedataserverui/e-reminders-widget.c -@@ -2133,7 +2133,19 @@ static void +@@ -2122,7 +2122,19 @@ static void e_reminders_widget_init (ERemindersWidget *reminders) { reminders->priv = e_reminders_widget_get_instance_private (reminders); @@ -581,10 +581,10 @@ index 302aacf..ed4a7fa 100644 reminders->priv->is_empty = TRUE; reminders->priv->is_mapped = FALSE; diff --git a/src/services/evolution-source-registry/evolution-source-registry-autoconfig.c b/src/services/evolution-source-registry/evolution-source-registry-autoconfig.c -index 6f03053..b5db6b2 100644 +index 41ae657..6695d90 100644 --- a/src/services/evolution-source-registry/evolution-source-registry-autoconfig.c +++ b/src/services/evolution-source-registry/evolution-source-registry-autoconfig.c -@@ -706,7 +706,18 @@ evolution_source_registry_merge_autoconfig_sources (ESourceRegistryServer *serve +@@ -692,7 +692,18 @@ evolution_source_registry_merge_autoconfig_sources (ESourceRegistryServer *serve gchar *autoconfig_directory; gint ii; @@ -605,10 +605,10 @@ index 6f03053..b5db6b2 100644 autoconfig_sources = g_hash_table_new_full (g_str_hash, g_str_equal, g_free, e_autoconfig_free_merge_source_data); diff --git a/src/services/evolution-source-registry/evolution-source-registry-migrate-proxies.c b/src/services/evolution-source-registry/evolution-source-registry-migrate-proxies.c -index d531cb9..c96f1d5 100644 +index 37c6616..6931c85 100644 --- a/src/services/evolution-source-registry/evolution-source-registry-migrate-proxies.c +++ b/src/services/evolution-source-registry/evolution-source-registry-migrate-proxies.c -@@ -61,7 +61,18 @@ evolution_source_registry_migrate_proxies (ESourceRegistryServer *server) +@@ -48,7 +48,18 @@ evolution_source_registry_migrate_proxies (ESourceRegistryServer *server) extension_name = E_SOURCE_EXTENSION_PROXY; extension = e_source_get_extension (source, extension_name); diff --git a/pkgs/by-name/ev/evolution-data-server/package.nix b/pkgs/by-name/ev/evolution-data-server/package.nix index 65178d7ce4cc..9cae9cbe7980 100644 --- a/pkgs/by-name/ev/evolution-data-server/package.nix +++ b/pkgs/by-name/ev/evolution-data-server/package.nix @@ -50,7 +50,7 @@ stdenv.mkDerivation (finalAttrs: { pname = "evolution-data-server"; - version = "3.60.2"; + version = "3.61.3"; outputs = [ "out" @@ -59,7 +59,7 @@ stdenv.mkDerivation (finalAttrs: { src = fetchurl { url = "mirror://gnome/sources/evolution-data-server/${lib.versions.majorMinor finalAttrs.version}/evolution-data-server-${finalAttrs.version}.tar.xz"; - hash = "sha256-IITb2sOWNxs2XVBMH/RYZrqNyi8SUuXaHT2cM6vcEoY="; + hash = "sha256-HLnJtqEvpTRz9cAzKsOf/zJYb7Iqkyomqpc8JguxOoM="; }; patches = [ From e586e0a6cfdcf9c69fe10321adee32c7fb737d01 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marco=20=22Capypara=22=20K=C3=B6pcke?= Date: Mon, 7 Sep 2026 17:51:31 +0000 Subject: [PATCH 1802/2378] gdm: 50.2 -> 51.rc https://gitlab.gnome.org/GNOME/gdm/-/compare/50.2...51.rc --- pkgs/by-name/gd/gdm/package.nix | 12 ++++-------- 1 file changed, 4 insertions(+), 8 deletions(-) diff --git a/pkgs/by-name/gd/gdm/package.nix b/pkgs/by-name/gd/gdm/package.nix index ca207b294483..77993818dc59 100644 --- a/pkgs/by-name/gd/gdm/package.nix +++ b/pkgs/by-name/gd/gdm/package.nix @@ -12,12 +12,10 @@ itstool, accountsservice, libx11, - libxdmcp, - libxcb, + libxau, gnome, systemd, dconf, - gtk3, pam, libgudev, libselinux, @@ -44,7 +42,7 @@ in stdenv.mkDerivation (finalAttrs: { pname = "gdm"; - version = "50.2"; + version = "51.rc"; outputs = [ "out" @@ -53,7 +51,7 @@ stdenv.mkDerivation (finalAttrs: { src = fetchurl { url = "mirror://gnome/sources/gdm/${lib.versions.major finalAttrs.version}/gdm-${finalAttrs.version}.tar.xz"; - hash = "sha256-ikZ55Hzd/osKG9nTg2BC3raPs+Gw5+Yt/QYx3FtvxUE="; + hash = "sha256-oe20nWbQIldZfmtJ3hMW7mfuPMGdjcRkbVTBfHrhnbo="; }; mesonFlags = [ @@ -83,11 +81,9 @@ stdenv.mkDerivation (finalAttrs: { audit glib json-glib - gtk3 keyutils libx11 - libxdmcp - libxcb + libxau libgudev libselinux pam From 433f9a63d0f3f0cef5dc25345422f82825850e08 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marco=20=22Capypara=22=20K=C3=B6pcke?= Date: Mon, 7 Sep 2026 17:51:44 +0000 Subject: [PATCH 1803/2378] gjs: 1.88.1 -> 1.89.90 https://gitlab.gnome.org/GNOME/gjs/-/compare/1.88.1...1.89.90 --- pkgs/by-name/gj/gjs/package.nix | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/pkgs/by-name/gj/gjs/package.nix b/pkgs/by-name/gj/gjs/package.nix index 8f6e794042aa..77bd7a874e69 100644 --- a/pkgs/by-name/gj/gjs/package.nix +++ b/pkgs/by-name/gj/gjs/package.nix @@ -1,5 +1,6 @@ { fetchurl, + fetchpatch, lib, stdenv, meson, @@ -42,7 +43,7 @@ let in stdenv.mkDerivation (finalAttrs: { pname = "gjs"; - version = "1.88.1"; + version = "1.89.90"; outputs = [ "out" @@ -52,7 +53,7 @@ stdenv.mkDerivation (finalAttrs: { src = fetchurl { url = "mirror://gnome/sources/gjs/${lib.versions.majorMinor finalAttrs.version}/gjs-${finalAttrs.version}.tar.xz"; - hash = "sha256-dnurgOZl1nLLAFY8JfCzkqnsjCmW7R1EVMaYtMLwo9k="; + hash = "sha256-Za7JPCYcQR2jIVrsNCwkv7fndZIxZbODLZlUkdjAVOY="; }; patches = [ @@ -71,6 +72,12 @@ stdenv.mkDerivation (finalAttrs: { # not ok 796 Filename tests various types of path existing # Message: Error opening file “/build/.UGHEA3/öäü-3”: Invalid or incomplete multibyte or wide character in /build/gjs-1.84.2/build/../installed-tests/js/testGIMarshalling.js (line 2937) ./disable-umlaut-test.patch + + # Fixes build: https://gitlab.gnome.org/GNOME/gjs/-/merge_requests/1114 + (fetchpatch { + url = "https://gitlab.gnome.org/GNOME/gjs/-/merge_requests/1114.patch"; + hash = "sha256-AiBuTJHdpzANzl27yHkq+Og1oEva3NpUcSEhSOWnF9s="; + }) ]; nativeBuildInputs = [ From 976a25abee1415be996e00abed69df4ab1120f1d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marco=20=22Capypara=22=20K=C3=B6pcke?= Date: Mon, 7 Sep 2026 17:51:56 +0000 Subject: [PATCH 1804/2378] glib: 2.88.3 -> 2.89.4 https://gitlab.gnome.org/GNOME/glib/-/compare/2.88.3...2.89.4 --- pkgs/by-name/gl/glib/package.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/by-name/gl/glib/package.nix b/pkgs/by-name/gl/glib/package.nix index 0733f0ec607e..4a8c976a7866 100644 --- a/pkgs/by-name/gl/glib/package.nix +++ b/pkgs/by-name/gl/glib/package.nix @@ -81,7 +81,7 @@ in stdenv.mkDerivation (finalAttrs: { pname = "glib"; - version = "2.88.3"; + version = "2.89.4"; outputs = [ "bin" @@ -94,7 +94,7 @@ stdenv.mkDerivation (finalAttrs: { src = fetchurl { url = "mirror://gnome/sources/glib/${lib.versions.majorMinor finalAttrs.version}/glib-${finalAttrs.version}.tar.xz"; - hash = "sha256-qyTSTmmN+h5Ai3vNtQj0qvyQYYWouM5y/febu9ybODs="; + hash = "sha256-HNu3mfVYgy5vFLgze1/VmcaRirFEl3tV4F4ApeLoSiw="; }; patches = From 54babf334e3cc362f35e5df3e6908f3159191a2e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marco=20=22Capypara=22=20K=C3=B6pcke?= Date: Mon, 7 Sep 2026 17:52:08 +0000 Subject: [PATCH 1805/2378] glib-networking: 2.80.1 -> 2.90.alpha https://gitlab.gnome.org/GNOME/glib-networking/-/compare/2.80.1...2.90.alpha --- pkgs/by-name/gl/glib-networking/package.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/by-name/gl/glib-networking/package.nix b/pkgs/by-name/gl/glib-networking/package.nix index c56fdb0e5417..8a9b6bba0564 100644 --- a/pkgs/by-name/gl/glib-networking/package.nix +++ b/pkgs/by-name/gl/glib-networking/package.nix @@ -19,7 +19,7 @@ stdenv.mkDerivation (finalAttrs: { pname = "glib-networking"; - version = "2.80.1"; + version = "2.90.alpha"; outputs = [ "out" @@ -28,7 +28,7 @@ stdenv.mkDerivation (finalAttrs: { src = fetchurl { url = "mirror://gnome/sources/glib-networking/${lib.versions.majorMinor finalAttrs.version}/glib-networking-${finalAttrs.version}.tar.xz"; - hash = "sha256-uA4odBV81VBx8bZxD6C5EdWsXeEGqe4qTJx77mF4L44="; + hash = "sha256-vn+8KasRzZCmqhqCUkdFzYgzFjC5pkQyOluQf3k/38M="; }; patches = [ From e10d368551c15f6506c0238a63e46aa6735fcd41 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marco=20=22Capypara=22=20K=C3=B6pcke?= Date: Mon, 7 Sep 2026 17:52:20 +0000 Subject: [PATCH 1806/2378] glibmm_2_68: 2.88.1 -> 2.89.1 https://gitlab.gnome.org/GNOME/glibmm/-/compare/2.88.1...2.89.1 --- pkgs/by-name/gl/glibmm_2_68/package.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/by-name/gl/glibmm_2_68/package.nix b/pkgs/by-name/gl/glibmm_2_68/package.nix index 9745652e0e76..6c4329edec69 100644 --- a/pkgs/by-name/gl/glibmm_2_68/package.nix +++ b/pkgs/by-name/gl/glibmm_2_68/package.nix @@ -13,7 +13,7 @@ stdenv.mkDerivation (finalAttrs: { pname = "glibmm"; - version = "2.88.1"; + version = "2.89.1"; __structuredAttrs = true; strictDeps = true; @@ -25,7 +25,7 @@ stdenv.mkDerivation (finalAttrs: { src = fetchurl { url = "mirror://gnome/sources/glibmm/${lib.versions.majorMinor finalAttrs.version}/glibmm-${finalAttrs.version}.tar.xz"; - hash = "sha256-wTn5YrFXXIgnzTnRrCG3o2e+O9oUCcDH4hopCQ83FQY="; + hash = "sha256-8ksymAeHMPuW7XBm+QC/R287rqiyg6KXXTvz9Oje9RM="; }; nativeBuildInputs = [ From 77518980cbd8dd7f7793df753d8612f41c05d4e3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marco=20=22Capypara=22=20K=C3=B6pcke?= Date: Mon, 7 Sep 2026 17:52:32 +0000 Subject: [PATCH 1807/2378] gnome-autoar: 0.4.5 -> 0.5.2 https://gitlab.gnome.org/GNOME/gnome-autoar/-/compare/0.4.5...0.5.2 --- pkgs/by-name/gn/gnome-autoar/package.nix | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) diff --git a/pkgs/by-name/gn/gnome-autoar/package.nix b/pkgs/by-name/gn/gnome-autoar/package.nix index ec5de715b8c2..bfa6d4f8d0fe 100644 --- a/pkgs/by-name/gn/gnome-autoar/package.nix +++ b/pkgs/by-name/gn/gnome-autoar/package.nix @@ -6,7 +6,6 @@ ninja, pkg-config, gnome, - gtk3, glib, gobject-introspection, libarchive, @@ -15,7 +14,7 @@ stdenv.mkDerivation (finalAttrs: { pname = "gnome-autoar"; - version = "0.4.5"; + version = "0.5.2"; outputs = [ "out" @@ -24,7 +23,7 @@ stdenv.mkDerivation (finalAttrs: { src = fetchurl { url = "mirror://gnome/sources/gnome-autoar/${lib.versions.majorMinor finalAttrs.version}/gnome-autoar-${finalAttrs.version}.tar.xz"; - hash = "sha256-g4xTBvw4v6ovI6viQmL0vxV3HjMD+13LdPW5x6YV2r4="; + hash = "sha256-bCC9Fsh6uhWGnlZERCRIH2MqwwKYmiA+jOTcxz3qM6U="; }; nativeBuildInputs = [ @@ -35,10 +34,6 @@ stdenv.mkDerivation (finalAttrs: { vala ]; - buildInputs = [ - gtk3 - ]; - propagatedBuildInputs = [ libarchive glib From 5bd625177b9525d50f4a833ef6ea1bc98d7aa2cb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marco=20=22Capypara=22=20K=C3=B6pcke?= Date: Mon, 7 Sep 2026 17:52:45 +0000 Subject: [PATCH 1808/2378] gnome-backgrounds: 50.0 -> 51.beta https://gitlab.gnome.org/GNOME/gnome-backgrounds/-/compare/50.0...51.beta --- pkgs/by-name/gn/gnome-backgrounds/package.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/by-name/gn/gnome-backgrounds/package.nix b/pkgs/by-name/gn/gnome-backgrounds/package.nix index d8154407e6d9..b582d26db595 100644 --- a/pkgs/by-name/gn/gnome-backgrounds/package.nix +++ b/pkgs/by-name/gn/gnome-backgrounds/package.nix @@ -9,11 +9,11 @@ stdenv.mkDerivation (finalAttrs: { pname = "gnome-backgrounds"; - version = "50.0"; + version = "51.beta"; src = fetchurl { url = "mirror://gnome/sources/gnome-backgrounds/${lib.versions.major finalAttrs.version}/gnome-backgrounds-${finalAttrs.version}.tar.xz"; - hash = "sha256-Gs26estPNMcyH+vGJzRENE/VX9WTYR1EbecIYBg7Urg="; + hash = "sha256-trvTwNwZyWhJeb9Al9SM2Xs8SALIra/6LoLCBI8xVs8="; }; patches = [ From 98694b128f76c20540c4d6e1dabcc401069f9f17 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marco=20=22Capypara=22=20K=C3=B6pcke?= Date: Mon, 7 Sep 2026 17:53:17 +0000 Subject: [PATCH 1809/2378] gnome-calculator: 50.0 -> 51.rc https://gitlab.gnome.org/GNOME/gnome-calculator/-/compare/50.0...51.rc --- pkgs/by-name/gn/gnome-calculator/package.nix | 13 ++----------- 1 file changed, 2 insertions(+), 11 deletions(-) diff --git a/pkgs/by-name/gn/gnome-calculator/package.nix b/pkgs/by-name/gn/gnome-calculator/package.nix index e896adf76eed..c743f41f7f99 100644 --- a/pkgs/by-name/gn/gnome-calculator/package.nix +++ b/pkgs/by-name/gn/gnome-calculator/package.nix @@ -9,7 +9,6 @@ gettext, itstool, fetchurl, - fetchpatch, pkg-config, libxml2, gtk4, @@ -29,21 +28,13 @@ stdenv.mkDerivation (finalAttrs: { pname = "gnome-calculator"; - version = "50.0"; + version = "51.rc"; src = fetchurl { url = "mirror://gnome/sources/gnome-calculator/${lib.versions.major finalAttrs.version}/gnome-calculator-${finalAttrs.version}.tar.xz"; - hash = "sha256-gFPWiRVl6IKHS2XB21HFvzEABet4i4usNUY5B0M1CpA="; + hash = "sha256-24CgNXkGQubxslylG8ZMyi7rGqXHZg/UwTJaorvKHYE="; }; - patches = [ - # Fix tests with GNU MPC 1.4.0 - (fetchpatch { - url = "https://gitlab.gnome.org/GNOME/gnome-calculator/-/commit/c9bf69ce3688390a584ca7571ea5fcda5aea8863.patch"; - hash = "sha256-FoV6SUprVdNcRORpoi+bNMTjzMM8bmXuze+6C9lqF8E="; - }) - ]; - nativeBuildInputs = [ appstream blueprint-compiler From 41ef4a4f01ad00af6b68167953f7698544ed7149 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marco=20=22Capypara=22=20K=C3=B6pcke?= Date: Mon, 7 Sep 2026 17:53:30 +0000 Subject: [PATCH 1810/2378] gnome-calendar: 50.0 -> 51.rc https://gitlab.gnome.org/GNOME/gnome-calendar/-/compare/50.0...51.rc --- pkgs/by-name/gn/gnome-calendar/package.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/by-name/gn/gnome-calendar/package.nix b/pkgs/by-name/gn/gnome-calendar/package.nix index 9f76e9a89df2..1148df2b26bc 100644 --- a/pkgs/by-name/gn/gnome-calendar/package.nix +++ b/pkgs/by-name/gn/gnome-calendar/package.nix @@ -25,11 +25,11 @@ stdenv.mkDerivation (finalAttrs: { pname = "gnome-calendar"; - version = "50.0"; + version = "51.rc"; src = fetchurl { url = "mirror://gnome/sources/gnome-calendar/${lib.versions.major finalAttrs.version}/gnome-calendar-${finalAttrs.version}.tar.xz"; - hash = "sha256-S3XfBxpS2Y+zXmR9AYAwEp0k2QB3kNAkV3RsmGF66rA="; + hash = "sha256-tOKrwiEOx0MDJxfeRlibHEgNIo06sfzJT+7v/FEICYE="; }; nativeBuildInputs = [ From 99e594f904999b1c76ee12bd3fd6f5ad11f03b46 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marco=20=22Capypara=22=20K=C3=B6pcke?= Date: Mon, 7 Sep 2026 17:53:43 +0000 Subject: [PATCH 1811/2378] gnome-characters: 50.0 -> 51.rc https://gitlab.gnome.org/GNOME/gnome-characters/-/compare/50.0...51.rc --- pkgs/by-name/gn/gnome-characters/package.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/by-name/gn/gnome-characters/package.nix b/pkgs/by-name/gn/gnome-characters/package.nix index bd5822f9767c..e63e24a1092d 100644 --- a/pkgs/by-name/gn/gnome-characters/package.nix +++ b/pkgs/by-name/gn/gnome-characters/package.nix @@ -22,11 +22,11 @@ stdenv.mkDerivation (finalAttrs: { pname = "gnome-characters"; - version = "50.0"; + version = "51.rc"; src = fetchurl { url = "mirror://gnome/sources/gnome-characters/${lib.versions.major finalAttrs.version}/gnome-characters-${finalAttrs.version}.tar.xz"; - hash = "sha256-QHBzTdY5swlL5Ge7BVpUYbL8MBzfyf7dy0po9HbtWq0="; + hash = "sha256-6V2nLsm6ZXmrEBMJy5uO5jUJQLZJEJOfQUjcGmDpAYw="; }; nativeBuildInputs = [ From 277f8cf53eee1370b9a51472c2faf282e5f678fe Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marco=20=22Capypara=22=20K=C3=B6pcke?= Date: Mon, 7 Sep 2026 17:53:56 +0000 Subject: [PATCH 1812/2378] gnome-clocks: 50.0 -> 51.rc https://gitlab.gnome.org/GNOME/gnome-clocks/-/compare/50.0...51.rc --- pkgs/by-name/gn/gnome-clocks/package.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/by-name/gn/gnome-clocks/package.nix b/pkgs/by-name/gn/gnome-clocks/package.nix index bb49f1bc8bd1..01488396cd32 100644 --- a/pkgs/by-name/gn/gnome-clocks/package.nix +++ b/pkgs/by-name/gn/gnome-clocks/package.nix @@ -28,11 +28,11 @@ stdenv.mkDerivation (finalAttrs: { pname = "gnome-clocks"; - version = "50.0"; + version = "51.rc"; src = fetchurl { url = "mirror://gnome/sources/gnome-clocks/${lib.versions.major finalAttrs.version}/gnome-clocks-${finalAttrs.version}.tar.xz"; - hash = "sha256-vxZ/f0T08vtCTUcWZSybofKeFuSQceJqG7gz+NznlMY="; + hash = "sha256-p1hO2gQ9zIWxfuy5a5+0J1r00AAbfx1K8qKzUr1eIeU="; }; nativeBuildInputs = [ From 02b13382fe63c94d9e72d3c870d1a70f5f18b792 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marco=20=22Capypara=22=20K=C3=B6pcke?= Date: Mon, 7 Sep 2026 17:54:09 +0000 Subject: [PATCH 1813/2378] gnome-connections: 50.0 -> 51.rc.1 https://gitlab.gnome.org/GNOME/gnome-connections/-/compare/50.0...51.rc.1 --- pkgs/by-name/gn/gnome-connections/package.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/by-name/gn/gnome-connections/package.nix b/pkgs/by-name/gn/gnome-connections/package.nix index 998e93f592fe..dc971741b781 100644 --- a/pkgs/by-name/gn/gnome-connections/package.nix +++ b/pkgs/by-name/gn/gnome-connections/package.nix @@ -24,11 +24,11 @@ stdenv.mkDerivation (finalAttrs: { pname = "gnome-connections"; - version = "50.0"; + version = "51.rc.1"; src = fetchurl { url = "mirror://gnome/sources/gnome-connections/${lib.versions.major finalAttrs.version}/gnome-connections-${finalAttrs.version}.tar.xz"; - hash = "sha256-Vnv2NcbTA66Ex083yE35+4/Pal6d/0UuFBTGcXRNldA="; + hash = "sha256-JEdMFwgMwe+X7fdFtvI893CW8mjOL2zzx4L/A/20POE="; }; nativeBuildInputs = [ From 97061dbeaa3471b3618f7b8815d07dd7819945e5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marco=20=22Capypara=22=20K=C3=B6pcke?= Date: Mon, 7 Sep 2026 17:54:22 +0000 Subject: [PATCH 1814/2378] gnome-console: 50.0 -> 51.rc https://gitlab.gnome.org/GNOME/console/-/compare/50.0...51.rc --- pkgs/by-name/gn/gnome-console/package.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/by-name/gn/gnome-console/package.nix b/pkgs/by-name/gn/gnome-console/package.nix index 480c694b9cf4..aec2f0183244 100644 --- a/pkgs/by-name/gn/gnome-console/package.nix +++ b/pkgs/by-name/gn/gnome-console/package.nix @@ -21,11 +21,11 @@ stdenv.mkDerivation (finalAttrs: { pname = "gnome-console"; - version = "50.0"; + version = "51.rc"; src = fetchurl { url = "mirror://gnome/sources/gnome-console/${lib.versions.major finalAttrs.version}/gnome-console-${finalAttrs.version}.tar.xz"; - hash = "sha256-5JUCB/BUfmpsDxjuv89uGhBGHqsPL64KrlErEETHrG4="; + hash = "sha256-j3Lg3hfHA0TKhDuJYYpSWf6ThJqeg3FUv41ahGgzPIY="; }; nativeBuildInputs = [ From a3f0d610281e7aa80211ace5f43cc4dc57cdaeae Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marco=20=22Capypara=22=20K=C3=B6pcke?= Date: Mon, 7 Sep 2026 17:54:36 +0000 Subject: [PATCH 1815/2378] gnome-control-center: 50.4 -> 51.rc.1 https://gitlab.gnome.org/GNOME/gnome-control-center/-/compare/50.4...51.rc.1 --- .../gn/gnome-control-center/package.nix | 6 +- .../gn/gnome-control-center/paths.patch | 156 ++++++++---------- 2 files changed, 75 insertions(+), 87 deletions(-) diff --git a/pkgs/by-name/gn/gnome-control-center/package.nix b/pkgs/by-name/gn/gnome-control-center/package.nix index 11ae7b5b82f7..f0a883389cbf 100644 --- a/pkgs/by-name/gn/gnome-control-center/package.nix +++ b/pkgs/by-name/gn/gnome-control-center/package.nix @@ -19,6 +19,7 @@ glib-networking, gcr_4, glibc, + glibcLocalesUtf8, gnome-bluetooth, gnome-color-manager, gnome-desktop, @@ -78,11 +79,11 @@ stdenv.mkDerivation (finalAttrs: { pname = "gnome-control-center"; - version = "50.4"; + version = "51.rc.1"; src = fetchurl { url = "mirror://gnome/sources/gnome-control-center/${lib.versions.major finalAttrs.version}/gnome-control-center-${finalAttrs.version}.tar.xz"; - hash = "sha256-WFbHOZm+30XnT3O6w9YeK17BaJ+LzxlDc3uu7oIE+xE="; + hash = "sha256-Bd2wWpu7vD2AM2sEkh5VoPnU3TZ5fvjcDIHRjt58edc="; }; patches = [ @@ -166,6 +167,7 @@ stdenv.mkDerivation (finalAttrs: { python3.pkgs.python-dbusmock setxkbmap xorg-server # for Xvfb + glibcLocalesUtf8 ]; doCheck = true; diff --git a/pkgs/by-name/gn/gnome-control-center/paths.patch b/pkgs/by-name/gn/gnome-control-center/paths.patch index 87d8f737ba43..66ebe8687cd9 100644 --- a/pkgs/by-name/gn/gnome-control-center/paths.patch +++ b/pkgs/by-name/gn/gnome-control-center/paths.patch @@ -1,35 +1,27 @@ diff --git a/panels/color/cc-color-panel.c b/panels/color/cc-color-panel.c -index dac0e51..71af3e2 100644 --- a/panels/color/cc-color-panel.c +++ b/panels/color/cc-color-panel.c -@@ -973,7 +973,7 @@ gcm_prefs_profile_view (CcColorPanel *self, CdProfile *profile) +@@ -843,7 +843,7 @@ - /* open up gcm-viewer as a info pane */ - argv = g_ptr_array_new_with_free_func (g_free); -- g_ptr_array_add (argv, g_strdup ("gcm-viewer")); -+ g_ptr_array_add (argv, g_build_filename ("@gcm@", "bin", "gcm-viewer", NULL)); - g_ptr_array_add (argv, g_strdup ("--profile")); - g_ptr_array_add (argv, g_strdup (cd_profile_get_id (profile))); - g_ptr_array_add (argv, g_strdup ("--parent-window")); -@@ -1141,15 +1141,12 @@ gcm_prefs_device_clicked (CcColorPanel *self, CdDevice *device) - static void - gcm_prefs_profile_clicked (CcColorPanel *self, CdProfile *profile, CdDevice *device) - { -- g_autofree gchar *s = NULL; + /* open up gcm-viewer as a info pane */ + argv = g_ptr_array_new_with_free_func (g_free); +- g_ptr_array_add (argv, g_strdup ("gcm-viewer")); ++ g_ptr_array_add (argv, g_build_filename ("@gcm@", "bin", "gcm-viewer", NULL)); + g_ptr_array_add (argv, g_strdup ("--profile")); + g_ptr_array_add (argv, g_strdup (cd_profile_get_id (profile))); + g_ptr_array_add (argv, g_strdup ("--parent-window")); +@@ -1002,9 +1002,7 @@ + + /* allow getting profile info */ + if (filename != NULL) { +- g_autofree gchar *viewer = g_find_program_in_path ("gcm-viewer"); - - /* get profile */ - g_debug ("selected profile = %s", - cd_profile_get_filename (profile)); - - /* allow getting profile info */ -- if (cd_profile_get_filename (profile) != NULL && -- (s = g_find_program_in_path ("gcm-viewer")) != NULL) -+ if (cd_profile_get_filename (profile) != NULL) - gtk_widget_set_sensitive (self->toolbutton_profile_view, TRUE); - else - gtk_widget_set_sensitive (self->toolbutton_profile_view, FALSE); +- gtk_widget_set_sensitive (self->toolbutton_profile_view, viewer != NULL); ++ gtk_widget_set_sensitive (self->toolbutton_profile_view, TRUE); + } else { + gtk_widget_set_sensitive (self->toolbutton_profile_view, FALSE); + } diff --git a/panels/system/datetime/tz.h b/panels/system/datetime/tz.h -index feef165..4b88ef7 100644 --- a/panels/system/datetime/tz.h +++ b/panels/system/datetime/tz.h @@ -27,11 +27,7 @@ @@ -37,98 +29,92 @@ index feef165..4b88ef7 100644 G_BEGIN_DECLS -#ifndef __sun --# define TZ_DATA_FILE "/usr/share/zoneinfo/zone.tab" +-#define TZ_DATA_FILE "/usr/share/zoneinfo/zone.tab" -#else --# define TZ_DATA_FILE "/usr/share/lib/zoneinfo/tab/zone_sun.tab" +-#define TZ_DATA_FILE "/usr/share/lib/zoneinfo/tab/zone_sun.tab" -#endif +#define TZ_DATA_FILE "@tzdata@/share/zoneinfo/zone.tab" typedef struct _TzDB TzDB; typedef struct _TzLocation TzLocation; diff --git a/panels/network/connection-editor/net-connection-editor.c b/panels/network/connection-editor/net-connection-editor.c -index f1cae8d..faee22a 100644 --- a/panels/network/connection-editor/net-connection-editor.c +++ b/panels/network/connection-editor/net-connection-editor.c -@@ -384,7 +384,7 @@ net_connection_editor_do_fallback (NetConnectionEditor *self, const gchar *type) - GPid child_pid; +@@ -358,7 +358,7 @@ + GPid child_pid; - builder = g_strv_builder_new (); -- g_strv_builder_add (builder, "nm-connection-editor"); -+ g_strv_builder_add (builder, "@networkmanagerapplet@/bin/nm-connection-editor"); + builder = g_strv_builder_new (); +- g_strv_builder_add (builder, "nm-connection-editor"); ++ g_strv_builder_add (builder, "@networkmanagerapplet@/bin/nm-connection-editor"); - if (self->is_new_connection) { - g_autofree gchar *type_str = NULL; + if (self->is_new_connection) { + g_autofree gchar *type_str = NULL; diff --git a/panels/network/net-device-mobile.c b/panels/network/net-device-mobile.c -index d0b0206..8276af0 100644 --- a/panels/network/net-device-mobile.c +++ b/panels/network/net-device-mobile.c -@@ -521,7 +521,7 @@ options_button_clicked_cb (NetDeviceMobile *self) +@@ -483,7 +483,7 @@ - connection = net_device_get_find_connection (self->client, self->device); - uuid = nm_connection_get_uuid (connection); -- cmdline = g_strdup_printf ("nm-connection-editor --edit %s", uuid); -+ cmdline = g_strdup_printf ("@networkmanagerapplet@/bin/nm-connection-editor --edit %s", uuid); - g_debug ("Launching '%s'\n", cmdline); - if (!g_spawn_command_line_async (cmdline, &error)) - g_warning ("Failed to launch nm-connection-editor: %s", error->message); -@@ -810,7 +810,7 @@ net_device_mobile_init (NetDeviceMobile *self) + connection = net_device_get_find_connection (self->client, self->device); + uuid = nm_connection_get_uuid (connection); +- cmdline = g_strdup_printf ("nm-connection-editor --edit %s", uuid); ++ cmdline = g_strdup_printf ("@networkmanagerapplet@/bin/nm-connection-editor --edit %s", uuid); + g_debug ("Launching '%s'\n", cmdline); + if (!g_spawn_command_line_async (cmdline, &error)) + g_warning ("Failed to launch nm-connection-editor: %s", error->message); +@@ -716,7 +716,7 @@ - self->cancellable = g_cancellable_new (); + self->cancellable = g_cancellable_new (); -- path = g_find_program_in_path ("nm-connection-editor"); -+ path = g_find_program_in_path ("@networkmanagerapplet@/bin/nm-connection-editor"); - gtk_widget_set_visible (GTK_WIDGET (self->options_button), path != NULL); +- path = g_find_program_in_path ("nm-connection-editor"); ++ path = g_find_program_in_path ("@networkmanagerapplet@/bin/nm-connection-editor"); + gtk_widget_set_visible (GTK_WIDGET (self->options_button), path != NULL); } diff --git a/panels/printers/pp-host.c b/panels/printers/pp-host.c -index a31a606..ed5133d 100644 --- a/panels/printers/pp-host.c +++ b/panels/printers/pp-host.c -@@ -256,7 +256,7 @@ _pp_host_get_snmp_devices_thread (GTask *task, - devices = g_ptr_array_new_with_free_func (g_object_unref); +@@ -214,7 +214,7 @@ + devices = g_ptr_array_new_with_free_func (g_object_unref); - argv = g_new0 (gchar *, 3); -- argv[0] = g_strdup ("/usr/lib/cups/backend/snmp"); -+ argv[0] = g_strdup ("@cups@/lib/cups/backend/snmp"); - argv[1] = g_strdup (priv->hostname); + argv = g_new0 (gchar *, 3); +- argv[0] = g_strdup ("/usr/lib/cups/backend/snmp"); ++ argv[0] = g_strdup ("@cups@/lib/cups/backend/snmp"); + argv[1] = g_strdup (priv->hostname); - /* Use SNMP to get printer's informations */ + /* Use SNMP to get printer's informations */ diff --git a/panels/system/users/run-passwd.c b/panels/system/users/run-passwd.c -index fb9efc6..452486a 100644 --- a/panels/system/users/run-passwd.c +++ b/panels/system/users/run-passwd.c -@@ -152,7 +152,7 @@ spawn_passwd (PasswdHandler *passwd_handler, GError **error) - gchar **envp; - gint my_stdin, my_stdout; +@@ -144,7 +144,7 @@ + gchar **envp; + gint my_stdin, my_stdout; -- argv[0] = "/usr/bin/passwd"; /* Is it safe to rely on a hard-coded path? */ -+ argv[0] = "/run/wrappers/bin/passwd"; /* Is it safe to rely on a hard-coded path? */ - argv[1] = NULL; +- argv[0] = "/usr/bin/passwd"; /* Is it safe to rely on a hard-coded path? */ ++ argv[0] = "/run/wrappers/bin/passwd"; /* Is it safe to rely on a hard-coded path? */ + argv[1] = NULL; - envp = g_get_environ (); + envp = g_get_environ (); diff --git a/panels/system/users/user-utils.c b/panels/system/users/user-utils.c -index 16dc79e..f543e7b 100644 --- a/panels/system/users/user-utils.c +++ b/panels/system/users/user-utils.c -@@ -217,7 +217,7 @@ is_valid_username_async (const gchar *username, - * future, so it would be nice to have some official way for this - * instead of relying on the current "--login" implementation. - */ -- argv[0] = "/usr/sbin/usermod"; -+ argv[0] = "@shadow@/bin/usermod"; - argv[1] = "--login"; - argv[2] = data->username; - argv[3] = "--"; +@@ -211,7 +211,7 @@ + * future, so it would be nice to have some official way for this + * instead of relying on the current "--login" implementation. + */ +- argv[0] = "/usr/sbin/usermod"; ++ argv[0] = "@shadow@/bin/usermod"; + argv[1] = "--login"; + argv[2] = data->username; + argv[3] = "--"; diff --git a/tests/datetime/test-endianess.c b/tests/datetime/test-endianess.c -index 9cb9200..84d2f0f 100644 --- a/tests/datetime/test-endianess.c +++ b/tests/datetime/test-endianess.c -@@ -26,7 +26,7 @@ test_endianess (void) - g_autoptr(GDir) dir = NULL; - const char *name; +@@ -26,7 +26,7 @@ + g_autoptr(GDir) dir = NULL; + const char *name; -- dir = g_dir_open ("/usr/share/i18n/locales/", 0, NULL); -+ dir = g_dir_open ("@glibc@/share/i18n/locales/", 0, NULL); - if (dir == NULL) { - /* Try with /usr/share/locale/ - * https://bugzilla.gnome.org/show_bug.cgi?id=646780 */ +- dir = g_dir_open ("/usr/share/i18n/locales/", 0, NULL); ++ dir = g_dir_open ("@glibc@/share/i18n/locales/", 0, NULL); + if (dir == NULL) { + /* Try with /usr/share/locale/ + * https://bugzilla.gnome.org/show_bug.cgi?id=646780 */ From 8a7e1abf053986ebc241bdfe642f61ba1e8b54d8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marco=20=22Capypara=22=20K=C3=B6pcke?= Date: Mon, 7 Sep 2026 17:54:49 +0000 Subject: [PATCH 1816/2378] gnome-desktop: 44.5 -> 51.alpha https://gitlab.gnome.org/GNOME/gnome-desktop/-/compare/44.5...51.alpha --- pkgs/by-name/gn/gnome-desktop/package.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/by-name/gn/gnome-desktop/package.nix b/pkgs/by-name/gn/gnome-desktop/package.nix index 53bd7c4007aa..8d4298f99ea5 100644 --- a/pkgs/by-name/gn/gnome-desktop/package.nix +++ b/pkgs/by-name/gn/gnome-desktop/package.nix @@ -30,7 +30,7 @@ stdenv.mkDerivation (finalAttrs: { pname = "gnome-desktop"; - version = "44.5"; + version = "51.alpha"; outputs = [ "out" @@ -40,7 +40,7 @@ stdenv.mkDerivation (finalAttrs: { src = fetchurl { url = "mirror://gnome/sources/gnome-desktop/${lib.versions.major finalAttrs.version}/gnome-desktop-${finalAttrs.version}.tar.xz"; - sha256 = "sha256-IOCZWm46A+jBAmxaJ7w/Reaf/MOSrXQ9yrYQelQdIy8="; + sha256 = "sha256-ik0JYY/siP/xVJ5bgKxBd276zLjWXbP7dzRbU5SBmTI="; }; patches = lib.optionals stdenv.hostPlatform.isLinux [ From 373a8e057cfe3b563156142c9bae08d3ec2d3354 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marco=20=22Capypara=22=20K=C3=B6pcke?= Date: Mon, 7 Sep 2026 17:55:01 +0000 Subject: [PATCH 1817/2378] gnome-initial-setup: 50.1 -> 51.rc https://gitlab.gnome.org/GNOME/gnome-initial-setup/-/compare/50.1...51.rc --- .../gnome-initial-setup/0001-fix-paths.patch | 36 ++++--------------- .../gn/gnome-initial-setup/package.nix | 4 +-- 2 files changed, 9 insertions(+), 31 deletions(-) diff --git a/pkgs/by-name/gn/gnome-initial-setup/0001-fix-paths.patch b/pkgs/by-name/gn/gnome-initial-setup/0001-fix-paths.patch index f429b4830144..40b8649db98d 100644 --- a/pkgs/by-name/gn/gnome-initial-setup/0001-fix-paths.patch +++ b/pkgs/by-name/gn/gnome-initial-setup/0001-fix-paths.patch @@ -1,32 +1,14 @@ -From 1ae0eca39ba6af27f37e2fe81395b91a2761a408 Mon Sep 17 00:00:00 2001 -Message-Id: <1ae0eca39ba6af27f37e2fe81395b91a2761a408.1600627676.git-series.worldofpeace@protonmail.ch> -From: WORLDofPEACE -Date: Sun, 20 Sep 2020 14:46:59 -0400 -Subject: [PATCH] fix paths - ---- - gnome-initial-setup/pages/keyboard/cc-input-chooser.c | 6 +++--- - gnome-initial-setup/pages/timezone/tz.h | 4 ++-- - 3 files changed, 5 insertions(+), 5 deletions(-) - -diff --git a/gnome-initial-setup/pages/keyboard/cc-input-chooser.c b/gnome-initial-setup/pages/keyboard/cc-input-chooser.c -index 196abf6..613d0e5 100644 --- a/gnome-initial-setup/pages/keyboard/cc-input-chooser.c +++ b/gnome-initial-setup/pages/keyboard/cc-input-chooser.c -@@ -177,9 +177,9 @@ preview_cb (GtkLabel *label, - return TRUE; - - if (variant[0]) -- commandline = g_strdup_printf ("tecla \"%s+%s\"", layout, variant); -+ commandline = g_strdup_printf ("@tecla@/bin/tecla \"%s+%s\"", layout, variant); +@@ -185,7 +185,7 @@ else -- commandline = g_strdup_printf ("tecla %s", layout); -+ commandline = g_strdup_printf ("@tecla@/bin/tecla %s", layout); - g_spawn_command_line_async (commandline, NULL); - g_free (commandline); + layout_variant = g_strdup (layout); + +- argv[0] = "tecla"; ++ argv[0] = "@tecla@/bin/tecla"; + argv[1] = layout_variant; + argv[2] = NULL; -diff --git a/gnome-initial-setup/pages/timezone/tz.h b/gnome-initial-setup/pages/timezone/tz.h -index a2376f8..5cb7bc9 100644 --- a/gnome-initial-setup/pages/timezone/tz.h +++ b/gnome-initial-setup/pages/timezone/tz.h @@ -28,7 +28,7 @@ @@ -38,7 +20,3 @@ index a2376f8..5cb7bc9 100644 #else # define TZ_DATA_FILE "/usr/share/lib/zoneinfo/tab/zone_sun.tab" #endif - -base-commit: 5132e206a6bf81964450561d68473ac015760455 --- -git-series 0.9.1 diff --git a/pkgs/by-name/gn/gnome-initial-setup/package.nix b/pkgs/by-name/gn/gnome-initial-setup/package.nix index 734644ba3fd6..687d9d33bd6f 100644 --- a/pkgs/by-name/gn/gnome-initial-setup/package.nix +++ b/pkgs/by-name/gn/gnome-initial-setup/package.nix @@ -37,11 +37,11 @@ stdenv.mkDerivation (finalAttrs: { pname = "gnome-initial-setup"; - version = "50.1"; + version = "51.rc"; src = fetchurl { url = "mirror://gnome/sources/gnome-initial-setup/${lib.versions.major finalAttrs.version}/gnome-initial-setup-${finalAttrs.version}.tar.xz"; - hash = "sha256-su0FI1iW9H9VJJirWrKfVQHmqMQe5kXyqRhiCx3pHmA="; + hash = "sha256-EFegQJQGgl6tm1MW3lANnkgHH54V5WC/ourqLhpEgNM="; }; patches = [ From bbe3d29c19bff3fd2aaca652a46b48e4fd330447 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marco=20=22Capypara=22=20K=C3=B6pcke?= Date: Mon, 7 Sep 2026 17:55:13 +0000 Subject: [PATCH 1818/2378] gnome-maps: 50.3 -> 51.rc https://gitlab.gnome.org/GNOME/gnome-maps/-/compare/50.3...51.rc --- pkgs/by-name/gn/gnome-maps/package.nix | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/pkgs/by-name/gn/gnome-maps/package.nix b/pkgs/by-name/gn/gnome-maps/package.nix index 9471f41ecf3b..5627e412e360 100644 --- a/pkgs/by-name/gn/gnome-maps/package.nix +++ b/pkgs/by-name/gn/gnome-maps/package.nix @@ -27,15 +27,18 @@ geocode-glib_2, tzdata, writeText, + sqlite, }: stdenv.mkDerivation (finalAttrs: { pname = "gnome-maps"; - version = "50.3"; + version = "51.rc"; + + strictDeps = true; src = fetchurl { url = "mirror://gnome/sources/gnome-maps/${lib.versions.major finalAttrs.version}/gnome-maps-${finalAttrs.version}.tar.xz"; - hash = "sha256-CJyo4Vq9cqyD2zhs7xnOveBe74t26qyBkGpLBTVUTiw="; + hash = "sha256-e4rRxNaNZwL63LWuk1NTByRK6rsBXEosL4ZctFGtdLo="; }; doCheck = !stdenv.hostPlatform.isDarwin; @@ -69,6 +72,7 @@ stdenv.mkDerivation (finalAttrs: { librest libsecret libsoup_3 + sqlite ]; mesonFlags = [ From d1fa76a82ab62fff8f5bf7a5c08ebfe194ab7eb9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marco=20=22Capypara=22=20K=C3=B6pcke?= Date: Mon, 7 Sep 2026 17:55:45 +0000 Subject: [PATCH 1819/2378] gnome-remote-desktop: 50.2 -> 51.rc https://gitlab.gnome.org/GNOME/gnome-remote-desktop/-/compare/50.2...51.rc --- pkgs/by-name/gn/gnome-remote-desktop/package.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/by-name/gn/gnome-remote-desktop/package.nix b/pkgs/by-name/gn/gnome-remote-desktop/package.nix index 15d17bd37689..35f3514b56df 100644 --- a/pkgs/by-name/gn/gnome-remote-desktop/package.nix +++ b/pkgs/by-name/gn/gnome-remote-desktop/package.nix @@ -35,11 +35,11 @@ stdenv.mkDerivation (finalAttrs: { pname = "gnome-remote-desktop"; - version = "50.2"; + version = "51.rc"; src = fetchurl { url = "mirror://gnome/sources/gnome-remote-desktop/${lib.versions.major finalAttrs.version}/gnome-remote-desktop-${finalAttrs.version}.tar.xz"; - hash = "sha256-Md9ij0ETVz8Tb/yNwAF2Ou1jPNhb7SHli8YfihffCR8="; + hash = "sha256-zwHxTzXfB86OikRj+xC8ELpoV+J4KRF6RQ/qQpIDrm8="; }; nativeBuildInputs = [ From a42343b9fb8d0026ed4317c5455e55272eadfaf5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marco=20=22Capypara=22=20K=C3=B6pcke?= Date: Mon, 7 Sep 2026 17:55:58 +0000 Subject: [PATCH 1820/2378] gnome-session: 50.1 -> 51.rc https://gitlab.gnome.org/GNOME/gnome-session/-/compare/50.1...51.rc --- pkgs/by-name/gn/gnome-session/package.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/by-name/gn/gnome-session/package.nix b/pkgs/by-name/gn/gnome-session/package.nix index 2ae9f47e8790..39d0b71a077a 100644 --- a/pkgs/by-name/gn/gnome-session/package.nix +++ b/pkgs/by-name/gn/gnome-session/package.nix @@ -27,7 +27,7 @@ stdenv.mkDerivation (finalAttrs: { pname = "gnome-session"; # Also bump ./ctl.nix when bumping major version. - version = "50.1"; + version = "51.rc"; outputs = [ "out" @@ -36,7 +36,7 @@ stdenv.mkDerivation (finalAttrs: { src = fetchurl { url = "mirror://gnome/sources/gnome-session/${lib.versions.major finalAttrs.version}/gnome-session-${finalAttrs.version}.tar.xz"; - hash = "sha256-Yom2r6RNPkyZnOV2H/iywQujCfVflCXysT+YIIyB9vs="; + hash = "sha256-DO4CZpjmr3m0HG7TKp/cy/L2fpKxV7F6BG7FpkPxEuU="; }; patches = [ From a872165466b012ee0cf3f8f57147feb8ba6571ec Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marco=20=22Capypara=22=20K=C3=B6pcke?= Date: Mon, 7 Sep 2026 17:56:11 +0000 Subject: [PATCH 1821/2378] gnome-settings-daemon: 50.1 -> 51.rc https://gitlab.gnome.org/GNOME/gnome-settings-daemon/-/compare/50.1...51.rc --- pkgs/by-name/gn/gnome-settings-daemon/package.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/by-name/gn/gnome-settings-daemon/package.nix b/pkgs/by-name/gn/gnome-settings-daemon/package.nix index c340ef7f278a..6955a03278b3 100644 --- a/pkgs/by-name/gn/gnome-settings-daemon/package.nix +++ b/pkgs/by-name/gn/gnome-settings-daemon/package.nix @@ -42,14 +42,14 @@ stdenv.mkDerivation (finalAttrs: { pname = "gnome-settings-daemon"; - version = "50.1"; + version = "51.rc"; __structuredAttrs = true; strictDeps = true; src = fetchurl { url = "mirror://gnome/sources/gnome-settings-daemon/${lib.versions.major finalAttrs.version}/gnome-settings-daemon-${finalAttrs.version}.tar.xz"; - hash = "sha256-3SyXMJFPDs7KAindiowpQKV93rCAJDRVjUsWTXnP4Fw="; + hash = "sha256-RZNEiHZ9Tjz9FLFVf+2POoPLVPb/TUyyCY2d+Eanyxw="; }; patches = [ From 1a2ce25f40fceac09f33f66f9e29f33cee46638a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marco=20=22Capypara=22=20K=C3=B6pcke?= Date: Mon, 7 Sep 2026 17:56:23 +0000 Subject: [PATCH 1822/2378] gnome-shell: 50.4 -> 51.rc https://gitlab.gnome.org/GNOME/gnome-shell/-/compare/50.4...51.rc --- .../gn/gnome-shell/greeter-logo-size.patch | 12 +++++----- pkgs/by-name/gn/gnome-shell/package.nix | 24 ++++++++++--------- 2 files changed, 19 insertions(+), 17 deletions(-) diff --git a/pkgs/by-name/gn/gnome-shell/greeter-logo-size.patch b/pkgs/by-name/gn/gnome-shell/greeter-logo-size.patch index 93965a475216..89142594f667 100644 --- a/pkgs/by-name/gn/gnome-shell/greeter-logo-size.patch +++ b/pkgs/by-name/gn/gnome-shell/greeter-logo-size.patch @@ -2,15 +2,15 @@ diff --git a/js/gdm/loginDialog.js b/js/gdm/loginDialog.js index 28db1a9de..805b686bf 100644 --- a/js/gdm/loginDialog.js +++ b/js/gdm/loginDialog.js -@@ -46,6 +46,7 @@ const _FADE_ANIMATION_TIME = 250; - const _SCROLL_ANIMATION_TIME = 500; - const _TIMED_LOGIN_IDLE_THRESHOLD = 5.0; +@@ -52,6 +52,7 @@ const _CONFLICTING_SESSION_DIALOG_TIMEOUT = 60; + const _PRIMARY_LOGIN_METHOD_SECTION_NAME = _('Login Options'); + const _SESSION_TYPE_SECTION_NAME = _('Session Type'); +const _LOGO_ICON_HEIGHT = 48; - export const UserListItem = GObject.registerClass({ - Signals: {'activate': {}}, -@@ -908,7 +909,7 @@ export const LoginDialog = GObject.registerClass({ + const N_A11Y_MENU_COLUMNS = 2; + +@@ -957,7 +958,7 @@ const scaleFactor = St.ThemeContext.get_for_stage(global.stage).scale_factor; const texture = this._textureCache.load_file_async( this._logoFile, diff --git a/pkgs/by-name/gn/gnome-shell/package.nix b/pkgs/by-name/gn/gnome-shell/package.nix index 5e43836fbfa1..7ffdb744f407 100644 --- a/pkgs/by-name/gn/gnome-shell/package.nix +++ b/pkgs/by-name/gn/gnome-shell/package.nix @@ -24,7 +24,6 @@ librsvg, webp-pixbuf-loader, geoclue2, - desktop-file-utils, libpulseaudio, libical, gobject-introspection, @@ -39,7 +38,6 @@ libnma-gtk4, gnome-desktop, gsettings-desktop-schemas, - gnome-keyring, glib, gjs, mutter, @@ -49,6 +47,7 @@ sassc, systemd, pipewire, + libgudev, gst_all_1, adwaita-icon-theme, glycin-loaders, @@ -66,6 +65,8 @@ libsoup_3, libxml2, webkitgtk_6_0, + cairo, + libglycin, }: let @@ -73,7 +74,7 @@ let in stdenv.mkDerivation (finalAttrs: { pname = "gnome-shell"; - version = "50.4"; + version = "51.rc"; outputs = [ "out" @@ -82,7 +83,7 @@ stdenv.mkDerivation (finalAttrs: { src = fetchurl { url = "mirror://gnome/sources/gnome-shell/${lib.versions.major finalAttrs.version}/gnome-shell-${finalAttrs.version}.tar.xz"; - hash = "sha256-xTGTlTnbMWpBrvI2cDcKvRMw0yVPhLyw+fTa5dbjYs8="; + hash = "sha256-uxjNSkxXruWxqjImDYiGm8GKqb8kA8bTR02SYZSeOVI="; }; patches = [ @@ -108,10 +109,10 @@ stdenv.mkDerivation (finalAttrs: { # Reverts https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/1101 ./greeter-logo-size.patch - # Work around failing fingerprint auth + # Fixes build: https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/4384 (fetchpatch { - url = "https://src.fedoraproject.org/rpms/gnome-shell/raw/dcd112d9708954187e7490564c2229d82ba5326f/f/0001-gdm-Work-around-failing-fingerprint-auth.patch"; - hash = "sha256-mgXty5HhiwUO1UV3/eDgWtauQKM0cRFQ0U7uocST25s="; + url = "https://gitlab.gnome.org/GNOME/gnome-shell/-/commit/877b7dd14fa36a1b3810034bdfd05425be2e1817.patch"; + hash = "sha256-klScQaVL71eJzmbzMGAKpc5HtnDFc3074MjeMP1ie6Y="; }) ]; @@ -124,7 +125,6 @@ stdenv.mkDerivation (finalAttrs: { gi-docgen wrapGAppsHook4 sassc - desktop-file-utils libxslt.bin gobject-introspection ]; @@ -132,7 +132,6 @@ stdenv.mkDerivation (finalAttrs: { buildInputs = [ systemd gsettings-desktop-schemas - gnome-keyring glib gcr_4 accountsservice @@ -166,6 +165,9 @@ stdenv.mkDerivation (finalAttrs: { libxkbcommon libsoup_3 libxml2 + cairo + json-glib + libglycin # recording pipewire @@ -174,6 +176,7 @@ stdenv.mkDerivation (finalAttrs: { gst_all_1.gst-plugins-good # not declared at build time, but typelib is needed at runtime + libgudev libgweather libnma-gtk4 webkitgtk_6_0 # for gnome-shell-portal-helper @@ -181,7 +184,6 @@ stdenv.mkDerivation (finalAttrs: { # for gnome-extension tool bash-completion gnome-autoar - json-glib # for tools pythonEnv @@ -201,7 +203,7 @@ stdenv.mkDerivation (finalAttrs: { rm -f man/gnome-shell.1 rm data/theme/gnome-shell-{light,dark}.css - substituteInPlace meson.build subprojects/extensions-app/meson.build \ + substituteInPlace meson.build \ --replace-fail "gjs = find_program('gjs')" "gjs = find_program('${lib.getExe gjs}')" ''; From b70657400d5362de42e5b1e2c1ae756c2777b83d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marco=20=22Capypara=22=20K=C3=B6pcke?= Date: Mon, 7 Sep 2026 17:56:35 +0000 Subject: [PATCH 1823/2378] gnome-software: 50.3 -> 51.rc https://gitlab.gnome.org/GNOME/gnome-software/-/compare/50.3...51.rc --- pkgs/by-name/gn/gnome-software/package.nix | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/pkgs/by-name/gn/gnome-software/package.nix b/pkgs/by-name/gn/gnome-software/package.nix index b66d27c741bc..97c20ebcc57c 100644 --- a/pkgs/by-name/gn/gnome-software/package.nix +++ b/pkgs/by-name/gn/gnome-software/package.nix @@ -31,6 +31,7 @@ malcontent, json-glib, glib-networking, + glib-testing, libsecret, valgrind-light, docbook-xsl-nons, @@ -48,11 +49,11 @@ in stdenv.mkDerivation (finalAttrs: { pname = "gnome-software"; - version = "50.3"; + version = "51.rc"; src = fetchurl { url = "mirror://gnome/sources/gnome-software/${lib.versions.major finalAttrs.version}/gnome-software-${finalAttrs.version}.tar.xz"; - hash = "sha256-sTGOaPArs5AvzY+QTVbwP1NOpQmPZeTGu5wskk2n+CM="; + hash = "sha256-EOIAWJus1VESHU6AUXTnsCcUlaFliRef1Nu1Bzjy6Tc="; }; patches = [ @@ -82,6 +83,7 @@ stdenv.mkDerivation (finalAttrs: { gtk4 glib glib-networking + glib-testing packagekit appstream libsoup_3 From 828fbbf43632555510a749f77bf4a38d9f606789 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marco=20=22Capypara=22=20K=C3=B6pcke?= Date: Mon, 7 Sep 2026 17:56:47 +0000 Subject: [PATCH 1824/2378] gnome-system-monitor: 50.0 -> 51.rc https://gitlab.gnome.org/GNOME/gnome-system-monitor/-/compare/50.0...51.rc --- pkgs/by-name/gn/gnome-system-monitor/package.nix | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/pkgs/by-name/gn/gnome-system-monitor/package.nix b/pkgs/by-name/gn/gnome-system-monitor/package.nix index ee47dd258239..f68369b4cfa0 100644 --- a/pkgs/by-name/gn/gnome-system-monitor/package.nix +++ b/pkgs/by-name/gn/gnome-system-monitor/package.nix @@ -6,7 +6,6 @@ pkg-config, gtkmm4, bash, - catch2_3, gtk4, libadwaita, glib, @@ -25,11 +24,11 @@ stdenv.mkDerivation (finalAttrs: { pname = "gnome-system-monitor"; - version = "50.0"; + version = "51.rc"; src = fetchurl { url = "mirror://gnome/sources/gnome-system-monitor/${lib.versions.major finalAttrs.version}/gnome-system-monitor-${finalAttrs.version}.tar.xz"; - hash = "sha256-pBOKp1S0WExG3pH60daF4nsSvCRX3nYYY7a+AthMSGI="; + hash = "sha256-eWf+Iw0zWRzTPCaN9dAaA1oIJtTS8O2P65EG8PR2BL0="; }; patches = [ @@ -49,7 +48,6 @@ stdenv.mkDerivation (finalAttrs: { buildInputs = [ bash - catch2_3 gtk4 libadwaita glib From 9eeb317b5fc8e3b5b71ee95f63efb62dee5da25e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marco=20=22Capypara=22=20K=C3=B6pcke?= Date: Mon, 7 Sep 2026 17:56:58 +0000 Subject: [PATCH 1825/2378] gnome-tecla: 50.0 -> 51.beta https://gitlab.gnome.org/GNOME/tecla/-/compare/50.0...51.beta --- pkgs/by-name/gn/gnome-tecla/package.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/by-name/gn/gnome-tecla/package.nix b/pkgs/by-name/gn/gnome-tecla/package.nix index cd095dddf795..7457e6697b34 100644 --- a/pkgs/by-name/gn/gnome-tecla/package.nix +++ b/pkgs/by-name/gn/gnome-tecla/package.nix @@ -16,11 +16,11 @@ stdenv.mkDerivation (finalAttrs: { pname = "tecla"; - version = "50.0"; + version = "51.beta"; src = fetchurl { url = "mirror://gnome/sources/tecla/${lib.versions.major finalAttrs.version}/tecla-${finalAttrs.version}.tar.xz"; - hash = "sha256-JUKsskhQCC4Mz2qhevllHbcdIvDiM/2/XtDP/i5FvAY="; + hash = "sha256-7Je/lzDiMHsqOTbxbOkDaEh9I/3F4wg8sHJozEWBP7g="; }; nativeBuildInputs = [ From c7dad38a02939dcd2292dd281de851867b800798 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marco=20=22Capypara=22=20K=C3=B6pcke?= Date: Mon, 7 Sep 2026 17:57:10 +0000 Subject: [PATCH 1826/2378] gnome-text-editor: 50.1 -> 51.beta https://gitlab.gnome.org/GNOME/gnome-text-editor/-/compare/50.1...51.beta --- pkgs/by-name/gn/gnome-text-editor/package.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/by-name/gn/gnome-text-editor/package.nix b/pkgs/by-name/gn/gnome-text-editor/package.nix index 8c8fb7beaaaf..2efb3e013fde 100644 --- a/pkgs/by-name/gn/gnome-text-editor/package.nix +++ b/pkgs/by-name/gn/gnome-text-editor/package.nix @@ -23,11 +23,11 @@ stdenv.mkDerivation (finalAttrs: { pname = "gnome-text-editor"; - version = "50.1"; + version = "51.beta"; src = fetchurl { url = "mirror://gnome/sources/gnome-text-editor/${lib.versions.major finalAttrs.version}/gnome-text-editor-${finalAttrs.version}.tar.xz"; - hash = "sha256-9oA2sJ03j6qIO/6Tbkecb/NwJ8L/7RAdr5Et9wxR0OY="; + hash = "sha256-VYjdmb6/JzaTYf8f2h2zdXAZntoWXlXQ0zIZfBtUAnQ="; }; nativeBuildInputs = [ From de49fb47adaba3f584796c88f296abce70611e9d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marco=20=22Capypara=22=20K=C3=B6pcke?= Date: Mon, 7 Sep 2026 17:57:32 +0000 Subject: [PATCH 1827/2378] gnome-user-docs: 50.4 -> 51.beta https://gitlab.gnome.org/GNOME/gnome-user-docs/-/compare/50.4...51.beta --- pkgs/by-name/gn/gnome-user-docs/package.nix | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/pkgs/by-name/gn/gnome-user-docs/package.nix b/pkgs/by-name/gn/gnome-user-docs/package.nix index 3a55e12ccb93..25dd4c88be7b 100644 --- a/pkgs/by-name/gn/gnome-user-docs/package.nix +++ b/pkgs/by-name/gn/gnome-user-docs/package.nix @@ -6,22 +6,28 @@ gnome, itstool, libxml2, + meson, + ninja, yelp-tools, }: stdenv.mkDerivation (finalAttrs: { pname = "gnome-user-docs"; - version = "50.4"; + version = "51.beta"; src = fetchurl { url = "mirror://gnome/sources/gnome-user-docs/${lib.versions.major finalAttrs.version}/gnome-user-docs-${finalAttrs.version}.tar.xz"; - hash = "sha256-zYdoQ1NDY1uy3P9pygORZxVTJGnEZd9IBMN63ZihNJc="; + hash = "sha256-rXb0QIkQ/th/39sLJMYFaK2nFkXr6Rl8q+KzpSHlrWQ="; }; + strictDeps = true; + nativeBuildInputs = [ gettext itstool libxml2 + meson + ninja yelp-tools ]; From b9c2e92c5ec07de53f513083de62767fd3eb55d4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marco=20=22Capypara=22=20K=C3=B6pcke?= Date: Mon, 7 Sep 2026 17:58:11 +0000 Subject: [PATCH 1828/2378] gsettings-desktop-schemas: 50.1 -> 51.rc https://gitlab.gnome.org/GNOME/gsettings-desktop-schemas/-/compare/50.1...51.rc --- pkgs/by-name/gs/gsettings-desktop-schemas/package.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/by-name/gs/gsettings-desktop-schemas/package.nix b/pkgs/by-name/gs/gsettings-desktop-schemas/package.nix index bcff3cd981a2..1a4fd75bcb6c 100644 --- a/pkgs/by-name/gs/gsettings-desktop-schemas/package.nix +++ b/pkgs/by-name/gs/gsettings-desktop-schemas/package.nix @@ -17,11 +17,11 @@ stdenv.mkDerivation rec { pname = "gsettings-desktop-schemas"; - version = "50.1"; + version = "51.rc"; src = fetchurl { url = "mirror://gnome/sources/gsettings-desktop-schemas/${lib.versions.major version}/gsettings-desktop-schemas-${version}.tar.xz"; - hash = "sha256-CiqiUIJnJYXRb82rYcew4z8DX7h0dlBceU8pVlr6SFs="; + hash = "sha256-TrFukxXPEYL6UKS9Se6YvsJT142wETzUFkTMDJolri4="; }; strictDeps = true; From e8aa814474fededf3b0cc2b8f1f6846451432c49 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marco=20=22Capypara=22=20K=C3=B6pcke?= Date: Mon, 7 Sep 2026 17:58:36 +0000 Subject: [PATCH 1829/2378] gst-thumbnailers: 1.0.0 -> 1.1.0 --- pkgs/by-name/gs/gst-thumbnailers/package.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pkgs/by-name/gs/gst-thumbnailers/package.nix b/pkgs/by-name/gs/gst-thumbnailers/package.nix index 939c0567e5e3..cc3015ca39f3 100644 --- a/pkgs/by-name/gs/gst-thumbnailers/package.nix +++ b/pkgs/by-name/gs/gst-thumbnailers/package.nix @@ -21,19 +21,19 @@ stdenv.mkDerivation (finalAttrs: { pname = "gst-thumbnailers"; - version = "1.0.0"; + version = "1.1.0"; src = fetchFromGitLab { domain = "gitlab.gnome.org"; owner = "GNOME"; repo = "gst-thumbnailers"; tag = finalAttrs.version; - hash = "sha256-QxOdjtPnX4ulGsenASQzKJckbIqfSU7FeR+iW1ZL878="; + hash = "sha256-LWQ8a4sMz3XalPuToSlOOWczqQsEwVs+UUEid+nTWO4="; }; cargoDeps = rustPlatform.fetchCargoVendor { inherit (finalAttrs) pname version src; - hash = "sha256-irXwoGGcVeZza02Ob5HTkeTBD3PaXmfJ4vuqXk9BadA="; + hash = "sha256-+smvLJ+Zz1uM39f6inZitJaz2CWKDwYOynJI00OPFSg="; }; nativeBuildInputs = [ From 394e4a8395387e12811f5d5ef9e19398f73891c7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marco=20=22Capypara=22=20K=C3=B6pcke?= Date: Mon, 7 Sep 2026 17:59:08 +0000 Subject: [PATCH 1830/2378] gtk4: 4.22.4 -> 4.23.4 https://gitlab.gnome.org/GNOME/gtk/-/compare/4.22.4...4.23.4 --- pkgs/by-name/gt/gtk4/package.nix | 23 ++--------------------- 1 file changed, 2 insertions(+), 21 deletions(-) diff --git a/pkgs/by-name/gt/gtk4/package.nix b/pkgs/by-name/gt/gtk4/package.nix index e3ad4dbb9358..f3ef64009500 100644 --- a/pkgs/by-name/gt/gtk4/package.nix +++ b/pkgs/by-name/gt/gtk4/package.nix @@ -4,7 +4,6 @@ buildPackages, replaceVars, fetchurl, - fetchpatch, pkg-config, docutils, gettext, @@ -76,7 +75,7 @@ in stdenv.mkDerivation (finalAttrs: { pname = "gtk4"; - version = "4.22.4"; + version = "4.23.4"; outputs = [ "out" @@ -92,22 +91,9 @@ stdenv.mkDerivation (finalAttrs: { src = fetchurl { url = "mirror://gnome/sources/gtk/${lib.versions.majorMinor finalAttrs.version}/gtk-${finalAttrs.version}.tar.xz"; - hash = "sha256-Ub2fYMfSOmZaVWxzZMIfsuTiglZrPn4JJFXo+RAzCJM="; + hash = "sha256-Wd9xJEzyBgG0JdGhOyp+gFuFTTteEa0l9/mOYTz8W60="; }; - patches = [ - (fetchpatch { - name = "fix-32bit-VkImage-null.patch"; - url = "https://gitlab.gnome.org/GNOME/gtk/-/commit/10d43de8f4f942cb591ada3103474bd7213425f1.patch"; - hash = "sha256-DJIL6M3XcsjBoMO77OxNi84d1DxAphAfot3N7Nq1QqQ="; - }) - (fetchpatch { - name = "gtkapplication-wayland-null-check.patch"; - url = "https://gitlab.gnome.org/GNOME/gtk/-/commit/221cd8e1904f2ca35d89dff3c1068616c6ce588c.patch"; - hash = "sha256-SLMmWDZ2mLXW3/GJfFdoszthNg4Hd15yvZO2XOld4Uw="; - }) - ]; - depsBuildBuild = [ pkg-config ]; @@ -261,11 +247,6 @@ stdenv.mkDerivation (finalAttrs: { moveToOutput bin/gtk4-update-icon-cache "$out" # Launcher moveToOutput bin/gtk-launch "$out" - - # TODO: patch glib directly - for f in $dev/bin/gtk4-encode-symbolic-svg; do - wrapProgram $f --prefix XDG_DATA_DIRS : "${shared-mime-info}/share" - done '' + lib.optionalString broadwaySupport '' # Broadway daemon From 32c068fe2e1a34990953af5741615786ef5ced1c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marco=20=22Capypara=22=20K=C3=B6pcke?= Date: Mon, 7 Sep 2026 17:59:20 +0000 Subject: [PATCH 1831/2378] gtkmm4: 4.22.0 -> 4.23.2 https://gitlab.gnome.org/GNOME/gtkmm/-/compare/4.22.0...4.23.2 --- pkgs/by-name/gt/gtkmm4/package.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/by-name/gt/gtkmm4/package.nix b/pkgs/by-name/gt/gtkmm4/package.nix index f68769073f25..3f7f4bf5d709 100644 --- a/pkgs/by-name/gt/gtkmm4/package.nix +++ b/pkgs/by-name/gt/gtkmm4/package.nix @@ -19,7 +19,7 @@ stdenv.mkDerivation (finalAttrs: { pname = "gtkmm"; - version = "4.22.0"; + version = "4.23.2"; outputs = [ "out" @@ -28,7 +28,7 @@ stdenv.mkDerivation (finalAttrs: { src = fetchurl { url = "mirror://gnome/sources/gtkmm/${lib.versions.majorMinor finalAttrs.version}/gtkmm-${finalAttrs.version}.tar.xz"; - hash = "sha256-LoohtLByX2IOM6ruDNND7RIbUzJ1tjKJZhmxyJ6W3mc="; + hash = "sha256-ZWLeB3/XqU6fsSW84mSZtQeIyuJUGwN9TE++I/C+Ek0="; }; nativeBuildInputs = [ From 7002eaf084fcd8f7c9878472374d06dc58d1d69b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marco=20=22Capypara=22=20K=C3=B6pcke?= Date: Mon, 7 Sep 2026 17:59:32 +0000 Subject: [PATCH 1832/2378] gtksourceview5: 5.20.0 -> 5.21.0 https://gitlab.gnome.org/GNOME/gtksourceview/-/compare/5.20.0...5.21.0 --- pkgs/development/libraries/gtksourceview/5.x.nix | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/pkgs/development/libraries/gtksourceview/5.x.nix b/pkgs/development/libraries/gtksourceview/5.x.nix index fd60f48350d7..2ac477e972da 100644 --- a/pkgs/development/libraries/gtksourceview/5.x.nix +++ b/pkgs/development/libraries/gtksourceview/5.x.nix @@ -20,12 +20,13 @@ dbus, xvfb-run, shared-mime-info, + glibcLocalesUtf8, testers, }: stdenv.mkDerivation (finalAttrs: { pname = "gtksourceview"; - version = "5.20.0"; + version = "5.21.0"; __structuredAttrs = true; strictDeps = true; @@ -38,7 +39,7 @@ stdenv.mkDerivation (finalAttrs: { src = fetchurl { url = "mirror://gnome/sources/gtksourceview/${lib.versions.majorMinor finalAttrs.version}/gtksourceview-${finalAttrs.version}.tar.xz"; - hash = "sha256-44vNI/UrhurfD+TYveaY46jKECMiuLTPGlGsKUpEjBs="; + hash = "sha256-ZffOnS7Gg8b/myelDZCfOr72X3QtEQEeG4+LhIyt8Pc="; }; patches = [ @@ -79,6 +80,7 @@ stdenv.mkDerivation (finalAttrs: { nativeCheckInputs = [ xvfb-run dbus + glibcLocalesUtf8 ]; mesonFlags = [ From 9eb83e126693621ed87e291b8cce6d9699e4fbce Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marco=20=22Capypara=22=20K=C3=B6pcke?= Date: Mon, 7 Sep 2026 18:00:03 +0000 Subject: [PATCH 1833/2378] gvfs: 1.60.3 -> 1.61.91 https://gitlab.gnome.org/GNOME/gvfs/-/compare/1.60.3...1.61.91 --- pkgs/by-name/gv/gvfs/package.nix | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/pkgs/by-name/gv/gvfs/package.nix b/pkgs/by-name/gv/gvfs/package.nix index b681e59170e0..7bd89159e70e 100644 --- a/pkgs/by-name/gv/gvfs/package.nix +++ b/pkgs/by-name/gv/gvfs/package.nix @@ -17,7 +17,6 @@ polkit, libgphoto2, avahi, - libarchive, fuse3, libcdio, libxml2, @@ -46,11 +45,11 @@ stdenv.mkDerivation (finalAttrs: { pname = "gvfs"; - version = "1.60.3"; + version = "1.61.91"; src = fetchurl { url = "mirror://gnome/sources/gvfs/${lib.versions.majorMinor finalAttrs.version}/gvfs-${finalAttrs.version}.tar.xz"; - hash = "sha256-TLIdURwuKVEamfOhk96qkUqLt9njciKGc8awha/2P0s="; + hash = "sha256-S1VhWzUfZBg+Y2gAzUXaDA2Slf6DnHOwl6GXLXqHGOI="; }; patches = [ @@ -81,7 +80,6 @@ stdenv.mkDerivation (finalAttrs: { dbus libgphoto2 avahi - libarchive libimobiledevice libbluray libnfs From 5aa24669b9b6203f622366dd8cd366a06ea1ed3d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marco=20=22Capypara=22=20K=C3=B6pcke?= Date: Mon, 7 Sep 2026 18:00:18 +0000 Subject: [PATCH 1834/2378] libadwaita: 1.9.3 -> 1.10.beta.1 https://gitlab.gnome.org/GNOME/libadwaita/-/compare/1.9.3...1.10.beta.1 --- pkgs/by-name/li/libadwaita/package.nix | 21 ++++++++++----------- 1 file changed, 10 insertions(+), 11 deletions(-) diff --git a/pkgs/by-name/li/libadwaita/package.nix b/pkgs/by-name/li/libadwaita/package.nix index c158da4ee9af..9a056354e547 100644 --- a/pkgs/by-name/li/libadwaita/package.nix +++ b/pkgs/by-name/li/libadwaita/package.nix @@ -1,15 +1,16 @@ { lib, stdenv, - fetchFromGitLab, + fetchurl, gi-docgen, + glibcLocalesUtf8, meson, + ministream, ninja, pkg-config, sassc, vala, gobject-introspection, - appstream, fribidi, glib, gtk4, @@ -23,7 +24,7 @@ stdenv.mkDerivation (finalAttrs: { pname = "libadwaita"; - version = "1.9.3"; + version = "1.10.beta.1"; outputs = [ "out" @@ -32,12 +33,9 @@ stdenv.mkDerivation (finalAttrs: { ]; outputBin = "devdoc"; # demo app - src = fetchFromGitLab { - domain = "gitlab.gnome.org"; - owner = "GNOME"; - repo = "libadwaita"; - tag = finalAttrs.version; - hash = "sha256-1V3L10YgRnOoJud/lybfSj2AYOY0kRAJdfamJg+S1fo="; + src = fetchurl { + url = "mirror://gnome/sources/libadwaita/${lib.versions.majorMinor finalAttrs.version}/libadwaita-${finalAttrs.version}.tar.xz"; + hash = "sha256-rthyFmnYqg1nPmZkivhg0K8fow4+q1Mlko6Rd8skRTQ="; }; depsBuildBuild = [ @@ -63,7 +61,7 @@ stdenv.mkDerivation (finalAttrs: { ]; buildInputs = [ - appstream + ministream fribidi ]; @@ -73,6 +71,7 @@ stdenv.mkDerivation (finalAttrs: { nativeCheckInputs = [ adwaita-icon-theme + glibcLocalesUtf8 ] ++ lib.optionals (!stdenv.hostPlatform.isDarwin) [ xvfb-run @@ -128,7 +127,7 @@ stdenv.mkDerivation (finalAttrs: { }; meta = { - changelog = "https://gitlab.gnome.org/GNOME/libadwaita/-/blob/${finalAttrs.src.tag}/NEWS"; + changelog = "https://gitlab.gnome.org/GNOME/libadwaita/-/blob/${finalAttrs.version}/NEWS"; description = "Library to help with developing UI for mobile devices using GTK/GNOME"; mainProgram = "adwaita-1-demo"; homepage = "https://gitlab.gnome.org/GNOME/libadwaita"; From c9ed6c19c108256994b12f5df469ea387cf8cbbc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marco=20=22Capypara=22=20K=C3=B6pcke?= Date: Mon, 7 Sep 2026 18:00:30 +0000 Subject: [PATCH 1835/2378] libcloudproviders: 0.4.0 -> 0.4.1 https://gitlab.gnome.org/GNOME/libcloudproviders/-/compare/0.4.0...0.4.1 --- pkgs/by-name/li/libcloudproviders/package.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/by-name/li/libcloudproviders/package.nix b/pkgs/by-name/li/libcloudproviders/package.nix index 352e77bd3c79..41150139759f 100644 --- a/pkgs/by-name/li/libcloudproviders/package.nix +++ b/pkgs/by-name/li/libcloudproviders/package.nix @@ -17,11 +17,11 @@ stdenv.mkDerivation (finalAttrs: { pname = "libcloudproviders"; - version = "0.4.0"; + version = "0.4.1"; src = fetchurl { url = "mirror://gnome/sources/libcloudproviders/${lib.versions.majorMinor finalAttrs.version}/libcloudproviders-${finalAttrs.version}.tar.xz"; - hash = "sha256-JHsijRAnsmg4aOfXCA04aTpFfpCKrdDBGdUt5Zo5gGQ="; + hash = "sha256-PhI/oqNPbf2ZiX6+X+w9+jXZz0sZLCj+f8kMWq+vz1s="; }; outputs = [ From 1b1731413f935a71f3a2700bc29d61b9efae20aa Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marco=20=22Capypara=22=20K=C3=B6pcke?= Date: Mon, 7 Sep 2026 18:00:41 +0000 Subject: [PATCH 1836/2378] libdex: 1.1.0 -> 1.2.beta https://gitlab.gnome.org/GNOME/libdex/-/compare/1.1.0...1.2.beta --- pkgs/by-name/li/libdex/package.nix | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/pkgs/by-name/li/libdex/package.nix b/pkgs/by-name/li/libdex/package.nix index ad6f4543be9b..1743a1ef66e8 100644 --- a/pkgs/by-name/li/libdex/package.nix +++ b/pkgs/by-name/li/libdex/package.nix @@ -16,7 +16,7 @@ stdenv.mkDerivation (finalAttrs: { pname = "libdex"; - version = "1.1.0"; + version = "1.2.beta"; outputs = [ "out" @@ -26,7 +26,7 @@ stdenv.mkDerivation (finalAttrs: { src = fetchurl { url = "mirror://gnome/sources/libdex/${lib.versions.majorMinor finalAttrs.version}/libdex-${finalAttrs.version}.tar.xz"; - hash = "sha256-qeBMir7gHJp88RSMW3qma6N37+avbYOAHU/RqlUhmqo="; + hash = "sha256-I/i4w75qNfgM97I/gfR/IBGXObtem09Vul7F2dJxixk="; }; nativeBuildInputs = [ @@ -53,8 +53,8 @@ stdenv.mkDerivation (finalAttrs: { # test-dbus tries to access /etc/machine-id postPatch = '' substituteInPlace "testsuite/meson.build" --replace-fail \ - "'test-dbus': {'extra-sources': dbus_foo, 'disable': not have_gdbus_codegen}," \ - "'test-dbus': {'extra-sources': dbus_foo, 'disable': true}," + "'test-dbus': {'extra-sources': dbus_foo, 'disable': not have_gdbus_codegen, 'is_parallel': false}," \ + "'test-dbus': {'extra-sources': dbus_foo, 'disable': true, 'is_parallel': false}," ''; postFixup = '' From fe02d66af0e33fc7244a34e67d5e81d9bc243e61 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marco=20=22Capypara=22=20K=C3=B6pcke?= Date: Mon, 7 Sep 2026 18:00:53 +0000 Subject: [PATCH 1837/2378] libfoundry: 1.1.1 -> 1.2.beta https://gitlab.gnome.org/GNOME/foundry/-/compare/1.1.1...1.2.beta --- pkgs/by-name/li/libfoundry/package.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/by-name/li/libfoundry/package.nix b/pkgs/by-name/li/libfoundry/package.nix index 81cab3fc6ec7..82aa9779e8e1 100644 --- a/pkgs/by-name/li/libfoundry/package.nix +++ b/pkgs/by-name/li/libfoundry/package.nix @@ -38,7 +38,7 @@ stdenv.mkDerivation (finalAttrs: { pname = "libfoundry${lib.optionalString withGtk "-gtk"}"; - version = "1.1.1"; + version = "1.2.beta"; outputs = [ "out" @@ -48,7 +48,7 @@ stdenv.mkDerivation (finalAttrs: { src = fetchurl { url = "mirror://gnome/sources/foundry/${lib.versions.majorMinor finalAttrs.version}/foundry-${finalAttrs.version}.tar.xz"; - hash = "sha256-RtsNZENsMTYRyv37TKDVzsK5e+fXpfG+fujQFQ1PJcg="; + hash = "sha256-XkYayf+EJUpGstiPsGVDgvRkrzqHmH8bZIRnXILcOJI="; }; patches = [ From b477267f27b6cf0e194ec17cbd4c548ce7c90e1d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marco=20=22Capypara=22=20K=C3=B6pcke?= Date: Mon, 7 Sep 2026 18:01:11 +0000 Subject: [PATCH 1838/2378] libglycin: 2.1.5 -> 2.2.beta.1 https://gitlab.gnome.org/GNOME/glycin/-/compare/2.1.5...2.2.beta.1 --- pkgs/by-name/gl/glycin-loaders/package.nix | 9 +++------ pkgs/by-name/li/libglycin-gtk4/package.nix | 12 ++++-------- pkgs/by-name/li/libglycin/package.nix | 18 +++++++----------- 3 files changed, 14 insertions(+), 25 deletions(-) diff --git a/pkgs/by-name/gl/glycin-loaders/package.nix b/pkgs/by-name/gl/glycin-loaders/package.nix index bb6e645bb5f1..f1c4feba809f 100644 --- a/pkgs/by-name/gl/glycin-loaders/package.nix +++ b/pkgs/by-name/gl/glycin-loaders/package.nix @@ -7,7 +7,6 @@ glib, gtk4, libglycin, - lcms2, libheif, libjxl, librsvg, @@ -67,7 +66,6 @@ stdenv.mkDerivation (finalAttrs: { checkInputs = [ glib gtk4 - lcms2 ]; mesonFlags = [ @@ -85,8 +83,9 @@ stdenv.mkDerivation (finalAttrs: { strictDeps = true; postPatch = '' - substituteInPlace glycin-loaders/meson.build \ - --replace-fail "cargo_target_dir / rust_target / loader," "cargo_target_dir / '${stdenv.hostPlatform.rust.cargoShortTarget}' / rust_target / loader," + substituteInPlace meson.build --replace-fail \ + "meson.get_external_property('rust_target')" \ + "'${stdenv.hostPlatform.rust.cargoShortTarget}'" '' + lib.optionalString finalAttrs.finalPackage.doCheck '' chmod +x build-aux/setup-integration-test.py @@ -108,8 +107,6 @@ stdenv.mkDerivation (finalAttrs: { rm -r $out/share/thumbnailers ''; - env.CARGO_BUILD_TARGET = stdenv.hostPlatform.rust.rustcTargetSpec; - passthru = { inherit enabledLoaders; diff --git a/pkgs/by-name/li/libglycin-gtk4/package.nix b/pkgs/by-name/li/libglycin-gtk4/package.nix index b5181f595b22..fbf4c7170f12 100644 --- a/pkgs/by-name/li/libglycin-gtk4/package.nix +++ b/pkgs/by-name/li/libglycin-gtk4/package.nix @@ -7,7 +7,6 @@ glib, gobject-introspection, gtk4, - lcms2, libglycin, libseccomp, meson, @@ -53,7 +52,6 @@ stdenv.mkDerivation (finalAttrs: { fontconfig glib libseccomp - lcms2 gtk4 ]; @@ -63,7 +61,6 @@ stdenv.mkDerivation (finalAttrs: { # TODO: these should not be required by .pc file fontconfig libseccomp - lcms2 ]; mesonFlags = [ @@ -79,9 +76,10 @@ stdenv.mkDerivation (finalAttrs: { postPatch = '' patchShebangs \ build-aux/crates-version.py - substituteInPlace libglycin/meson.build --replace-fail \ - "cargo_output = cargo_target_dir / rust_target" \ - "cargo_output = cargo_target_dir / '${stdenv.hostPlatform.rust.cargoShortTarget}' / rust_target" + + substituteInPlace meson.build --replace-fail \ + "meson.get_external_property('rust_target')" \ + "'${stdenv.hostPlatform.rust.cargoShortTarget}'" ''; postFixup = '' @@ -89,8 +87,6 @@ stdenv.mkDerivation (finalAttrs: { moveToOutput "share/doc" "$devdoc" ''; - env.CARGO_BUILD_TARGET = stdenv.hostPlatform.rust.rustcTargetSpec; - strictDeps = true; meta = { diff --git a/pkgs/by-name/li/libglycin/package.nix b/pkgs/by-name/li/libglycin/package.nix index d8cb4a7d5938..da3f918ac3f6 100644 --- a/pkgs/by-name/li/libglycin/package.nix +++ b/pkgs/by-name/li/libglycin/package.nix @@ -19,7 +19,6 @@ libglycin-gtk4, fontconfig, libseccomp, - lcms2, gnome, replaceVars, bubblewrap, @@ -32,7 +31,7 @@ }: stdenv.mkDerivation (finalAttrs: { pname = "libglycin"; - version = "2.1.5"; + version = "2.2.beta.1"; outputs = [ "out" @@ -44,12 +43,12 @@ stdenv.mkDerivation (finalAttrs: { src = fetchurl { url = "mirror://gnome/sources/glycin/${lib.versions.majorMinor finalAttrs.version}/glycin-${finalAttrs.version}.tar.xz"; - hash = "sha256-bAl1fukGMwpgtnBXU6pWvKAHrSGblebjU3UQ1BvDQcg="; + hash = "sha256-cp4nQEYOE7F8CotGrKDACEmTJdi66G3g/l54RuMyjeE="; }; cargoDeps = rustPlatform.fetchCargoVendor { inherit (finalAttrs) pname version src; - hash = "sha256-6vCucnT3xPWSm3TSi3WzgJdiiBFHvGMpab4d53OfThg="; + hash = "sha256-zL0kQtajGiic2/3CZ85FOGFW0dZ9MpSd31QglVT6fOU="; }; nativeBuildInputs = [ @@ -71,7 +70,6 @@ stdenv.mkDerivation (finalAttrs: { buildInputs = [ fontconfig libseccomp - lcms2 ]; propagatedBuildInputs = [ @@ -79,7 +77,6 @@ stdenv.mkDerivation (finalAttrs: { # TODO: these should not be required by .pc file fontconfig libseccomp - lcms2 ]; mesonFlags = [ @@ -95,9 +92,10 @@ stdenv.mkDerivation (finalAttrs: { postPatch = '' patchShebangs \ build-aux/crates-version.py - substituteInPlace libglycin/meson.build --replace-fail \ - "cargo_output = cargo_target_dir / rust_target" \ - "cargo_output = cargo_target_dir / '${stdenv.hostPlatform.rust.cargoShortTarget}' / rust_target" + + substituteInPlace meson.build --replace-fail \ + "meson.get_external_property('rust_target')" \ + "'${stdenv.hostPlatform.rust.cargoShortTarget}'" ''; postFixup = '' @@ -105,8 +103,6 @@ stdenv.mkDerivation (finalAttrs: { moveToOutput "share/doc" "$devdoc" ''; - env.CARGO_BUILD_TARGET = stdenv.hostPlatform.rust.rustcTargetSpec; - strictDeps = true; passthru = { From 1cfceecf0dde7463c2d07bc5f9f650397d66cf94 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marco=20=22Capypara=22=20K=C3=B6pcke?= Date: Mon, 7 Sep 2026 18:01:34 +0000 Subject: [PATCH 1839/2378] libmsgraph: 0.3.4 -> 0.3.5 https://gitlab.gnome.org/GNOME/msgraph/-/compare/0.3.4...0.3.5 --- pkgs/by-name/li/libmsgraph/package.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/by-name/li/libmsgraph/package.nix b/pkgs/by-name/li/libmsgraph/package.nix index 52e4b01fc4bb..51bb30f65ee5 100644 --- a/pkgs/by-name/li/libmsgraph/package.nix +++ b/pkgs/by-name/li/libmsgraph/package.nix @@ -18,7 +18,7 @@ stdenv.mkDerivation (finalAttrs: { pname = "libmsgraph"; - version = "0.3.4"; + version = "0.3.5"; outputs = [ "out" @@ -28,7 +28,7 @@ stdenv.mkDerivation (finalAttrs: { src = fetchurl { url = "mirror://gnome/sources/msgraph/${lib.versions.majorMinor finalAttrs.version}/msgraph-${finalAttrs.version}.tar.xz"; - hash = "sha256-BzHs5rArMu7/u72Y79x3vAPd0gZR7q46Q0Pwh5sE1sc="; + hash = "sha256-49rb9jjQIHBA9tpthS21FuRjQj2nEK9svDXQBXLxfZs="; }; nativeBuildInputs = [ From a167af77b77fadcec423a71f89473ef7199e2f20 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marco=20=22Capypara=22=20K=C3=B6pcke?= Date: Mon, 7 Sep 2026 18:01:55 +0000 Subject: [PATCH 1840/2378] librsvg: 2.62.3 -> 2.62.91 https://gitlab.gnome.org/GNOME/librsvg/-/compare/2.62.3...2.62.91 --- pkgs/by-name/li/librsvg/package.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pkgs/by-name/li/librsvg/package.nix b/pkgs/by-name/li/librsvg/package.nix index 2de7bededdff..a459d87e8a6c 100644 --- a/pkgs/by-name/li/librsvg/package.nix +++ b/pkgs/by-name/li/librsvg/package.nix @@ -50,7 +50,7 @@ stdenv.mkDerivation (finalAttrs: { pname = "librsvg"; - version = "2.62.3"; + version = "2.62.91"; outputs = [ "out" @@ -62,7 +62,7 @@ stdenv.mkDerivation (finalAttrs: { src = fetchurl { url = "mirror://gnome/sources/librsvg/${lib.versions.majorMinor finalAttrs.version}/librsvg-${finalAttrs.version}.tar.xz"; - hash = "sha256-frRJsnIqdoAhNW9m3+4yAsIptU7U5qcM5AwJDpf/FvI="; + hash = "sha256-bK6uEp1A3Yj47ElDb9ib/kracWoSUYen+g3vj8qgslA="; }; # FIXME: This patch should be made unconditional the next time librsvg is @@ -76,7 +76,7 @@ stdenv.mkDerivation (finalAttrs: { cargoDeps = rustPlatform.fetchCargoVendor { inherit (finalAttrs) src; name = "librsvg-deps-${finalAttrs.version}"; - hash = "sha256-9ubfIl9R2BdcAWn7i050KBbb4cMdlakvrKdnjpZCQjA="; + hash = "sha256-2lET93Su+6Ib/vA7eVRBB1rJt2GyFtdm6rueCrnf5c0="; dontConfigure = true; }; From c4d508068d3abeb85caf2825f836e8affd3d80f0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marco=20=22Capypara=22=20K=C3=B6pcke?= Date: Mon, 7 Sep 2026 18:02:07 +0000 Subject: [PATCH 1841/2378] libshumate: 1.6.3 -> 1.7.rc https://gitlab.gnome.org/GNOME/libshumate/-/compare/1.6.3...1.7.rc --- pkgs/by-name/li/libshumate/package.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/by-name/li/libshumate/package.nix b/pkgs/by-name/li/libshumate/package.nix index 1070378b3b8a..7d770f215ab3 100644 --- a/pkgs/by-name/li/libshumate/package.nix +++ b/pkgs/by-name/li/libshumate/package.nix @@ -23,7 +23,7 @@ stdenv.mkDerivation (finalAttrs: { pname = "libshumate"; - version = "1.6.3"; + version = "1.7.rc"; outputs = [ "out" @@ -34,7 +34,7 @@ stdenv.mkDerivation (finalAttrs: { src = fetchurl { url = "mirror://gnome/sources/libshumate/${lib.versions.majorMinor finalAttrs.version}/libshumate-${finalAttrs.version}.tar.xz"; - hash = "sha256-/RXJE5bc2C/OMCFkhUGqiR5xpr3e/8A9OFl1gKfajKE="; + hash = "sha256-vTf+mdHKmAKv9UqnLPeynPXhofQHpjBv9yDlzOXUcqU="; }; depsBuildBuild = [ From 58fa6adbbd711f048be0f4b2d39605d4b15e7a54 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marco=20=22Capypara=22=20K=C3=B6pcke?= Date: Mon, 7 Sep 2026 18:02:32 +0000 Subject: [PATCH 1842/2378] localsearch: 3.11.1 -> 3.12.rc https://gitlab.gnome.org/GNOME/localsearch/-/compare/3.11.1...3.12.rc --- pkgs/by-name/lo/localsearch/package.nix | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/pkgs/by-name/lo/localsearch/package.nix b/pkgs/by-name/lo/localsearch/package.nix index 51702625ae46..148c677d8782 100644 --- a/pkgs/by-name/lo/localsearch/package.nix +++ b/pkgs/by-name/lo/localsearch/package.nix @@ -48,11 +48,11 @@ stdenv.mkDerivation (finalAttrs: { pname = "localsearch"; - version = "3.11.1"; + version = "3.12.rc"; src = fetchurl { url = "mirror://gnome/sources/localsearch/${lib.versions.majorMinor finalAttrs.version}/localsearch-${finalAttrs.version}.tar.xz"; - hash = "sha256-ezmmwoqKzysXLxWy+17nx6N2TER8L0oUyqI5t+vmGUI="; + hash = "sha256-/kahhRFhCvP/HpmSLDTdb5JHbTvk8RyHEp77OPheJHo="; }; patches = [ @@ -116,6 +116,8 @@ stdenv.mkDerivation (finalAttrs: { mesonFlags = [ # TODO: tests do not like our sandbox "-Dfunctional_tests=false" + # avformat (from ffmpeg) and libmediainfo are interchangable + "-Dlibmediainfo=disabled" ] ++ lib.optionals (!stdenv.hostPlatform.isLinux) [ "-Dbattery_detection=none" From 33eebae3a64aa802b058b6c9136f70ba1b632268 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marco=20=22Capypara=22=20K=C3=B6pcke?= Date: Mon, 7 Sep 2026 18:02:52 +0000 Subject: [PATCH 1843/2378] loupe: 50.0 -> 51.rc https://gitlab.gnome.org/GNOME/loupe/-/compare/50.0...51.rc --- pkgs/by-name/lo/loupe/package.nix | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/pkgs/by-name/lo/loupe/package.nix b/pkgs/by-name/lo/loupe/package.nix index c5befdebb201..1597f6b51695 100644 --- a/pkgs/by-name/lo/loupe/package.nix +++ b/pkgs/by-name/lo/loupe/package.nix @@ -11,7 +11,6 @@ rustc, wrapGAppsHook4, gtk4, - lcms2, libadwaita, libgweather, libseccomp, @@ -25,16 +24,16 @@ stdenv.mkDerivation (finalAttrs: { pname = "loupe"; - version = "50.0"; + version = "51.rc"; src = fetchurl { url = "mirror://gnome/sources/loupe/${lib.versions.major finalAttrs.version}/loupe-${finalAttrs.version}.tar.xz"; - hash = "sha256-euT7rl4ZMWqmQMVvgNxaeRRIpi3Y8P8G4ppYutgTqZQ="; + hash = "sha256-ZsKovxptUtNT/42JnRvoXfM/Hsgj6gomFGlU8GfGkOM="; }; cargoDeps = rustPlatform.fetchCargoVendor { inherit (finalAttrs) pname version src; - hash = "sha256-I4z5qjX10AUuwk+JdX/1ZU0uCAVPQj8HkEc+n9aMczE="; + hash = "sha256-7YBCpFIYqyG0LcKv4+J1oJmbbE64L5SxJc9dItcy3mw="; }; postPatch = '' @@ -60,7 +59,6 @@ stdenv.mkDerivation (finalAttrs: { libglycin.setupHook glycin-loaders gtk4 - lcms2 libadwaita libgweather libseccomp From ae682d6f654bea1d59d3162ba074d8e13f4f6753 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marco=20=22Capypara=22=20K=C3=B6pcke?= Date: Mon, 7 Sep 2026 18:03:15 +0000 Subject: [PATCH 1844/2378] mutter: 50.4 -> 51.rc https://gitlab.gnome.org/GNOME/mutter/-/compare/50.4...51.rc --- pkgs/by-name/mu/mutter/package.nix | 12 +++--------- 1 file changed, 3 insertions(+), 9 deletions(-) diff --git a/pkgs/by-name/mu/mutter/package.nix b/pkgs/by-name/mu/mutter/package.nix index bbb61ad35838..dfdaa522673a 100644 --- a/pkgs/by-name/mu/mutter/package.nix +++ b/pkgs/by-name/mu/mutter/package.nix @@ -40,7 +40,6 @@ libdisplay-info, gsettings-desktop-schemas, glib, - libglycin, atk, gtk4, fribidi, @@ -72,7 +71,7 @@ stdenv.mkDerivation (finalAttrs: { pname = "mutter"; - version = "50.5"; + version = "51.rc"; outputs = [ "out" @@ -83,16 +82,12 @@ stdenv.mkDerivation (finalAttrs: { src = fetchurl { url = "mirror://gnome/sources/mutter/${lib.versions.major finalAttrs.version}/mutter-${finalAttrs.version}.tar.xz"; - hash = "sha256-cvpaeDR7A6bpmifb21+lzDs4iyPupzzkUBKBjbmLeUE="; + hash = "sha256-byTw/nCjKq0vtRcKgYYDYKBWTrVZHea0sOyfItCfUpg="; }; mesonFlags = [ - "-Degl_device=true" "-Dinstalled_tests=false" # TODO: enable these "-Dtests=disabled" - # For NVIDIA proprietary driver up to 470. - # https://src.fedoraproject.org/rpms/mutter/pull-request/49 - "-Dwayland_eglstream=true" "-Dprofiler=true" "-Dxwayland_path=${lib.getExe xwayland}" # This should be auto detected, but it looks like it manages a false @@ -131,7 +126,6 @@ stdenv.mkDerivation (finalAttrs: { cairo egl-wayland glib - libglycin gnome-desktop gnome-settings-daemon gsettings-desktop-schemas @@ -207,7 +201,7 @@ stdenv.mkDerivation (finalAttrs: { doInstallCheck = true; passthru = { - libmutter_api_version = "18"; # bumped each dev cycle + libmutter_api_version = "51"; # bumped each dev cycle libdir = "${finalAttrs.finalPackage}/lib/mutter-${finalAttrs.passthru.libmutter_api_version}"; tests = { From 28c794638ad639eaa1943ea6d7f1f558bfe78753 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marco=20=22Capypara=22=20K=C3=B6pcke?= Date: Mon, 7 Sep 2026 18:03:27 +0000 Subject: [PATCH 1845/2378] nautilus: 50.2.2 -> 51.rc https://gitlab.gnome.org/GNOME/nautilus/-/compare/50.2.2...51.rc --- pkgs/by-name/na/nautilus/package.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/by-name/na/nautilus/package.nix b/pkgs/by-name/na/nautilus/package.nix index 68101b9c2b3e..6aad00588480 100644 --- a/pkgs/by-name/na/nautilus/package.nix +++ b/pkgs/by-name/na/nautilus/package.nix @@ -45,7 +45,7 @@ stdenv.mkDerivation (finalAttrs: { pname = "nautilus"; - version = "50.2.2"; + version = "51.rc"; outputs = [ "out" @@ -55,7 +55,7 @@ stdenv.mkDerivation (finalAttrs: { src = fetchurl { url = "mirror://gnome/sources/nautilus/${lib.versions.major finalAttrs.version}/nautilus-${finalAttrs.version}.tar.xz"; - hash = "sha256-4eKF7930LtMN2lsp9/jSQtq0vBQJqQVIY7NnutSzTVo="; + hash = "sha256-Fo4WhvApzKjEGEOKFdrmJFy2QFjh70h0EraHdOdKyC8="; }; patches = [ From fa1beb020a217167f234c69e4ac98655c669039e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marco=20=22Capypara=22=20K=C3=B6pcke?= Date: Mon, 7 Sep 2026 18:03:39 +0000 Subject: [PATCH 1846/2378] orca: 50.2 -> 51.rc https://gitlab.gnome.org/GNOME/orca/-/compare/50.2...51.rc --- pkgs/by-name/or/orca/fix-mock-typing.patch | 64 --------------- pkgs/by-name/or/orca/package.nix | 93 +++++++++++----------- 2 files changed, 48 insertions(+), 109 deletions(-) delete mode 100644 pkgs/by-name/or/orca/fix-mock-typing.patch diff --git a/pkgs/by-name/or/orca/fix-mock-typing.patch b/pkgs/by-name/or/orca/fix-mock-typing.patch deleted file mode 100644 index 87a63ece07af..000000000000 --- a/pkgs/by-name/or/orca/fix-mock-typing.patch +++ /dev/null @@ -1,64 +0,0 @@ -diff --git a/tests/unit_tests/test_dbus_service.py b/tests/unit_tests/test_dbus_service.py -index bf8cab8a7..0db3afd60 100644 ---- a/tests/unit_tests/test_dbus_service.py -+++ b/tests/unit_tests/test_dbus_service.py -@@ -59,6 +59,7 @@ class TestDBusService: - external_modules = [ - "gi", - "gi.repository", -+ "gi.repository.Atspi", - "dasbus", - "dasbus.connection", - "dasbus.error", -@@ -96,8 +97,16 @@ class TestDBusService: - """Unpack the variant value.""" - return self._value - -- essential_modules["gi.repository"].GLib = test_context.Mock() -- essential_modules["gi.repository"].GLib.Variant = MockGLibVariant -+ gi_repository_mock = essential_modules["gi.repository"] -+ gi_repository_mock.GLib = test_context.Mock() -+ gi_repository_mock.GLib.Variant = MockGLibVariant -+ -+ class Fake(): -+ pass -+ -+ atspi_mock = essential_modules["gi.repository.Atspi"] -+ atspi_mock.Accessible = Fake -+ gi_repository_mock.Atspi = atspi_mock - - class MockPublishable: - """Mock Publishable base class for inheritance.""" - - -Taken from https://gitlab.gnome.org/GNOME/orca/-/commit/20340d2075a34721aa6af46507d02525f3eac5f5 - -diff --git a/src/orca/ax_utilities_application.py b/src/orca/ax_utilities_application.py -index 2edcabf11..d59b8ae9e 100644 ---- a/src/orca/ax_utilities_application.py -+++ b/src/orca/ax_utilities_application.py -@@ -21,6 +21,7 @@ - - """Utilities for accessible applications.""" - -+from __future__ import annotations - import gi - - gi.require_version("Atspi", "2.0") - - -Taken from https://gitlab.gnome.org/GNOME/orca/-/commit/6c18ba002c6fac3fb80a10791b0daab6ea85f072 - -diff --git a/src/orca/ax_event_synthesizer.py b/src/orca/ax_event_synthesizer.py -index 4b999ef75..cb0f0e31a 100644 ---- a/src/orca/ax_event_synthesizer.py -+++ b/src/orca/ax_event_synthesizer.py -@@ -22,6 +22,8 @@ - - """Provides support for synthesizing accessible input events.""" - -+from __future__ import annotations -+ - import gi - - gi.require_version("Atspi", "2.0") diff --git a/pkgs/by-name/or/orca/package.nix b/pkgs/by-name/or/orca/package.nix index 4b738cb46d0d..585a3dd72a10 100644 --- a/pkgs/by-name/or/orca/package.nix +++ b/pkgs/by-name/or/orca/package.nix @@ -4,7 +4,6 @@ buildPackages, pkg-config, fetchurl, - fetchpatch, meson, ninja, wrapGAppsHook3, @@ -21,70 +20,47 @@ dbus, xkbcomp, procps, + cargo, + rustc, + rustPlatform, gsettings-desktop-schemas, speechd-minimal, brltty, liblouis, gst_all_1, + common-updater-scripts, + _experimental-update-script-combinators, }: python3.pkgs.buildPythonApplication (finalAttrs: { pname = "orca"; - version = "50.2"; + version = "51.rc"; pyproject = false; src = fetchurl { url = "mirror://gnome/sources/orca/${lib.versions.major finalAttrs.version}/orca-${finalAttrs.version}.tar.xz"; - hash = "sha256-BxRCHN6OxLr0fxjktKErTlxKPP47FhVp4HD+A3cT/QQ="; + hash = "sha256-8FQ7jmOEBLnrIxSNJGL/bUKELwPw74C0MRyeXzpfl38="; }; patches = [ - # Avoid running `cat` and `grep` subshells. - (fetchpatch { - url = "https://gitlab.gnome.org/GNOME/orca/-/commit/8f47283da2da7a7d34e769d9c129152decf632cb.patch"; - hash = "sha256-ts/ZCgEaTrnmMM1cUFJB2rDW9icMoi4jV34psD0IDCc="; - }) - - # Required for fix-paths.patch to apply. - (fetchpatch { - url = "https://gitlab.gnome.org/GNOME/orca/-/commit/a7b10302b9ff9145a98cb3626f2488d15c558d3e.patch"; - hash = "sha256-lacy9vIyM3n84s+tbYvAUBKWCT+4nlI9uPVl7UPVS74="; - includes = [ - "src/orca/orca_modifier_manager.py" - ]; - }) - - # Fix tests on Python < 3.15 - (fetchpatch { - url = "https://gitlab.gnome.org/GNOME/orca/-/commit/6c18ba002c6fac3fb80a10791b0daab6ea85f072.patch"; - hash = "sha256-jTwVN0hPkead7PiVo/KEUrP04XU/05LXnXutvVmyecc="; - excludes = [ - # These do not apply, fixed in fix-mock-typing.patch - "src/orca/ax_event_synthesizer.py" - "tests/unit_tests/test_flat_review_presenter.py" - ]; - }) - - # Fix more tests on Python < 3.15 - (fetchpatch { - url = "https://gitlab.gnome.org/GNOME/orca/-/commit/0a1271f0d6ed6f6d73d41b227a9f6d84d994c154.patch"; - hash = "sha256-ry8fmzUjtHR8/0UpB/zXuv6RYDS8z6fWRdb9eci6nLY="; - includes = [ - "src/orca/sound.py" - ]; - }) - - # Fix more tests on Python < 3.15 - # https://gitlab.gnome.org/GNOME/orca/-/work_items/729 - ./fix-mock-typing.patch - (replaceVars ./fix-paths.patch { pgrep = "${procps}/bin/pgrep"; xkbcomp = "${xkbcomp}/bin/xkbcomp"; }) ]; + cargoRoot = "subprojects/mathcat-py"; + cargoDeps = rustPlatform.fetchCargoVendor { + inherit (finalAttrs) + src + pname + version + cargoRoot + ; + hash = "sha256-XxdIfDqb/0eoB3dOHbBW104yxkiCX6oKnvOTqCALBvg="; + }; + # needed for cross-compilation depsBuildBuild = [ pkg-config ]; @@ -98,6 +74,9 @@ python3.pkgs.buildPythonApplication (finalAttrs: { ninja wrapGAppsHook3 pkg-config + cargo + rustc + rustPlatform.cargoSetupHook gettext yelp-tools itstool @@ -165,9 +144,33 @@ python3.pkgs.buildPythonApplication (finalAttrs: { ''; passthru = { - updateScript = gnome.updateScript { - packageName = "orca"; - }; + updateScript = + let + updateSource = gnome.updateScript { + packageName = "orca"; + }; + + updateLockfile = { + command = [ + "sh" + "-c" + '' + PATH=${ + lib.makeBinPath [ + common-updater-scripts + ] + } + update-source-version orca --ignore-same-version --source-key=cargoDeps.vendorStaging > /dev/null + '' + ]; + # Experimental feature: do not copy! + supportedFeatures = [ "silent" ]; + }; + in + _experimental-update-script-combinators.sequence [ + updateSource + updateLockfile + ]; }; meta = { From cd6c893ca5f3c062b591b12b98b0941a3ad42815 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marco=20=22Capypara=22=20K=C3=B6pcke?= Date: Mon, 7 Sep 2026 18:03:51 +0000 Subject: [PATCH 1847/2378] pango: 1.57.1 -> 1.58.2 https://gitlab.gnome.org/GNOME/pango/-/compare/1.57.1...1.58.2 --- pkgs/by-name/pa/pango/package.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/by-name/pa/pango/package.nix b/pkgs/by-name/pa/pango/package.nix index 0aa38c8eac41..c93a6b3f895d 100644 --- a/pkgs/by-name/pa/pango/package.nix +++ b/pkgs/by-name/pa/pango/package.nix @@ -29,7 +29,7 @@ stdenv.mkDerivation (finalAttrs: { pname = "pango"; - version = "1.57.1"; + version = "1.58.2"; outputs = [ "bin" @@ -40,7 +40,7 @@ stdenv.mkDerivation (finalAttrs: { src = fetchurl { url = "mirror://gnome/sources/pango/${lib.versions.majorMinor finalAttrs.version}/pango-${finalAttrs.version}.tar.xz"; - hash = "sha256-5l1tEXCA3Drut9i0s7UY9zg6oubPziMRfGI81iR2TC8="; + hash = "sha256-NCOFtso7fHNFXXyAoTt9vkSJ4AvDvUxb1u1NzkIeN0o="; }; depsBuildBuild = [ From 2c099531a467f46fe62a1aff4048d3c55c52503b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marco=20=22Capypara=22=20K=C3=B6pcke?= Date: Mon, 7 Sep 2026 18:04:19 +0000 Subject: [PATCH 1848/2378] papers: 50.2 -> 51.beta https://gitlab.gnome.org/GNOME/papers/-/compare/50.2...51.beta --- pkgs/by-name/pa/papers/package.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pkgs/by-name/pa/papers/package.nix b/pkgs/by-name/pa/papers/package.nix index 2695ea244070..baddb811b6af 100644 --- a/pkgs/by-name/pa/papers/package.nix +++ b/pkgs/by-name/pa/papers/package.nix @@ -41,7 +41,7 @@ stdenv.mkDerivation (finalAttrs: { pname = "papers"; - version = "50.2"; + version = "51.beta"; outputs = [ "out" @@ -51,7 +51,7 @@ stdenv.mkDerivation (finalAttrs: { src = fetchurl { url = "mirror://gnome/sources/papers/${lib.versions.major finalAttrs.version}/papers-${finalAttrs.version}.tar.xz"; - hash = "sha256-rhvc8c1Hy1DJ2EdleEYH+Bxy3xfdbmrZM/6hQXPSufQ="; + hash = "sha256-ixnJdPV29yhn/InGeWxscR7vWJdujGaE4Ah3SqRo9hQ="; }; cargoDeps = rustPlatform.fetchCargoVendor { @@ -60,7 +60,7 @@ stdenv.mkDerivation (finalAttrs: { pname version ; - hash = "sha256-6Fd6V0Ksl8jqoM1znyYI0Mve2QQU+JBf3yn2C2Bcda8="; + hash = "sha256-GvC5Jv5k/uicRkoYw/YuGwlLPcCiAL1ALTel2KObwL0="; }; nativeBuildInputs = [ From 5efda654d8890cf5ff300a5abedd2432cdf9a6d6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marco=20=22Capypara=22=20K=C3=B6pcke?= Date: Mon, 7 Sep 2026 18:04:31 +0000 Subject: [PATCH 1849/2378] python3.pkgs.pyatspi: 2.58.1 -> 2.58.2 https://gitlab.gnome.org/GNOME/pyatspi2/-/compare/2.58.1...2.58.2 --- pkgs/development/python-modules/pyatspi/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/pyatspi/default.nix b/pkgs/development/python-modules/pyatspi/default.nix index 54168a01e725..76769be723f7 100644 --- a/pkgs/development/python-modules/pyatspi/default.nix +++ b/pkgs/development/python-modules/pyatspi/default.nix @@ -13,13 +13,13 @@ buildPythonPackage rec { pname = "pyatspi"; - version = "2.58.1"; + version = "2.58.2"; pyproject = false; src = fetchurl { url = "mirror://gnome/sources/pyatspi/${lib.versions.majorMinor version}/pyatspi-${version}.tar.xz"; - hash = "sha256-Px8HmTX5JlhDMQJcdTGFjetCJFyZO2USH09LAeawRTY="; + hash = "sha256-JFkOW2D+yN+1n80n0qkN5wNAYL4xjKP3dw4PmE8flOI="; }; nativeBuildInputs = [ From 91e5a7dc45b4df60d5c253f2672b6e7757832649 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marco=20=22Capypara=22=20K=C3=B6pcke?= Date: Mon, 7 Sep 2026 18:04:43 +0000 Subject: [PATCH 1850/2378] python3.pkgs.pygobject3: 3.56.3 -> 3.58.0 https://gitlab.gnome.org/GNOME/pygobject/-/compare/3.56.3...3.58.0 --- pkgs/development/python-modules/pygobject/3.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/pygobject/3.nix b/pkgs/development/python-modules/pygobject/3.nix index c728dbbbd82c..4e4ea2c97bef 100644 --- a/pkgs/development/python-modules/pygobject/3.nix +++ b/pkgs/development/python-modules/pygobject/3.nix @@ -17,7 +17,7 @@ buildPythonPackage rec { pname = "pygobject"; - version = "3.56.3"; + version = "3.58.0"; outputs = [ "out" @@ -28,7 +28,7 @@ buildPythonPackage rec { src = fetchurl { url = "mirror://gnome/sources/pygobject/${lib.versions.majorMinor version}/pygobject-${version}.tar.gz"; - hash = "sha256-EnYOSg49BLbrleBveifjYsgm1WfqYTNzqSwAO2xw0tY="; + hash = "sha256-RQaGl94//kaEDKNpcF8jEYs0209962P27/B5pnNN3Mo="; }; depsBuildBuild = [ pkg-config ]; From ca03a1811c84c140ebdd4a9d2b3b29c70f24f05d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marco=20=22Capypara=22=20K=C3=B6pcke?= Date: Mon, 7 Sep 2026 18:04:55 +0000 Subject: [PATCH 1851/2378] rygel: 45.2 -> 46.rc.0 https://gitlab.gnome.org/GNOME/rygel/-/compare/45.2...46.rc.0 --- .../rygel/add-option-for-installation-sysconfdir.patch | 10 +++++----- pkgs/by-name/ry/rygel/package.nix | 10 +++++++--- 2 files changed, 12 insertions(+), 8 deletions(-) diff --git a/pkgs/by-name/ry/rygel/add-option-for-installation-sysconfdir.patch b/pkgs/by-name/ry/rygel/add-option-for-installation-sysconfdir.patch index 5204e3518aba..f9ed49e134c1 100644 --- a/pkgs/by-name/ry/rygel/add-option-for-installation-sysconfdir.patch +++ b/pkgs/by-name/ry/rygel/add-option-for-installation-sysconfdir.patch @@ -2,7 +2,7 @@ diff --git a/meson.build b/meson.build index 27bde61f..3d434de9 100644 --- a/meson.build +++ b/meson.build -@@ -22,7 +22,11 @@ if not get_option('uninstalled') +@@ -38,7 +38,11 @@ rygel_datadir = join_paths(get_option('prefix'), get_option('datadir'), 'rygel') rygel_libexecdir = join_paths(get_option('prefix'), get_option('libexecdir'), 'rygel') @@ -15,7 +15,7 @@ index 27bde61f..3d434de9 100644 rygel_plugindir = join_paths(rygel_libdir, 'rygel-2.8', 'plugins') rygel_enginedir = join_paths(rygel_libdir, 'rygel-2.8', 'engines') rygel_presetdir = join_paths(rygel_datadir, 'presets') -@@ -57,7 +61,7 @@ conf.set_quoted('DATA_DIR', rygel_datadir) +@@ -73,7 +77,7 @@ conf.set_quoted('PLUGIN_DIR', rygel_plugindir) conf.set_quoted('BIG_ICON_DIR', rygel_bigicondir) conf.set_quoted('SMALL_ICON_DIR', rygel_smallicondir) @@ -30,6 +30,6 @@ index fd04776a..3dee43ba 100644 +++ b/meson_options.txt @@ -1,3 +1,4 @@ +option('sysconfdir_install', type: 'string', value: '', description: 'sysconfdir to use during installation') - option('uninstalled', type: 'boolean', value: 'false', description: 'Run Rygel from build directory only') - option('api-docs', type: 'boolean', value: 'false', description: 'Build the API documentation') - option('man_pages', type: 'boolean', value: 'true', description: 'Build the man pages') + option('uninstalled', type: 'boolean', value: false, description: 'Run Rygel from build directory only') + option('api-docs', type: 'boolean', value: false, description: 'Build the API documentation') + option('man-pages', type: 'boolean', value: true, description: 'Build the man pages') diff --git a/pkgs/by-name/ry/rygel/package.nix b/pkgs/by-name/ry/rygel/package.nix index a22928d51c55..e24ccb2c4eb5 100644 --- a/pkgs/by-name/ry/rygel/package.nix +++ b/pkgs/by-name/ry/rygel/package.nix @@ -10,6 +10,7 @@ gettext, libxml2, libxslt, + docutils, gobject-introspection, wrapGAppsHook4, wrapGAppsNoGuiHook, @@ -38,7 +39,7 @@ stdenv.mkDerivation (finalAttrs: { pname = "rygel"; - version = "45.2"; + version = "46.rc.0"; # TODO: split out lib outputs = [ @@ -48,7 +49,7 @@ stdenv.mkDerivation (finalAttrs: { src = fetchurl { url = "mirror://gnome/sources/rygel/${lib.versions.major finalAttrs.version}/rygel-${finalAttrs.version}.tar.xz"; - hash = "sha256-IOV7cLFahl133Dj594arxSxksRH+X5OKYsKNcS3xMx0="; + hash = "sha256-r6YZ8hdtuNIlLM+7/xOv14Ir9+qorBwJ6I4j+Ns0lOQ="; }; patches = [ @@ -64,9 +65,12 @@ stdenv.mkDerivation (finalAttrs: { gettext libxml2 libxslt # for xsltproc + docutils # for rst2man gobject-introspection (if withGtk then wrapGAppsHook4 else wrapGAppsNoGuiHook) - python3 + (python3.withPackages (ps: [ + ps.pyyaml + ])) ]; buildInputs = [ From 8aa90b926bd45cede6a673ca708a5694eb86ceee Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marco=20=22Capypara=22=20K=C3=B6pcke?= Date: Mon, 7 Sep 2026 18:05:16 +0000 Subject: [PATCH 1852/2378] snapshot: 50.0 -> 51.beta https://gitlab.gnome.org/GNOME/snapshot/-/compare/50.0...51.beta --- pkgs/by-name/sn/snapshot/package.nix | 12 ++++-------- 1 file changed, 4 insertions(+), 8 deletions(-) diff --git a/pkgs/by-name/sn/snapshot/package.nix b/pkgs/by-name/sn/snapshot/package.nix index 3453c0fca4eb..19b25e4bd61c 100644 --- a/pkgs/by-name/sn/snapshot/package.nix +++ b/pkgs/by-name/sn/snapshot/package.nix @@ -18,19 +18,17 @@ gtk4, libadwaita, libcamera, - lcms2, - libseccomp, pipewire, gnome, }: stdenv.mkDerivation (finalAttrs: { pname = "snapshot"; - version = "50.0"; + version = "51.beta"; src = fetchurl { url = "mirror://gnome/sources/snapshot/${lib.versions.major finalAttrs.version}/snapshot-${finalAttrs.version}.tar.xz"; - hash = "sha256-7J2vmIPrkDMJEbtR5rae7YydvdVDjoZK3JDuVaX+nu0="; + hash = "sha256-EJh3LdDkKlRLkQuOpXNGdeRDMvAJOr0riBzNAQI1+so="; }; cargoVendorDir = "vendor"; @@ -60,15 +58,13 @@ stdenv.mkDerivation (finalAttrs: { gtk4 libadwaita libcamera # for the gstreamer plugin - lcms2 - libseccomp pipewire # for device provider ]; postPatch = '' substituteInPlace src/meson.build --replace-fail \ - "'cp', cargo_target / rust_target / meson.project_name()" \ - "'cp', cargo_target / '${stdenv.hostPlatform.rust.cargoShortTarget}' / rust_target / meson.project_name()" + "cargo_target / rust_target / meson.project_name()," \ + "cargo_target / '${stdenv.hostPlatform.rust.cargoShortTarget}' / rust_target / meson.project_name()," ''; preFixup = '' From 8bd87ddb7e75d66618c2bd4ac441b718a73ab89b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marco=20=22Capypara=22=20K=C3=B6pcke?= Date: Mon, 7 Sep 2026 18:05:28 +0000 Subject: [PATCH 1853/2378] sushi: 50.0 -> 51.rc https://gitlab.gnome.org/GNOME/sushi/-/compare/50.0...51.rc --- pkgs/by-name/su/sushi/package.nix | 45 +++++++++++++++++-------------- 1 file changed, 25 insertions(+), 20 deletions(-) diff --git a/pkgs/by-name/su/sushi/package.nix b/pkgs/by-name/su/sushi/package.nix index 27c77ba1c8bc..028a71755e5e 100644 --- a/pkgs/by-name/su/sushi/package.nix +++ b/pkgs/by-name/su/sushi/package.nix @@ -1,36 +1,38 @@ { lib, stdenv, + blueprint-compiler, fetchurl, pkg-config, meson, gettext, gobject-introspection, - evince, glib, gnome, - gtksourceview4, + gtksourceview5, gjs, libsoup_3, - webkitgtk_4_1, - icu, - wrapGAppsHook3, + webkitgtk_6_0, + wrapGAppsHook4, gst_all_1, - gdk-pixbuf, - librsvg, - gtk3, + gtk4, + libadwaita, harfbuzz, ninja, - libepoxy, + papers, + fribidi, + libglycin, + libglycin-gtk4, + glycin-loaders, }: stdenv.mkDerivation (finalAttrs: { pname = "sushi"; - version = "50.0"; + version = "51.rc"; src = fetchurl { url = "mirror://gnome/sources/sushi/${lib.versions.major finalAttrs.version}/sushi-${finalAttrs.version}.tar.xz"; - hash = "sha256-qyUXeQjVzMWFaHaageubTzIwZ4bmxzYYGT6/YaEn7gA="; + hash = "sha256-QAtBzcKTLj609XMyEfwH0U67T15wKhZ5/ayMItl7Mew="; }; nativeBuildInputs = [ @@ -39,22 +41,25 @@ stdenv.mkDerivation (finalAttrs: { ninja gettext gobject-introspection - wrapGAppsHook3 + blueprint-compiler + wrapGAppsHook4 ]; buildInputs = [ glib - gtk3 - evince - icu harfbuzz gjs - gtksourceview4 - gdk-pixbuf - librsvg + gtk4 + libglycin + libglycin.setupHook + libglycin-gtk4 + glycin-loaders + libadwaita + gtksourceview5 libsoup_3 - webkitgtk_4_1 - libepoxy + webkitgtk_6_0 + papers + fribidi gst_all_1.gstreamer gst_all_1.gst-plugins-base (gst_all_1.gst-plugins-good.override { gtkSupport = true; }) From fd18cd2165a46e75438ff48e35e9f75b3e0554c3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marco=20=22Capypara=22=20K=C3=B6pcke?= Date: Mon, 7 Sep 2026 18:05:39 +0000 Subject: [PATCH 1854/2378] sysprof: 50.0 -> 51.rc https://gitlab.gnome.org/GNOME/sysprof/-/compare/50.0...51.rc --- pkgs/by-name/sy/sysprof/package.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/by-name/sy/sysprof/package.nix b/pkgs/by-name/sy/sysprof/package.nix index 113fe13becdf..a2a255d07fb7 100644 --- a/pkgs/by-name/sy/sysprof/package.nix +++ b/pkgs/by-name/sy/sysprof/package.nix @@ -26,7 +26,7 @@ stdenv.mkDerivation (finalAttrs: { pname = "sysprof"; - version = "50.0"; + version = "51.rc"; outputs = [ "out" @@ -36,7 +36,7 @@ stdenv.mkDerivation (finalAttrs: { src = fetchurl { url = "mirror://gnome/sources/sysprof/${lib.versions.major finalAttrs.version}/sysprof-${finalAttrs.version}.tar.xz"; - hash = "sha256-qs5E6Q6Q9sNLsvvsjMtHuPgRAwgJeNZXWSh4Q8Mp1To="; + hash = "sha256-JiMDPeTApMOuE0/Xarr1+g50K6DKdJMYRlnQslxwryI="; }; nativeBuildInputs = [ From 77f31cc4f761d30654962e629df9be7bf2230795 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marco=20=22Capypara=22=20K=C3=B6pcke?= Date: Mon, 7 Sep 2026 18:05:51 +0000 Subject: [PATCH 1855/2378] tinysparql: 3.11.1 -> 3.12.rc https://gitlab.gnome.org/GNOME/tinysparql/-/compare/3.11.1...3.12.rc --- pkgs/by-name/ti/tinysparql/package.nix | 17 ++--------------- 1 file changed, 2 insertions(+), 15 deletions(-) diff --git a/pkgs/by-name/ti/tinysparql/package.nix b/pkgs/by-name/ti/tinysparql/package.nix index aeeae95159df..75a179666042 100644 --- a/pkgs/by-name/ti/tinysparql/package.nix +++ b/pkgs/by-name/ti/tinysparql/package.nix @@ -2,7 +2,6 @@ stdenv, lib, fetchurl, - fetchpatch, gettext, meson, mesonEmulatorHook, @@ -35,7 +34,7 @@ stdenv.mkDerivation (finalAttrs: { pname = "tinysparql"; - version = "3.11.1"; + version = "3.12.rc"; outputs = [ "out" @@ -47,21 +46,9 @@ stdenv.mkDerivation (finalAttrs: { url = with finalAttrs; "mirror://gnome/sources/tinysparql/${lib.versions.majorMinor version}/tinysparql-${version}.tar.xz"; - hash = "sha256-z9RgIe4VFK1DXnFPeqHsenh8f1FqlPTHQ4iX7j1uyh4="; + hash = "sha256-CDFEXznHp2mCJAW3pV5A9jtJ1cDV7cU1yewMS+GWKgI="; }; - patches = [ - # sqlite changed the precision of float <-> text conversions, causing - # failures in the test suite. patch here until this appears in a release. - # https://gitlab.gnome.org/GNOME/tinysparql/-/work_items/496 - # https://gitlab.gnome.org/GNOME/tinysparql/-/merge_requests/811 - (fetchpatch { - name = "tinysparql-sqlite-double-value-precision.patch"; - url = "https://gitlab.gnome.org/GNOME/tinysparql/-/commit/47d5bf9313d0ccb1feb7169eed9047d0e1597a39.patch"; - hash = "sha256-k6eELZCEEtD8s7GiMckjTlf6QcAiUNY1Mraw7GROsm4="; - }) - ]; - strictDeps = true; depsBuildBuild = [ From d8fce8c700172bf4b29c35b80a523601cb51035e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marco=20=22Capypara=22=20K=C3=B6pcke?= Date: Mon, 7 Sep 2026 18:06:34 +0000 Subject: [PATCH 1856/2378] xdg-desktop-portal-gnome: 50.0 -> 51.rc https://gitlab.gnome.org/GNOME/xdg-desktop-portal-gnome/-/compare/50.0...51.rc --- pkgs/by-name/xd/xdg-desktop-portal-gnome/package.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/by-name/xd/xdg-desktop-portal-gnome/package.nix b/pkgs/by-name/xd/xdg-desktop-portal-gnome/package.nix index 95c538036275..e2dcccaa1cd3 100644 --- a/pkgs/by-name/xd/xdg-desktop-portal-gnome/package.nix +++ b/pkgs/by-name/xd/xdg-desktop-portal-gnome/package.nix @@ -23,11 +23,11 @@ stdenv.mkDerivation (finalAttrs: { pname = "xdg-desktop-portal-gnome"; - version = "50.0"; + version = "51.rc"; src = fetchurl { url = "mirror://gnome/sources/xdg-desktop-portal-gnome/${lib.versions.major finalAttrs.version}/xdg-desktop-portal-gnome-${finalAttrs.version}.tar.xz"; - hash = "sha256-zu7y+2izSz9mo97wozKiKnCvJyZB+2xQBlt6L949V1k="; + hash = "sha256-Enw1nxA1T994vNqUZZc+Ibs1Co+7Ifk472EYHqkGzyc="; }; nativeBuildInputs = [ From 8cdcbc4283311b94c9759118c27ab43f36d99385 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marco=20=22Capypara=22=20K=C3=B6pcke?= Date: Mon, 7 Sep 2026 18:06:45 +0000 Subject: [PATCH 1857/2378] yelp: 49.1 -> 49.2 https://gitlab.gnome.org/GNOME/yelp/-/compare/49.1...49.2 --- pkgs/by-name/ye/yelp/package.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/by-name/ye/yelp/package.nix b/pkgs/by-name/ye/yelp/package.nix index 30b0cbce2796..f2ae6876f38f 100644 --- a/pkgs/by-name/ye/yelp/package.nix +++ b/pkgs/by-name/ye/yelp/package.nix @@ -24,11 +24,11 @@ stdenv.mkDerivation (finalAttrs: { pname = "yelp"; - version = "49.1"; + version = "49.2"; src = fetchurl { url = "mirror://gnome/sources/yelp/${lib.versions.major finalAttrs.version}/yelp-${finalAttrs.version}.tar.xz"; - hash = "sha256-Pj6U7y0slIfMUQYuOvv6FXjOvSnYDIQ1e21+5tz9inQ="; + hash = "sha256-WvyOdzCEUe5F7pGe/uWhVMo8FTqQ4qG1jOv3gnq4itA="; }; nativeBuildInputs = [ From a574b47d3223974c5b8af1adb9ffa8c187cd4280 Mon Sep 17 00:00:00 2001 From: Tom Hunze Date: Wed, 2 Sep 2026 22:16:01 +0200 Subject: [PATCH 1858/2378] blueprint-compiler: convert to buildPythonApplication --- .../by-name/bl/blueprint-compiler/package.nix | 21 ++++++++++++------- 1 file changed, 13 insertions(+), 8 deletions(-) diff --git a/pkgs/by-name/bl/blueprint-compiler/package.nix b/pkgs/by-name/bl/blueprint-compiler/package.nix index 9d5876dd03da..a24f48c20be1 100644 --- a/pkgs/by-name/bl/blueprint-compiler/package.nix +++ b/pkgs/by-name/bl/blueprint-compiler/package.nix @@ -6,17 +6,19 @@ libadwaita, meson, ninja, - python3, runCommand, stdenv, testers, wrapGAppsNoGuiHook, xvfb-run, gnome, + python3Packages, }: -stdenv.mkDerivation (finalAttrs: { + +python3Packages.buildPythonApplication (finalAttrs: { pname = "blueprint-compiler"; version = "0.22.2"; + pyproject = false; src = fetchFromGitLab { domain = "gitlab.gnome.org"; @@ -34,17 +36,11 @@ stdenv.mkDerivation (finalAttrs: { gobject-introspection meson ninja - python3 wrapGAppsNoGuiHook ]; buildInputs = [ libadwaita - (python3.withPackages ( - ps: with ps; [ - pygobject3 - ] - )) ]; propagatedBuildInputs = [ @@ -52,6 +48,8 @@ stdenv.mkDerivation (finalAttrs: { gobject-introspection ]; + dependencies = [ python3Packages.pygobject3 ]; + nativeCheckInputs = [ dbus xvfb-run @@ -70,6 +68,13 @@ stdenv.mkDerivation (finalAttrs: { runHook postCheck ''; + # Prevent double wrapping, let the Python wrapper use the args in preFixup. + dontWrapGApps = true; + + preFixup = '' + makeWrapperArgs+=("''${gappsWrapperArgs[@]}") + ''; + passthru = { tests = { version = testers.testVersion { From 0ea5d22e07d58cea8eddd0a2619ca62c7423c27e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marco=20=22Capypara=22=20K=C3=B6pcke?= Date: Thu, 3 Sep 2026 14:19:49 +0200 Subject: [PATCH 1859/2378] glibmm: 2.66.8 -> 2.66.10 --- pkgs/by-name/gl/glibmm_2_4/package.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/by-name/gl/glibmm_2_4/package.nix b/pkgs/by-name/gl/glibmm_2_4/package.nix index 1bcc205b000b..9801de790a8c 100644 --- a/pkgs/by-name/gl/glibmm_2_4/package.nix +++ b/pkgs/by-name/gl/glibmm_2_4/package.nix @@ -13,14 +13,14 @@ stdenv.mkDerivation (finalAttrs: { pname = "glibmm"; - version = "2.66.8"; + version = "2.66.10"; __structuredAttrs = true; strictDeps = true; src = fetchurl { url = "mirror://gnome/sources/glibmm/${lib.versions.majorMinor finalAttrs.version}/glibmm-${finalAttrs.version}.tar.xz"; - hash = "sha256-ZPEdO5WiTiqNQWbs/1GHMPeezCciLvQfr3x+A0D8kyk="; + hash = "sha256-K2F4AgOu2Y5wHT6lfI81PnyK2pcGp5vngvbFFT3QNcA="; }; outputs = [ From 04ba8d17dc88a4cab812da4be10b9873770af3c3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marco=20=22Capypara=22=20K=C3=B6pcke?= Date: Thu, 3 Sep 2026 14:20:19 +0200 Subject: [PATCH 1860/2378] pangomm_1_4: 2.46.4 -> 2.46.5 --- pkgs/by-name/pa/pangomm_2_48/1.4.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/by-name/pa/pangomm_2_48/1.4.nix b/pkgs/by-name/pa/pangomm_2_48/1.4.nix index 439628e2ffa9..e9fb269b8f28 100644 --- a/pkgs/by-name/pa/pangomm_2_48/1.4.nix +++ b/pkgs/by-name/pa/pangomm_2_48/1.4.nix @@ -14,14 +14,14 @@ stdenv.mkDerivation rec { pname = "pangomm"; - version = "2.46.4"; + version = "2.46.5"; __structuredAttrs = true; strictDeps = true; src = fetchurl { url = "mirror://gnome/sources/pangomm/${lib.versions.majorMinor version}/pangomm-${version}.tar.xz"; - sha256 = "sha256-uSAWZhUmQk3kuTd/FRL1l4H0H7FsnAJn1hM7oc1o2yI="; + hash = "sha256-OMoLBQsGXeTj2gwYLfZXQ3dXBju/DEtslWfdugGbHWg="; }; outputs = [ From f41d3e17363019c59a2c7bcac64a7e2dff39e906 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marco=20=22Capypara=22=20K=C3=B6pcke?= Date: Thu, 3 Sep 2026 14:20:38 +0200 Subject: [PATCH 1861/2378] gtkmm3: 3.24.10 -> 3.24.11 --- pkgs/by-name/gt/gtkmm3/package.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/by-name/gt/gtkmm3/package.nix b/pkgs/by-name/gt/gtkmm3/package.nix index 4d8d9cd78ae8..bf927ede983d 100644 --- a/pkgs/by-name/gt/gtkmm3/package.nix +++ b/pkgs/by-name/gt/gtkmm3/package.nix @@ -19,11 +19,11 @@ stdenv.mkDerivation (finalAttrs: { pname = "gtkmm"; - version = "3.24.10"; + version = "3.24.11"; src = fetchurl { url = "mirror://gnome/sources/gtkmm/${lib.versions.majorMinor finalAttrs.version}/gtkmm-${finalAttrs.version}.tar.xz"; - sha256 = "erfiJmgIcW4mw5kkrOH7RtqGwX7znZiWJMQjFLMrWnY="; + hash = "sha256-GeODyC1d2J2ydeALgoZOkEFNTD+z0QCy+Za8wjOKTMc="; }; outputs = [ From a1fe2786aa41f5088a7c9dbd9bc4ea9a8c5c4386 Mon Sep 17 00:00:00 2001 From: Tom Hunze Date: Wed, 16 Sep 2026 17:39:37 +0000 Subject: [PATCH 1862/2378] adwaita-icon-theme: 51.beta -> 51.0 https://gitlab.gnome.org/GNOME/adwaita-icon-theme/-/compare/51.beta...51.0 --- pkgs/by-name/ad/adwaita-icon-theme/package.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/by-name/ad/adwaita-icon-theme/package.nix b/pkgs/by-name/ad/adwaita-icon-theme/package.nix index c1faca52e828..77a7bf3c1414 100644 --- a/pkgs/by-name/ad/adwaita-icon-theme/package.nix +++ b/pkgs/by-name/ad/adwaita-icon-theme/package.nix @@ -14,11 +14,11 @@ stdenv.mkDerivation (finalAttrs: { pname = "adwaita-icon-theme"; - version = "51.beta"; + version = "51.0"; src = fetchurl { url = "mirror://gnome/sources/adwaita-icon-theme/${lib.versions.major finalAttrs.version}/adwaita-icon-theme-${finalAttrs.version}.tar.xz"; - hash = "sha256-tVtgtAb25zypJYdaMBRGkeNHlx03hdRICO2e8Js/LcM="; + hash = "sha256-ulYc88ljBaRxefpWBYVq1pXJI46gf3CTrr2bqAxOMjs="; }; nativeBuildInputs = [ From ba118426b0ae30c5d51be0f421fe393e4b141a6a Mon Sep 17 00:00:00 2001 From: Tom Hunze Date: Wed, 16 Sep 2026 17:40:27 +0000 Subject: [PATCH 1863/2378] at-spi2-core: 2.61.90 -> 2.62.0 https://gitlab.gnome.org/GNOME/at-spi2-core/-/compare/2.61.90...2.62.0 --- pkgs/by-name/at/at-spi2-core/package.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/by-name/at/at-spi2-core/package.nix b/pkgs/by-name/at/at-spi2-core/package.nix index 1c0054790c5b..c7622d84165c 100644 --- a/pkgs/by-name/at/at-spi2-core/package.nix +++ b/pkgs/by-name/at/at-spi2-core/package.nix @@ -29,7 +29,7 @@ stdenv.mkDerivation (finalAttrs: { pname = "at-spi2-core"; - version = "2.61.90"; + version = "2.62.0"; outputs = [ "out" @@ -39,7 +39,7 @@ stdenv.mkDerivation (finalAttrs: { src = fetchurl { url = "mirror://gnome/sources/at-spi2-core/${lib.versions.majorMinor finalAttrs.version}/at-spi2-core-${finalAttrs.version}.tar.xz"; - hash = "sha256-8JnWINKkiZf807ikoES2AVblnBFoV6y8Z2IIVW71QMM="; + hash = "sha256-A6lPe/NfMA2vKEOjfN82R5qRvFP1mo6kN8eeJdldHeM="; }; nativeBuildInputs = [ From c2530b9573e571594d1a8bebcc66c09bbbc1dd77 Mon Sep 17 00:00:00 2001 From: Tom Hunze Date: Wed, 16 Sep 2026 17:44:06 +0000 Subject: [PATCH 1864/2378] dconf: 51.rc -> 51.0 https://gitlab.gnome.org/GNOME/dconf/-/compare/51.rc...51.0 --- pkgs/by-name/dc/dconf/package.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/by-name/dc/dconf/package.nix b/pkgs/by-name/dc/dconf/package.nix index 25a9c8b34f55..177a67a365ae 100644 --- a/pkgs/by-name/dc/dconf/package.nix +++ b/pkgs/by-name/dc/dconf/package.nix @@ -27,7 +27,7 @@ stdenv.mkDerivation (finalAttrs: { pname = "dconf"; - version = "51.rc"; + version = "51.0"; __structuredAttrs = true; strictDeps = true; @@ -42,7 +42,7 @@ stdenv.mkDerivation (finalAttrs: { src = fetchurl { url = "mirror://gnome/sources/dconf/${lib.versions.major finalAttrs.version}/dconf-${finalAttrs.version}.tar.xz"; - sha256 = "cddc5z4ZM13XidMLIv5l4sbD+9j/aC1JYmcRgcBEwtA="; + sha256 = "5lwbeGf4Nvqtn57gSs9cWmyuK7x4SDP+CTIH4MtZAkg="; }; nativeBuildInputs = [ From d3f1967692dc50da8ff6086db5e8e86ddef7f4a6 Mon Sep 17 00:00:00 2001 From: Tom Hunze Date: Wed, 16 Sep 2026 17:45:08 +0000 Subject: [PATCH 1865/2378] epiphany: 51.rc -> 51.0 https://gitlab.gnome.org/GNOME/epiphany/-/compare/51.rc...51.0 --- pkgs/by-name/ep/epiphany/CVE-2026-18487.patch | 85 ------------------- pkgs/by-name/ep/epiphany/package.nix | 12 +-- 2 files changed, 2 insertions(+), 95 deletions(-) delete mode 100644 pkgs/by-name/ep/epiphany/CVE-2026-18487.patch diff --git a/pkgs/by-name/ep/epiphany/CVE-2026-18487.patch b/pkgs/by-name/ep/epiphany/CVE-2026-18487.patch deleted file mode 100644 index 82524eee8fa0..000000000000 --- a/pkgs/by-name/ep/epiphany/CVE-2026-18487.patch +++ /dev/null @@ -1,85 +0,0 @@ -From cecdea95801630c87ef1cc502437fedc608631bd Mon Sep 17 00:00:00 2001 -From: Michael Catanzaro -Date: Fri, 10 Jul 2026 08:55:09 -0500 -Subject: [PATCH] Fix address bar spoofing when userinfo contains : character - -Our algorithm for finding the host component of the URL without using a -URL parser is easily defeated by a colon in the userinfo section. -Tighten this up. - -It's a real shame that we cannot use a normal URL parser here. But the -goal is to return a pointer into the original string, without mutating -it, so that's not an option. - -Fixes #2897 - - -(cherry picked from commit 0dde1d369458ac5c44b74b5ad3c433f825f6f8af) - -Co-authored-by: Michael Catanzaro ---- - lib/ephy-uri-helpers.c | 7 ++++--- - tests/ephy-uri-helpers-test.c | 16 +++++++++++++++- - 2 files changed, 19 insertions(+), 4 deletions(-) - -diff --git a/lib/ephy-uri-helpers.c b/lib/ephy-uri-helpers.c -index aa11edb43..a67005741 100644 ---- a/lib/ephy-uri-helpers.c -+++ b/lib/ephy-uri-helpers.c -@@ -96,11 +96,12 @@ ephy_uri_get_base_domain (const char *hostname) - static const char * - get_first_colon_after_host (const char *authority_start) - { -- const char *search_start = authority_start; -+ const char *userinfo_end = strchr (authority_start, '@'); -+ const char *search_start = userinfo_end ? userinfo_end + 1 : authority_start; - - /* Skip colons in IPv6 addresses */ -- if (authority_start[0] == '[') { -- const char *bracket_close = strchr (authority_start, ']'); -+ if (search_start[0] == '[') { -+ const char *bracket_close = strchr (search_start, ']'); - if (bracket_close) - search_start = bracket_close; - } -diff --git a/tests/ephy-uri-helpers-test.c b/tests/ephy-uri-helpers-test.c -index daf5b7180..b800419db 100644 ---- a/tests/ephy-uri-helpers-test.c -+++ b/tests/ephy-uri-helpers-test.c -@@ -30,12 +30,25 @@ test_ephy_uri_decode (void) - - result = ephy_uri_decode ("https://ja.wikipedia.org/wiki/%E3%83%A1%E3%82%A4%E3%83%B3%E3%83%9A%E3%83%BC%E3%82%B8"); - g_assert_cmpstr (result, ==, "https://ja.wikipedia.org/wiki/メインページ"); -- - g_clear_pointer (&result, g_free); -+ - result = ephy_uri_decode ("https://xn--9dbaqfu.xn--4dbrk0ce/"); - g_assert_cmpstr (result, ==, "https://כולנו.ישראל/"); - } - -+static void -+test_ephy_uri_get_decoded_host (void) -+{ -+ g_autofree char *result = NULL; -+ -+ result = ephy_uri_get_decoded_host ("https://example.com:80@www.gnome.org/"); -+ g_assert_cmpstr (result, ==, "www.gnome.org"); -+ g_clear_pointer (&result, g_free); -+ -+ result = ephy_uri_get_decoded_host ("https://[::1]:8080/"); -+ g_assert_cmpstr (result, ==, "[::1]"); -+} -+ - int - main (int argc, - char *argv[]) -@@ -45,6 +58,7 @@ main (int argc, - g_test_init (&argc, &argv, NULL); - - g_test_add_func ("/lib/ephy-uri-helpers/decode", test_ephy_uri_decode); -+ g_test_add_func ("/lib/ephy-uri-helpers/get-decoded-host", test_ephy_uri_get_decoded_host); - - ret = g_test_run (); - --- -GitLab diff --git a/pkgs/by-name/ep/epiphany/package.nix b/pkgs/by-name/ep/epiphany/package.nix index 2ca546248041..8faa02364a08 100644 --- a/pkgs/by-name/ep/epiphany/package.nix +++ b/pkgs/by-name/ep/epiphany/package.nix @@ -5,7 +5,6 @@ meson, ninja, gettext, - fetchpatch, fetchurl, pkg-config, gtk4, @@ -41,20 +40,13 @@ stdenv.mkDerivation (finalAttrs: { pname = "epiphany"; - version = "51.rc"; + version = "51.0"; src = fetchurl { url = "mirror://gnome/sources/epiphany/${lib.versions.major finalAttrs.version}/epiphany-${finalAttrs.version}.tar.xz"; - hash = "sha256-FNWFwPpQmgifUqlWIZkswvn+xPvWDUpseUt/lOc7vQw="; + hash = "sha256-q68zV2RiAwxlu5Y6VjAKd4bn11g08ckKnf/ahzg1wz0="; }; - patches = [ - # Remove when updating to 51.0 - # Upstream issue: https://gitlab.gnome.org/GNOME/epiphany/-/work_items/2897 - # Upstream PR: https://gitlab.gnome.org/GNOME/epiphany/-/merge_requests/2123 - ./CVE-2026-18487.patch - ]; - nativeBuildInputs = [ blueprint-compiler desktop-file-utils From f8b832a2a242da0b4544b124d2a128a50f8f6406 Mon Sep 17 00:00:00 2001 From: Tom Hunze Date: Wed, 16 Sep 2026 17:47:01 +0000 Subject: [PATCH 1866/2378] evolution-data-server: 3.61.3 -> 3.62.0 https://gitlab.gnome.org/GNOME/evolution-data-server/-/compare/3.61.3...3.62.0 --- pkgs/by-name/ev/evolution-data-server/package.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/by-name/ev/evolution-data-server/package.nix b/pkgs/by-name/ev/evolution-data-server/package.nix index 9cae9cbe7980..d40ea079a6fa 100644 --- a/pkgs/by-name/ev/evolution-data-server/package.nix +++ b/pkgs/by-name/ev/evolution-data-server/package.nix @@ -50,7 +50,7 @@ stdenv.mkDerivation (finalAttrs: { pname = "evolution-data-server"; - version = "3.61.3"; + version = "3.62.0"; outputs = [ "out" @@ -59,7 +59,7 @@ stdenv.mkDerivation (finalAttrs: { src = fetchurl { url = "mirror://gnome/sources/evolution-data-server/${lib.versions.majorMinor finalAttrs.version}/evolution-data-server-${finalAttrs.version}.tar.xz"; - hash = "sha256-HLnJtqEvpTRz9cAzKsOf/zJYb7Iqkyomqpc8JguxOoM="; + hash = "sha256-eL6I6aUR9a/n/y42Pq3oS2It0CgmR/xXbtstT/KWLLo="; }; patches = [ From 59eeacecd4c9014d4bd5e70a7e1e1edf56a01926 Mon Sep 17 00:00:00 2001 From: Tom Hunze Date: Wed, 16 Sep 2026 17:47:50 +0000 Subject: [PATCH 1867/2378] libfoundry: 1.2.beta -> 1.2.0 https://gitlab.gnome.org/GNOME/foundry/-/compare/1.2.beta...1.2.0 --- pkgs/by-name/li/libfoundry/package.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/by-name/li/libfoundry/package.nix b/pkgs/by-name/li/libfoundry/package.nix index 82aa9779e8e1..abfe28362d61 100644 --- a/pkgs/by-name/li/libfoundry/package.nix +++ b/pkgs/by-name/li/libfoundry/package.nix @@ -38,7 +38,7 @@ stdenv.mkDerivation (finalAttrs: { pname = "libfoundry${lib.optionalString withGtk "-gtk"}"; - version = "1.2.beta"; + version = "1.2.0"; outputs = [ "out" @@ -48,7 +48,7 @@ stdenv.mkDerivation (finalAttrs: { src = fetchurl { url = "mirror://gnome/sources/foundry/${lib.versions.majorMinor finalAttrs.version}/foundry-${finalAttrs.version}.tar.xz"; - hash = "sha256-XkYayf+EJUpGstiPsGVDgvRkrzqHmH8bZIRnXILcOJI="; + hash = "sha256-fIaqeQyJUga2aMnxjCGo9dIAeL2bJx+Yd2lNMelWSzQ="; }; patches = [ From d8642792417c5ab7c4ca56c842732cd1b6b6d574 Mon Sep 17 00:00:00 2001 From: Tom Hunze Date: Wed, 16 Sep 2026 17:48:21 +0000 Subject: [PATCH 1868/2378] gcr_4: 4.4.0.1 -> 4.4.1 https://gitlab.gnome.org/GNOME/gcr/-/compare/4.4.0.1...4.4.1 --- pkgs/by-name/gc/gcr_4/package.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/by-name/gc/gcr_4/package.nix b/pkgs/by-name/gc/gcr_4/package.nix index 229d8e89d4a4..a9c67ba19438 100644 --- a/pkgs/by-name/gc/gcr_4/package.nix +++ b/pkgs/by-name/gc/gcr_4/package.nix @@ -31,7 +31,7 @@ let in stdenv.mkDerivation (finalAttrs: { pname = "gcr"; - version = "4.4.0.1"; + version = "4.4.1"; __structuredAttrs = true; @@ -44,7 +44,7 @@ stdenv.mkDerivation (finalAttrs: { src = fetchurl { url = "mirror://gnome/sources/gcr/${lib.versions.majorMinor finalAttrs.version}/gcr-${finalAttrs.version}.tar.xz"; - hash = "sha256-DDw0Hkn59PJTKkiEUJgEGQoMJmPmEgNguymMXRdKgJg="; + hash = "sha256-xEQsFdQzDxeh9RlN8IxXaHevaEEqslIURqk71eJMkxs="; }; strictDeps = true; From cd8382adc90c1a50278f5074437d3f284646e02f Mon Sep 17 00:00:00 2001 From: Tom Hunze Date: Wed, 16 Sep 2026 17:49:30 +0000 Subject: [PATCH 1869/2378] gdm: 51.rc -> 51.0 https://gitlab.gnome.org/GNOME/gdm/-/compare/51.rc...51.0 --- pkgs/by-name/gd/gdm/package.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/by-name/gd/gdm/package.nix b/pkgs/by-name/gd/gdm/package.nix index 77993818dc59..5ca247523e05 100644 --- a/pkgs/by-name/gd/gdm/package.nix +++ b/pkgs/by-name/gd/gdm/package.nix @@ -42,7 +42,7 @@ in stdenv.mkDerivation (finalAttrs: { pname = "gdm"; - version = "51.rc"; + version = "51.0"; outputs = [ "out" @@ -51,7 +51,7 @@ stdenv.mkDerivation (finalAttrs: { src = fetchurl { url = "mirror://gnome/sources/gdm/${lib.versions.major finalAttrs.version}/gdm-${finalAttrs.version}.tar.xz"; - hash = "sha256-oe20nWbQIldZfmtJ3hMW7mfuPMGdjcRkbVTBfHrhnbo="; + hash = "sha256-LOWs9aQ4uPbcHRT9d3qRG+XusvermnxGABZiBbFdZTY="; }; mesonFlags = [ From e14ab80590a07cbd4882e456842032fa8802e862 Mon Sep 17 00:00:00 2001 From: Tom Hunze Date: Wed, 16 Sep 2026 19:54:21 +0200 Subject: [PATCH 1870/2378] gjs: 1.89.90 -> 1.90.0 https://gitlab.gnome.org/GNOME/gjs/-/compare/1.89.90...1.90.0 --- pkgs/by-name/gj/gjs/package.nix | 11 ++--------- 1 file changed, 2 insertions(+), 9 deletions(-) diff --git a/pkgs/by-name/gj/gjs/package.nix b/pkgs/by-name/gj/gjs/package.nix index 77bd7a874e69..b1fc5931fbb8 100644 --- a/pkgs/by-name/gj/gjs/package.nix +++ b/pkgs/by-name/gj/gjs/package.nix @@ -1,6 +1,5 @@ { fetchurl, - fetchpatch, lib, stdenv, meson, @@ -43,7 +42,7 @@ let in stdenv.mkDerivation (finalAttrs: { pname = "gjs"; - version = "1.89.90"; + version = "1.90.0"; outputs = [ "out" @@ -53,7 +52,7 @@ stdenv.mkDerivation (finalAttrs: { src = fetchurl { url = "mirror://gnome/sources/gjs/${lib.versions.majorMinor finalAttrs.version}/gjs-${finalAttrs.version}.tar.xz"; - hash = "sha256-Za7JPCYcQR2jIVrsNCwkv7fndZIxZbODLZlUkdjAVOY="; + hash = "sha256-R+nyKx1KyoQcbEkrRJtt4y/2gJchg+Jv57mKRcXD/uE="; }; patches = [ @@ -72,12 +71,6 @@ stdenv.mkDerivation (finalAttrs: { # not ok 796 Filename tests various types of path existing # Message: Error opening file “/build/.UGHEA3/öäü-3”: Invalid or incomplete multibyte or wide character in /build/gjs-1.84.2/build/../installed-tests/js/testGIMarshalling.js (line 2937) ./disable-umlaut-test.patch - - # Fixes build: https://gitlab.gnome.org/GNOME/gjs/-/merge_requests/1114 - (fetchpatch { - url = "https://gitlab.gnome.org/GNOME/gjs/-/merge_requests/1114.patch"; - hash = "sha256-AiBuTJHdpzANzl27yHkq+Og1oEva3NpUcSEhSOWnF9s="; - }) ]; nativeBuildInputs = [ From 1d44fa0e76df871915f1913459fba0a22e152541 Mon Sep 17 00:00:00 2001 From: Tom Hunze Date: Wed, 16 Sep 2026 19:58:55 +0200 Subject: [PATCH 1871/2378] glib: 2.89.4 -> 2.90.0 https://gitlab.gnome.org/GNOME/glib/-/compare/2.89.4...2.90.0 --- pkgs/by-name/gl/glib/package.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/by-name/gl/glib/package.nix b/pkgs/by-name/gl/glib/package.nix index 4a8c976a7866..1d6b21a8d5ad 100644 --- a/pkgs/by-name/gl/glib/package.nix +++ b/pkgs/by-name/gl/glib/package.nix @@ -81,7 +81,7 @@ in stdenv.mkDerivation (finalAttrs: { pname = "glib"; - version = "2.89.4"; + version = "2.90.0"; outputs = [ "bin" @@ -94,7 +94,7 @@ stdenv.mkDerivation (finalAttrs: { src = fetchurl { url = "mirror://gnome/sources/glib/${lib.versions.majorMinor finalAttrs.version}/glib-${finalAttrs.version}.tar.xz"; - hash = "sha256-HNu3mfVYgy5vFLgze1/VmcaRirFEl3tV4F4ApeLoSiw="; + hash = "sha256-F9FcrCr4CjMnESdAjgq8J0jrKXxZXComQJ6B4U59G48="; }; patches = From cacecdf4270b4809ceb4565b2be4af35b75ef9e9 Mon Sep 17 00:00:00 2001 From: Tom Hunze Date: Wed, 16 Sep 2026 18:00:36 +0000 Subject: [PATCH 1872/2378] glib-networking: 2.90.alpha -> 2.90.0 https://gitlab.gnome.org/GNOME/glib-networking/-/compare/2.90.alpha...2.90.0 --- pkgs/by-name/gl/glib-networking/package.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/by-name/gl/glib-networking/package.nix b/pkgs/by-name/gl/glib-networking/package.nix index 8a9b6bba0564..b3c38f6efc89 100644 --- a/pkgs/by-name/gl/glib-networking/package.nix +++ b/pkgs/by-name/gl/glib-networking/package.nix @@ -19,7 +19,7 @@ stdenv.mkDerivation (finalAttrs: { pname = "glib-networking"; - version = "2.90.alpha"; + version = "2.90.0"; outputs = [ "out" @@ -28,7 +28,7 @@ stdenv.mkDerivation (finalAttrs: { src = fetchurl { url = "mirror://gnome/sources/glib-networking/${lib.versions.majorMinor finalAttrs.version}/glib-networking-${finalAttrs.version}.tar.xz"; - hash = "sha256-vn+8KasRzZCmqhqCUkdFzYgzFjC5pkQyOluQf3k/38M="; + hash = "sha256-g6dePZw2tm7obTKBwvyZeBYQGWilEmujIrKsuadN2MA="; }; patches = [ From effda61115e99e802709107973e6fce70412a995 Mon Sep 17 00:00:00 2001 From: Tom Hunze Date: Wed, 16 Sep 2026 18:01:27 +0000 Subject: [PATCH 1873/2378] glibmm_2_68: 2.89.1 -> 2.90.0 https://gitlab.gnome.org/GNOME/glibmm/-/compare/2.89.1...2.90.0 --- pkgs/by-name/gl/glibmm_2_68/package.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/by-name/gl/glibmm_2_68/package.nix b/pkgs/by-name/gl/glibmm_2_68/package.nix index 6c4329edec69..1b6cb629cdec 100644 --- a/pkgs/by-name/gl/glibmm_2_68/package.nix +++ b/pkgs/by-name/gl/glibmm_2_68/package.nix @@ -13,7 +13,7 @@ stdenv.mkDerivation (finalAttrs: { pname = "glibmm"; - version = "2.89.1"; + version = "2.90.0"; __structuredAttrs = true; strictDeps = true; @@ -25,7 +25,7 @@ stdenv.mkDerivation (finalAttrs: { src = fetchurl { url = "mirror://gnome/sources/glibmm/${lib.versions.majorMinor finalAttrs.version}/glibmm-${finalAttrs.version}.tar.xz"; - hash = "sha256-8ksymAeHMPuW7XBm+QC/R287rqiyg6KXXTvz9Oje9RM="; + hash = "sha256-4u+kVkPxa5/qLWKZ8vQD1nLq6s3fD/f4CU4a+bD1mAs="; }; nativeBuildInputs = [ From 9aa29d7cecdb0b1f2bb7eef19485677c4e7346c5 Mon Sep 17 00:00:00 2001 From: Tom Hunze Date: Wed, 16 Sep 2026 18:05:02 +0000 Subject: [PATCH 1874/2378] libglycin: 2.2.beta.1 -> 2.2.1 https://gitlab.gnome.org/GNOME/glycin/-/compare/2.2.beta.1...2.2.1 --- pkgs/by-name/li/libglycin/package.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pkgs/by-name/li/libglycin/package.nix b/pkgs/by-name/li/libglycin/package.nix index da3f918ac3f6..7e299f3361e7 100644 --- a/pkgs/by-name/li/libglycin/package.nix +++ b/pkgs/by-name/li/libglycin/package.nix @@ -31,7 +31,7 @@ }: stdenv.mkDerivation (finalAttrs: { pname = "libglycin"; - version = "2.2.beta.1"; + version = "2.2.1"; outputs = [ "out" @@ -43,12 +43,12 @@ stdenv.mkDerivation (finalAttrs: { src = fetchurl { url = "mirror://gnome/sources/glycin/${lib.versions.majorMinor finalAttrs.version}/glycin-${finalAttrs.version}.tar.xz"; - hash = "sha256-cp4nQEYOE7F8CotGrKDACEmTJdi66G3g/l54RuMyjeE="; + hash = "sha256-k3rlcddsDeXlnblE0RlJgTYL437peHVyl4G8OBbd6v4="; }; cargoDeps = rustPlatform.fetchCargoVendor { inherit (finalAttrs) pname version src; - hash = "sha256-zL0kQtajGiic2/3CZ85FOGFW0dZ9MpSd31QglVT6fOU="; + hash = "sha256-juN2dr0zknZIXIQNgxsJHhnR2kn4bDtlyc6P6AwNKOU="; }; nativeBuildInputs = [ From 261e68da69e789d8177c613d347611dfa79466e6 Mon Sep 17 00:00:00 2001 From: Tom Hunze Date: Wed, 16 Sep 2026 18:06:17 +0000 Subject: [PATCH 1875/2378] gnome-backgrounds: 51.beta -> 51.0 https://gitlab.gnome.org/GNOME/gnome-backgrounds/-/compare/51.beta...51.0 --- pkgs/by-name/gn/gnome-backgrounds/package.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/by-name/gn/gnome-backgrounds/package.nix b/pkgs/by-name/gn/gnome-backgrounds/package.nix index b582d26db595..32b820e33681 100644 --- a/pkgs/by-name/gn/gnome-backgrounds/package.nix +++ b/pkgs/by-name/gn/gnome-backgrounds/package.nix @@ -9,11 +9,11 @@ stdenv.mkDerivation (finalAttrs: { pname = "gnome-backgrounds"; - version = "51.beta"; + version = "51.0"; src = fetchurl { url = "mirror://gnome/sources/gnome-backgrounds/${lib.versions.major finalAttrs.version}/gnome-backgrounds-${finalAttrs.version}.tar.xz"; - hash = "sha256-trvTwNwZyWhJeb9Al9SM2Xs8SALIra/6LoLCBI8xVs8="; + hash = "sha256-WBHSQRjXj0G2bGFu+xCUwgUHy1RuSE3KSWP+c4pLp9s="; }; patches = [ From 0e8752f15d9b0c67b9b0f74fa33c302d0794664c Mon Sep 17 00:00:00 2001 From: Tom Hunze Date: Wed, 16 Sep 2026 18:09:35 +0000 Subject: [PATCH 1876/2378] gnome-calculator: 51.rc -> 51.0 https://gitlab.gnome.org/GNOME/gnome-calculator/-/compare/51.rc...51.0 --- pkgs/by-name/gn/gnome-calculator/package.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/by-name/gn/gnome-calculator/package.nix b/pkgs/by-name/gn/gnome-calculator/package.nix index c743f41f7f99..45f34f0d564d 100644 --- a/pkgs/by-name/gn/gnome-calculator/package.nix +++ b/pkgs/by-name/gn/gnome-calculator/package.nix @@ -28,11 +28,11 @@ stdenv.mkDerivation (finalAttrs: { pname = "gnome-calculator"; - version = "51.rc"; + version = "51.0"; src = fetchurl { url = "mirror://gnome/sources/gnome-calculator/${lib.versions.major finalAttrs.version}/gnome-calculator-${finalAttrs.version}.tar.xz"; - hash = "sha256-24CgNXkGQubxslylG8ZMyi7rGqXHZg/UwTJaorvKHYE="; + hash = "sha256-W/tMU+7GH+tsA/r4UhiATodBPstkfgj95jeb8rGDkZA="; }; nativeBuildInputs = [ From 41686b2e85485e6471d7cc77c95726176cb7f65a Mon Sep 17 00:00:00 2001 From: Tom Hunze Date: Wed, 16 Sep 2026 18:10:04 +0000 Subject: [PATCH 1877/2378] gnome-calendar: 51.rc -> 51.0 https://gitlab.gnome.org/GNOME/gnome-calendar/-/compare/51.rc...51.0 --- pkgs/by-name/gn/gnome-calendar/package.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/by-name/gn/gnome-calendar/package.nix b/pkgs/by-name/gn/gnome-calendar/package.nix index 1148df2b26bc..aa8b2d400118 100644 --- a/pkgs/by-name/gn/gnome-calendar/package.nix +++ b/pkgs/by-name/gn/gnome-calendar/package.nix @@ -25,11 +25,11 @@ stdenv.mkDerivation (finalAttrs: { pname = "gnome-calendar"; - version = "51.rc"; + version = "51.0"; src = fetchurl { url = "mirror://gnome/sources/gnome-calendar/${lib.versions.major finalAttrs.version}/gnome-calendar-${finalAttrs.version}.tar.xz"; - hash = "sha256-tOKrwiEOx0MDJxfeRlibHEgNIo06sfzJT+7v/FEICYE="; + hash = "sha256-d8KQRQxAg0OSzeosQEUVYemPQ9Xa6TzZ6RUFGmcI3DA="; }; nativeBuildInputs = [ From e7d477424f9818be92b3a8de9a2a36659a5798de Mon Sep 17 00:00:00 2001 From: Tom Hunze Date: Wed, 16 Sep 2026 18:10:27 +0000 Subject: [PATCH 1878/2378] gnome-characters: 51.rc -> 51.0 https://gitlab.gnome.org/GNOME/gnome-characters/-/compare/51.rc...51.0 --- pkgs/by-name/gn/gnome-characters/package.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/by-name/gn/gnome-characters/package.nix b/pkgs/by-name/gn/gnome-characters/package.nix index e63e24a1092d..9a65361000a9 100644 --- a/pkgs/by-name/gn/gnome-characters/package.nix +++ b/pkgs/by-name/gn/gnome-characters/package.nix @@ -22,11 +22,11 @@ stdenv.mkDerivation (finalAttrs: { pname = "gnome-characters"; - version = "51.rc"; + version = "51.0"; src = fetchurl { url = "mirror://gnome/sources/gnome-characters/${lib.versions.major finalAttrs.version}/gnome-characters-${finalAttrs.version}.tar.xz"; - hash = "sha256-6V2nLsm6ZXmrEBMJy5uO5jUJQLZJEJOfQUjcGmDpAYw="; + hash = "sha256-i5Dp1/z/Q2Iu00Z38AKc10tEAYXxY5r0jEOfY7663DE="; }; nativeBuildInputs = [ From 143d6d37af98848937797d1bee858d0c7880bad5 Mon Sep 17 00:00:00 2001 From: Tom Hunze Date: Wed, 16 Sep 2026 18:10:50 +0000 Subject: [PATCH 1879/2378] gnome-clocks: 51.rc -> 51.0 https://gitlab.gnome.org/GNOME/gnome-clocks/-/compare/51.rc...51.0 --- pkgs/by-name/gn/gnome-clocks/package.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/by-name/gn/gnome-clocks/package.nix b/pkgs/by-name/gn/gnome-clocks/package.nix index 01488396cd32..0eac44b7cf23 100644 --- a/pkgs/by-name/gn/gnome-clocks/package.nix +++ b/pkgs/by-name/gn/gnome-clocks/package.nix @@ -28,11 +28,11 @@ stdenv.mkDerivation (finalAttrs: { pname = "gnome-clocks"; - version = "51.rc"; + version = "51.0"; src = fetchurl { url = "mirror://gnome/sources/gnome-clocks/${lib.versions.major finalAttrs.version}/gnome-clocks-${finalAttrs.version}.tar.xz"; - hash = "sha256-p1hO2gQ9zIWxfuy5a5+0J1r00AAbfx1K8qKzUr1eIeU="; + hash = "sha256-S9+cBIGoMDfaHQ+ibSwsaoDLc2RY/Rj94UrK95JIdMY="; }; nativeBuildInputs = [ From 7cd4038b46020134086df46d956c6c5713c137ce Mon Sep 17 00:00:00 2001 From: Tom Hunze Date: Wed, 16 Sep 2026 18:11:18 +0000 Subject: [PATCH 1880/2378] gnome-connections: 51.rc.1 -> 51.0 https://gitlab.gnome.org/GNOME/gnome-connections/-/compare/51.rc.1...51.0 --- pkgs/by-name/gn/gnome-connections/package.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/by-name/gn/gnome-connections/package.nix b/pkgs/by-name/gn/gnome-connections/package.nix index dc971741b781..eb2a32b6addf 100644 --- a/pkgs/by-name/gn/gnome-connections/package.nix +++ b/pkgs/by-name/gn/gnome-connections/package.nix @@ -24,11 +24,11 @@ stdenv.mkDerivation (finalAttrs: { pname = "gnome-connections"; - version = "51.rc.1"; + version = "51.0"; src = fetchurl { url = "mirror://gnome/sources/gnome-connections/${lib.versions.major finalAttrs.version}/gnome-connections-${finalAttrs.version}.tar.xz"; - hash = "sha256-JEdMFwgMwe+X7fdFtvI893CW8mjOL2zzx4L/A/20POE="; + hash = "sha256-46c3KM8w8eVCrtOqTxijQuCTSbl/4B3674bhYD5Trzw="; }; nativeBuildInputs = [ From 7468c703f5be6dfc8d6283c3bad045dddacfb407 Mon Sep 17 00:00:00 2001 From: Tom Hunze Date: Wed, 16 Sep 2026 18:11:39 +0000 Subject: [PATCH 1881/2378] gnome-console: 51.rc -> 51.0 https://gitlab.gnome.org/GNOME/console/-/compare/51.rc...51.0 --- pkgs/by-name/gn/gnome-console/package.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/by-name/gn/gnome-console/package.nix b/pkgs/by-name/gn/gnome-console/package.nix index aec2f0183244..c30af23f8d14 100644 --- a/pkgs/by-name/gn/gnome-console/package.nix +++ b/pkgs/by-name/gn/gnome-console/package.nix @@ -21,11 +21,11 @@ stdenv.mkDerivation (finalAttrs: { pname = "gnome-console"; - version = "51.rc"; + version = "51.0"; src = fetchurl { url = "mirror://gnome/sources/gnome-console/${lib.versions.major finalAttrs.version}/gnome-console-${finalAttrs.version}.tar.xz"; - hash = "sha256-j3Lg3hfHA0TKhDuJYYpSWf6ThJqeg3FUv41ahGgzPIY="; + hash = "sha256-9A0TkDsfBn8MAuCBL3jfjsJdjNEpeU5+Rr1WygwVby8="; }; nativeBuildInputs = [ From c64e3c345dbaa32d73ed78a584ea5943741c0d67 Mon Sep 17 00:00:00 2001 From: Tom Hunze Date: Wed, 16 Sep 2026 18:12:03 +0000 Subject: [PATCH 1882/2378] gnome-contacts: 50.0 -> 51.0 https://gitlab.gnome.org/GNOME/gnome-contacts/-/compare/50.0...51.0 --- pkgs/by-name/gn/gnome-contacts/package.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/by-name/gn/gnome-contacts/package.nix b/pkgs/by-name/gn/gnome-contacts/package.nix index db837086577b..b38dee575b1d 100644 --- a/pkgs/by-name/gn/gnome-contacts/package.nix +++ b/pkgs/by-name/gn/gnome-contacts/package.nix @@ -33,11 +33,11 @@ stdenv.mkDerivation (finalAttrs: { pname = "gnome-contacts"; - version = "50.0"; + version = "51.0"; src = fetchurl { url = "mirror://gnome/sources/gnome-contacts/${lib.versions.major finalAttrs.version}/gnome-contacts-${finalAttrs.version}.tar.xz"; - hash = "sha256-KjvqNDFxviRPErfCGkDKOOmpLeqYkDk69eisE5vA2rM="; + hash = "sha256-yLYHUvZalm4KLAy/fB4WB+47Skkxi1Cxm9rSq3/GcG0="; }; nativeBuildInputs = [ From ad4bc6037a842062d0b7c71063fe36ee841741e7 Mon Sep 17 00:00:00 2001 From: Tom Hunze Date: Wed, 16 Sep 2026 18:12:37 +0000 Subject: [PATCH 1883/2378] gnome-control-center: 51.rc.1 -> 51.0 https://gitlab.gnome.org/GNOME/gnome-control-center/-/compare/51.rc.1...51.0 --- pkgs/by-name/gn/gnome-control-center/package.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/by-name/gn/gnome-control-center/package.nix b/pkgs/by-name/gn/gnome-control-center/package.nix index f0a883389cbf..7cf54cc16dae 100644 --- a/pkgs/by-name/gn/gnome-control-center/package.nix +++ b/pkgs/by-name/gn/gnome-control-center/package.nix @@ -79,11 +79,11 @@ stdenv.mkDerivation (finalAttrs: { pname = "gnome-control-center"; - version = "51.rc.1"; + version = "51.0"; src = fetchurl { url = "mirror://gnome/sources/gnome-control-center/${lib.versions.major finalAttrs.version}/gnome-control-center-${finalAttrs.version}.tar.xz"; - hash = "sha256-Bd2wWpu7vD2AM2sEkh5VoPnU3TZ5fvjcDIHRjt58edc="; + hash = "sha256-yMpbagrkT9DWSqxao7eag8JEUJWxWanRPRycwXKsT7k="; }; patches = [ From 9d197d6e02da6e54d68da469d098dd4ed061cceb Mon Sep 17 00:00:00 2001 From: Tom Hunze Date: Wed, 16 Sep 2026 18:13:08 +0000 Subject: [PATCH 1884/2378] gnome-desktop: 51.alpha -> 51.0 https://gitlab.gnome.org/GNOME/gnome-desktop/-/compare/51.alpha...51.0 --- pkgs/by-name/gn/gnome-desktop/package.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/by-name/gn/gnome-desktop/package.nix b/pkgs/by-name/gn/gnome-desktop/package.nix index 8d4298f99ea5..0eaa540befbd 100644 --- a/pkgs/by-name/gn/gnome-desktop/package.nix +++ b/pkgs/by-name/gn/gnome-desktop/package.nix @@ -30,7 +30,7 @@ stdenv.mkDerivation (finalAttrs: { pname = "gnome-desktop"; - version = "51.alpha"; + version = "51.0"; outputs = [ "out" @@ -40,7 +40,7 @@ stdenv.mkDerivation (finalAttrs: { src = fetchurl { url = "mirror://gnome/sources/gnome-desktop/${lib.versions.major finalAttrs.version}/gnome-desktop-${finalAttrs.version}.tar.xz"; - sha256 = "sha256-ik0JYY/siP/xVJ5bgKxBd276zLjWXbP7dzRbU5SBmTI="; + sha256 = "sha256-nr658XadPDEMrq3ZIas0yPJkuSk3dAUYs7yFmleaaRI="; }; patches = lib.optionals stdenv.hostPlatform.isLinux [ From d5431cfade844ffebe1aa089b0af2c62c279485f Mon Sep 17 00:00:00 2001 From: Tom Hunze Date: Wed, 16 Sep 2026 18:13:55 +0000 Subject: [PATCH 1885/2378] gnome-initial-setup: 51.rc -> 51.0 https://gitlab.gnome.org/GNOME/gnome-initial-setup/-/compare/51.rc...51.0 --- pkgs/by-name/gn/gnome-initial-setup/package.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/by-name/gn/gnome-initial-setup/package.nix b/pkgs/by-name/gn/gnome-initial-setup/package.nix index 687d9d33bd6f..959befd1a8a1 100644 --- a/pkgs/by-name/gn/gnome-initial-setup/package.nix +++ b/pkgs/by-name/gn/gnome-initial-setup/package.nix @@ -37,11 +37,11 @@ stdenv.mkDerivation (finalAttrs: { pname = "gnome-initial-setup"; - version = "51.rc"; + version = "51.0"; src = fetchurl { url = "mirror://gnome/sources/gnome-initial-setup/${lib.versions.major finalAttrs.version}/gnome-initial-setup-${finalAttrs.version}.tar.xz"; - hash = "sha256-EFegQJQGgl6tm1MW3lANnkgHH54V5WC/ourqLhpEgNM="; + hash = "sha256-IqG2H8z55NqfklRSmE5FjYWzQyP0OZElzTaFT162bMQ="; }; patches = [ From c7b64f25ff41995943acecc9df9523373cc0f2b6 Mon Sep 17 00:00:00 2001 From: Tom Hunze Date: Wed, 16 Sep 2026 18:14:50 +0000 Subject: [PATCH 1886/2378] gnome-maps: 51.rc -> 51.0 https://gitlab.gnome.org/GNOME/gnome-maps/-/compare/51.rc...51.0 --- pkgs/by-name/gn/gnome-maps/package.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/by-name/gn/gnome-maps/package.nix b/pkgs/by-name/gn/gnome-maps/package.nix index 5627e412e360..ea9324f4ed57 100644 --- a/pkgs/by-name/gn/gnome-maps/package.nix +++ b/pkgs/by-name/gn/gnome-maps/package.nix @@ -32,13 +32,13 @@ stdenv.mkDerivation (finalAttrs: { pname = "gnome-maps"; - version = "51.rc"; + version = "51.0"; strictDeps = true; src = fetchurl { url = "mirror://gnome/sources/gnome-maps/${lib.versions.major finalAttrs.version}/gnome-maps-${finalAttrs.version}.tar.xz"; - hash = "sha256-e4rRxNaNZwL63LWuk1NTByRK6rsBXEosL4ZctFGtdLo="; + hash = "sha256-kTbU/bWUdJtj6S+kYIJgzLxPccxtvxliDbZWXrVuj2c="; }; doCheck = !stdenv.hostPlatform.isDarwin; From 34077d073517819f6d83bc67d6a9ddb80ae86649 Mon Sep 17 00:00:00 2001 From: Tom Hunze Date: Wed, 16 Sep 2026 18:16:11 +0000 Subject: [PATCH 1887/2378] gnome-remote-desktop: 51.rc -> 51.0 https://gitlab.gnome.org/GNOME/gnome-remote-desktop/-/compare/51.rc...51.0 --- pkgs/by-name/gn/gnome-remote-desktop/package.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/by-name/gn/gnome-remote-desktop/package.nix b/pkgs/by-name/gn/gnome-remote-desktop/package.nix index 35f3514b56df..d9f8a0112b51 100644 --- a/pkgs/by-name/gn/gnome-remote-desktop/package.nix +++ b/pkgs/by-name/gn/gnome-remote-desktop/package.nix @@ -35,11 +35,11 @@ stdenv.mkDerivation (finalAttrs: { pname = "gnome-remote-desktop"; - version = "51.rc"; + version = "51.0"; src = fetchurl { url = "mirror://gnome/sources/gnome-remote-desktop/${lib.versions.major finalAttrs.version}/gnome-remote-desktop-${finalAttrs.version}.tar.xz"; - hash = "sha256-zwHxTzXfB86OikRj+xC8ELpoV+J4KRF6RQ/qQpIDrm8="; + hash = "sha256-x5VLNNpXZiiOoZtWAmQhycH+LCPvN55X7CCdwM8T3ys="; }; nativeBuildInputs = [ From 8bbd02918789e71fc6c313cbcddd357b61c8937c Mon Sep 17 00:00:00 2001 From: Tom Hunze Date: Wed, 16 Sep 2026 18:16:34 +0000 Subject: [PATCH 1888/2378] gnome-session: 51.rc -> 51.0 https://gitlab.gnome.org/GNOME/gnome-session/-/compare/51.rc...51.0 --- pkgs/by-name/gn/gnome-session/package.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/by-name/gn/gnome-session/package.nix b/pkgs/by-name/gn/gnome-session/package.nix index 39d0b71a077a..18a2bd4a784f 100644 --- a/pkgs/by-name/gn/gnome-session/package.nix +++ b/pkgs/by-name/gn/gnome-session/package.nix @@ -27,7 +27,7 @@ stdenv.mkDerivation (finalAttrs: { pname = "gnome-session"; # Also bump ./ctl.nix when bumping major version. - version = "51.rc"; + version = "51.0"; outputs = [ "out" @@ -36,7 +36,7 @@ stdenv.mkDerivation (finalAttrs: { src = fetchurl { url = "mirror://gnome/sources/gnome-session/${lib.versions.major finalAttrs.version}/gnome-session-${finalAttrs.version}.tar.xz"; - hash = "sha256-DO4CZpjmr3m0HG7TKp/cy/L2fpKxV7F6BG7FpkPxEuU="; + hash = "sha256-UZXE9gVCqVOrbr0ojzeFuOd0YpLYwWfgyZ01NDihhNE="; }; patches = [ From ff16df18709b2fb0e5bdc3fc10bf5e16dd21b543 Mon Sep 17 00:00:00 2001 From: Tom Hunze Date: Wed, 16 Sep 2026 18:17:06 +0000 Subject: [PATCH 1889/2378] gnome-settings-daemon: 51.rc -> 51.0 https://gitlab.gnome.org/GNOME/gnome-settings-daemon/-/compare/51.rc...51.0 --- pkgs/by-name/gn/gnome-settings-daemon/package.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/by-name/gn/gnome-settings-daemon/package.nix b/pkgs/by-name/gn/gnome-settings-daemon/package.nix index 6955a03278b3..28ba32690272 100644 --- a/pkgs/by-name/gn/gnome-settings-daemon/package.nix +++ b/pkgs/by-name/gn/gnome-settings-daemon/package.nix @@ -42,14 +42,14 @@ stdenv.mkDerivation (finalAttrs: { pname = "gnome-settings-daemon"; - version = "51.rc"; + version = "51.0"; __structuredAttrs = true; strictDeps = true; src = fetchurl { url = "mirror://gnome/sources/gnome-settings-daemon/${lib.versions.major finalAttrs.version}/gnome-settings-daemon-${finalAttrs.version}.tar.xz"; - hash = "sha256-RZNEiHZ9Tjz9FLFVf+2POoPLVPb/TUyyCY2d+Eanyxw="; + hash = "sha256-fGJJEY3f/8S7NNaz7aqGs+oCoa0rdxHXlIB0mQZ2dmU="; }; patches = [ From b0156c8954af7f422308c0b60e3b550044dc1da9 Mon Sep 17 00:00:00 2001 From: Tom Hunze Date: Wed, 16 Sep 2026 18:17:32 +0000 Subject: [PATCH 1890/2378] gnome-shell: 51.rc -> 51.0 https://gitlab.gnome.org/GNOME/gnome-shell/-/compare/51.rc...51.0 --- pkgs/by-name/gn/gnome-shell/package.nix | 11 ++--------- 1 file changed, 2 insertions(+), 9 deletions(-) diff --git a/pkgs/by-name/gn/gnome-shell/package.nix b/pkgs/by-name/gn/gnome-shell/package.nix index 7ffdb744f407..7990712ac5bd 100644 --- a/pkgs/by-name/gn/gnome-shell/package.nix +++ b/pkgs/by-name/gn/gnome-shell/package.nix @@ -1,6 +1,5 @@ { fetchurl, - fetchpatch, replaceVars, lib, stdenv, @@ -74,7 +73,7 @@ let in stdenv.mkDerivation (finalAttrs: { pname = "gnome-shell"; - version = "51.rc"; + version = "51.0"; outputs = [ "out" @@ -83,7 +82,7 @@ stdenv.mkDerivation (finalAttrs: { src = fetchurl { url = "mirror://gnome/sources/gnome-shell/${lib.versions.major finalAttrs.version}/gnome-shell-${finalAttrs.version}.tar.xz"; - hash = "sha256-uxjNSkxXruWxqjImDYiGm8GKqb8kA8bTR02SYZSeOVI="; + hash = "sha256-IXm6sTrzU0JwZQlq+L89MNp7huDFFuW6hqFJmK+VdfY="; }; patches = [ @@ -108,12 +107,6 @@ stdenv.mkDerivation (finalAttrs: { # https://gitlab.gnome.org/GNOME/gnome-shell/issues/2591 # Reverts https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/1101 ./greeter-logo-size.patch - - # Fixes build: https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/4384 - (fetchpatch { - url = "https://gitlab.gnome.org/GNOME/gnome-shell/-/commit/877b7dd14fa36a1b3810034bdfd05425be2e1817.patch"; - hash = "sha256-klScQaVL71eJzmbzMGAKpc5HtnDFc3074MjeMP1ie6Y="; - }) ]; nativeBuildInputs = [ From 63e54f3d86eeed454a29b0a0658c21c92b2a858a Mon Sep 17 00:00:00 2001 From: Tom Hunze Date: Wed, 16 Sep 2026 18:17:52 +0000 Subject: [PATCH 1891/2378] gnome-software: 51.rc -> 51.0 https://gitlab.gnome.org/GNOME/gnome-software/-/compare/51.rc...51.0 --- pkgs/by-name/gn/gnome-software/package.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/by-name/gn/gnome-software/package.nix b/pkgs/by-name/gn/gnome-software/package.nix index 97c20ebcc57c..75ccce9aec17 100644 --- a/pkgs/by-name/gn/gnome-software/package.nix +++ b/pkgs/by-name/gn/gnome-software/package.nix @@ -49,11 +49,11 @@ in stdenv.mkDerivation (finalAttrs: { pname = "gnome-software"; - version = "51.rc"; + version = "51.0"; src = fetchurl { url = "mirror://gnome/sources/gnome-software/${lib.versions.major finalAttrs.version}/gnome-software-${finalAttrs.version}.tar.xz"; - hash = "sha256-EOIAWJus1VESHU6AUXTnsCcUlaFliRef1Nu1Bzjy6Tc="; + hash = "sha256-g0tgNeYeNt1yM56z4V0pm0cq4LOTRnpbs2uwBF4LoSM="; }; patches = [ From 50541e8b170a355c97760d804520382168cbfe1c Mon Sep 17 00:00:00 2001 From: Tom Hunze Date: Wed, 16 Sep 2026 18:18:34 +0000 Subject: [PATCH 1892/2378] gnome-system-monitor: 51.rc -> 51.0 https://gitlab.gnome.org/GNOME/gnome-system-monitor/-/compare/51.rc...51.0 --- pkgs/by-name/gn/gnome-system-monitor/package.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/by-name/gn/gnome-system-monitor/package.nix b/pkgs/by-name/gn/gnome-system-monitor/package.nix index f68369b4cfa0..f09021c19739 100644 --- a/pkgs/by-name/gn/gnome-system-monitor/package.nix +++ b/pkgs/by-name/gn/gnome-system-monitor/package.nix @@ -24,11 +24,11 @@ stdenv.mkDerivation (finalAttrs: { pname = "gnome-system-monitor"; - version = "51.rc"; + version = "51.0"; src = fetchurl { url = "mirror://gnome/sources/gnome-system-monitor/${lib.versions.major finalAttrs.version}/gnome-system-monitor-${finalAttrs.version}.tar.xz"; - hash = "sha256-eWf+Iw0zWRzTPCaN9dAaA1oIJtTS8O2P65EG8PR2BL0="; + hash = "sha256-iIewNCcjCsCBbUsMgBzmYorR/JE57TBykU6fqogbqGg="; }; patches = [ From 9e90d2eee425b62be016082f03ff2074f2d5b223 Mon Sep 17 00:00:00 2001 From: Tom Hunze Date: Wed, 16 Sep 2026 18:18:59 +0000 Subject: [PATCH 1893/2378] gnome-text-editor: 51.beta -> 51.0 https://gitlab.gnome.org/GNOME/gnome-text-editor/-/compare/51.beta...51.0 --- pkgs/by-name/gn/gnome-text-editor/package.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/by-name/gn/gnome-text-editor/package.nix b/pkgs/by-name/gn/gnome-text-editor/package.nix index 2efb3e013fde..13e67aca39aa 100644 --- a/pkgs/by-name/gn/gnome-text-editor/package.nix +++ b/pkgs/by-name/gn/gnome-text-editor/package.nix @@ -23,11 +23,11 @@ stdenv.mkDerivation (finalAttrs: { pname = "gnome-text-editor"; - version = "51.beta"; + version = "51.0"; src = fetchurl { url = "mirror://gnome/sources/gnome-text-editor/${lib.versions.major finalAttrs.version}/gnome-text-editor-${finalAttrs.version}.tar.xz"; - hash = "sha256-VYjdmb6/JzaTYf8f2h2zdXAZntoWXlXQ0zIZfBtUAnQ="; + hash = "sha256-K3bm2hUGNGxUs2uho67tzSj0y31qh5PSF/IJRWyS3Uw="; }; nativeBuildInputs = [ From 1628c93c48c6d950926c378102017a4dd2361f4f Mon Sep 17 00:00:00 2001 From: Tom Hunze Date: Wed, 16 Sep 2026 18:19:51 +0000 Subject: [PATCH 1894/2378] gnome-user-docs: 51.beta -> 51.0 https://gitlab.gnome.org/GNOME/gnome-user-docs/-/compare/51.beta...51.0 --- pkgs/by-name/gn/gnome-user-docs/package.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/by-name/gn/gnome-user-docs/package.nix b/pkgs/by-name/gn/gnome-user-docs/package.nix index 25dd4c88be7b..d576e93e4be7 100644 --- a/pkgs/by-name/gn/gnome-user-docs/package.nix +++ b/pkgs/by-name/gn/gnome-user-docs/package.nix @@ -13,11 +13,11 @@ stdenv.mkDerivation (finalAttrs: { pname = "gnome-user-docs"; - version = "51.beta"; + version = "51.0"; src = fetchurl { url = "mirror://gnome/sources/gnome-user-docs/${lib.versions.major finalAttrs.version}/gnome-user-docs-${finalAttrs.version}.tar.xz"; - hash = "sha256-rXb0QIkQ/th/39sLJMYFaK2nFkXr6Rl8q+KzpSHlrWQ="; + hash = "sha256-vz69f6HacGF4hLBzkt6NYFMFz+9xwuiDdJywj/DWp9E="; }; strictDeps = true; From cedb0058f65d807476d2d7f0e60e9ae2949b440a Mon Sep 17 00:00:00 2001 From: Tom Hunze Date: Wed, 16 Sep 2026 18:21:06 +0000 Subject: [PATCH 1895/2378] gsettings-desktop-schemas: 51.rc -> 51.0 https://gitlab.gnome.org/GNOME/gsettings-desktop-schemas/-/compare/51.rc...51.0 --- pkgs/by-name/gs/gsettings-desktop-schemas/package.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/by-name/gs/gsettings-desktop-schemas/package.nix b/pkgs/by-name/gs/gsettings-desktop-schemas/package.nix index 1a4fd75bcb6c..5775054e8e3b 100644 --- a/pkgs/by-name/gs/gsettings-desktop-schemas/package.nix +++ b/pkgs/by-name/gs/gsettings-desktop-schemas/package.nix @@ -17,11 +17,11 @@ stdenv.mkDerivation rec { pname = "gsettings-desktop-schemas"; - version = "51.rc"; + version = "51.0"; src = fetchurl { url = "mirror://gnome/sources/gsettings-desktop-schemas/${lib.versions.major version}/gsettings-desktop-schemas-${version}.tar.xz"; - hash = "sha256-TrFukxXPEYL6UKS9Se6YvsJT142wETzUFkTMDJolri4="; + hash = "sha256-HiQZpfIdJsMksorhwA4p6Rdei1lv/zhaBMIXKzZlIiY="; }; strictDeps = true; From c4e36065c98e351470b0f867e1547cb266094f0e Mon Sep 17 00:00:00 2001 From: Tom Hunze Date: Wed, 16 Sep 2026 18:22:20 +0000 Subject: [PATCH 1896/2378] gtk4: 4.23.4 -> 4.24.0 https://gitlab.gnome.org/GNOME/gtk/-/compare/4.23.4...4.24.0 --- pkgs/by-name/gt/gtk4/package.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/by-name/gt/gtk4/package.nix b/pkgs/by-name/gt/gtk4/package.nix index f3ef64009500..12e4f7024d85 100644 --- a/pkgs/by-name/gt/gtk4/package.nix +++ b/pkgs/by-name/gt/gtk4/package.nix @@ -75,7 +75,7 @@ in stdenv.mkDerivation (finalAttrs: { pname = "gtk4"; - version = "4.23.4"; + version = "4.24.0"; outputs = [ "out" @@ -91,7 +91,7 @@ stdenv.mkDerivation (finalAttrs: { src = fetchurl { url = "mirror://gnome/sources/gtk/${lib.versions.majorMinor finalAttrs.version}/gtk-${finalAttrs.version}.tar.xz"; - hash = "sha256-Wd9xJEzyBgG0JdGhOyp+gFuFTTteEa0l9/mOYTz8W60="; + hash = "sha256-KLpKwcBPhurAm3mhY8sWOkwrVEQtn37MwEZ5BipYEEQ="; }; depsBuildBuild = [ From 86836e5a615d807e0183dcf7e5685f10a106152e Mon Sep 17 00:00:00 2001 From: Tom Hunze Date: Wed, 16 Sep 2026 18:23:24 +0000 Subject: [PATCH 1897/2378] gtkmm4: 4.23.2 -> 4.24.0 https://gitlab.gnome.org/GNOME/gtkmm/-/compare/4.23.2...4.24.0 --- pkgs/by-name/gt/gtkmm4/package.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/by-name/gt/gtkmm4/package.nix b/pkgs/by-name/gt/gtkmm4/package.nix index 3f7f4bf5d709..fa1efa2a26c8 100644 --- a/pkgs/by-name/gt/gtkmm4/package.nix +++ b/pkgs/by-name/gt/gtkmm4/package.nix @@ -19,7 +19,7 @@ stdenv.mkDerivation (finalAttrs: { pname = "gtkmm"; - version = "4.23.2"; + version = "4.24.0"; outputs = [ "out" @@ -28,7 +28,7 @@ stdenv.mkDerivation (finalAttrs: { src = fetchurl { url = "mirror://gnome/sources/gtkmm/${lib.versions.majorMinor finalAttrs.version}/gtkmm-${finalAttrs.version}.tar.xz"; - hash = "sha256-ZWLeB3/XqU6fsSW84mSZtQeIyuJUGwN9TE++I/C+Ek0="; + hash = "sha256-f9nOo1bn07dL99KlHX4OZ2Pz+fHN3F53yLC1t/qdXlo="; }; nativeBuildInputs = [ From f447576c1a276750d7834434bcb658cec2f24dcc Mon Sep 17 00:00:00 2001 From: Tom Hunze Date: Wed, 16 Sep 2026 18:25:00 +0000 Subject: [PATCH 1898/2378] gvfs: 1.61.91 -> 1.62.0 https://gitlab.gnome.org/GNOME/gvfs/-/compare/1.61.91...1.62.0 --- pkgs/by-name/gv/gvfs/package.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/by-name/gv/gvfs/package.nix b/pkgs/by-name/gv/gvfs/package.nix index 7bd89159e70e..9eaa7dd0d894 100644 --- a/pkgs/by-name/gv/gvfs/package.nix +++ b/pkgs/by-name/gv/gvfs/package.nix @@ -45,11 +45,11 @@ stdenv.mkDerivation (finalAttrs: { pname = "gvfs"; - version = "1.61.91"; + version = "1.62.0"; src = fetchurl { url = "mirror://gnome/sources/gvfs/${lib.versions.majorMinor finalAttrs.version}/gvfs-${finalAttrs.version}.tar.xz"; - hash = "sha256-S1VhWzUfZBg+Y2gAzUXaDA2Slf6DnHOwl6GXLXqHGOI="; + hash = "sha256-3Y5sJV/TvtXusZC1kCfIizjmPBvgky3c6c/rSPPEPQ8="; }; patches = [ From f5dfd5a8b819bcc0aa3918ae96d2571d78716d14 Mon Sep 17 00:00:00 2001 From: Tom Hunze Date: Wed, 16 Sep 2026 18:25:44 +0000 Subject: [PATCH 1899/2378] libadwaita: 1.10.beta.1 -> 1.10.0 https://gitlab.gnome.org/GNOME/libadwaita/-/compare/1.10.beta.1...1.10.0 --- pkgs/by-name/li/libadwaita/package.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/by-name/li/libadwaita/package.nix b/pkgs/by-name/li/libadwaita/package.nix index 9a056354e547..b6c6f5f3bfda 100644 --- a/pkgs/by-name/li/libadwaita/package.nix +++ b/pkgs/by-name/li/libadwaita/package.nix @@ -24,7 +24,7 @@ stdenv.mkDerivation (finalAttrs: { pname = "libadwaita"; - version = "1.10.beta.1"; + version = "1.10.0"; outputs = [ "out" @@ -35,7 +35,7 @@ stdenv.mkDerivation (finalAttrs: { src = fetchurl { url = "mirror://gnome/sources/libadwaita/${lib.versions.majorMinor finalAttrs.version}/libadwaita-${finalAttrs.version}.tar.xz"; - hash = "sha256-rthyFmnYqg1nPmZkivhg0K8fow4+q1Mlko6Rd8skRTQ="; + hash = "sha256-sb9WI5Jp0QGmORrUVTyRDv+cxhcLgDkWQFR372CmbIQ="; }; depsBuildBuild = [ From 1fc8cedd05cc14d83242141c118b768fbea4a160 Mon Sep 17 00:00:00 2001 From: Tom Hunze Date: Wed, 16 Sep 2026 18:26:31 +0000 Subject: [PATCH 1900/2378] libdex: 1.2.beta -> 1.2.0 https://gitlab.gnome.org/GNOME/libdex/-/compare/1.2.beta...1.2.0 --- pkgs/by-name/li/libdex/package.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/by-name/li/libdex/package.nix b/pkgs/by-name/li/libdex/package.nix index 1743a1ef66e8..85d0f66a8c6a 100644 --- a/pkgs/by-name/li/libdex/package.nix +++ b/pkgs/by-name/li/libdex/package.nix @@ -16,7 +16,7 @@ stdenv.mkDerivation (finalAttrs: { pname = "libdex"; - version = "1.2.beta"; + version = "1.2.0"; outputs = [ "out" @@ -26,7 +26,7 @@ stdenv.mkDerivation (finalAttrs: { src = fetchurl { url = "mirror://gnome/sources/libdex/${lib.versions.majorMinor finalAttrs.version}/libdex-${finalAttrs.version}.tar.xz"; - hash = "sha256-I/i4w75qNfgM97I/gfR/IBGXObtem09Vul7F2dJxixk="; + hash = "sha256-afWyRMIfZAKDHDq4r4WgF3L3L7EYZ3OIQ28S8yv7Btk="; }; nativeBuildInputs = [ From ba150f9bafae90af9e29a7efb1df50a204b1f47b Mon Sep 17 00:00:00 2001 From: Tom Hunze Date: Wed, 16 Sep 2026 18:27:42 +0000 Subject: [PATCH 1901/2378] librsvg: 2.62.91 -> 2.63.0 https://gitlab.gnome.org/GNOME/librsvg/-/compare/2.62.91...2.63.0 --- pkgs/by-name/li/librsvg/package.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pkgs/by-name/li/librsvg/package.nix b/pkgs/by-name/li/librsvg/package.nix index a459d87e8a6c..57f0dd709127 100644 --- a/pkgs/by-name/li/librsvg/package.nix +++ b/pkgs/by-name/li/librsvg/package.nix @@ -50,7 +50,7 @@ stdenv.mkDerivation (finalAttrs: { pname = "librsvg"; - version = "2.62.91"; + version = "2.63.0"; outputs = [ "out" @@ -62,7 +62,7 @@ stdenv.mkDerivation (finalAttrs: { src = fetchurl { url = "mirror://gnome/sources/librsvg/${lib.versions.majorMinor finalAttrs.version}/librsvg-${finalAttrs.version}.tar.xz"; - hash = "sha256-bK6uEp1A3Yj47ElDb9ib/kracWoSUYen+g3vj8qgslA="; + hash = "sha256-yrf30TJvsAHk6583mQ3mbUV4pfSEZVB0caaTItizJuM="; }; # FIXME: This patch should be made unconditional the next time librsvg is @@ -76,7 +76,7 @@ stdenv.mkDerivation (finalAttrs: { cargoDeps = rustPlatform.fetchCargoVendor { inherit (finalAttrs) src; name = "librsvg-deps-${finalAttrs.version}"; - hash = "sha256-2lET93Su+6Ib/vA7eVRBB1rJt2GyFtdm6rueCrnf5c0="; + hash = "sha256-QJjP4VpIl/0vXjvsOQCkh+0zsKanEva9A1YlkGi3BL4="; dontConfigure = true; }; From e88026266851b3c523249856d4110968bfaa4d65 Mon Sep 17 00:00:00 2001 From: Tom Hunze Date: Wed, 16 Sep 2026 18:28:10 +0000 Subject: [PATCH 1902/2378] libsecret: 0.21.7 -> 0.21.8.2 https://gitlab.gnome.org/GNOME/libsecret/-/compare/0.21.7...0.21.8.2 --- pkgs/by-name/li/libsecret/package.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/by-name/li/libsecret/package.nix b/pkgs/by-name/li/libsecret/package.nix index 0926483b7cd7..ffc8ce5eb6a7 100644 --- a/pkgs/by-name/li/libsecret/package.nix +++ b/pkgs/by-name/li/libsecret/package.nix @@ -71,7 +71,7 @@ let in stdenv.mkDerivation (finalAttrs: { pname = "libsecret"; - version = "0.21.7"; + version = "0.21.8.2"; outputs = [ "out" @@ -81,7 +81,7 @@ stdenv.mkDerivation (finalAttrs: { src = fetchurl { url = "mirror://gnome/sources/libsecret/${lib.versions.majorMinor finalAttrs.version}/libsecret-${finalAttrs.version}.tar.xz"; - hash = "sha256-a0UuR1BZCitWF63EACbyjS9JA94V8SUOHRxAv9aO1V4="; + hash = "sha256-FClIM5xblx2PaoxwmVIfb9MZtv5z0mlLTm0zEO0otuY="; }; depsBuildBuild = [ From 46142d84322e53f3cfbf851b7fc9f2c5800d8ee3 Mon Sep 17 00:00:00 2001 From: Tom Hunze Date: Wed, 16 Sep 2026 18:28:35 +0000 Subject: [PATCH 1903/2378] libshumate: 1.7.rc -> 1.7.0 https://gitlab.gnome.org/GNOME/libshumate/-/compare/1.7.rc...1.7.0 --- pkgs/by-name/li/libshumate/package.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/by-name/li/libshumate/package.nix b/pkgs/by-name/li/libshumate/package.nix index 7d770f215ab3..1cf4ebb2eb68 100644 --- a/pkgs/by-name/li/libshumate/package.nix +++ b/pkgs/by-name/li/libshumate/package.nix @@ -23,7 +23,7 @@ stdenv.mkDerivation (finalAttrs: { pname = "libshumate"; - version = "1.7.rc"; + version = "1.7.0"; outputs = [ "out" @@ -34,7 +34,7 @@ stdenv.mkDerivation (finalAttrs: { src = fetchurl { url = "mirror://gnome/sources/libshumate/${lib.versions.majorMinor finalAttrs.version}/libshumate-${finalAttrs.version}.tar.xz"; - hash = "sha256-vTf+mdHKmAKv9UqnLPeynPXhofQHpjBv9yDlzOXUcqU="; + hash = "sha256-OJbMS2p7+DFBwn3yPOSM3WhGdgO8a3ZJYDB83LvvgOU="; }; depsBuildBuild = [ From d544c0badfe86697e3ed0522b428e1f01f6c4002 Mon Sep 17 00:00:00 2001 From: Tom Hunze Date: Wed, 16 Sep 2026 18:31:20 +0000 Subject: [PATCH 1904/2378] localsearch: 3.12.rc -> 3.12.0 https://gitlab.gnome.org/GNOME/localsearch/-/compare/3.12.rc...3.12.0 --- pkgs/by-name/lo/localsearch/package.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/by-name/lo/localsearch/package.nix b/pkgs/by-name/lo/localsearch/package.nix index 148c677d8782..5a006f05bfbb 100644 --- a/pkgs/by-name/lo/localsearch/package.nix +++ b/pkgs/by-name/lo/localsearch/package.nix @@ -48,11 +48,11 @@ stdenv.mkDerivation (finalAttrs: { pname = "localsearch"; - version = "3.12.rc"; + version = "3.12.0"; src = fetchurl { url = "mirror://gnome/sources/localsearch/${lib.versions.majorMinor finalAttrs.version}/localsearch-${finalAttrs.version}.tar.xz"; - hash = "sha256-/kahhRFhCvP/HpmSLDTdb5JHbTvk8RyHEp77OPheJHo="; + hash = "sha256-S/RUQM56iZ8uyk0gND0x/GIPoqP+U7uSneJEMFMw6TA="; }; patches = [ From de9b1229a06f330c6d609397cfd75010ff6af0c9 Mon Sep 17 00:00:00 2001 From: Tom Hunze Date: Wed, 16 Sep 2026 18:31:53 +0000 Subject: [PATCH 1905/2378] loupe: 51.rc -> 51.0 https://gitlab.gnome.org/GNOME/loupe/-/compare/51.rc...51.0 --- pkgs/by-name/lo/loupe/package.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pkgs/by-name/lo/loupe/package.nix b/pkgs/by-name/lo/loupe/package.nix index 1597f6b51695..0c3afe5afdf7 100644 --- a/pkgs/by-name/lo/loupe/package.nix +++ b/pkgs/by-name/lo/loupe/package.nix @@ -24,16 +24,16 @@ stdenv.mkDerivation (finalAttrs: { pname = "loupe"; - version = "51.rc"; + version = "51.0"; src = fetchurl { url = "mirror://gnome/sources/loupe/${lib.versions.major finalAttrs.version}/loupe-${finalAttrs.version}.tar.xz"; - hash = "sha256-ZsKovxptUtNT/42JnRvoXfM/Hsgj6gomFGlU8GfGkOM="; + hash = "sha256-E/qZkFZe+ReQL3d8/OCRq2CtuKEUqfbMonTfxcCq5mE="; }; cargoDeps = rustPlatform.fetchCargoVendor { inherit (finalAttrs) pname version src; - hash = "sha256-7YBCpFIYqyG0LcKv4+J1oJmbbE64L5SxJc9dItcy3mw="; + hash = "sha256-rq89XiQdOTVLTxrt8PhDC8LdXCaELIDHiwJu+teu6bY="; }; postPatch = '' From b5c439f2092bad33136296676bc40d24a72ef156 Mon Sep 17 00:00:00 2001 From: Tom Hunze Date: Wed, 16 Sep 2026 18:34:11 +0000 Subject: [PATCH 1906/2378] mutter: 51.rc -> 51.0 https://gitlab.gnome.org/GNOME/mutter/-/compare/51.rc...51.0 --- pkgs/by-name/mu/mutter/package.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/by-name/mu/mutter/package.nix b/pkgs/by-name/mu/mutter/package.nix index dfdaa522673a..7db9deb7c479 100644 --- a/pkgs/by-name/mu/mutter/package.nix +++ b/pkgs/by-name/mu/mutter/package.nix @@ -71,7 +71,7 @@ stdenv.mkDerivation (finalAttrs: { pname = "mutter"; - version = "51.rc"; + version = "51.0"; outputs = [ "out" @@ -82,7 +82,7 @@ stdenv.mkDerivation (finalAttrs: { src = fetchurl { url = "mirror://gnome/sources/mutter/${lib.versions.major finalAttrs.version}/mutter-${finalAttrs.version}.tar.xz"; - hash = "sha256-byTw/nCjKq0vtRcKgYYDYKBWTrVZHea0sOyfItCfUpg="; + hash = "sha256-XSjzriJWkkKPyvuWUA1nPzQyi2mLhpYMnBRg0LHZg7M="; }; mesonFlags = [ From 4a61d47bea7e0f6817e850e2500c70797e5129a1 Mon Sep 17 00:00:00 2001 From: Tom Hunze Date: Wed, 16 Sep 2026 18:34:35 +0000 Subject: [PATCH 1907/2378] nautilus: 51.rc -> 51.0.1 https://gitlab.gnome.org/GNOME/nautilus/-/compare/51.rc...51.0.1 --- pkgs/by-name/na/nautilus/package.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/by-name/na/nautilus/package.nix b/pkgs/by-name/na/nautilus/package.nix index 6aad00588480..1c30f66248f2 100644 --- a/pkgs/by-name/na/nautilus/package.nix +++ b/pkgs/by-name/na/nautilus/package.nix @@ -45,7 +45,7 @@ stdenv.mkDerivation (finalAttrs: { pname = "nautilus"; - version = "51.rc"; + version = "51.0.1"; outputs = [ "out" @@ -55,7 +55,7 @@ stdenv.mkDerivation (finalAttrs: { src = fetchurl { url = "mirror://gnome/sources/nautilus/${lib.versions.major finalAttrs.version}/nautilus-${finalAttrs.version}.tar.xz"; - hash = "sha256-Fo4WhvApzKjEGEOKFdrmJFy2QFjh70h0EraHdOdKyC8="; + hash = "sha256-oA25CP1lAmy9XcY04S0YnejrorA/EF0kJTQXaKXukvs="; }; patches = [ From e6f2d58f6137f58a73c773f75029eec7cfd48d72 Mon Sep 17 00:00:00 2001 From: Tom Hunze Date: Wed, 16 Sep 2026 18:35:17 +0000 Subject: [PATCH 1908/2378] orca: 51.rc -> 51.0 https://gitlab.gnome.org/GNOME/orca/-/compare/51.rc...51.0 --- pkgs/by-name/or/orca/package.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/by-name/or/orca/package.nix b/pkgs/by-name/or/orca/package.nix index 585a3dd72a10..013d1003e8d8 100644 --- a/pkgs/by-name/or/orca/package.nix +++ b/pkgs/by-name/or/orca/package.nix @@ -34,13 +34,13 @@ python3.pkgs.buildPythonApplication (finalAttrs: { pname = "orca"; - version = "51.rc"; + version = "51.0"; pyproject = false; src = fetchurl { url = "mirror://gnome/sources/orca/${lib.versions.major finalAttrs.version}/orca-${finalAttrs.version}.tar.xz"; - hash = "sha256-8FQ7jmOEBLnrIxSNJGL/bUKELwPw74C0MRyeXzpfl38="; + hash = "sha256-i8PkS8W3tm7H4MxcgmlcAHVmGSJ0XSVyT1/ISiVgIQg="; }; patches = [ From 136228436811d908e6b8f84283ad8ba173910557 Mon Sep 17 00:00:00 2001 From: Tom Hunze Date: Wed, 16 Sep 2026 18:36:11 +0000 Subject: [PATCH 1909/2378] pangomm_2_48: 2.56.2 -> 2.58.0 https://gitlab.gnome.org/GNOME/pangomm/-/compare/2.56.2...2.58.0 --- pkgs/by-name/pa/pangomm_2_48/package.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/by-name/pa/pangomm_2_48/package.nix b/pkgs/by-name/pa/pangomm_2_48/package.nix index e57099e368f7..5d3d291c65f9 100644 --- a/pkgs/by-name/pa/pangomm_2_48/package.nix +++ b/pkgs/by-name/pa/pangomm_2_48/package.nix @@ -14,7 +14,7 @@ stdenv.mkDerivation rec { pname = "pangomm"; - version = "2.56.2"; + version = "2.58.0"; __structuredAttrs = true; strictDeps = true; @@ -26,7 +26,7 @@ stdenv.mkDerivation rec { src = fetchurl { url = "mirror://gnome/sources/pangomm/${lib.versions.majorMinor version}/pangomm-${version}.tar.xz"; - hash = "sha256-8emEyFqFtqDmFhY2ZSH1HdgoKgcrtF0VtQhHYrYvTA4="; + hash = "sha256-IXUUwaZQNcL85uaeM7DZK6+iWUzEdOmVpEc0QbEPOjM="; }; nativeBuildInputs = [ From 88c84a07ad588e02b31b6c37c7412a2d0d4ae542 Mon Sep 17 00:00:00 2001 From: Tom Hunze Date: Wed, 16 Sep 2026 18:36:46 +0000 Subject: [PATCH 1910/2378] papers: 51.beta -> 51.0 https://gitlab.gnome.org/GNOME/papers/-/compare/51.beta...51.0 --- pkgs/by-name/pa/papers/package.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/by-name/pa/papers/package.nix b/pkgs/by-name/pa/papers/package.nix index baddb811b6af..02d180f5e43d 100644 --- a/pkgs/by-name/pa/papers/package.nix +++ b/pkgs/by-name/pa/papers/package.nix @@ -41,7 +41,7 @@ stdenv.mkDerivation (finalAttrs: { pname = "papers"; - version = "51.beta"; + version = "51.0"; outputs = [ "out" @@ -51,7 +51,7 @@ stdenv.mkDerivation (finalAttrs: { src = fetchurl { url = "mirror://gnome/sources/papers/${lib.versions.major finalAttrs.version}/papers-${finalAttrs.version}.tar.xz"; - hash = "sha256-ixnJdPV29yhn/InGeWxscR7vWJdujGaE4Ah3SqRo9hQ="; + hash = "sha256-S4yvUn2F9+q8Y+vp0jIOBJBlPC4Ti4j79C5vQd0+RRw="; }; cargoDeps = rustPlatform.fetchCargoVendor { From 941b176c49d77f594d3c2e1cf4d5df3eceddd688 Mon Sep 17 00:00:00 2001 From: Tom Hunze Date: Wed, 16 Sep 2026 18:38:19 +0000 Subject: [PATCH 1911/2378] rygel: 46.rc.0 -> 46.0 https://gitlab.gnome.org/GNOME/rygel/-/compare/46.rc.0...46.0 --- pkgs/by-name/ry/rygel/package.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/by-name/ry/rygel/package.nix b/pkgs/by-name/ry/rygel/package.nix index e24ccb2c4eb5..fe925519c9f4 100644 --- a/pkgs/by-name/ry/rygel/package.nix +++ b/pkgs/by-name/ry/rygel/package.nix @@ -39,7 +39,7 @@ stdenv.mkDerivation (finalAttrs: { pname = "rygel"; - version = "46.rc.0"; + version = "46.0"; # TODO: split out lib outputs = [ @@ -49,7 +49,7 @@ stdenv.mkDerivation (finalAttrs: { src = fetchurl { url = "mirror://gnome/sources/rygel/${lib.versions.major finalAttrs.version}/rygel-${finalAttrs.version}.tar.xz"; - hash = "sha256-r6YZ8hdtuNIlLM+7/xOv14Ir9+qorBwJ6I4j+Ns0lOQ="; + hash = "sha256-thUSyZMH4t5wgflrACQnu/I7JdWww/aujXeYyuvOSoY="; }; patches = [ From 2510fd24331628df9c29e1cb9922ad9fe3415dfd Mon Sep 17 00:00:00 2001 From: Tom Hunze Date: Wed, 16 Sep 2026 18:39:25 +0000 Subject: [PATCH 1912/2378] snapshot: 51.beta -> 51.0 https://gitlab.gnome.org/GNOME/snapshot/-/compare/51.beta...51.0 --- pkgs/by-name/sn/snapshot/package.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/by-name/sn/snapshot/package.nix b/pkgs/by-name/sn/snapshot/package.nix index 19b25e4bd61c..d2f3edf3c486 100644 --- a/pkgs/by-name/sn/snapshot/package.nix +++ b/pkgs/by-name/sn/snapshot/package.nix @@ -24,11 +24,11 @@ stdenv.mkDerivation (finalAttrs: { pname = "snapshot"; - version = "51.beta"; + version = "51.0"; src = fetchurl { url = "mirror://gnome/sources/snapshot/${lib.versions.major finalAttrs.version}/snapshot-${finalAttrs.version}.tar.xz"; - hash = "sha256-EJh3LdDkKlRLkQuOpXNGdeRDMvAJOr0riBzNAQI1+so="; + hash = "sha256-PmT6TNGnQq40tvbY5tlhSi0+q4ihsAccEatTYX6yFMI="; }; cargoVendorDir = "vendor"; From 584a6955e341ae0b9da39dd39464af13ca963fdc Mon Sep 17 00:00:00 2001 From: Tom Hunze Date: Wed, 16 Sep 2026 18:39:49 +0000 Subject: [PATCH 1913/2378] sushi: 51.rc -> 51.0 https://gitlab.gnome.org/GNOME/sushi/-/compare/51.rc...51.0 --- pkgs/by-name/su/sushi/package.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/by-name/su/sushi/package.nix b/pkgs/by-name/su/sushi/package.nix index 028a71755e5e..49b90349e7da 100644 --- a/pkgs/by-name/su/sushi/package.nix +++ b/pkgs/by-name/su/sushi/package.nix @@ -28,11 +28,11 @@ stdenv.mkDerivation (finalAttrs: { pname = "sushi"; - version = "51.rc"; + version = "51.0"; src = fetchurl { url = "mirror://gnome/sources/sushi/${lib.versions.major finalAttrs.version}/sushi-${finalAttrs.version}.tar.xz"; - hash = "sha256-QAtBzcKTLj609XMyEfwH0U67T15wKhZ5/ayMItl7Mew="; + hash = "sha256-1BsbnmQP2UmJW/DocRQySet7qjjtS6Zm27JCf7vJ6aU="; }; nativeBuildInputs = [ From 93ed627df65395de7789720a582809af92572a1c Mon Sep 17 00:00:00 2001 From: Tom Hunze Date: Wed, 16 Sep 2026 18:40:52 +0000 Subject: [PATCH 1914/2378] sysprof: 51.rc -> 51.0 https://gitlab.gnome.org/GNOME/sysprof/-/compare/51.rc...51.0 --- pkgs/by-name/sy/sysprof/package.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/by-name/sy/sysprof/package.nix b/pkgs/by-name/sy/sysprof/package.nix index a2a255d07fb7..2da0c9e1846a 100644 --- a/pkgs/by-name/sy/sysprof/package.nix +++ b/pkgs/by-name/sy/sysprof/package.nix @@ -26,7 +26,7 @@ stdenv.mkDerivation (finalAttrs: { pname = "sysprof"; - version = "51.rc"; + version = "51.0"; outputs = [ "out" @@ -36,7 +36,7 @@ stdenv.mkDerivation (finalAttrs: { src = fetchurl { url = "mirror://gnome/sources/sysprof/${lib.versions.major finalAttrs.version}/sysprof-${finalAttrs.version}.tar.xz"; - hash = "sha256-JiMDPeTApMOuE0/Xarr1+g50K6DKdJMYRlnQslxwryI="; + hash = "sha256-8sjZxcgpTOP9yL59n0vlanLtcVIstUmH8XI6jP2RY30="; }; nativeBuildInputs = [ From 39c3854531ca82118a14591b70650124c68133a0 Mon Sep 17 00:00:00 2001 From: Tom Hunze Date: Wed, 16 Sep 2026 18:41:34 +0000 Subject: [PATCH 1915/2378] gnome-tecla: 51.beta -> 51.0 https://gitlab.gnome.org/GNOME/tecla/-/compare/51.beta...51.0 --- pkgs/by-name/gn/gnome-tecla/package.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/by-name/gn/gnome-tecla/package.nix b/pkgs/by-name/gn/gnome-tecla/package.nix index 7457e6697b34..09d18420776a 100644 --- a/pkgs/by-name/gn/gnome-tecla/package.nix +++ b/pkgs/by-name/gn/gnome-tecla/package.nix @@ -16,11 +16,11 @@ stdenv.mkDerivation (finalAttrs: { pname = "tecla"; - version = "51.beta"; + version = "51.0"; src = fetchurl { url = "mirror://gnome/sources/tecla/${lib.versions.major finalAttrs.version}/tecla-${finalAttrs.version}.tar.xz"; - hash = "sha256-7Je/lzDiMHsqOTbxbOkDaEh9I/3F4wg8sHJozEWBP7g="; + hash = "sha256-3fGoVVBEFx0NhLWA1tVBw8YhrneZb2vF7d5ZjeL4Yls="; }; nativeBuildInputs = [ From 6ca8458f9523d797ea9c88dcb2c2bcf12eae9348 Mon Sep 17 00:00:00 2001 From: Tom Hunze Date: Wed, 16 Sep 2026 18:42:27 +0000 Subject: [PATCH 1916/2378] tinysparql: 3.12.rc -> 3.12.0 https://gitlab.gnome.org/GNOME/tinysparql/-/compare/3.12.rc...3.12.0 --- pkgs/by-name/ti/tinysparql/package.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/by-name/ti/tinysparql/package.nix b/pkgs/by-name/ti/tinysparql/package.nix index 75a179666042..cb15d41c75f0 100644 --- a/pkgs/by-name/ti/tinysparql/package.nix +++ b/pkgs/by-name/ti/tinysparql/package.nix @@ -34,7 +34,7 @@ stdenv.mkDerivation (finalAttrs: { pname = "tinysparql"; - version = "3.12.rc"; + version = "3.12.0"; outputs = [ "out" @@ -46,7 +46,7 @@ stdenv.mkDerivation (finalAttrs: { url = with finalAttrs; "mirror://gnome/sources/tinysparql/${lib.versions.majorMinor version}/tinysparql-${version}.tar.xz"; - hash = "sha256-CDFEXznHp2mCJAW3pV5A9jtJ1cDV7cU1yewMS+GWKgI="; + hash = "sha256-QOPjrpgRrgepSsff6CWfIYZ567HJvJjXqzRbJAWSa1c="; }; strictDeps = true; From 6931352738e3ff79b696a8bf0b80e4729428c1d1 Mon Sep 17 00:00:00 2001 From: Tom Hunze Date: Wed, 16 Sep 2026 18:44:04 +0000 Subject: [PATCH 1917/2378] xdg-desktop-portal-gnome: 51.rc -> 51.0 https://gitlab.gnome.org/GNOME/xdg-desktop-portal-gnome/-/compare/51.rc...51.0 --- pkgs/by-name/xd/xdg-desktop-portal-gnome/package.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/by-name/xd/xdg-desktop-portal-gnome/package.nix b/pkgs/by-name/xd/xdg-desktop-portal-gnome/package.nix index e2dcccaa1cd3..be9c05ca29c7 100644 --- a/pkgs/by-name/xd/xdg-desktop-portal-gnome/package.nix +++ b/pkgs/by-name/xd/xdg-desktop-portal-gnome/package.nix @@ -23,11 +23,11 @@ stdenv.mkDerivation (finalAttrs: { pname = "xdg-desktop-portal-gnome"; - version = "51.rc"; + version = "51.0"; src = fetchurl { url = "mirror://gnome/sources/xdg-desktop-portal-gnome/${lib.versions.major finalAttrs.version}/xdg-desktop-portal-gnome-${finalAttrs.version}.tar.xz"; - hash = "sha256-Enw1nxA1T994vNqUZZc+Ibs1Co+7Ifk472EYHqkGzyc="; + hash = "sha256-7CKLMFCRtknBbGkOECqh1m/BDpg0iI1R5BGRPILBQw0="; }; nativeBuildInputs = [ From 8e84e8e95b8f2513a00fc8edae051c414686590f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marco=20K=C3=B6pcke?= Date: Fri, 18 Sep 2026 08:21:46 +0200 Subject: [PATCH 1918/2378] nixos/release-notes(26.11): GNOME 51 Update --- nixos/doc/manual/release-notes/rl-2611.section.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/nixos/doc/manual/release-notes/rl-2611.section.md b/nixos/doc/manual/release-notes/rl-2611.section.md index be7352ab3625..9d33af0506cb 100644 --- a/nixos/doc/manual/release-notes/rl-2611.section.md +++ b/nixos/doc/manual/release-notes/rl-2611.section.md @@ -18,6 +18,8 @@ +nixpkgs.url = "https://channels.nixos.org/nixos-26.05/nixexprs.tar.zst"; ``` +- GNOME has been updated to version 51. Refer to the [GNOME release notes](https://release.gnome.org/51/) for more details. + - `sing-box` now supports NaïveProxy outbounds. ## New Modules {#sec-release-26.11-new-modules} From 4bd956d7f6662e24e4f0453023065aaa0ae40f77 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marco=20K=C3=B6pcke?= Date: Fri, 18 Sep 2026 08:29:30 +0200 Subject: [PATCH 1919/2378] nixos/gnome: cleanup for GNOME 51 --- .../services/desktop-managers/gnome.nix | 18 ++++++++---------- 1 file changed, 8 insertions(+), 10 deletions(-) diff --git a/nixos/modules/services/desktop-managers/gnome.nix b/nixos/modules/services/desktop-managers/gnome.nix index 97fff5959e97..15e95b8346ef 100644 --- a/nixos/modules/services/desktop-managers/gnome.nix +++ b/nixos/modules/services/desktop-managers/gnome.nix @@ -462,35 +462,37 @@ in pkgs.xdg-user-dirs # Update user dirs as described in https://freedesktop.org/wiki/Software/xdg-user-dirs/ pkgs.xdg-user-dirs-gtk # Used to create the default bookmarks pkgs.gnome-extensions-app + pkgs.gnome-tecla ]; in mandatoryPackages ++ removeExcluded optionalPackages; }) - # Adapt from https://gitlab.gnome.org/GNOME/gnome-build-meta/-/blob/gnome-48/elements/core/meta-gnome-core-apps.bst + # Adapt from https://gitlab.gnome.org/GNOME/gnome-build-meta/-/blob/gnome-51/elements/core/meta-gnome-core-apps.bst (lib.mkIf serviceCfg.core-apps.enable { environment.systemPackages = removeExcluded [ pkgs.baobab pkgs.decibels pkgs.epiphany - pkgs.gnome-text-editor pkgs.gnome-calculator pkgs.gnome-calendar pkgs.gnome-characters pkgs.gnome-clocks + pkgs.gnome-connections pkgs.gnome-console pkgs.gnome-contacts + # gnome-disk-utility is controlled below via `programs.gnome-disks` pkgs.gnome-font-viewer pkgs.gnome-logs pkgs.gnome-maps pkgs.gnome-music + # gnome-software is controlled below via `services.gnome.gnome-software` pkgs.gnome-system-monitor - pkgs.gnome-tecla + pkgs.gnome-text-editor pkgs.gnome-weather pkgs.loupe pkgs.nautilus pkgs.papers - pkgs.gnome-connections pkgs.showtime pkgs.simple-scan pkgs.snapshot @@ -527,6 +529,7 @@ in ]; }) + # Note: This is an arbitrary list of packages, there is no "official" list of GNOME games. (lib.mkIf serviceCfg.games.enable { environment.systemPackages = removeExcluded [ pkgs.aisleriot @@ -552,18 +555,13 @@ in ]; }) - # Adapt from https://gitlab.gnome.org/GNOME/gnome-build-meta/-/blob/gnome-48/elements/core/meta-gnome-core-developer-tools.bst + # Adapt from https://gitlab.gnome.org/GNOME/gnome-build-meta/-/blob/gnome-51/elements/core/meta-gnome-core-developer-tools.bst (lib.mkIf serviceCfg.core-developer-tools.enable { environment.systemPackages = removeExcluded [ pkgs.dconf-editor pkgs.devhelp pkgs.d-spy pkgs.gnome-builder - # boxes would make sense in this option, however - # it doesn't function well enough to be included - # in default configurations. - # https://github.com/NixOS/nixpkgs/issues/60908 - # pkgs.gnome-boxes pkgs.sysprof ]; From 208066a1597ace576993fddca3dbfe996451e200 Mon Sep 17 00:00:00 2001 From: Bobby Rong Date: Fri, 18 Sep 2026 22:31:45 +0800 Subject: [PATCH 1920/2378] mutter48: Fix build with pango 1.58 https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1143340 --- pkgs/by-name/mu/mutter48/package.nix | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/pkgs/by-name/mu/mutter48/package.nix b/pkgs/by-name/mu/mutter48/package.nix index c7e82ef4e7a6..cd901f9c4e9a 100644 --- a/pkgs/by-name/mu/mutter48/package.nix +++ b/pkgs/by-name/mu/mutter48/package.nix @@ -1,5 +1,6 @@ { fetchurl, + fetchpatch, runCommand, lib, stdenv, @@ -85,6 +86,15 @@ stdenv.mkDerivation (finalAttrs: { hash = "sha256-7BAqo8uw45ABIGYnrKMFUxRVX3BgneXmwrfvzR+pDyA="; }; + patches = [ + # Fix build with pango 1.58 + # https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/5102 + (fetchpatch { + url = "https://gitlab.gnome.org/GNOME/mutter/-/commit/ba64e055b5159a3acd5b4e4bc3d381066b26c62c.patch"; + hash = "sha256-93i0BnVi8Psi1KpwnLESvq9ntal9fOzH4z2vYhboLhQ="; + }) + ]; + mesonFlags = [ "-Degl_device=true" "-Dinstalled_tests=false" # TODO: enable these From 181e7eadc6c37e7e28ebbd1d14f6ad686d2d915a Mon Sep 17 00:00:00 2001 From: "R. Ryantm" Date: Thu, 17 Sep 2026 04:58:51 +0000 Subject: [PATCH 1921/2378] gtranslator: 50.0 -> 51.0 https://gitlab.gnome.org/GNOME/gtranslator/-/compare/50.0...51.0 Fixes: https://hydra.nixos.org/build/345907387/step/1/log Closes: https://github.com/NixOS/nixpkgs/pull/564110 --- pkgs/by-name/gt/gtranslator/package.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/by-name/gt/gtranslator/package.nix b/pkgs/by-name/gt/gtranslator/package.nix index e27439a8d875..0b65d62a0f54 100644 --- a/pkgs/by-name/gt/gtranslator/package.nix +++ b/pkgs/by-name/gt/gtranslator/package.nix @@ -24,11 +24,11 @@ stdenv.mkDerivation rec { pname = "gtranslator"; - version = "50.0"; + version = "51.0"; src = fetchurl { url = "mirror://gnome/sources/gtranslator/${lib.versions.major version}/gtranslator-${version}.tar.xz"; - hash = "sha256-hXtRx49U30JBj/b6nmK4VU338CHLEjOMH8DYW5nJGO8="; + hash = "sha256-LcKDtONmJAZL3IXmV+tN4esB/rpiobDrOyIh/GwCx1o="; }; nativeBuildInputs = [ From 36bb4ffb74708df608c0aacec0f056c01c0e6c12 Mon Sep 17 00:00:00 2001 From: Tom Hunze Date: Fri, 18 Sep 2026 21:13:40 +0000 Subject: [PATCH 1922/2378] evolution: 3.60.2 -> 3.62.0 https://gitlab.gnome.org/GNOME/evolution/-/compare/3.60.2...3.62.0 No tests were actually running before and enabling them is non-trivial. It looks like the same tests can be installed as installed tests using `-DENABLE_INSTALLED_TESTS=ON`. Maybe it's more practical to run them as such. --- pkgs/by-name/ev/evolution/package.nix | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/pkgs/by-name/ev/evolution/package.nix b/pkgs/by-name/ev/evolution/package.nix index 535c9214dbee..b7a215cd4f33 100644 --- a/pkgs/by-name/ev/evolution/package.nix +++ b/pkgs/by-name/ev/evolution/package.nix @@ -49,7 +49,7 @@ stdenv.mkDerivation (finalAttrs: { pname = "evolution"; - version = "3.60.2"; + version = "3.62.0"; outputs = [ "out" @@ -58,7 +58,7 @@ stdenv.mkDerivation (finalAttrs: { src = fetchurl { url = "mirror://gnome/sources/evolution/${lib.versions.majorMinor finalAttrs.version}/evolution-${finalAttrs.version}.tar.xz"; - hash = "sha256-IYpJ+lBoFV29vTWjDRCi8jfHJGX7HQ4Kp4iJ8DnC7Y8="; + hash = "sha256-f8LMQOFpm/cGtc/PAlVlD8RiO5ntvHLFrQJs6iWHo9Y="; }; nativeBuildInputs = [ @@ -135,8 +135,6 @@ stdenv.mkDerivation (finalAttrs: { "big-parallel" ]; - doCheck = true; - passthru = { updateScript = gnome.updateScript { packageName = "evolution"; From 0115453ae2fe7496dd757d42a668279ce39e7202 Mon Sep 17 00:00:00 2001 From: Tom Hunze Date: Mon, 21 Sep 2026 07:30:27 +0000 Subject: [PATCH 1923/2378] evolution-ews: 3.60.2 -> 3.62.0 https://gitlab.gnome.org/GNOME/evolution-ews/-/compare/3.60.2...3.62.0 --- pkgs/by-name/ev/evolution-ews/hardcode-gsettings.patch | 2 +- pkgs/by-name/ev/evolution-ews/package.nix | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/pkgs/by-name/ev/evolution-ews/hardcode-gsettings.patch b/pkgs/by-name/ev/evolution-ews/hardcode-gsettings.patch index 7e82dbd3b2bb..d1bfcab621fc 100644 --- a/pkgs/by-name/ev/evolution-ews/hardcode-gsettings.patch +++ b/pkgs/by-name/ev/evolution-ews/hardcode-gsettings.patch @@ -93,7 +93,7 @@ index cec5417..38f1a87 100644 if (g_settings_get_boolean (settings, "use-system-timezone")) location = e_cal_util_get_system_timezone_location (); diff --git a/src/common/e-ews-common-utils.c b/src/common/e-ews-common-utils.c -index 1cc5a58..05b3610 100644 +index 2ed285f..970368a 100644 --- a/src/common/e-ews-common-utils.c +++ b/src/common/e-ews-common-utils.c @@ -167,10 +167,21 @@ e_ews_common_utils_get_configured_icaltimezone (void) diff --git a/pkgs/by-name/ev/evolution-ews/package.nix b/pkgs/by-name/ev/evolution-ews/package.nix index 8c4bf01d126c..89857e7fa267 100644 --- a/pkgs/by-name/ev/evolution-ews/package.nix +++ b/pkgs/by-name/ev/evolution-ews/package.nix @@ -23,11 +23,11 @@ stdenv.mkDerivation (finalAttrs: { pname = "evolution-ews"; - version = "3.60.2"; + version = "3.62.0"; src = fetchurl { url = "mirror://gnome/sources/evolution-ews/${lib.versions.majorMinor finalAttrs.version}/evolution-ews-${finalAttrs.version}.tar.xz"; - hash = "sha256-lAIFgY9piEEUV931gE0hDzUVwm4zQV3r2Puycxsdrys="; + hash = "sha256-hbjnCJWC2dXqbcGoIyWz5cSwOWkk96bg90OpEoytc9Q="; }; patches = [ From 7f6e6dcbca3839a04a67e5010572cb0590cd6e25 Mon Sep 17 00:00:00 2001 From: Tom Hunze Date: Fri, 2 Oct 2026 10:22:17 +0200 Subject: [PATCH 1924/2378] perlPackages.GlibObjectIntrospection: 0.051 -> 0.052 https://gitlab.gnome.org/GNOME/perl-glib-object-introspection/-/compare/rel-0-05-1...rel-0-05-2 --- pkgs/top-level/perl-packages.nix | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/pkgs/top-level/perl-packages.nix b/pkgs/top-level/perl-packages.nix index 7f445818146a..e157e2443b32 100644 --- a/pkgs/top-level/perl-packages.nix +++ b/pkgs/top-level/perl-packages.nix @@ -15265,17 +15265,17 @@ with self; GlibObjectIntrospection = buildPerlPackage { pname = "Glib-Object-Introspection"; - version = "0.051"; + version = "0.052"; src = fetchurl { - url = "mirror://cpan/authors/id/X/XA/XAOC/Glib-Object-Introspection-0.051.tar.gz"; - hash = "sha256-ZWlhHcyArBSCx8IiZLGujJw1HUmDUR65psX0ehAVAIk="; + url = "mirror://cpan/authors/id/X/XA/XAOC/Glib-Object-Introspection-0.052.tar.gz"; + hash = "sha256-VVtPEwiTm7MUHqRXCtEuBOJ8IzKcMCydyHJUCeEEkRE="; }; patches = [ - # Fix build with gobject-introspection 1.82 - # https://gitlab.gnome.org/GNOME/perl-glib-object-introspection/-/issues/7 + # Fix build with glib >=2.89.0 + # https://gitlab.gnome.org/GNOME/perl-glib-object-introspection/-/work_items/8 (fetchpatch { - url = "https://gitlab.gnome.org/GNOME/perl-glib-object-introspection/-/commit/e5adffecdc9b321d1f8d91777b190b8ae08f8dd0.patch"; - hash = "sha256-/QAhKENSeP+QRoWx/v8EMFPOouZ36Qd78lhZpvInz7Q="; + url = "https://gitlab.gnome.org/GNOME/perl-glib-object-introspection/-/commit/22b1d2c8f3cdf9351f37791b27b36c139a145383.patch"; + hash = "sha256-5ZFKCr09OZlTs5SFaAVGkj6r55QMMmcOp0tAEVi1PPw="; }) ]; nativeBuildInputs = [ From 877e6da16fdebd2b817caa1b3cfc1ceb11b89d15 Mon Sep 17 00:00:00 2001 From: Tom Hunze Date: Fri, 2 Oct 2026 20:13:10 +0200 Subject: [PATCH 1925/2378] nixos/gdm: add `gdm-smartcard` PAM service Similar to `gdm-fingerprint` but based on the upstream gdm [1] `pam-arch/gdm-smartcard.pam` instead of `pam-arch/gdm-fingerprint.pam` and using pam_p11 instead of pam_pkcs11. [1] https://gitlab.gnome.org/GNOME/gdm/-/tree/e8665a24dfb9b78a47a31c7fd00d013c70c31c88/data/pam-arch --- .../modules/services/display-managers/gdm.nix | 79 +++++++++++++++++++ 1 file changed, 79 insertions(+) diff --git a/nixos/modules/services/display-managers/gdm.nix b/nixos/modules/services/display-managers/gdm.nix index 3f8501f1ece5..7a133d500272 100644 --- a/nixos/modules/services/display-managers/gdm.nix +++ b/nixos/modules/services/display-managers/gdm.nix @@ -671,6 +671,85 @@ in ]; }; }; + + # Do not attempt to authenticate via smartcard when the login option + # "Password" is selected (gdm-password). + login.p11Auth = lib.mkIf config.security.pam.p11.enable false; + + gdm-smartcard = lib.mkIf config.security.pam.p11.enable { + useDefaultRules = false; + rules = { + auth = utils.pam.autoOrderRules [ + { + name = "nologin"; + control = "requisite"; + modulePath = "${config.security.pam.package}/lib/security/pam_nologin.so"; + } + { + name = "faillock"; + control = "requisite"; + modulePath = "${config.security.pam.package}/lib/security/pam_faillock.so"; + settings.preauth = true; + } + { + name = "p11"; + control = "required"; + modulePath = "${pkgs.pam_p11}/lib/security/pam_p11.so"; + args = [ + "${pkgs.opensc}/lib/opensc-pkcs11.so" + ]; + } + { + name = "shells"; + control = "required"; + modulePath = "${config.security.pam.package}/lib/security/pam_shells.so"; + } + { + name = "env"; + control = "required"; + modulePath = "${config.security.pam.package}/lib/security/pam_env.so"; + settings.conffile = "/etc/pam/environment"; + settings.readenv = 0; + } + { + name = "gdm"; + enable = pamLogin.enable && pamLogin.enableGnomeKeyring; + control = "[success=ok default=1]"; + modulePath = "${gdm}/lib/security/pam_gdm.so"; + } + { + name = "gnome_keyring"; + enable = pamLogin.enable && pamLogin.enableGnomeKeyring; + control = "optional"; + modulePath = "${pkgs.gnome-keyring}/lib/security/pam_gnome_keyring.so"; + } + ]; + + account = utils.pam.autoOrderRules [ + { + name = "login"; + control = "include"; + modulePath = "login"; + } + ]; + + password = utils.pam.autoOrderRules [ + { + name = "deny"; + control = "required"; + modulePath = "${config.security.pam.package}/lib/security/pam_deny.so"; + } + ]; + + session = utils.pam.autoOrderRules [ + { + name = "login"; + control = "include"; + modulePath = "login"; + } + ]; + }; + }; }; }; From 44f85fd30d530cbf6b48a065aa6b67ded5c350c1 Mon Sep 17 00:00:00 2001 From: Tom Hunze Date: Fri, 2 Oct 2026 22:48:57 +0200 Subject: [PATCH 1926/2378] nixos/gdm: hide smartcard login option when P11 PAM module is disabled Without a `gdm-smartcard` PAM service as now enabled via `security.pam.p11.enable`, smartcard auth will not work. Hiding the smartcard login option in that case is probably a good idea. GNOME OS does something similar [1]. [1] https://gitlab.gnome.org/GNOME/gnome-build-meta/-/commit/c3e9a751f7671fa08e7bb45df65f40a626a75693 --- nixos/modules/services/display-managers/gdm.nix | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/nixos/modules/services/display-managers/gdm.nix b/nixos/modules/services/display-managers/gdm.nix index 7a133d500272..1b25893509ec 100644 --- a/nixos/modules/services/display-managers/gdm.nix +++ b/nixos/modules/services/display-managers/gdm.nix @@ -353,6 +353,13 @@ in }; } ] + ++ lib.optionals (!config.security.pam.p11.enable) [ + { + settings."org/gnome/login-screen" = { + enable-smartcard-authentication = false; + }; + } + ] ++ [ "${gdm}/share/gdm/greeter-dconf-defaults" ]; # Use AutomaticLogin if delay is zero, because it's immediate. From 629bfeb4c699dc04e58a38c65bf75d94e91f328b Mon Sep 17 00:00:00 2001 From: Tom Hunze Date: Sat, 3 Oct 2026 23:06:48 +0200 Subject: [PATCH 1927/2378] nixos/gdm: hide smartcard unlock option when P11 PAM module is disabled Same idea as for disabling the smartcard option on the login screen but for the lock screen. --- nixos/modules/services/display-managers/gdm.nix | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/nixos/modules/services/display-managers/gdm.nix b/nixos/modules/services/display-managers/gdm.nix index 1b25893509ec..24553fea6bdd 100644 --- a/nixos/modules/services/display-managers/gdm.nix +++ b/nixos/modules/services/display-managers/gdm.nix @@ -362,6 +362,14 @@ in ] ++ [ "${gdm}/share/gdm/greeter-dconf-defaults" ]; + programs.dconf.profiles.user.databases = lib.optionals (!config.security.pam.p11.enable) [ + { + settings."org/gnome/login-screen" = { + enable-smartcard-authentication = false; + }; + } + ]; + # Use AutomaticLogin if delay is zero, because it's immediate. # Otherwise with TimedLogin with zero seconds the prompt is still # presented and there's a little delay. From c28281991ff79782a6ca31234471248eb1bc2d9d Mon Sep 17 00:00:00 2001 From: Tom Hunze Date: Sun, 4 Oct 2026 00:48:05 +0000 Subject: [PATCH 1928/2378] gnome-backgrounds: 51.0 -> 51.0.1 https://gitlab.gnome.org/GNOME/gnome-backgrounds/-/compare/51.0...51.0.1 --- pkgs/by-name/gn/gnome-backgrounds/package.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/by-name/gn/gnome-backgrounds/package.nix b/pkgs/by-name/gn/gnome-backgrounds/package.nix index 32b820e33681..228d0035f669 100644 --- a/pkgs/by-name/gn/gnome-backgrounds/package.nix +++ b/pkgs/by-name/gn/gnome-backgrounds/package.nix @@ -9,11 +9,11 @@ stdenv.mkDerivation (finalAttrs: { pname = "gnome-backgrounds"; - version = "51.0"; + version = "51.0.1"; src = fetchurl { url = "mirror://gnome/sources/gnome-backgrounds/${lib.versions.major finalAttrs.version}/gnome-backgrounds-${finalAttrs.version}.tar.xz"; - hash = "sha256-WBHSQRjXj0G2bGFu+xCUwgUHy1RuSE3KSWP+c4pLp9s="; + hash = "sha256-7FBTTXdJvg4VA8VQT4JsYdFGDStBy4RRj6ay9VR9Hh4="; }; patches = [ From bd6ed7e1674cb11fe286ed32a08414e644260523 Mon Sep 17 00:00:00 2001 From: Tom Hunze Date: Sun, 4 Oct 2026 12:15:06 +0200 Subject: [PATCH 1929/2378] gnome-builder: fix crash at startup Since libdex 1.2, applications must call `dex_init()` at startup. Upstream issue: https://gitlab.gnome.org/GNOME/gnome-builder/-/work_items/2413 --- pkgs/by-name/gn/gnome-builder/package.nix | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/pkgs/by-name/gn/gnome-builder/package.nix b/pkgs/by-name/gn/gnome-builder/package.nix index e0d73bc14464..516c9ac958c7 100644 --- a/pkgs/by-name/gn/gnome-builder/package.nix +++ b/pkgs/by-name/gn/gnome-builder/package.nix @@ -5,6 +5,7 @@ cmark, desktop-file-utils, editorconfig-core-c, + fetchpatch, fetchurl, flatpak, gnome, @@ -67,6 +68,14 @@ stdenv.mkDerivation (finalAttrs: { # # Typelib file for namespace 'Pango', version '1.0' not found (g-irepository-error-quark, 0) ./fix-finding-test-typelibs.patch + + # Fix immediate crash at startup due to missing libdex initialization + # Upstream issue: https://gitlab.gnome.org/GNOME/gnome-builder/-/work_items/2413 + (fetchpatch { + name = "libdex-init.patch"; + url = "https://gitlab.gnome.org/GNOME/gnome-builder/-/commit/4dc88803f84ea11caaac78a39d2084ac6f1313d3.patch"; + hash = "sha256-O7iVyl8JQmIie5osTE0jj0hfEt3fKmcSpAE6b73g8ws="; + }) ]; nativeBuildInputs = [ From 58b304bedb50b6e401248ee570605c20aea9f7a6 Mon Sep 17 00:00:00 2001 From: Tom Hunze Date: Sun, 4 Oct 2026 12:33:58 +0200 Subject: [PATCH 1930/2378] gnome-manuals: fix crash at startup Since libdex 1.2, applications must call `dex_init()` at startup. --- pkgs/by-name/gn/gnome-manuals/package.nix | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/pkgs/by-name/gn/gnome-manuals/package.nix b/pkgs/by-name/gn/gnome-manuals/package.nix index 52a8f74c2ca1..1c5d407fcae4 100644 --- a/pkgs/by-name/gn/gnome-manuals/package.nix +++ b/pkgs/by-name/gn/gnome-manuals/package.nix @@ -2,6 +2,7 @@ stdenv, lib, desktop-file-utils, + fetchpatch, fetchurl, flatpak, glib, @@ -28,6 +29,15 @@ stdenv.mkDerivation (finalAttrs: { hash = "sha256-foRBdV0N5xdCjIAORa4GyF7JZK9GrFO53GW0G8OjLHQ="; }; + patches = [ + # Fix immediate crash at startup due to missing libdex initialization + (fetchpatch { + name = "libdex-init.patch"; + url = "https://gitlab.gnome.org/GNOME/manuals/-/commit/e516710da9e9d586a0b3fa08cf82d7f2e02afb78.patch"; + hash = "sha256-YZXs09s2GTI7x3+N4jWq8KyMq3X5O+IWvka/s/NokeE="; + }) + ]; + nativeBuildInputs = [ desktop-file-utils meson From 5b3e7db7d99c8ef963f9b95f146c1d5f4de5ef7e Mon Sep 17 00:00:00 2001 From: Tom Hunze Date: Sun, 4 Oct 2026 13:40:48 +0200 Subject: [PATCH 1931/2378] rygel: fix crash at startup by disabling examples rygel 46.0 doesn't explicitly disable the example server plugins anymore in `rygel.conf` and not disabling them causes rygel (even version 45.2) to crash at startup. --- pkgs/by-name/ry/rygel/package.nix | 1 + 1 file changed, 1 insertion(+) diff --git a/pkgs/by-name/ry/rygel/package.nix b/pkgs/by-name/ry/rygel/package.nix index fe925519c9f4..7f5c8613416a 100644 --- a/pkgs/by-name/ry/rygel/package.nix +++ b/pkgs/by-name/ry/rygel/package.nix @@ -106,6 +106,7 @@ stdenv.mkDerivation (finalAttrs: { mesonFlags = [ "-Dsystemd-user-units-dir=${placeholder "out"}/lib/systemd/user" "-Dapi-docs=false" + (lib.mesonBool "examples" false) "--sysconfdir=/etc" "-Dsysconfdir_install=${placeholder "out"}/etc" (lib.mesonEnable "gtk" withGtk) From f36d3c736c5d3d6eb6663d4af52fbd4a1434fa93 Mon Sep 17 00:00:00 2001 From: Tom Hunze Date: Sun, 4 Oct 2026 20:21:49 +0200 Subject: [PATCH 1932/2378] nixos/gdm: explicitly disable switchable authentication We currently don't provide a `gdm-switchable-auth` PAM service. Not explicitly disabling switchable auth when no corresponding PAM service is available can cause gdm to end up in an infinite loop of starting session workers for `gdm-switchable-auth` during reauthentication (i.e., on the lock screen). So far, I've only observed this behavior when fingerprint authentication was configured. --- nixos/modules/services/display-managers/gdm.nix | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/nixos/modules/services/display-managers/gdm.nix b/nixos/modules/services/display-managers/gdm.nix index 24553fea6bdd..8d1b901a2427 100644 --- a/nixos/modules/services/display-managers/gdm.nix +++ b/nixos/modules/services/display-managers/gdm.nix @@ -362,10 +362,13 @@ in ] ++ [ "${gdm}/share/gdm/greeter-dconf-defaults" ]; - programs.dconf.profiles.user.databases = lib.optionals (!config.security.pam.p11.enable) [ + programs.dconf.profiles.user.databases = [ { settings."org/gnome/login-screen" = { - enable-smartcard-authentication = false; + enable-smartcard-authentication = config.security.pam.p11.enable; + + # We currently don't provide a `gdm-switchable-auth` PAM service. + enable-switchable-authentication = false; }; } ]; From f4504c57e12c05eb05638d58e1a935e533c41433 Mon Sep 17 00:00:00 2001 From: winston Date: Tue, 6 Oct 2026 16:28:19 +0200 Subject: [PATCH 1933/2378] libsecret: fix build on darwin --- pkgs/by-name/li/libsecret/package.nix | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/pkgs/by-name/li/libsecret/package.nix b/pkgs/by-name/li/libsecret/package.nix index ffc8ce5eb6a7..6ff97914525b 100644 --- a/pkgs/by-name/li/libsecret/package.nix +++ b/pkgs/by-name/li/libsecret/package.nix @@ -129,6 +129,10 @@ stdenv.mkDerivation (finalAttrs: { (lib.mesonBool "tpm2" withTpm2Tss) (lib.mesonOption "bashcompdir" "share/bash-completion/completions") (lib.mesonOption "crypto" "gnutls") + ] + # interactive test environment relies on dbus-run-session + ++ lib.optionals (!finalAttrs.finalPackage.doCheck) [ + (lib.mesonEnable "test_setup" false) ]; doCheck = stdenv.hostPlatform.isLinux && withIntrospection; From 312c83319e85230160f3da0ee039385c1a24d5cc Mon Sep 17 00:00:00 2001 From: Tom Hunze Date: Wed, 7 Oct 2026 21:28:45 +0200 Subject: [PATCH 1934/2378] libsecret: simplify condition to enable `test_setup` meson feature The previous way of writing this avoided rebuilds on `*-linux`. --- pkgs/by-name/li/libsecret/package.nix | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/pkgs/by-name/li/libsecret/package.nix b/pkgs/by-name/li/libsecret/package.nix index 6ff97914525b..c21d84bebbc2 100644 --- a/pkgs/by-name/li/libsecret/package.nix +++ b/pkgs/by-name/li/libsecret/package.nix @@ -129,10 +129,8 @@ stdenv.mkDerivation (finalAttrs: { (lib.mesonBool "tpm2" withTpm2Tss) (lib.mesonOption "bashcompdir" "share/bash-completion/completions") (lib.mesonOption "crypto" "gnutls") - ] - # interactive test environment relies on dbus-run-session - ++ lib.optionals (!finalAttrs.finalPackage.doCheck) [ - (lib.mesonEnable "test_setup" false) + # interactive test environment relies on dbus-run-session + (lib.mesonEnable "test_setup" finalAttrs.finalPackage.doCheck) ]; doCheck = stdenv.hostPlatform.isLinux && withIntrospection; From a3b137e961c2b2f73bbadfd42cfd38196749da61 Mon Sep 17 00:00:00 2001 From: Nick Cao Date: Mon, 19 Oct 2026 20:02:43 -0400 Subject: [PATCH 1935/2378] cargo-c: 0.10.22 -> 0.10.26 Diff: https://github.com/lu-zero/cargo-c/compare/v0.10.22...v0.10.26 Changelog: https://github.com/lu-zero/cargo-c/releases/tag/v0.10.26 --- pkgs/by-name/ca/cargo-c/package.nix | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/pkgs/by-name/ca/cargo-c/package.nix b/pkgs/by-name/ca/cargo-c/package.nix index c2fb9c6eed79..08b6936d9974 100644 --- a/pkgs/by-name/ca/cargo-c/package.nix +++ b/pkgs/by-name/ca/cargo-c/package.nix @@ -14,21 +14,21 @@ let # this version may need to be updated along with package version - cargoVersion = "0.96.0"; + cargoVersion = "0.100.0"; in rustPlatform.buildRustPackage (finalAttrs: { pname = "cargo-c"; - version = "0.10.22"; + version = "0.10.26"; __structuredAttrs = true; src = fetchCrate { inherit (finalAttrs) pname; version = "${finalAttrs.version}+cargo-${cargoVersion}"; - hash = "sha256-yqSrpBZUa0NmsPawYKKgywmbbG4zgguwfDF667s7zdo="; + hash = "sha256-rt7LegE5DEOF/BP7OCSkl8hcziUpz7dJr7kMNDwXw1c="; }; - cargoHash = "sha256-yeJWZtkgCRB0ipyTslsGcJi9Fi/XoWziuv74exRhAIk="; + cargoHash = "sha256-j4PIJnPy04vEzTPTo2aD5xMKLUTeyXt13+YdZaqCm2E="; nativeBuildInputs = [ pkg-config From fe2ddc29912165384a40fd2c811e83dc48ac6130 Mon Sep 17 00:00:00 2001 From: "R. Ryantm" Date: Tue, 20 Oct 2026 00:43:45 +0000 Subject: [PATCH 1936/2378] ethtool: 7.1 -> 7.2 --- pkgs/by-name/et/ethtool/package.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/by-name/et/ethtool/package.nix b/pkgs/by-name/et/ethtool/package.nix index 5c3e2421f418..2b612a6cacba 100644 --- a/pkgs/by-name/et/ethtool/package.nix +++ b/pkgs/by-name/et/ethtool/package.nix @@ -9,11 +9,11 @@ stdenv.mkDerivation (finalAttrs: { pname = "ethtool"; - version = "7.1"; + version = "7.2"; src = fetchurl { url = "mirror://kernel/software/network/ethtool/ethtool-${finalAttrs.version}.tar.xz"; - hash = "sha256-TXjCbtwCVbyS9LmVtf1mEI11/5Zu1GlPYCWm03C8JJY="; + hash = "sha256-RCVt30Yx7QjYFre4cl9LLg8F6WuMfKZO5cgUSdorZQc="; }; nativeBuildInputs = [ From 561cf47fc2a3e0bc25666cd65f1236892ade280a Mon Sep 17 00:00:00 2001 From: whispers Date: Mon, 19 Oct 2026 21:01:04 -0400 Subject: [PATCH 1937/2378] python3Packages.sphinxHook: prevent sphinxBuilders duplication see https://github.com/NixOS/nixpkgs/pull/573479#discussion_r4301285198 Co-authored-by: "Adam C. Stephens" --- pkgs/development/interpreters/python/hooks/sphinx-hook.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/pkgs/development/interpreters/python/hooks/sphinx-hook.sh b/pkgs/development/interpreters/python/hooks/sphinx-hook.sh index 2d72d3d96caf..37f48f72021b 100644 --- a/pkgs/development/interpreters/python/hooks/sphinx-hook.sh +++ b/pkgs/development/interpreters/python/hooks/sphinx-hook.sh @@ -30,6 +30,7 @@ buildSphinxPhase() { exit 1 fi + __sphinxBuilders=() concatTo __sphinxBuilders sphinxBuilders=html for __builder in "${__sphinxBuilders[@]}"; do From 3b9cd97a664dd1cf4fcf3da80ad4382d27caa868 Mon Sep 17 00:00:00 2001 From: whispers Date: Mon, 19 Oct 2026 22:13:41 -0400 Subject: [PATCH 1938/2378] go_1_26: 1.26.9 -> 1.26.10 announcement: https://groups.google.com/g/golang-announce/c/66pojueaQek changelog: https://go.dev/doc/devel/release#go1.26.minor diff: https://github.com/golang/go/compare/go1.26.9...go1.26.10 --- pkgs/development/compilers/go/1.26.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/compilers/go/1.26.nix b/pkgs/development/compilers/go/1.26.nix index 46a433cbe573..83f5010b9204 100644 --- a/pkgs/development/compilers/go/1.26.nix +++ b/pkgs/development/compilers/go/1.26.nix @@ -25,11 +25,11 @@ let in stdenv.mkDerivation (finalAttrs: { pname = "go"; - version = "1.26.9"; + version = "1.26.10"; src = fetchurl { url = "https://go.dev/dl/go${finalAttrs.version}.src.tar.gz"; - hash = "sha256-lzXX3Ntls10/pXfwQGRzfAO4nPGitx5uaf4vPG+f1Mo="; + hash = "sha256-/WPog7ovK/ypPBZGsx6+9j4rHk0rMXyXidl2po2B828="; }; strictDeps = true; From 59c3754faf6920ba1981721b58eff5d2f3b403c4 Mon Sep 17 00:00:00 2001 From: "R. Ryantm" Date: Tue, 20 Oct 2026 03:37:52 +0000 Subject: [PATCH 1939/2378] c-ares: 1.34.8 -> 1.34.9 --- pkgs/by-name/c-/c-ares/package.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/by-name/c-/c-ares/package.nix b/pkgs/by-name/c-/c-ares/package.nix index d26bcba991fd..fa312ad1a9cc 100644 --- a/pkgs/by-name/c-/c-ares/package.nix +++ b/pkgs/by-name/c-/c-ares/package.nix @@ -18,7 +18,7 @@ stdenv.mkDerivation rec { pname = "c-ares"; - version = "1.34.8"; + version = "1.34.9"; strictDeps = true; __structuredAttrs = true; @@ -26,7 +26,7 @@ stdenv.mkDerivation rec { src = fetchurl { # Note: tag name varies in some versions, e.g. v1.30.0, c-ares-1_17_0. url = "https://github.com/c-ares/c-ares/releases/download/v${version}/c-ares-${version}.tar.gz"; - hash = "sha256-wiK21oEJb5RE0sSGPSwRdAGeJ8rMoKSlwRTTbdfXv3g="; + hash = "sha256-k2S3ChLrWaBoMPtIjZNX+QEA3/DZiyPqNZOhg9Q+by8="; }; outputs = [ From a8687be5490637d21fe85fc262fa963625e18991 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Philippe=20H=C3=BCrlimann?= Date: Tue, 20 Oct 2026 10:39:50 +0200 Subject: [PATCH 1940/2378] sdl2-compat: explicitly configure value of x11 support Previously the build relied on the cmake-build's platform based default. This would mean that setting x11Support=false didn't properly work on Linux. --- pkgs/by-name/sd/sdl2-compat/package.nix | 1 + 1 file changed, 1 insertion(+) diff --git a/pkgs/by-name/sd/sdl2-compat/package.nix b/pkgs/by-name/sd/sdl2-compat/package.nix index 84582b5ad987..4e202cc5c906 100644 --- a/pkgs/by-name/sd/sdl2-compat/package.nix +++ b/pkgs/by-name/sd/sdl2-compat/package.nix @@ -65,6 +65,7 @@ stdenv.mkDerivation (finalAttrs: { (lib.cmakeBool "SDL2COMPAT_TESTS" finalAttrs.finalPackage.doCheck) (lib.cmakeFeature "CMAKE_INSTALL_RPATH" (lib.makeLibraryPath [ sdl3' ])) (lib.cmakeFeature "CMAKE_BUILD_RPATH" (lib.makeLibraryPath [ sdl3' ])) + (lib.cmakeBool "SDL2COMPAT_X11" x11Support) ]; # skip timing-based tests as those are flaky From 8859ea33c566dfb124be908507b92ea61d2421df Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Tue, 20 Oct 2026 12:42:42 +0200 Subject: [PATCH 1941/2378] libepoxy: enable strictDeps --- pkgs/by-name/li/libepoxy/package.nix | 2 ++ 1 file changed, 2 insertions(+) diff --git a/pkgs/by-name/li/libepoxy/package.nix b/pkgs/by-name/li/libepoxy/package.nix index 5d3c8acf681a..4ef0d300904b 100644 --- a/pkgs/by-name/li/libepoxy/package.nix +++ b/pkgs/by-name/li/libepoxy/package.nix @@ -62,6 +62,8 @@ stdenv.mkDerivation (finalAttrs: { libx11 ]; + strictDeps = true; + mesonFlags = [ "-Degl=${lib.boolToYesNo (x11Support && !stdenv.hostPlatform.isDarwin)}" "-Dglx=${lib.boolToYesNo x11Support}" From f4f7f3b432f214922ad973db0ae24dd71d5f82ea Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Tue, 20 Oct 2026 12:42:51 +0200 Subject: [PATCH 1942/2378] libepoxy: enable structuredAttrs --- pkgs/by-name/li/libepoxy/package.nix | 2 ++ 1 file changed, 2 insertions(+) diff --git a/pkgs/by-name/li/libepoxy/package.nix b/pkgs/by-name/li/libepoxy/package.nix index 4ef0d300904b..1e315cda1aaf 100644 --- a/pkgs/by-name/li/libepoxy/package.nix +++ b/pkgs/by-name/li/libepoxy/package.nix @@ -83,6 +83,8 @@ stdenv.mkDerivation (finalAttrs: { }; }; + __structuredAttrs = true; + meta = { description = "Library for handling OpenGL function pointer management"; homepage = "https://github.com/anholt/libepoxy"; From e7f252fc3fc7d51a90651c0b796cce72b736c3ff Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Tue, 20 Oct 2026 12:44:12 +0200 Subject: [PATCH 1943/2378] util-macros: enable structuredAttrs --- pkgs/by-name/ut/util-macros/package.nix | 2 ++ 1 file changed, 2 insertions(+) diff --git a/pkgs/by-name/ut/util-macros/package.nix b/pkgs/by-name/ut/util-macros/package.nix index f7c8c6d69ea9..f85cc6dc955a 100644 --- a/pkgs/by-name/ut/util-macros/package.nix +++ b/pkgs/by-name/ut/util-macros/package.nix @@ -31,6 +31,8 @@ stdenvNoCC.mkDerivation (finalAttrs: { }; }; + __structuredAttrs = true; + meta = { description = "GNU autoconf macros shared across X.Org projects"; homepage = "https://gitlab.freedesktop.org/xorg/util/macros"; From 31c1c235becf20eda3ad960e9d2310ea538bc071 Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Tue, 20 Oct 2026 12:48:02 +0200 Subject: [PATCH 1944/2378] font-util: enable strictDeps --- pkgs/by-name/fo/font-util/package.nix | 2 ++ 1 file changed, 2 insertions(+) diff --git a/pkgs/by-name/fo/font-util/package.nix b/pkgs/by-name/fo/font-util/package.nix index 7c18cef426ba..6e27bc59bb14 100644 --- a/pkgs/by-name/fo/font-util/package.nix +++ b/pkgs/by-name/fo/font-util/package.nix @@ -26,6 +26,8 @@ stdenv.mkDerivation (finalAttrs: { util-macros ]; + strictDeps = true; + passthru = { updateScript = gitUpdater { rev-prefix = "font-util-"; From ea3d5c435c56a4b61c1de4e25b196dab69308a1c Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Tue, 20 Oct 2026 12:48:14 +0200 Subject: [PATCH 1945/2378] font-util: enable structuredAttrs --- pkgs/by-name/fo/font-util/package.nix | 2 ++ 1 file changed, 2 insertions(+) diff --git a/pkgs/by-name/fo/font-util/package.nix b/pkgs/by-name/fo/font-util/package.nix index 6e27bc59bb14..64db19e4ddbd 100644 --- a/pkgs/by-name/fo/font-util/package.nix +++ b/pkgs/by-name/fo/font-util/package.nix @@ -36,6 +36,8 @@ stdenv.mkDerivation (finalAttrs: { tests.pkg-config = testers.testMetaPkgConfig finalAttrs.finalPackage; }; + __structuredAttrs = true; + meta = { description = "X.Org font package creation/installation utilities"; homepage = "https://gitlab.freedesktop.org/xorg/font/util"; From b39ec1f71bb5d135d7e6bbe5fcb73cebca735495 Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Tue, 20 Oct 2026 12:54:12 +0200 Subject: [PATCH 1946/2378] libxcb: enable structuredAttrs --- pkgs/by-name/li/libxcb/package.nix | 2 ++ 1 file changed, 2 insertions(+) diff --git a/pkgs/by-name/li/libxcb/package.nix b/pkgs/by-name/li/libxcb/package.nix index b56bec0672e1..adc420cbcf94 100644 --- a/pkgs/by-name/li/libxcb/package.nix +++ b/pkgs/by-name/li/libxcb/package.nix @@ -61,6 +61,8 @@ stdenv.mkDerivation (finalAttrs: { NIX_CFLAGS_COMPILE = toString [ "-Wno-incompatible-pointer-types" ]; }; + __structuredAttrs = true; + meta = { description = "C interface to the X Window System protocol"; homepage = "https://gitlab.freedesktop.org/xorg/lib/libxcb"; From 1b7218ce1c03e23e7018699fe08b75b0ab3ac92f Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Tue, 20 Oct 2026 12:55:59 +0200 Subject: [PATCH 1947/2378] libxau: enable structuredAttrs --- pkgs/by-name/li/libxau/package.nix | 2 ++ 1 file changed, 2 insertions(+) diff --git a/pkgs/by-name/li/libxau/package.nix b/pkgs/by-name/li/libxau/package.nix index e9c67d2beb87..5e724f01b45a 100644 --- a/pkgs/by-name/li/libxau/package.nix +++ b/pkgs/by-name/li/libxau/package.nix @@ -37,6 +37,8 @@ stdenv.mkDerivation (finalAttrs: { tests.pkg-config = testers.testMetaPkgConfig finalAttrs.finalPackage; }; + __structuredAttrs = true; + meta = { description = "Functions for handling Xauthority files and entries."; homepage = "https://gitlab.freedesktop.org/xorg/lib/libxau"; From 4cdec8ce6699c6300284f3c2d137096f047abe83 Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Tue, 20 Oct 2026 12:57:31 +0200 Subject: [PATCH 1948/2378] libxdmcp: enable structuredAttrs --- pkgs/by-name/li/libxdmcp/package.nix | 2 ++ 1 file changed, 2 insertions(+) diff --git a/pkgs/by-name/li/libxdmcp/package.nix b/pkgs/by-name/li/libxdmcp/package.nix index 974b02424756..2df4f8c090e1 100644 --- a/pkgs/by-name/li/libxdmcp/package.nix +++ b/pkgs/by-name/li/libxdmcp/package.nix @@ -39,6 +39,8 @@ stdenv.mkDerivation (finalAttrs: { tests.pkg-config = testers.testMetaPkgConfig finalAttrs.finalPackage; }; + __structuredAttrs = true; + meta = { description = "X Display Manager Control Protocol library"; homepage = "https://gitlab.freedesktop.org/xorg/lib/libxdmcp"; From 4b175461d94cfb73decc35ec98db0eb0bf8801d6 Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Tue, 20 Oct 2026 13:00:22 +0200 Subject: [PATCH 1949/2378] libxcb-util: enable structuredAttrs --- pkgs/by-name/li/libxcb-util/package.nix | 2 ++ 1 file changed, 2 insertions(+) diff --git a/pkgs/by-name/li/libxcb-util/package.nix b/pkgs/by-name/li/libxcb-util/package.nix index 136c827b0f95..f1d2b66e5b5d 100644 --- a/pkgs/by-name/li/libxcb-util/package.nix +++ b/pkgs/by-name/li/libxcb-util/package.nix @@ -39,6 +39,8 @@ stdenv.mkDerivation (finalAttrs: { tests.pkg-config = testers.testMetaPkgConfig finalAttrs.finalPackage; }; + __structuredAttrs = true; + meta = { description = "XCB utility libraries"; longDescription = '' From 7e96187ee67fdcf7e550661ffc717dd24ce6248b Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Tue, 20 Oct 2026 13:01:39 +0200 Subject: [PATCH 1950/2378] libxcb-image: enable structuredAttrs --- pkgs/by-name/li/libxcb-image/package.nix | 2 ++ 1 file changed, 2 insertions(+) diff --git a/pkgs/by-name/li/libxcb-image/package.nix b/pkgs/by-name/li/libxcb-image/package.nix index 537b45f2b155..cdadf9569cc2 100644 --- a/pkgs/by-name/li/libxcb-image/package.nix +++ b/pkgs/by-name/li/libxcb-image/package.nix @@ -51,6 +51,8 @@ stdenv.mkDerivation (finalAttrs: { tests.pkg-config = testers.testMetaPkgConfig finalAttrs.finalPackage; }; + __structuredAttrs = true; + meta = { description = "XCB port of Xlib's XImage and XShmImage functions."; homepage = "https://gitlab.freedesktop.org/xorg/lib/libxcb-image"; From fe41e327402e3a8505fda824d6ab0d8fa2f86224 Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Tue, 20 Oct 2026 13:02:47 +0200 Subject: [PATCH 1951/2378] libxcb-render-util: enable structuredAttrs --- pkgs/by-name/li/libxcb-render-util/package.nix | 2 ++ 1 file changed, 2 insertions(+) diff --git a/pkgs/by-name/li/libxcb-render-util/package.nix b/pkgs/by-name/li/libxcb-render-util/package.nix index b294202e9c43..5061a659ea53 100644 --- a/pkgs/by-name/li/libxcb-render-util/package.nix +++ b/pkgs/by-name/li/libxcb-render-util/package.nix @@ -45,6 +45,8 @@ stdenv.mkDerivation (finalAttrs: { tests.pkg-config = testers.testMetaPkgConfig finalAttrs.finalPackage; }; + __structuredAttrs = true; + meta = { description = "XCB convenience functions for the Render extension"; homepage = "https://gitlab.freedesktop.org/xorg/lib/libxcb-render-util"; From 81113f29c3cce72dd24cd91a74df574b1db65f49 Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Tue, 20 Oct 2026 13:04:15 +0200 Subject: [PATCH 1952/2378] libxcb-cursor: enable structuredAttrs --- pkgs/by-name/li/libxcb-cursor/package.nix | 2 ++ 1 file changed, 2 insertions(+) diff --git a/pkgs/by-name/li/libxcb-cursor/package.nix b/pkgs/by-name/li/libxcb-cursor/package.nix index c946cb1013d7..86d027c9bec2 100644 --- a/pkgs/by-name/li/libxcb-cursor/package.nix +++ b/pkgs/by-name/li/libxcb-cursor/package.nix @@ -53,6 +53,8 @@ stdenv.mkDerivation (finalAttrs: { tests.pkg-config = testers.testMetaPkgConfig finalAttrs.finalPackage; }; + __structuredAttrs = true; + meta = { description = "XCB port of libxcursor"; homepage = "https://gitlab.freedesktop.org/xorg/lib/libxcb-cursor"; From f8ba7340a8847b583d3182188b71fcb1cd0f17bd Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Tue, 20 Oct 2026 13:05:29 +0200 Subject: [PATCH 1953/2378] libxcb-errors: enable structuredAttrs --- pkgs/by-name/li/libxcb-errors/package.nix | 2 ++ 1 file changed, 2 insertions(+) diff --git a/pkgs/by-name/li/libxcb-errors/package.nix b/pkgs/by-name/li/libxcb-errors/package.nix index 3d99837da508..33b7329ed88c 100644 --- a/pkgs/by-name/li/libxcb-errors/package.nix +++ b/pkgs/by-name/li/libxcb-errors/package.nix @@ -51,6 +51,8 @@ stdenv.mkDerivation (finalAttrs: { tests.pkg-config = testers.testMetaPkgConfig finalAttrs.finalPackage; }; + __structuredAttrs = true; + meta = { description = "XCB utility library that gives human readable names to error, event & request codes"; homepage = "https://gitlab.freedesktop.org/xorg/lib/libxcb-errors"; From 682569a03e4ab2e574d91aeb85b562c687d3b897 Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Tue, 20 Oct 2026 13:07:21 +0200 Subject: [PATCH 1954/2378] libxcb-keysyms: enable structuredAttrs --- pkgs/by-name/li/libxcb-keysyms/package.nix | 2 ++ 1 file changed, 2 insertions(+) diff --git a/pkgs/by-name/li/libxcb-keysyms/package.nix b/pkgs/by-name/li/libxcb-keysyms/package.nix index 09015dbdfec7..e372db79c418 100644 --- a/pkgs/by-name/li/libxcb-keysyms/package.nix +++ b/pkgs/by-name/li/libxcb-keysyms/package.nix @@ -45,6 +45,8 @@ stdenv.mkDerivation (finalAttrs: { tests.pkg-config = testers.testMetaPkgConfig finalAttrs.finalPackage; }; + __structuredAttrs = true; + meta = { description = "Standard X key constants and conversion to/from keycodes"; homepage = "https://gitlab.freedesktop.org/xorg/lib/libxcb-keysyms"; From 86f86c262fae5375a1562ec3d4298ac642411f85 Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Tue, 20 Oct 2026 13:09:01 +0200 Subject: [PATCH 1955/2378] libxcb-wm: enable structuredAttrs --- pkgs/by-name/li/libxcb-wm/package.nix | 2 ++ 1 file changed, 2 insertions(+) diff --git a/pkgs/by-name/li/libxcb-wm/package.nix b/pkgs/by-name/li/libxcb-wm/package.nix index 874c440bb569..950b8b315f74 100644 --- a/pkgs/by-name/li/libxcb-wm/package.nix +++ b/pkgs/by-name/li/libxcb-wm/package.nix @@ -49,6 +49,8 @@ stdenv.mkDerivation (finalAttrs: { tests.pkg-config = testers.testMetaPkgConfig finalAttrs.finalPackage; }; + __structuredAttrs = true; + meta = { description = "XCB client and window-manager helpers for ICCCM & EWMH."; homepage = "https://gitlab.freedesktop.org/xorg/lib/libxcb-wm"; From 07d98aec5c8c178137dbfa96078a463df26faee7 Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Tue, 20 Oct 2026 13:15:48 +0200 Subject: [PATCH 1956/2378] libxfixes: enable structuredAttrs --- pkgs/by-name/li/libxfixes/package.nix | 2 ++ 1 file changed, 2 insertions(+) diff --git a/pkgs/by-name/li/libxfixes/package.nix b/pkgs/by-name/li/libxfixes/package.nix index 995e1632509c..8e3e987cadbe 100644 --- a/pkgs/by-name/li/libxfixes/package.nix +++ b/pkgs/by-name/li/libxfixes/package.nix @@ -43,6 +43,8 @@ stdenv.mkDerivation (finalAttrs: { tests.pkg-config = testers.testMetaPkgConfig finalAttrs.finalPackage; }; + __structuredAttrs = true; + meta = { description = "Xlib-based library for the XFIXES Extension"; homepage = "https://gitlab.freedesktop.org/xorg/lib/libxfixes"; From 35e1bf4625c2a6bdcf583ef9ae199fe195586976 Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Tue, 20 Oct 2026 13:18:10 +0200 Subject: [PATCH 1957/2378] libxkbfile: enable structuredAttrs --- pkgs/by-name/li/libxkbfile/package.nix | 2 ++ 1 file changed, 2 insertions(+) diff --git a/pkgs/by-name/li/libxkbfile/package.nix b/pkgs/by-name/li/libxkbfile/package.nix index 4dd6270b4793..63b22e733bda 100644 --- a/pkgs/by-name/li/libxkbfile/package.nix +++ b/pkgs/by-name/li/libxkbfile/package.nix @@ -49,6 +49,8 @@ stdenv.mkDerivation (finalAttrs: { tests.pkg-config = testers.testMetaPkgConfig finalAttrs.finalPackage; }; + __structuredAttrs = true; + meta = { description = "XKB file handling routines"; longDescription = '' From 380672606f10f49e466a3e6d523fa086df8ca3ca Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Tue, 20 Oct 2026 13:21:23 +0200 Subject: [PATCH 1958/2378] libdrm: enable structuredAttrs --- pkgs/by-name/li/libdrm/package.nix | 2 ++ 1 file changed, 2 insertions(+) diff --git a/pkgs/by-name/li/libdrm/package.nix b/pkgs/by-name/li/libdrm/package.nix index 7e0b8d177df9..1694ed47d7c0 100644 --- a/pkgs/by-name/li/libdrm/package.nix +++ b/pkgs/by-name/li/libdrm/package.nix @@ -53,6 +53,8 @@ stdenv.mkDerivation (finalAttrs: { "-Detnaviv=disabled" ]; + __structuredAttrs = true; + passthru = { updateScript = gitUpdater { url = "https://gitlab.freedesktop.org/mesa/drm.git"; From 74145f3fc5370f1c360d0d464e05d4046411439c Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Tue, 20 Oct 2026 13:21:14 +0200 Subject: [PATCH 1959/2378] libdrm: enable strictDeps --- pkgs/by-name/li/libdrm/package.nix | 2 ++ 1 file changed, 2 insertions(+) diff --git a/pkgs/by-name/li/libdrm/package.nix b/pkgs/by-name/li/libdrm/package.nix index 1694ed47d7c0..4fb5bb258b6f 100644 --- a/pkgs/by-name/li/libdrm/package.nix +++ b/pkgs/by-name/li/libdrm/package.nix @@ -41,6 +41,8 @@ stdenv.mkDerivation (finalAttrs: { ++ lib.optional withIntel libpciaccess ++ lib.optional withValgrind valgrind-light; + strictDeps = true; + mesonFlags = [ "-Dinstall-test-programs=true" "-Dcairo-tests=disabled" From 598d9c0e9fba9d5f6c36c6ccdbf3e856f0d6ac4b Mon Sep 17 00:00:00 2001 From: FliegendeWurst Date: Tue, 20 Oct 2026 13:25:19 +0200 Subject: [PATCH 1960/2378] mitm-cache: pass zstd as build input --- pkgs/by-name/mi/mitm-cache/package.nix | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/pkgs/by-name/mi/mitm-cache/package.nix b/pkgs/by-name/mi/mitm-cache/package.nix index 5b26727097da..5eefd7068b92 100644 --- a/pkgs/by-name/mi/mitm-cache/package.nix +++ b/pkgs/by-name/mi/mitm-cache/package.nix @@ -6,6 +6,8 @@ replaceVars, openssl, python3Packages, + pkg-config, + zstd, }: rustPlatform.buildRustPackage (finalAttrs: { @@ -19,6 +21,14 @@ rustPlatform.buildRustPackage (finalAttrs: { hash = "sha256-eY8mgmQB8wXQ7YJbLvdjXEEgGD+/RDywjvehJYf7ckE="; }; + nativeBuildInputs = [ + pkg-config + ]; + + buildInputs = [ + zstd + ]; + cargoHash = "sha256-DTPlPCumkVI2naYoNdO8T3pQNSawBA0FZ9LxVpqKqN0="; setupHook = replaceVars ./setup-hook.sh { From e53cfe19b52e941064c49f3ff349e18265612f37 Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Tue, 20 Oct 2026 13:29:57 +0200 Subject: [PATCH 1961/2378] libyaml: enable strictDeps, enable structuredAttrs --- pkgs/by-name/li/libyaml/package.nix | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/pkgs/by-name/li/libyaml/package.nix b/pkgs/by-name/li/libyaml/package.nix index 383201dad3af..a979fb7f3209 100644 --- a/pkgs/by-name/li/libyaml/package.nix +++ b/pkgs/by-name/li/libyaml/package.nix @@ -23,6 +23,10 @@ stdenv.mkDerivation (finalAttrs: { nativeBuildInputs = [ autoreconfHook ]; + strictDeps = true; + + __structuredAttrs = true; + meta = { homepage = "https://pyyaml.org/"; description = "YAML 1.1 parser and emitter written in C"; From 1fed2ea5ff83f144a3ac69f9409ce07c6e429d40 Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Tue, 20 Oct 2026 13:49:16 +0200 Subject: [PATCH 1962/2378] llhttp: enable strictDeps --- pkgs/by-name/ll/llhttp/package.nix | 2 ++ 1 file changed, 2 insertions(+) diff --git a/pkgs/by-name/ll/llhttp/package.nix b/pkgs/by-name/ll/llhttp/package.nix index a1909b67b458..1da0e98891c7 100644 --- a/pkgs/by-name/ll/llhttp/package.nix +++ b/pkgs/by-name/ll/llhttp/package.nix @@ -30,6 +30,8 @@ stdenv.mkDerivation (finalAttrs: { validatePkgConfig ]; + strictDeps = true; + cmakeFlags = [ (lib.cmakeBool "LLHTTP_BUILD_SHARED_LIBS" (!stdenv.hostPlatform.isStatic)) (lib.cmakeBool "LLHTTP_BUILD_STATIC_LIBS" stdenv.hostPlatform.isStatic) From 00e0b36308b6c461e63923698c5e532595e87117 Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Tue, 20 Oct 2026 13:49:30 +0200 Subject: [PATCH 1963/2378] llhttp: enable structuredAttrs --- pkgs/by-name/ll/llhttp/package.nix | 2 ++ 1 file changed, 2 insertions(+) diff --git a/pkgs/by-name/ll/llhttp/package.nix b/pkgs/by-name/ll/llhttp/package.nix index 1da0e98891c7..d4d5c392e5c4 100644 --- a/pkgs/by-name/ll/llhttp/package.nix +++ b/pkgs/by-name/ll/llhttp/package.nix @@ -48,6 +48,8 @@ stdenv.mkDerivation (finalAttrs: { }; }; + __structuredAttrs = true; + meta = { description = "Port of http_parser to llparse"; homepage = "https://llhttp.org/"; From f9a8c4aea6b1233614352a05f907137299959ddb Mon Sep 17 00:00:00 2001 From: Rafael Ieda Date: Tue, 20 Oct 2026 08:49:06 -0300 Subject: [PATCH 1964/2378] game-music-emu: apply patch for CVE-2026-111152 Backport upstream commit ae10a8f05479e3c8f80429e7a59759fed06f8c13, which fixes a heap out-of-bounds read in the AY loader. Fixes #575908 Assisted-by: Claude Code (claude-opus-5-5) --- pkgs/by-name/ga/game-music-emu/package.nix | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/pkgs/by-name/ga/game-music-emu/package.nix b/pkgs/by-name/ga/game-music-emu/package.nix index f660fde43654..064194a033df 100644 --- a/pkgs/by-name/ga/game-music-emu/package.nix +++ b/pkgs/by-name/ga/game-music-emu/package.nix @@ -2,6 +2,7 @@ lib, stdenv, fetchFromGitHub, + fetchpatch, cmake, removeReferencesTo, zlib, @@ -17,6 +18,15 @@ stdenv.mkDerivation (finalAttrs: { tag = finalAttrs.version; hash = "sha256-zn1t0oDj8hz/sfbG7lrstkv2Kf6cL7zAEMpIu9X4dyQ="; }; + + patches = [ + (fetchpatch { + name = "CVE-2026-111152.patch"; + url = "https://github.com/libgme/game-music-emu/commit/ae10a8f05479e3c8f80429e7a59759fed06f8c13.patch"; + hash = "sha256-/cOKzqhUrKMXcwxRKwdUf7wthrfYkiHy/IQGy9lK0ZM="; + }) + ]; + nativeBuildInputs = [ cmake removeReferencesTo From d33ca15cedfe5a599a8c8df0fd8a681f1d3d811a Mon Sep 17 00:00:00 2001 From: Colin Date: Wed, 21 Oct 2026 00:30:13 +0000 Subject: [PATCH 1965/2378] minimal-bootstrap.gcc: fix `fetchurl` hash the expression for this patch was originally borrowed from pkgs/development/compilers/gcc/ng/common/libgcc/default.nix which uses the same name/url/hash, but `fetchpatch` instead of `fetchurl`. unfortunately, while `fetchurl` does operate reasonably on this URL, it does not generate an identical output. this expression only ever worked because the machine(s) building this had already realized the `fetchpatch`-based FOD, and so never actually built the expression listed here. --- pkgs/os-specific/linux/minimal-bootstrap/gcc/common.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkgs/os-specific/linux/minimal-bootstrap/gcc/common.nix b/pkgs/os-specific/linux/minimal-bootstrap/gcc/common.nix index 6eaf611e1b40..d4ac9e2d1310 100644 --- a/pkgs/os-specific/linux/minimal-bootstrap/gcc/common.nix +++ b/pkgs/os-specific/linux/minimal-bootstrap/gcc/common.nix @@ -16,7 +16,7 @@ let (fetchurl { name = "regular-libdir-includedir.patch"; url = "https://inbox.sourceware.org/gcc-patches/20250717174911.1536129-1-git@JohnEricson.me/raw"; - hash = "sha256-Cn7rvg1FI7H/26GzSe4pv5VW/gvwbwGqivAqEeawkwk="; + hash = "sha256-unPDAwW0F6ZSjSNLRiO3zcTHPKZKflK+2Yu8SYX1e8Q="; }) ./configure-skip-target-libs-hooks.patch ]; From e927f8e696998d0be03aef478a8f1dfc865265ca Mon Sep 17 00:00:00 2001 From: "R. Ryantm" Date: Wed, 21 Oct 2026 03:48:15 +0000 Subject: [PATCH 1966/2378] patchelfUnstable: 0.18.0-unstable-2025-08-13 -> 0.19.2-unstable-2026-10-20 --- pkgs/development/tools/misc/patchelf/unstable.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pkgs/development/tools/misc/patchelf/unstable.nix b/pkgs/development/tools/misc/patchelf/unstable.nix index feafa976c8ff..70efeeaa7ffc 100644 --- a/pkgs/development/tools/misc/patchelf/unstable.nix +++ b/pkgs/development/tools/misc/patchelf/unstable.nix @@ -8,13 +8,13 @@ stdenv.mkDerivation { pname = "patchelf"; - version = "0.18.0-unstable-2025-08-13"; + version = "0.19.2-unstable-2026-10-20"; src = fetchFromGitHub { owner = "NixOS"; repo = "patchelf"; - rev = "b49de1b3384e7928bf0df9a889fe5a4e7b3fbddf"; - hash = "sha256-0AGK+ZPZDc7zTVAmG6jAAynQhh4nP8skVwOEV5hZKh0="; + rev = "3e996dbef1fa0658012f8dd290bddcf0302acade"; + hash = "sha256-+c7LIYKu0pYnG7h1dsEIDs6l4+91Vh/oDrSDARdBK3o="; }; # Drop test that fails on musl (?) From eb47272892743037919f517a8e3bc93a82e44baf Mon Sep 17 00:00:00 2001 From: Martin Weinelt Date: Wed, 21 Oct 2026 11:44:32 +0200 Subject: [PATCH 1967/2378] nss: 3.112.5 -> 3.125 --- pkgs/development/libraries/nss/esr.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pkgs/development/libraries/nss/esr.nix b/pkgs/development/libraries/nss/esr.nix index b2f2f54591b3..4b5b795664fe 100644 --- a/pkgs/development/libraries/nss/esr.nix +++ b/pkgs/development/libraries/nss/esr.nix @@ -1,6 +1,6 @@ import ./generic.nix { - version = "3.112.5"; - hash = "sha256-+u29CbE5IyapF5w4IeBXDiiNK7usVn30C08G5FWVC88="; + version = "3.125"; + hash = "sha256-pIRoFJYsQZzI+hJcNzTX+WT91tfXDygWE0RrirfyBPc="; filename = "esr.nix"; - versionRegex = "NSS_(3)_(112)(?:_(\\d+))?_RTM"; + versionRegex = "NSS_(3)_(125)(?:_(\\d+))?_RTM"; } From fe575ea7b2211dc43800392cb1383fb966de48a2 Mon Sep 17 00:00:00 2001 From: Antoine du Hamel Date: Wed, 21 Oct 2026 12:36:49 +0200 Subject: [PATCH 1968/2378] nodejs_24: 24.22.0 -> 24.22.1 --- pkgs/development/web/nodejs/v24.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/web/nodejs/v24.nix b/pkgs/development/web/nodejs/v24.nix index 8c2a0317359a..95f3a192e357 100644 --- a/pkgs/development/web/nodejs/v24.nix +++ b/pkgs/development/web/nodejs/v24.nix @@ -29,8 +29,8 @@ let [ ]; in buildNodejs { - version = "24.22.0"; - sha256 = "41f97cff2c666f1f8293dc5f85c65e8dd605c16b43fd9febd49ede32ee1e0329"; + version = "24.22.1"; + sha256 = "4f5379796280cdaeb0c2f358fd04b6a16cc4fb7dfa83b5a8c91a9d963b435231"; patches = (lib.optional (!(stdenv.hostPlatform.emulatorAvailable buildPackages)) (fetchpatch2 { url = "https://raw.githubusercontent.com/buildroot/buildroot/2f0c31bffdb59fb224387e35134a6d5e09a81d57/package/nodejs/nodejs-src/0003-include-obj-name-in-shared-intermediate.patch"; From 187cc6729b1f193c3f6b9e03ce6b0893b5832320 Mon Sep 17 00:00:00 2001 From: Antoine du Hamel Date: Wed, 21 Oct 2026 13:08:52 +0200 Subject: [PATCH 1969/2378] brotli: fix out-of-bound write --- pkgs/by-name/br/brotli/package.nix | 6 ++++++ pkgs/development/web/nodejs/nodejs.nix | 16 +--------------- 2 files changed, 7 insertions(+), 15 deletions(-) diff --git a/pkgs/by-name/br/brotli/package.nix b/pkgs/by-name/br/brotli/package.nix index 6d26a2de5ac5..b27539093bf0 100644 --- a/pkgs/by-name/br/brotli/package.nix +++ b/pkgs/by-name/br/brotli/package.nix @@ -28,6 +28,12 @@ stdenv.mkDerivation (finalAttrs: { url = "https://github.com/google/brotli/commit/e230f474b87134e8c6c85b630084c612057f253e.patch"; hash = "sha256-QERl8RHJz7tFr++hZIYwdj1/ogPpjArC+ia8S/bWxKk="; }) + + # Fix for CVE-2026-111497 + (fetchurl { + url = "https://github.com/google/brotli/commit/0ed4268a4401abcb4472096340477cf4af7d1a2b.patch?full_index=1"; + hash = "sha256-1vliUJAAIj3vcGKVgim9CEV+XgMuftDR2U+3kLBUsfw="; + }) ]; nativeBuildInputs = [ cmake ]; diff --git a/pkgs/development/web/nodejs/nodejs.nix b/pkgs/development/web/nodejs/nodejs.nix index 688fbf481f1e..0e5b12cede81 100644 --- a/pkgs/development/web/nodejs/nodejs.nix +++ b/pkgs/development/web/nodejs/nodejs.nix @@ -132,22 +132,8 @@ let useSharedZstd = lib.versionAtLeast version "22.15"; sharedLibDeps = { - # TODO: remove this on staging and land with https://github.com/NixOS/nixpkgs/pull/576792 - brotli = - if majorVersion == "24" then - brotli - else - brotli.overrideAttrs (old: { - patches = old.patches ++ [ - # Fix for CVE-2026-111497 - (fetchurl { - url = "https://github.com/google/brotli/commit/0ed4268a4401abcb4472096340477cf4af7d1a2b.patch?full_index=1"; - hash = "sha256-1vliUJAAIj3vcGKVgim9CEV+XgMuftDR2U+3kLBUsfw="; - }) - ]; - }); - inherit + brotli libuv nghttp2 openssl From b7fe01f87b52075ac92f177cf29136b1b681e744 Mon Sep 17 00:00:00 2001 From: Antoine du Hamel Date: Wed, 21 Oct 2026 14:13:56 +0200 Subject: [PATCH 1970/2378] ocamlPackages.asetmap: fix broken package due to bad merge resolution --- pkgs/development/ocaml-modules/asetmap/default.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pkgs/development/ocaml-modules/asetmap/default.nix b/pkgs/development/ocaml-modules/asetmap/default.nix index 85f7fcd4c8bf..9a3f1db1eb2a 100644 --- a/pkgs/development/ocaml-modules/asetmap/default.nix +++ b/pkgs/development/ocaml-modules/asetmap/default.nix @@ -4,15 +4,15 @@ buildTopkgPackage, }: -buildTopkgPackage (finalAttrs: { +buildTopkgPackage rec { pname = "asetmap"; version = "0.8.1"; src = fetchurl { - url = "https://github.com/dbuenzli/asetmap/archive/refs/tags/v${finalAttrs.version}.tar.gz"; + url = "https://github.com/dbuenzli/asetmap/archive/refs/tags/v${version}.tar.gz"; hash = "sha256-MrskBpIs2X1p0YdmSfZX75UOTXFRRxO5jeR2YSbwMxQ="; }; meta = { license = lib.licenses.isc; }; -}) +} From 4e3d1a26cce3cefa75e0dc83615c8d8dcf396dfa Mon Sep 17 00:00:00 2001 From: Joachim Ernst Date: Wed, 21 Oct 2026 15:35:56 +0200 Subject: [PATCH 1971/2378] unbound: 1.26.1 -> 1.26.2 --- pkgs/by-name/un/unbound/package.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/by-name/un/unbound/package.nix b/pkgs/by-name/un/unbound/package.nix index f2e40a0efb70..f0d06cfa11f0 100644 --- a/pkgs/by-name/un/unbound/package.nix +++ b/pkgs/by-name/un/unbound/package.nix @@ -64,13 +64,13 @@ assert lib.assertMsg ( ) "unbound: withDoQ requires OpenSSL with QUIC support (OpenSSL >= 3.5)"; stdenv.mkDerivation (finalAttrs: { pname = "unbound"; - version = "1.26.1"; + version = "1.26.2"; src = fetchFromGitHub { owner = "NLnetLabs"; repo = "unbound"; tag = "release-${finalAttrs.version}"; - hash = "sha256-gf4vASdB6XzSGhJ2GKbUhgs0wpR32Du2ARx4bBQ+vJA="; + hash = "sha256-2CcDPUwzBRjRFzkXVinc7N956Cieb5QSS3BqDfFGgz0="; }; outputs = [ From 3449b1d9799c90915af855047f34de3806f8c2f2 Mon Sep 17 00:00:00 2001 From: Pratham Patel Date: Wed, 21 Oct 2026 23:16:52 +0530 Subject: [PATCH 1972/2378] openblas: 0.3.33 -> 0.3.34 --- .../libraries/science/math/openblas/default.nix | 16 ++-------------- 1 file changed, 2 insertions(+), 14 deletions(-) diff --git a/pkgs/development/libraries/science/math/openblas/default.nix b/pkgs/development/libraries/science/math/openblas/default.nix index 89ad14774c9f..08c2ee33c748 100644 --- a/pkgs/development/libraries/science/math/openblas/default.nix +++ b/pkgs/development/libraries/science/math/openblas/default.nix @@ -169,7 +169,7 @@ let in stdenv.mkDerivation (finalAttrs: { pname = "openblas"; - version = "0.3.33"; + version = "0.3.34"; outputs = [ "out" @@ -180,7 +180,7 @@ stdenv.mkDerivation (finalAttrs: { owner = "OpenMathLib"; repo = "OpenBLAS"; rev = "v${finalAttrs.version}"; - hash = "sha256-EArf0K2Gs+w8IRD5wkMOQv79e8yMoTgQfa9kzjXKn3Y="; + hash = "sha256-usCAvjNUua91vBd1aXjsTyx8YrpuAkKGOpiQ58fT8Hc="; }; patches = [ @@ -189,18 +189,6 @@ stdenv.mkDerivation (finalAttrs: { # INCLUDEDIR already fixed in upstream HEAD & significant refactor # to config gen so not PRing changes ./cmake-include-fixes.patch - # This was an attempted fix for the below commit but still leaves some scipy tests failing. - (fetchpatch { - url = "https://github.com/OpenMathLib/OpenBLAS/commit/e3ce4623c299068bbd47c35ee87aab334bac73b1.patch"; - revert = true; - hash = "sha256-WrP3RCDk/EbpqVOw9XGLnFI+6/bBGJTIrt2TRYGLVQ4="; - }) - # This commit led to miscompilation of certain ASIMD extensions code paths. - (fetchpatch { - url = "https://github.com/OpenMathLib/OpenBLAS/commit/3f6e928d34aca977bd5d4191e6d2c2338a342.patch"; - revert = true; - hash = "sha256-EccgzxgyfAjVbV+HPemGHmzkRe0kpixu3eS3BZWr0g4="; - }) ]; inherit blas64; From 65154790b926fcd4e5268b4fce67839702db9d93 Mon Sep 17 00:00:00 2001 From: Pratham Patel Date: Wed, 21 Oct 2026 23:16:52 +0530 Subject: [PATCH 1973/2378] openblas: backport patches to fix racey buffer overflow --- .../libraries/science/math/openblas/default.nix | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) diff --git a/pkgs/development/libraries/science/math/openblas/default.nix b/pkgs/development/libraries/science/math/openblas/default.nix index 08c2ee33c748..d7f22c54dbcb 100644 --- a/pkgs/development/libraries/science/math/openblas/default.nix +++ b/pkgs/development/libraries/science/math/openblas/default.nix @@ -189,6 +189,23 @@ stdenv.mkDerivation (finalAttrs: { # INCLUDEDIR already fixed in upstream HEAD & significant refactor # to config gen so not PRing changes ./cmake-include-fixes.patch + + # Patches to fix racey buffer overflow in ~64 or more threads + (fetchpatch { + name = "centralize-buffer-release-bookkeeping.patch"; + url = "https://github.com/OpenMathLib/OpenBLAS/commit/95120da710e8ca28d7e6a896fd82cf1cdb0a07ad.patch"; + hash = "sha256-/6BhcVGDkrBgfwaMsOqvlZ03/cyIBNmGT84KYDLEcKY="; + }) + (fetchpatch { + name = "avoid-possible-hang-on-windows-by-introspecting-shutdown-state.patch"; + url = "https://github.com/OpenMathLib/OpenBLAS/commit/b8d83a72f4e12650e1c790bb43badcfb6e917875.patch"; + hash = "sha256-vIRI5ByW2IcSrQUiOJVd1Ngwusw9UUh+NLK5e9AVOxE="; + }) + (fetchpatch { + name = "fix-the-default-allocator-s-overflow-area.patch"; + url = "https://github.com/OpenMathLib/OpenBLAS/commit/0c6785998b516b85c0053669cc0c08e9287353fc.patch"; + hash = "sha256-jfRAn+IdGP5nfPLasYHBDRSu/HG6tKKAcSzb1urjL7Q="; + }) ]; inherit blas64; From d20b27800fd8ba7f4cdbe4834eb82e3ad9699498 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Robert=20Sch=C3=BCtz?= Date: Wed, 21 Oct 2026 13:19:17 -0700 Subject: [PATCH 1974/2378] python3Packages.uv-build: 0.12.5 -> 0.13.4 Diff: https://github.com/astral-sh/uv/compare/0.12.5...0.13.4 Changelog: https://github.com/astral-sh/uv/blob/0.13.4/CHANGELOG.md --- pkgs/development/python-modules/uv-build/default.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pkgs/development/python-modules/uv-build/default.nix b/pkgs/development/python-modules/uv-build/default.nix index ef304a61afe8..51e6cca5070c 100644 --- a/pkgs/development/python-modules/uv-build/default.nix +++ b/pkgs/development/python-modules/uv-build/default.nix @@ -11,14 +11,14 @@ buildPythonPackage (finalAttrs: { pname = "uv-build"; - version = "0.12.5"; + version = "0.13.4"; pyproject = true; src = fetchFromGitHub { owner = "astral-sh"; repo = "uv"; tag = finalAttrs.version; - hash = "sha256-tKdqciPQnteeTqkXtWY8mliWUDv5gMdU8x0UPadQZlQ="; + hash = "sha256-US3SjwhWE3v4/i46YuBon2GA6PupC4Z0NRUqcV9CPLM="; }; # Add the missing FIEMAP ioctl constants for loongarch64 @@ -38,7 +38,7 @@ buildPythonPackage (finalAttrs: { cargoDeps = rustPlatform.fetchCargoVendor { inherit (finalAttrs) pname version src; - hash = "sha256-27NzA/YXYbcGO6ehXP9OgvgLJQG/YP/I+eeflLmzxRQ="; + hash = "sha256-9L47CTlkOVYfGuzE4e7e2FYAI192pAsipzzScF7B1j4="; }; buildAndTestSubdir = "crates/uv-build"; From 3be4a324226d6867003ee0ddc46526329705d4cc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Robert=20Sch=C3=BCtz?= Date: Wed, 21 Oct 2026 13:27:34 -0700 Subject: [PATCH 1975/2378] python3Packages.cryptography-vectors: unpin uv-build --- pkgs/development/python-modules/cryptography/vectors.nix | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/pkgs/development/python-modules/cryptography/vectors.nix b/pkgs/development/python-modules/cryptography/vectors.nix index 42ae35c663dc..345c0a3da589 100644 --- a/pkgs/development/python-modules/cryptography/vectors.nix +++ b/pkgs/development/python-modules/cryptography/vectors.nix @@ -13,6 +13,11 @@ buildPythonPackage rec { sourceRoot = "${src.name}/vectors"; + postPatch = '' + substituteInPlace pyproject.toml \ + --replace-fail 'uv_build>=0.7.19,<0.13.0' uv_build + ''; + build-system = [ uv-build ]; # No tests included From c3af409807c222ebda8de1cc76ec8ac997cafc4f Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Wed, 21 Oct 2026 23:21:32 +0200 Subject: [PATCH 1976/2378] mesa-gl-headers: enable strictDeps --- pkgs/development/libraries/mesa/headers.nix | 2 ++ 1 file changed, 2 insertions(+) diff --git a/pkgs/development/libraries/mesa/headers.nix b/pkgs/development/libraries/mesa/headers.nix index 5c8fd735197e..230ca2685e1a 100644 --- a/pkgs/development/libraries/mesa/headers.nix +++ b/pkgs/development/libraries/mesa/headers.nix @@ -26,6 +26,8 @@ stdenv.mkDerivation rec { hash = "sha256-UlI+6OMUj5F6uVAw+Mg2wOZrjfdRq73d1qufaXVI/go"; }; + strictDeps = true; + dontBuild = true; installPhase = '' From 6ec76e2cd3d549cb97146f901dcfe3a20508f2a8 Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Wed, 21 Oct 2026 23:22:27 +0200 Subject: [PATCH 1977/2378] mesa-gl-headers: enable structuredAttrs, use finalAttrs, tag --- pkgs/development/libraries/mesa/headers.nix | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/pkgs/development/libraries/mesa/headers.nix b/pkgs/development/libraries/mesa/headers.nix index 230ca2685e1a..6acee85e27b1 100644 --- a/pkgs/development/libraries/mesa/headers.nix +++ b/pkgs/development/libraries/mesa/headers.nix @@ -12,7 +12,7 @@ let "include/EGL/eglmesaext.h" ]; in -stdenv.mkDerivation rec { +stdenv.mkDerivation (finalAttrs: { pname = "mesa-gl-headers"; # These are a bigger rebuild and don't change often, so keep them separate. @@ -22,7 +22,7 @@ stdenv.mkDerivation rec { domain = "gitlab.freedesktop.org"; owner = "mesa"; repo = "mesa"; - rev = "mesa-${version}"; + tag = "mesa-${finalAttrs.version}"; hash = "sha256-UlI+6OMUj5F6uVAw+Mg2wOZrjfdRq73d1qufaXVI/go"; }; @@ -38,5 +38,7 @@ stdenv.mkDerivation rec { passthru = { inherit headers; }; + __structuredAttrs = true; + inherit (common) meta; -} +}) From 239881b19703fe35106fbb95985be5a66b7800ba Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Wed, 21 Oct 2026 23:30:54 +0200 Subject: [PATCH 1978/2378] libpciaccess: enable structuredAttrs --- pkgs/by-name/li/libpciaccess/package.nix | 2 ++ 1 file changed, 2 insertions(+) diff --git a/pkgs/by-name/li/libpciaccess/package.nix b/pkgs/by-name/li/libpciaccess/package.nix index a9b96e07c577..8b41c2c172b5 100644 --- a/pkgs/by-name/li/libpciaccess/package.nix +++ b/pkgs/by-name/li/libpciaccess/package.nix @@ -56,6 +56,8 @@ stdenv.mkDerivation (finalAttrs: { tests.pkg-config = testers.testMetaPkgConfig finalAttrs.finalPackage; }; + __structuredAttrs = true; + meta = { description = "Generic PCI access library"; homepage = "https://gitlab.freedesktop.org/xorg/lib/libpciaccess"; From 7b636cc04d5d02c946ac1e4fac135c8f6aaf6fee Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Wed, 21 Oct 2026 23:34:26 +0200 Subject: [PATCH 1979/2378] libgbm: enable structuredAttrs, modernize --- pkgs/development/libraries/mesa/gbm.nix | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/pkgs/development/libraries/mesa/gbm.nix b/pkgs/development/libraries/mesa/gbm.nix index 6f9b56157253..99a181380226 100644 --- a/pkgs/development/libraries/mesa/gbm.nix +++ b/pkgs/development/libraries/mesa/gbm.nix @@ -15,7 +15,7 @@ let common = import ./common.nix { inherit lib fetchFromGitLab; }; in -stdenv.mkDerivation rec { +stdenv.mkDerivation (finalAttrs: { pname = "mesa-libgbm"; # We don't use the versions from common.nix, because libgbm is a world rebuild, @@ -26,7 +26,7 @@ stdenv.mkDerivation rec { domain = "gitlab.freedesktop.org"; owner = "mesa"; repo = "mesa"; - rev = "mesa-${version}"; + tag = "mesa-${finalAttrs.version}"; hash = "sha256-W2Ud9wmiIuDYMnFj8sK2SGAI1WayMCtdj7/7od/1Ql4="; }; @@ -64,5 +64,7 @@ stdenv.mkDerivation rec { python3Packages.pyyaml ]; + __structuredAttrs = true; + inherit (common) meta; -} +}) From c30f7f6c0ed4380c3308a9191df1cdb59fe96648 Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Wed, 21 Oct 2026 23:36:50 +0200 Subject: [PATCH 1980/2378] xcb-proto: enable structuredAttrs --- pkgs/by-name/xc/xcb-proto/package.nix | 2 ++ 1 file changed, 2 insertions(+) diff --git a/pkgs/by-name/xc/xcb-proto/package.nix b/pkgs/by-name/xc/xcb-proto/package.nix index d5fd73e2f42c..47c3e7061b75 100644 --- a/pkgs/by-name/xc/xcb-proto/package.nix +++ b/pkgs/by-name/xc/xcb-proto/package.nix @@ -35,6 +35,8 @@ stdenv.mkDerivation (finalAttrs: { ''; }; + __structuredAttrs = true; + meta = { description = "XML-XCB protocol descriptions used by libxcb for the X11 protocol & extensions"; homepage = "https://gitlab.freedesktop.org/xorg/proto/xcbproto"; From 676c8b0f66bdcba9c8a2b9c1aeee7f8c8d840930 Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Wed, 21 Oct 2026 23:39:08 +0200 Subject: [PATCH 1981/2378] libxshmfence: enable structuredAttrs --- pkgs/by-name/li/libxshmfence/package.nix | 2 ++ 1 file changed, 2 insertions(+) diff --git a/pkgs/by-name/li/libxshmfence/package.nix b/pkgs/by-name/li/libxshmfence/package.nix index 1d771b05060b..47509ac913fc 100644 --- a/pkgs/by-name/li/libxshmfence/package.nix +++ b/pkgs/by-name/li/libxshmfence/package.nix @@ -39,6 +39,8 @@ stdenv.mkDerivation (finalAttrs: { tests.pkg-config = testers.testMetaPkgConfig finalAttrs.finalPackage; }; + __structuredAttrs = true; + meta = { description = "Shared memory 'SyncFence' synchronization primitive library"; longDescription = '' From b8e39ec092993d336e335b9aa82b181bfe987790 Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Wed, 21 Oct 2026 23:43:17 +0200 Subject: [PATCH 1982/2378] intltool: enable strictDeps --- pkgs/by-name/in/intltool/package.nix | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/pkgs/by-name/in/intltool/package.nix b/pkgs/by-name/in/intltool/package.nix index 111b08d4111f..7576bde5445e 100644 --- a/pkgs/by-name/in/intltool/package.nix +++ b/pkgs/by-name/in/intltool/package.nix @@ -5,6 +5,7 @@ fetchpatch, gettext, perlPackages, + bashNonInteractive, buildPackages, }: @@ -33,6 +34,9 @@ stdenv.mkDerivation (finalAttrs: { perl XMLParser ]; + + buildInputs = lib.optional (lib.meta.availableOn stdenv.hostPlatform bashNonInteractive) bashNonInteractive; + propagatedBuildInputs = [ gettext ] @@ -41,6 +45,8 @@ stdenv.mkDerivation (finalAttrs: { XMLParser ]); + strictDeps = true; + postInstall = lib.optionalString (stdenv.hostPlatform != stdenv.buildPlatform) '' for f in $out/bin/*; do substituteInPlace $f --replace "${buildPackages.perl}" "${perlPackages.perl}" From 76330b3cfb28f74be9abf2db0e11b31fa405755f Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Wed, 21 Oct 2026 23:43:26 +0200 Subject: [PATCH 1983/2378] intltool: enable structuredAttrs --- pkgs/by-name/in/intltool/package.nix | 3 +++ 1 file changed, 3 insertions(+) diff --git a/pkgs/by-name/in/intltool/package.nix b/pkgs/by-name/in/intltool/package.nix index 7576bde5445e..67d3468c4274 100644 --- a/pkgs/by-name/in/intltool/package.nix +++ b/pkgs/by-name/in/intltool/package.nix @@ -52,6 +52,9 @@ stdenv.mkDerivation (finalAttrs: { substituteInPlace $f --replace "${buildPackages.perl}" "${perlPackages.perl}" done ''; + + __structuredAttrs = true; + meta = { description = "Translation helper tool"; homepage = "https://launchpad.net/intltool/"; From 2cd36bb99983e674c7c178b2d5c99d1c0be719c0 Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Wed, 21 Oct 2026 23:47:19 +0200 Subject: [PATCH 1984/2378] gperf: enable strictDeps --- pkgs/by-name/gp/gperf/package.nix | 2 ++ 1 file changed, 2 insertions(+) diff --git a/pkgs/by-name/gp/gperf/package.nix b/pkgs/by-name/gp/gperf/package.nix index debd4c1caf14..b13c81a5c5d2 100644 --- a/pkgs/by-name/gp/gperf/package.nix +++ b/pkgs/by-name/gp/gperf/package.nix @@ -13,6 +13,8 @@ stdenv.mkDerivation (finalAttrs: { hash = "sha256-/Yfgq6fkOuBUg3r9bNTbA6PyaT3rNhkIXm7Z2NlgStg="; }; + strictDeps = true; + enableParallelBuilding = true; meta = { From a6571168c38b836b911a54e06e7ce92d5288903c Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Wed, 21 Oct 2026 23:47:28 +0200 Subject: [PATCH 1985/2378] gperf: enable structuredAttrs --- pkgs/by-name/gp/gperf/package.nix | 2 ++ 1 file changed, 2 insertions(+) diff --git a/pkgs/by-name/gp/gperf/package.nix b/pkgs/by-name/gp/gperf/package.nix index b13c81a5c5d2..8b3318a0d0b6 100644 --- a/pkgs/by-name/gp/gperf/package.nix +++ b/pkgs/by-name/gp/gperf/package.nix @@ -17,6 +17,8 @@ stdenv.mkDerivation (finalAttrs: { enableParallelBuilding = true; + __structuredAttrs = true; + meta = { description = "Perfect hash function generator"; From 0a84ca355df68e7393cf9f8562f8106a9363b2ba Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Wed, 21 Oct 2026 23:50:46 +0200 Subject: [PATCH 1986/2378] libxext: enable structuredAttrs --- pkgs/by-name/li/libxext/package.nix | 2 ++ 1 file changed, 2 insertions(+) diff --git a/pkgs/by-name/li/libxext/package.nix b/pkgs/by-name/li/libxext/package.nix index 879d0c6233d9..5d9853247085 100644 --- a/pkgs/by-name/li/libxext/package.nix +++ b/pkgs/by-name/li/libxext/package.nix @@ -54,6 +54,8 @@ stdenv.mkDerivation (finalAttrs: { tests.pkg-config = testers.testMetaPkgConfig finalAttrs.finalPackage; }; + __structuredAttrs = true; + meta = { description = "Xlib-based library for common extensions to the X11 protocol"; homepage = "https://gitlab.freedesktop.org/xorg/lib/libxext"; From e5bf284cd14c97e91f76e89e61a982d1ed43ddc5 Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Wed, 21 Oct 2026 23:54:51 +0200 Subject: [PATCH 1987/2378] libglvnd: enable strictDeps --- pkgs/by-name/li/libglvnd/package.nix | 2 ++ 1 file changed, 2 insertions(+) diff --git a/pkgs/by-name/li/libglvnd/package.nix b/pkgs/by-name/li/libglvnd/package.nix index 063a5a7fbfe5..ef38a2edee78 100644 --- a/pkgs/by-name/li/libglvnd/package.nix +++ b/pkgs/by-name/li/libglvnd/package.nix @@ -46,6 +46,8 @@ stdenv.mkDerivation (finalAttrs: { xorgproto ]; + strictDeps = true; + postPatch = lib.optionalString stdenv.hostPlatform.isDarwin '' substituteInPlace src/GLX/Makefile.am \ --replace "-Wl,-Bsymbolic " "" From 82cb9c592ed7cfd4f5b6bd7cee44822195e826ab Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Wed, 21 Oct 2026 23:55:02 +0200 Subject: [PATCH 1988/2378] libglvnd: enable structuredAttrs, use tag --- pkgs/by-name/li/libglvnd/package.nix | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/pkgs/by-name/li/libglvnd/package.nix b/pkgs/by-name/li/libglvnd/package.nix index ef38a2edee78..2e4fd20dd83a 100644 --- a/pkgs/by-name/li/libglvnd/package.nix +++ b/pkgs/by-name/li/libglvnd/package.nix @@ -20,7 +20,7 @@ stdenv.mkDerivation (finalAttrs: { domain = "gitlab.freedesktop.org"; owner = "glvnd"; repo = "libglvnd"; - rev = "v${finalAttrs.version}"; + tag = "v${finalAttrs.version}"; hash = "sha256-2U9JtpGyP4lbxtVJeP5GUgh5XthloPvFIw28+nldYx8="; }; @@ -92,6 +92,8 @@ stdenv.mkDerivation (finalAttrs: { passthru = { inherit (addDriverRunpath) driverLink; }; + __structuredAttrs = true; + meta = { description = "GL Vendor-Neutral Dispatch library"; longDescription = '' From f7773abb228b8a1f511d5327098d373d306d22a5 Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Thu, 22 Oct 2026 00:01:06 +0200 Subject: [PATCH 1989/2378] mesa_glu: enable strictDeps --- pkgs/by-name/me/mesa_glu/package.nix | 2 ++ 1 file changed, 2 insertions(+) diff --git a/pkgs/by-name/me/mesa_glu/package.nix b/pkgs/by-name/me/mesa_glu/package.nix index 4492958821f7..e7d7f82b1ac5 100644 --- a/pkgs/by-name/me/mesa_glu/package.nix +++ b/pkgs/by-name/me/mesa_glu/package.nix @@ -30,6 +30,8 @@ stdenv.mkDerivation (finalAttrs: { ]; propagatedBuildInputs = [ libGLX ]; + strictDeps = true; + outputs = [ "out" "dev" From a80981f1e0bb654f8b92e850bb2b8818d7a37e29 Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Thu, 22 Oct 2026 00:01:13 +0200 Subject: [PATCH 1990/2378] mesa_glu: enable structuredAttrs --- pkgs/by-name/me/mesa_glu/package.nix | 2 ++ 1 file changed, 2 insertions(+) diff --git a/pkgs/by-name/me/mesa_glu/package.nix b/pkgs/by-name/me/mesa_glu/package.nix index e7d7f82b1ac5..792c7733acd9 100644 --- a/pkgs/by-name/me/mesa_glu/package.nix +++ b/pkgs/by-name/me/mesa_glu/package.nix @@ -54,6 +54,8 @@ stdenv.mkDerivation (finalAttrs: { }; }; + __structuredAttrs = true; + meta = { description = "OpenGL utility library"; homepage = "https://cgit.freedesktop.org/mesa/glu/"; From 672531a3f833d58d9bea8a0be1657d03a515be12 Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Thu, 22 Oct 2026 00:06:09 +0200 Subject: [PATCH 1991/2378] freetype: enable strictDeps --- pkgs/by-name/fr/freetype/package.nix | 2 ++ 1 file changed, 2 insertions(+) diff --git a/pkgs/by-name/fr/freetype/package.nix b/pkgs/by-name/fr/freetype/package.nix index 460e787f59a6..90ec5b2e44bc 100644 --- a/pkgs/by-name/fr/freetype/package.nix +++ b/pkgs/by-name/fr/freetype/package.nix @@ -64,6 +64,8 @@ stdenv.mkDerivation (finalAttrs: { # FreeType requires GNU Make, which is not part of stdenv on FreeBSD. ++ lib.optional (!stdenv.hostPlatform.isLinux) gnumake; + strictDeps = true; + patches = [ ./enable-table-validation.patch From 386c0f3594a76b6159d9a98acb33fb2e4cd99280 Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Thu, 22 Oct 2026 00:06:18 +0200 Subject: [PATCH 1992/2378] freetype: enable structuredAttrs --- pkgs/by-name/fr/freetype/package.nix | 2 ++ 1 file changed, 2 insertions(+) diff --git a/pkgs/by-name/fr/freetype/package.nix b/pkgs/by-name/fr/freetype/package.nix index 90ec5b2e44bc..1b8d467642f9 100644 --- a/pkgs/by-name/fr/freetype/package.nix +++ b/pkgs/by-name/fr/freetype/package.nix @@ -177,6 +177,8 @@ stdenv.mkDerivation (finalAttrs: { pkg-config = testers.testMetaPkgConfig finalAttrs.finalPackage; }; + __structuredAttrs = true; + meta = { description = "Font rendering engine"; mainProgram = "freetype-config"; From 2d10d3c80a3dda0554c2fb1cc52a0af75320fc71 Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Thu, 22 Oct 2026 00:10:56 +0200 Subject: [PATCH 1993/2378] libsm: enable structuredAttrs --- pkgs/by-name/li/libsm/package.nix | 2 ++ 1 file changed, 2 insertions(+) diff --git a/pkgs/by-name/li/libsm/package.nix b/pkgs/by-name/li/libsm/package.nix index f214efa55cc4..767ee5402f9f 100644 --- a/pkgs/by-name/li/libsm/package.nix +++ b/pkgs/by-name/li/libsm/package.nix @@ -53,6 +53,8 @@ stdenv.mkDerivation (finalAttrs: { tests.pkg-config = testers.testMetaPkgConfig finalAttrs.finalPackage; }; + __structuredAttrs = true; + meta = { description = "X Session Management Library"; homepage = "https://gitlab.freedesktop.org/xorg/lib/libsm"; From c95b40f47518537fae535315bf160fed2a69b5c2 Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Thu, 22 Oct 2026 00:16:47 +0200 Subject: [PATCH 1994/2378] game-music-emu: enable strictDeps --- pkgs/by-name/ga/game-music-emu/package.nix | 2 ++ 1 file changed, 2 insertions(+) diff --git a/pkgs/by-name/ga/game-music-emu/package.nix b/pkgs/by-name/ga/game-music-emu/package.nix index f660fde43654..6a69d9184cd6 100644 --- a/pkgs/by-name/ga/game-music-emu/package.nix +++ b/pkgs/by-name/ga/game-music-emu/package.nix @@ -23,6 +23,8 @@ stdenv.mkDerivation (finalAttrs: { ]; buildInputs = [ zlib ]; + strictDeps = true; + # It used to reference it, in the past, but thanks to the postFixup hook, now # it doesn't. disallowedReferences = [ stdenv.cc.cc ]; From 92fb7298986a050ca84e2385f67fcc1b0b2ba518 Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Thu, 22 Oct 2026 00:22:44 +0200 Subject: [PATCH 1995/2378] xkeyboard-config: enable structuredAttrs --- pkgs/by-name/xk/xkeyboard-config/package.nix | 2 ++ 1 file changed, 2 insertions(+) diff --git a/pkgs/by-name/xk/xkeyboard-config/package.nix b/pkgs/by-name/xk/xkeyboard-config/package.nix index 685de9619f8c..6853b8df194e 100644 --- a/pkgs/by-name/xk/xkeyboard-config/package.nix +++ b/pkgs/by-name/xk/xkeyboard-config/package.nix @@ -60,6 +60,8 @@ stdenv.mkDerivation (finalAttrs: { ''; }; + __structuredAttrs = true; + meta = { description = "Provides a consistent, well-structured, database of keyboard configuration data"; homepage = "https://gitlab.freedesktop.org/xkeyboard-config/xkeyboard-config"; From 87fb516afd6ff93cd95144cd89880476c97f2e29 Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Thu, 22 Oct 2026 00:24:47 +0200 Subject: [PATCH 1996/2378] xkbcomp: enable structuredAttrs --- pkgs/by-name/xk/xkbcomp/package.nix | 2 ++ 1 file changed, 2 insertions(+) diff --git a/pkgs/by-name/xk/xkbcomp/package.nix b/pkgs/by-name/xk/xkbcomp/package.nix index 24cf1311e7b1..0c2ee133d02f 100644 --- a/pkgs/by-name/xk/xkbcomp/package.nix +++ b/pkgs/by-name/xk/xkbcomp/package.nix @@ -49,6 +49,8 @@ stdenv.mkDerivation (finalAttrs: { tests.pkg-config = testers.testMetaPkgConfig finalAttrs.finalPackage; }; + __structuredAttrs = true; + meta = { description = "XKB keyboard description compiler"; homepage = "https://gitlab.freedesktop.org/xorg/app/xkbcomp"; From 129144375e552bf0bc07f88df159d1d6b85585cf Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Thu, 22 Oct 2026 00:29:46 +0200 Subject: [PATCH 1997/2378] libfontenc: enable structuredAttrs --- pkgs/by-name/li/libfontenc/package.nix | 2 ++ 1 file changed, 2 insertions(+) diff --git a/pkgs/by-name/li/libfontenc/package.nix b/pkgs/by-name/li/libfontenc/package.nix index 3e3409ced6ae..e1a6168f0f21 100644 --- a/pkgs/by-name/li/libfontenc/package.nix +++ b/pkgs/by-name/li/libfontenc/package.nix @@ -38,6 +38,8 @@ stdenv.mkDerivation (finalAttrs: { tests.pkg-config = testers.testMetaPkgConfig finalAttrs.finalPackage; }; + __structuredAttrs = true; + meta = { description = "X font encoding library"; homepage = "https://gitlab.freedesktop.org/xorg/lib/libfontenc"; From 1978cfd9bb330bc7884e4a39decbbcdd6560f83b Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Thu, 22 Oct 2026 00:34:13 +0200 Subject: [PATCH 1998/2378] libxfont_2: enable structuredAttrs --- pkgs/by-name/li/libxfont_2/package.nix | 2 ++ 1 file changed, 2 insertions(+) diff --git a/pkgs/by-name/li/libxfont_2/package.nix b/pkgs/by-name/li/libxfont_2/package.nix index beb3abd0d329..c36f445bfe43 100644 --- a/pkgs/by-name/li/libxfont_2/package.nix +++ b/pkgs/by-name/li/libxfont_2/package.nix @@ -53,6 +53,8 @@ stdenv.mkDerivation (finalAttrs: { tests.pkg-config = testers.testMetaPkgConfig finalAttrs.finalPackage; }; + __structuredAttrs = true; + meta = { inherit (libxfont_1.meta) description homepage license; maintainers = [ ]; From ff2f30dd435826918b9bed4cb23b351ca0901094 Mon Sep 17 00:00:00 2001 From: Ryan Burns Date: Wed, 21 Oct 2026 16:41:34 -0700 Subject: [PATCH 1999/2378] protobuf: set protobuf_generate_PROTOC_EXE in setup-hook This is another CMake helper variable; this one tells protobuf_generate which protoc to use (instead of protobuf::protoc, which will be wrong for a cross-compiled build). It's available since v4.0.0, via: https://github.com/Kitware/CMake/commit/53717488eaa75e931fc4226e1c5d139d1f59c0e8 This is essentially the same as the existing protoc-related helper variables we're providing via the setup hook, so we can set it in the same place. --- pkgs/development/libraries/protobuf/setup-hook.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/pkgs/development/libraries/protobuf/setup-hook.sh b/pkgs/development/libraries/protobuf/setup-hook.sh index a41f112ab2aa..c33061f08ff1 100644 --- a/pkgs/development/libraries/protobuf/setup-hook.sh +++ b/pkgs/development/libraries/protobuf/setup-hook.sh @@ -3,6 +3,7 @@ ProtobufCMakeFlags() { -DPROTOC_EXE="@build_protobuf@/bin/protoc" -DProtobuf_PROTOC_EXE="@build_protobuf@/bin/protoc" -DProtobuf_PROTOC_EXECUTABLE="@build_protobuf@/bin/protoc" + -Dprotobuf_generate_PROTOC_EXE="@build_protobuf@/bin/protoc" ) } From 9798f6637a3a5cf088f35ff5b721c1ae4505c2b4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Robert=20Sch=C3=BCtz?= Date: Wed, 21 Oct 2026 17:40:44 -0700 Subject: [PATCH 2000/2378] python3Packages.filelock: 4.1.2 -> 4.2.4 Diff: https://github.com/tox-dev/filelock/compare/4.1.2...4.2.4 Changelog: https://github.com/tox-dev/filelock/blob/4.2.4/docs/changelog.rst --- pkgs/development/python-modules/filelock/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/filelock/default.nix b/pkgs/development/python-modules/filelock/default.nix index 21b91a3beb4e..2023f48314e0 100644 --- a/pkgs/development/python-modules/filelock/default.nix +++ b/pkgs/development/python-modules/filelock/default.nix @@ -12,14 +12,14 @@ buildPythonPackage (finalAttrs: { pname = "filelock"; - version = "4.1.2"; + version = "4.2.4"; pyproject = true; src = fetchFromGitHub { owner = "tox-dev"; repo = "filelock"; tag = finalAttrs.version; - hash = "sha256-0JHYz1HSr8oZcJ6/70mmO74vvlG0LvmalG8MZ9rGn7M="; + hash = "sha256-oN4nr4p/vPpg5620LEpqYILofYl2rpaPN5lJqySR6ZE="; }; build-system = [ From 0564bf87b0c864e9aa96567f7e1c73676e06b36a Mon Sep 17 00:00:00 2001 From: Randy Eckenrode Date: Tue, 13 Oct 2026 15:52:15 -0400 Subject: [PATCH 2001/2378] swift: pin Ninja to 1.11.1 on all platforms --- .../compilers/swift/by-name/sw/swiftc/package.nix | 10 ++-------- 1 file changed, 2 insertions(+), 8 deletions(-) diff --git a/pkgs/development/compilers/swift/by-name/sw/swiftc/package.nix b/pkgs/development/compilers/swift/by-name/sw/swiftc/package.nix index f79db2732329..748861b54bdd 100644 --- a/pkgs/development/compilers/swift/by-name/sw/swiftc/package.nix +++ b/pkgs/development/compilers/swift/by-name/sw/swiftc/package.nix @@ -13,7 +13,6 @@ libxml2, llvmPackages, llvm_libtool, - ninja, ninja_1_11, patchesForVersion, perl, @@ -94,12 +93,7 @@ let # Can reproduce using `nix --option cores 2 build -f . swift`. # Until we find out the exact cause, pin ninja to version 1.11.1. # Note: While upstream is pinned to a newer version of Ninja now, it still has this problem. - # TODO(@reckenrode): Make unconditional on staging after staging-next merge. - ninja' = - if lib.versions.majorMinor swift_release == "6.3" && stdenv.hostPlatform.isLinux then - ninja_1_11 - else - ninja; + ninja = ninja_1_11; doCheck = false; # TODO: Implement tests per https://github.com/swiftlang/swift/blob/main/docs/Testing.md. @@ -323,7 +317,7 @@ stdenv.mkDerivation (finalAttrs: { nativeBuildInputs = [ cmake - ninja' + ninja perl # For pod2man python3 swift From 73ae9782ec47b33e4de43764772420a61567e318 Mon Sep 17 00:00:00 2001 From: Randy Eckenrode Date: Thu, 8 Oct 2026 14:16:26 -0400 Subject: [PATCH 2002/2378] stdenv/darwin: drop bootstrap-tools dependency from SDK dependencies libxo was pulling in the stage 1 libiconv and gettext, which were linked against the bootstrap tools. Aside from increasing the size of the libxo closure (before: 283 MiB vs after: 68 MiB), having anything in the final stage package set depend on the bootstrap tools is unwanted. --- pkgs/stdenv/darwin/default.nix | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/pkgs/stdenv/darwin/default.nix b/pkgs/stdenv/darwin/default.nix index 3c9305f0fc9f..80a4e9217a73 100644 --- a/pkgs/stdenv/darwin/default.nix +++ b/pkgs/stdenv/darwin/default.nix @@ -196,7 +196,6 @@ let ed expat flex - gettext groff jq kyua @@ -271,6 +270,7 @@ let sdkPackages = prevStage: { inherit (prevStage) bashNonInteractive + gettext libpng libxml2 libxo @@ -1087,7 +1087,6 @@ assert bootstrapTools.passthru.isFromBootstrapFiles or false; # sanity check file findutils gawk - gettext gnumake gnused gnutar From dbaf0aac05feac326878a25d2211c26ee7c8ab7a Mon Sep 17 00:00:00 2001 From: Randy Eckenrode Date: Sun, 9 Aug 2026 08:38:12 -0400 Subject: [PATCH 2003/2378] swift: link using LLD instead of the default linker On Darwin, this speeds up the build. On Linux, it also fixes a problem where linking the Swift stdlib with GNU ld causes problems when trying to link binaries against it using LLD. Fixes https://github.com/NixOS/nixpkgs/issues/570491. --- .../swift/by-name/ll/llvmPackages/package.nix | 10 +++++++ ...le-ability-to-link-Mach-O-for-Darwin.patch | 30 +++++++++++++++++++ .../swift/tests/cxx-interop-lld/package.nix | 29 ++++++++++++++++++ .../tests/cxx-interop-lld/src/Package.swift | 13 ++++++++ .../cxx-interop-lld/src/Sources/main.swift | 4 +++ .../swift/by-name/sw/swiftc/package.nix | 27 +++++++++++++++-- 6 files changed, 110 insertions(+), 3 deletions(-) create mode 100644 pkgs/development/compilers/swift/by-name/ll/llvmPackages/patches/lld/0001-Revert-lld-Disable-ability-to-link-Mach-O-for-Darwin.patch create mode 100644 pkgs/development/compilers/swift/by-name/sw/swift/tests/cxx-interop-lld/package.nix create mode 100644 pkgs/development/compilers/swift/by-name/sw/swift/tests/cxx-interop-lld/src/Package.swift create mode 100644 pkgs/development/compilers/swift/by-name/sw/swift/tests/cxx-interop-lld/src/Sources/main.swift diff --git a/pkgs/development/compilers/swift/by-name/ll/llvmPackages/package.nix b/pkgs/development/compilers/swift/by-name/ll/llvmPackages/package.nix index 261169c3086f..1690c7846acd 100644 --- a/pkgs/development/compilers/swift/by-name/ll/llvmPackages/package.nix +++ b/pkgs/development/compilers/swift/by-name/ll/llvmPackages/package.nix @@ -143,6 +143,16 @@ let } ); + lld = prev.lld.overrideAttrs (old: { + patches = + (old.patches or [ ]) + # Don’t apply the patch to upstream LLVM. It doesn’t apply. + ++ lib.optionals (old.version != lib.getVersion llvmPackages.lld) [ + # This was disabled for apparently political reasons. LLD works fine on Darwin. + ./patches/lld/0001-Revert-lld-Disable-ability-to-link-Mach-O-for-Darwin.patch + ]; + }); + lldb = let python3-with-distutils = python3.withPackages (pkgs: [ pkgs.distutils ]); diff --git a/pkgs/development/compilers/swift/by-name/ll/llvmPackages/patches/lld/0001-Revert-lld-Disable-ability-to-link-Mach-O-for-Darwin.patch b/pkgs/development/compilers/swift/by-name/ll/llvmPackages/patches/lld/0001-Revert-lld-Disable-ability-to-link-Mach-O-for-Darwin.patch new file mode 100644 index 000000000000..bda71d44ea10 --- /dev/null +++ b/pkgs/development/compilers/swift/by-name/ll/llvmPackages/patches/lld/0001-Revert-lld-Disable-ability-to-link-Mach-O-for-Darwin.patch @@ -0,0 +1,30 @@ +From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001 +From: Randy Eckenrode +Date: Thu, 8 Oct 2026 06:59:52 -0400 +Subject: [PATCH] Revert "[lld] Disable ability to link Mach-O for Darwin + platforms (but not non-Darwin firmware) in Swift LLVM fork" + +This reverts commit 79631f818de615b6ea6655f2f6ccf592fef8cf1b. +--- + MachO/InputFiles.cpp | 5 ----- + 1 file changed, 5 deletions(-) + +diff --git a/MachO/InputFiles.cpp b/MachO/InputFiles.cpp +index 4e61064afeef..3b3023a94166 100644 +--- a/MachO/InputFiles.cpp ++++ b/MachO/InputFiles.cpp +@@ -155,11 +155,6 @@ static bool checkCompatibility(const InputFile *input) { + if (platformInfos.empty()) + return true; + +- // Swift LLVM fork downstream change start +- error("This version of lld does not support linking for platform " + getPlatformName(platformInfos.front().target.Platform)); +- return false; +- // Swift LLVM fork downstream change end +- + auto it = find_if(platformInfos, [&](const PlatformInfo &info) { + return removeSimulator(info.target.Platform) == + removeSimulator(config->platform()); +-- +2.54.0 + diff --git a/pkgs/development/compilers/swift/by-name/sw/swift/tests/cxx-interop-lld/package.nix b/pkgs/development/compilers/swift/by-name/sw/swift/tests/cxx-interop-lld/package.nix new file mode 100644 index 000000000000..ab3fe7f20f60 --- /dev/null +++ b/pkgs/development/compilers/swift/by-name/sw/swift/tests/cxx-interop-lld/package.nix @@ -0,0 +1,29 @@ +{ + llvmPackages, + stdenv, + swift, + swiftpm, +}: + +stdenv.mkDerivation { + name = "swift-test-cxx-interop-lld"; + + src = ./src; + + strictDeps = true; + + env.NIX_CFLAGS_LINK = "-fuse-ld=lld"; + + nativeBuildInputs = [ + swift + swiftpm + llvmPackages.lld + ]; + + installPhase = '' + swift run -c release Repro | grep 11 + touch "$out" + ''; + + __structuredAttrs = true; +} diff --git a/pkgs/development/compilers/swift/by-name/sw/swift/tests/cxx-interop-lld/src/Package.swift b/pkgs/development/compilers/swift/by-name/sw/swift/tests/cxx-interop-lld/src/Package.swift new file mode 100644 index 000000000000..241cf8f288f0 --- /dev/null +++ b/pkgs/development/compilers/swift/by-name/sw/swift/tests/cxx-interop-lld/src/Package.swift @@ -0,0 +1,13 @@ +// swift-tools-version: 6.2 + +import PackageDescription + +let package = Package( + name: "Repro", + targets: [ + .executableTarget( + name: "Repro", + swiftSettings: [.interoperabilityMode(.Cxx)] + ) + ] +) diff --git a/pkgs/development/compilers/swift/by-name/sw/swift/tests/cxx-interop-lld/src/Sources/main.swift b/pkgs/development/compilers/swift/by-name/sw/swift/tests/cxx-interop-lld/src/Sources/main.swift new file mode 100644 index 000000000000..7b1409463124 --- /dev/null +++ b/pkgs/development/compilers/swift/by-name/sw/swift/tests/cxx-interop-lld/src/Sources/main.swift @@ -0,0 +1,4 @@ +import CxxStdlib + +let hello = std.string("Hello, C++!") +print(Array(hello).count) diff --git a/pkgs/development/compilers/swift/by-name/sw/swiftc/package.nix b/pkgs/development/compilers/swift/by-name/sw/swiftc/package.nix index 748861b54bdd..a44e39aaabf7 100644 --- a/pkgs/development/compilers/swift/by-name/sw/swiftc/package.nix +++ b/pkgs/development/compilers/swift/by-name/sw/swiftc/package.nix @@ -19,6 +19,7 @@ python3, srcOnly, stdenv, + stdenvNoCC, stdlib, swift-cmark, swift-corelibs-libdispatch, @@ -86,6 +87,24 @@ let libllvm ; + lld = + if stdenv.hostPlatform.isDarwin then + # Darwin can use LLD unwrapped because install names ensure it can find the linked dylibs. + # The wrapped version also doesn’t seem to work on Darwin. + llvmPackages.lld + else + stdenvNoCC.mkDerivation { + # The linker in `llvmPackages.lld` isn’t wrapped, which causes the build to fail due to missing rpaths. + pname = "lld-wrapper"; + version = lib.getVersion llvmPackages.lld; + + buildCommand = '' + mkdir -p "$out/bin" + ln -s ${lib.getExe' llvmPackages.bintools "ld"} "$out/bin/ld" + ln -s ${lib.getExe' llvmPackages.bintools "ld.lld"} "$out/bin/ld.lld" + ''; + }; + inherit (darwin) sigtool; # https://github.com/NixOS/nixpkgs/issues/327836 @@ -225,6 +244,9 @@ stdenv.mkDerivation (finalAttrs: { (lib.cmakeBool "SWIFT_INCLUDE_TESTS" doCheck) # Swift Concurrency is needed to build the stage 1 compiler on Linux. (lib.cmakeBool "SWIFT_ENABLE_EXPERIMENTAL_CONCURRENCY" true) + # Linking with LLD is more compatible. The resulting shared libraries can be linked by either LLD or GNU ld. + # The same is not true when linking with GNU ld. It’s also faster. + (lib.cmakeFeature "CMAKE_LINKER_TYPE" "LLD") ] ++ lib.optionals (bootstrapStage == 1) [ # Work around crashes in ownership verifier in the bootstrap compiler. @@ -252,8 +274,6 @@ stdenv.mkDerivation (finalAttrs: { [ # Build Swift with LTO for better performance. Only enable it for tools. The stdlib will enable it separately. (lib.cmakeFeature "SWIFT_TOOLS_ENABLE_LTO" "thin") - # LTO is slow with ld64. Only use it for targets that benefit from LTO. - (lib.cmakeBool "SWIFT_TOOLS_LD64_LTO_CODEGEN_ONLY_FOR_SUPPORTING_TARGETS" stdenv.hostPlatform.isDarwin) # Enable the remaining features. (lib.cmakeBool "SWIFT_ENABLE_EXPERIMENTAL_CXX_INTEROP" true) (lib.cmakeBool "SWIFT_ENABLE_EXPERIMENTAL_DIFFERENTIABLE_PROGRAMMING" true) @@ -270,7 +290,7 @@ stdenv.mkDerivation (finalAttrs: { # e.g., `error: lib/libswiftDemangling.a: no archive symbol table (run ranlib)`. (lib.cmakeFeature "CMAKE_AR" (lib.getExe' llvm "llvm-ar")) (lib.cmakeFeature "CMAKE_RANLIB" (lib.getExe' llvm "llvm-ranlib")) - # Make sure Swift is built with a consistent toolchan version. This doesn’t matter for non-LTO builds, but it causes + # Make sure Swift is built with a consistent toolchain version. This doesn’t matter for non-LTO builds, but it causes # LTO builds to fail when objects built with a newer Clang are processed by the Swift Clang’s libLTO. (lib.cmakeFeature "CMAKE_C_COMPILER" (lib.getExe' clang "clang")) (lib.cmakeFeature "CMAKE_CXX_COMPILER" (lib.getExe' clang "clang++")) @@ -317,6 +337,7 @@ stdenv.mkDerivation (finalAttrs: { nativeBuildInputs = [ cmake + lld ninja perl # For pod2man python3 From 989fafd0cc5447e9ba847d2dad13a659d1e0a7d3 Mon Sep 17 00:00:00 2001 From: Randy Eckenrode Date: Sun, 18 Oct 2026 07:25:10 -0400 Subject: [PATCH 2004/2378] Revert "swiftPackages.swiftc: mark broken on aarch64-linux" This reverts commit 7302e41b58337735ce26c63460cddcc547afc616. --- pkgs/development/compilers/swift/by-name/sw/swiftc/package.nix | 3 --- 1 file changed, 3 deletions(-) diff --git a/pkgs/development/compilers/swift/by-name/sw/swiftc/package.nix b/pkgs/development/compilers/swift/by-name/sw/swiftc/package.nix index a44e39aaabf7..a145143c88af 100644 --- a/pkgs/development/compilers/swift/by-name/sw/swiftc/package.nix +++ b/pkgs/development/compilers/swift/by-name/sw/swiftc/package.nix @@ -577,8 +577,5 @@ stdenv.mkDerivation (finalAttrs: { badPlatforms = [ lib.systems.inspect.patterns.is32bit ]; license = lib.licenses.asl20; teams = [ lib.teams.swift ]; - # TODO(@reckenrode): Drop in the Swift 6.4.0 update, which switches the linker to LLD. - # aarch64-linux is failing to link with gold on Hydra: https://hydra.nixos.org/build/349228350 - broken = stdenv.hostPlatform.isLinux && stdenv.hostPlatform.isAarch64; }; }) From 9a126c7c412255742b1aa74cb2215612038dfb72 Mon Sep 17 00:00:00 2001 From: Randy Eckenrode Date: Sun, 9 Aug 2026 08:38:12 -0400 Subject: [PATCH 2005/2378] swift: only build the final compiler and stdlib with LTO MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit LTO can be slow. It’s not worth building the bootstrap compiler and stdlib with LTO when they will only be used to build the stage 1 bootstrap compiler for the final version. --- .../swift/by-name/st/stdlib/package.nix | 6 ++-- .../swift/by-name/sw/swiftc/package.nix | 31 ++++++++++++------- 2 files changed, 23 insertions(+), 14 deletions(-) diff --git a/pkgs/development/compilers/swift/by-name/st/stdlib/package.nix b/pkgs/development/compilers/swift/by-name/st/stdlib/package.nix index e25b0241e6c7..9d86e3a0e733 100644 --- a/pkgs/development/compilers/swift/by-name/st/stdlib/package.nix +++ b/pkgs/development/compilers/swift/by-name/st/stdlib/package.nix @@ -11,6 +11,8 @@ let swiftPlatform = stdenv.hostPlatform.swift.platform; libraryExtension = stdenv.hostPlatform.extensions.library; + # Swift 6.2 is used as a bootstrap compiler. Disable LTO for its stdlib to improve build time. + enableLTO = lib.versions.majorMinor swift_release != "6.2"; toolLTO = lib.cmakeFeature "SWIFT_TOOLS_ENABLE_LTO" "thin"; in (swiftc.override { @@ -36,7 +38,7 @@ in # Only enable LTO for the stdlib. Remove it if it’s enabled for the tools. (lib.filter (flag: flag != toolLTO) (old.cmakeFlags or [ ])) # LTO is slow (and pointless due to using system libraries) on Darwin, so only enable it for other platforms. - ++ lib.optionals (!stdenv.hostPlatform.isDarwin) [ + ++ lib.optionals (enableLTO && !stdenv.hostPlatform.isDarwin) [ (lib.cmakeFeature "SWIFT_STDLIB_ENABLE_LTO" "thin") ]; @@ -73,7 +75,7 @@ in '' # Convert LLVM bitcode files into native code to avoid requiring LTO for C++ interop. # Note: This could be done with llc, but it crashes when converting object files from the Swift 6.3.3 stdlib. - + lib.optionalString stdenv.hostPlatform.isElf '' + + lib.optionalString (enableLTO && stdenv.hostPlatform.isElf) '' LLVM_DIS=${lib.escapeShellArg (lib.getExe' llvmPackages.llvm "llvm-dis")} CLANG=${lib.escapeShellArg (lib.getExe' llvmPackages.clang.cc "clang")} "$LLVM_DIS" stdlib/public/Cxx/${lib.toUpper stdenv.hostPlatform.swift.platform}/${stdenv.hostPlatform.swift.arch}/Cxx.o -o Cxx.ll diff --git a/pkgs/development/compilers/swift/by-name/sw/swiftc/package.nix b/pkgs/development/compilers/swift/by-name/sw/swiftc/package.nix index a145143c88af..38ad4216e247 100644 --- a/pkgs/development/compilers/swift/by-name/sw/swiftc/package.nix +++ b/pkgs/development/compilers/swift/by-name/sw/swiftc/package.nix @@ -61,6 +61,9 @@ }: let + # Swift 6.2.4 requires different settings and disables LTO to improve build times. + isBootstrapToolchain62 = lib.versions.majorMinor swift_release == "6.2"; + # SDK versions past 14.x don’t work with the c++-based bootstrap compiler due to unconditionally exposing macros. build-sdk = if bootstrapStage == 2 then apple-sdk_26 else apple-sdk_14; @@ -272,8 +275,6 @@ stdenv.mkDerivation (finalAttrs: { ] ++ lib.optionals (bootstrapStage >= 2) ( [ - # Build Swift with LTO for better performance. Only enable it for tools. The stdlib will enable it separately. - (lib.cmakeFeature "SWIFT_TOOLS_ENABLE_LTO" "thin") # Enable the remaining features. (lib.cmakeBool "SWIFT_ENABLE_EXPERIMENTAL_CXX_INTEROP" true) (lib.cmakeBool "SWIFT_ENABLE_EXPERIMENTAL_DIFFERENTIABLE_PROGRAMMING" true) @@ -285,16 +286,22 @@ stdenv.mkDerivation (finalAttrs: { (lib.cmakeBool "SWIFT_ENABLE_RUNTIME_MODULE" true) (lib.cmakeBool "SWIFT_STDLIB_ENABLE_STRICT_AVAILABILITY" true) ] - ++ lib.optionals stdenv.cc.bintools.isGNU [ - # Use `llvm-ar` and `llvm-ranlib` when LTO is enabled, or builds will fail due missing symbol tables in archives. - # e.g., `error: lib/libswiftDemangling.a: no archive symbol table (run ranlib)`. - (lib.cmakeFeature "CMAKE_AR" (lib.getExe' llvm "llvm-ar")) - (lib.cmakeFeature "CMAKE_RANLIB" (lib.getExe' llvm "llvm-ranlib")) - # Make sure Swift is built with a consistent toolchain version. This doesn’t matter for non-LTO builds, but it causes - # LTO builds to fail when objects built with a newer Clang are processed by the Swift Clang’s libLTO. - (lib.cmakeFeature "CMAKE_C_COMPILER" (lib.getExe' clang "clang")) - (lib.cmakeFeature "CMAKE_CXX_COMPILER" (lib.getExe' clang "clang++")) - ] + ++ lib.optionals (!isBootstrapToolchain62) ( + [ + # Build Swift with LTO for better performance. Only enable it for tools. The stdlib will enable it separately. + (lib.cmakeFeature "SWIFT_TOOLS_ENABLE_LTO" "thin") + ] + ++ lib.optionals stdenv.cc.bintools.isGNU [ + # Use `llvm-ar` and `llvm-ranlib` when LTO is enabled, or builds will fail due missing symbol tables in archives. + # e.g., `error: lib/libswiftDemangling.a: no archive symbol table (run ranlib)`. + (lib.cmakeFeature "CMAKE_AR" (lib.getExe' llvm "llvm-ar")) + (lib.cmakeFeature "CMAKE_RANLIB" (lib.getExe' llvm "llvm-ranlib")) + # Make sure Swift is built with a consistent toolchain version. This doesn’t matter for non-LTO builds, but it causes + # LTO builds to fail when objects built with a newer Clang are processed by the Swift Clang’s libLTO. + (lib.cmakeFeature "CMAKE_C_COMPILER" (lib.getExe' clang "clang")) + (lib.cmakeFeature "CMAKE_CXX_COMPILER" (lib.getExe' clang "clang++")) + ] + ) ); env = { From 748e8604d9e810faae011bb0f29ebb07b5c9ba1f Mon Sep 17 00:00:00 2001 From: Randy Eckenrode Date: Sun, 9 Aug 2026 08:38:12 -0400 Subject: [PATCH 2006/2378] swiftPackages: exclude the REPL from toolchain builds MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit While including the REPL is harmless, it’s not needed in toolchain builds. Disabling also allows us to avoid building LLDB for the bootstrap toolchain’s LLVM, which will allow simplifying its patches. --- .../compilers/swift/by-name/sw/swift-asn1/package.nix | 8 +++++++- .../compilers/swift/by-name/sw/swift-build/package.nix | 6 +++++- .../swift/by-name/sw/swift-certificates/package.nix | 8 +++++++- .../compilers/swift/by-name/sw/swift-crypto/package.nix | 6 +++++- .../compilers/swift/by-name/sw/swift-syntax/package.nix | 6 +++++- .../compilers/swift/by-name/sw/swift-system/package.nix | 8 +++++++- .../compilers/swift/by-name/sw/swift-testing/package.nix | 5 ++++- .../swift/by-name/sw/swift-tools-protocols/package.nix | 6 +++++- .../compilers/swift/by-name/sw/swiftpm/package.nix | 6 +++++- 9 files changed, 50 insertions(+), 9 deletions(-) diff --git a/pkgs/development/compilers/swift/by-name/sw/swift-asn1/package.nix b/pkgs/development/compilers/swift/by-name/sw/swift-asn1/package.nix index 3ea0c9da51d9..fc36b2615b6f 100644 --- a/pkgs/development/compilers/swift/by-name/sw/swift-asn1/package.nix +++ b/pkgs/development/compilers/swift/by-name/sw/swift-asn1/package.nix @@ -8,6 +8,12 @@ swift, }: +let + swift' = swift.override { + enableRepl = false; + }; +in + # Swift-ASN1 is a dependency of SwiftPM. It must be built with CMake to avoid dependency cycles. stdenv.mkDerivation (finalAttrs: { pname = "swift-asn1"; @@ -42,7 +48,7 @@ stdenv.mkDerivation (finalAttrs: { nativeBuildInputs = [ cmake ninja - swift + swift' ]; postInstall = '' diff --git a/pkgs/development/compilers/swift/by-name/sw/swift-build/package.nix b/pkgs/development/compilers/swift/by-name/sw/swift-build/package.nix index fc8f658dbf12..3f29008aa839 100644 --- a/pkgs/development/compilers/swift/by-name/sw/swift-build/package.nix +++ b/pkgs/development/compilers/swift/by-name/sw/swift-build/package.nix @@ -29,6 +29,10 @@ let swiftPlatform = stdenv.hostPlatform.swift.platform; + + swift' = swift.override { + enableRepl = false; + }; in # Swift Build is a dependency of SwiftPM. It must be built with CMake to avoid dependency cycles. @@ -100,7 +104,7 @@ stdenv.mkDerivation (finalAttrs: { nativeBuildInputs = [ cmake ninja - swift + swift' ]; buildInputs = [ diff --git a/pkgs/development/compilers/swift/by-name/sw/swift-certificates/package.nix b/pkgs/development/compilers/swift/by-name/sw/swift-certificates/package.nix index ebddcd2528ef..ba22beed5140 100644 --- a/pkgs/development/compilers/swift/by-name/sw/swift-certificates/package.nix +++ b/pkgs/development/compilers/swift/by-name/sw/swift-certificates/package.nix @@ -10,6 +10,12 @@ swift-crypto, }: +let + swift' = swift.override { + enableRepl = false; + }; +in + stdenv.mkDerivation (finalAttrs: { pname = "swift-certificates"; version = "1.21.0"; @@ -44,7 +50,7 @@ stdenv.mkDerivation (finalAttrs: { nativeBuildInputs = [ cmake ninja - swift + swift' ]; buildInputs = [ diff --git a/pkgs/development/compilers/swift/by-name/sw/swift-crypto/package.nix b/pkgs/development/compilers/swift/by-name/sw/swift-crypto/package.nix index 24d87ecbb4ee..977ddd8df55d 100644 --- a/pkgs/development/compilers/swift/by-name/sw/swift-crypto/package.nix +++ b/pkgs/development/compilers/swift/by-name/sw/swift-crypto/package.nix @@ -11,6 +11,10 @@ let swiftPlatform = stdenv.hostPlatform.swift.platform; + + swift' = swift.override { + enableRepl = false; + }; in stdenv.mkDerivation (finalAttrs: { @@ -55,7 +59,7 @@ stdenv.mkDerivation (finalAttrs: { nativeBuildInputs = [ cmake ninja - swift + swift' ]; buildInputs = [ (lib.getInclude swift-asn1) ]; diff --git a/pkgs/development/compilers/swift/by-name/sw/swift-syntax/package.nix b/pkgs/development/compilers/swift/by-name/sw/swift-syntax/package.nix index 46bb7cbd06eb..977284fcd748 100644 --- a/pkgs/development/compilers/swift/by-name/sw/swift-syntax/package.nix +++ b/pkgs/development/compilers/swift/by-name/sw/swift-syntax/package.nix @@ -30,6 +30,10 @@ let "SwiftSyntaxMacros" ] ++ lib.optionals (lib.versionAtLeast swift_release "6.3") [ "SwiftRefactor" ]; + + swift' = swift.override { + enableRepl = false; + }; in stdenv.mkDerivation (finalAttrs: { @@ -59,7 +63,7 @@ stdenv.mkDerivation (finalAttrs: { nativeBuildInputs = lib.optionals (!useToolchainLibraries) [ cmake ninja - swift + swift' ]; dontConfigure = useToolchainLibraries; diff --git a/pkgs/development/compilers/swift/by-name/sw/swift-system/package.nix b/pkgs/development/compilers/swift/by-name/sw/swift-system/package.nix index 86b008c41746..b050bd716a9a 100644 --- a/pkgs/development/compilers/swift/by-name/sw/swift-system/package.nix +++ b/pkgs/development/compilers/swift/by-name/sw/swift-system/package.nix @@ -8,6 +8,12 @@ swift, }: +let + swift' = swift.override { + enableRepl = false; + }; +in + stdenv.mkDerivation (finalAttrs: { pname = "swift-system"; version = "1.8.1"; @@ -36,7 +42,7 @@ stdenv.mkDerivation (finalAttrs: { nativeBuildInputs = [ cmake ninja - swift + swift' ]; postInstall = '' diff --git a/pkgs/development/compilers/swift/by-name/sw/swift-testing/package.nix b/pkgs/development/compilers/swift/by-name/sw/swift-testing/package.nix index 8b52585f905c..a78c960c8ce2 100644 --- a/pkgs/development/compilers/swift/by-name/sw/swift-testing/package.nix +++ b/pkgs/development/compilers/swift/by-name/sw/swift-testing/package.nix @@ -16,7 +16,10 @@ let # Can’t use `swift-minimal`. Swift Testing fails to build using the classic Swift frontend. # It requires the new Swift compiler driver. - swift' = swift.override { swift-testing = null; }; + swift' = swift.override { + swift-testing = null; + enableRepl = false; + }; in stdenv.mkDerivation (finalAttrs: { diff --git a/pkgs/development/compilers/swift/by-name/sw/swift-tools-protocols/package.nix b/pkgs/development/compilers/swift/by-name/sw/swift-tools-protocols/package.nix index 29848cc8ba47..9d0d2b5efb2e 100644 --- a/pkgs/development/compilers/swift/by-name/sw/swift-tools-protocols/package.nix +++ b/pkgs/development/compilers/swift/by-name/sw/swift-tools-protocols/package.nix @@ -12,6 +12,10 @@ let swiftPlatform = stdenv.hostPlatform.swift.platform; + + swift' = swift.override { + enableRepl = false; + }; in # The version of swift-tools-protocols comes from Swift’s `update_checkout` script. It is unfortunately not tagged @@ -49,7 +53,7 @@ stdenv.mkDerivation (finalAttrs: { nativeBuildInputs = [ cmake ninja - swift + swift' ] ++ lib.optionals stdenv.hostPlatform.isDarwin [ llvm_libtool ]; diff --git a/pkgs/development/compilers/swift/by-name/sw/swiftpm/package.nix b/pkgs/development/compilers/swift/by-name/sw/swiftpm/package.nix index 12c91307b5b5..6d6cc2be089d 100644 --- a/pkgs/development/compilers/swift/by-name/sw/swiftpm/package.nix +++ b/pkgs/development/compilers/swift/by-name/sw/swiftpm/package.nix @@ -45,6 +45,10 @@ let swift-tools-protocols swift-tools-support-core ]; + + swift' = swift.override { + enableRepl = false; + }; in stdenv.mkDerivation (finalAttrs: { @@ -122,7 +126,7 @@ stdenv.mkDerivation (finalAttrs: { nativeBuildInputs = [ cmake ninja - swift + swift' ]; propagatedBuildInputs = [ swiftpmHook ]; From 6a2a8924009a5eeb8d841a8ad7321311deb4c9e5 Mon Sep 17 00:00:00 2001 From: Randy Eckenrode Date: Thu, 8 Oct 2026 14:16:26 -0400 Subject: [PATCH 2007/2378] swiftPackages.fetchSwiftPMDeps: match identity to subpath This is needed for version 1 resolved files where the package name does not match the package identity, which should be the last component of the Git URL. For example, `swift-docc-symbolkit` has the name `SymbolKit`. If that is populated as the identity, builds using that dependency will fail when SwiftPM tries to fetch it again. --- .../swift/by-name/fe/fetchSwiftPMDeps/package.nix | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/pkgs/development/compilers/swift/by-name/fe/fetchSwiftPMDeps/package.nix b/pkgs/development/compilers/swift/by-name/fe/fetchSwiftPMDeps/package.nix index 3a6301fa0203..80f05b6f7951 100644 --- a/pkgs/development/compilers/swift/by-name/fe/fetchSwiftPMDeps/package.nix +++ b/pkgs/development/compilers/swift/by-name/fe/fetchSwiftPMDeps/package.nix @@ -84,10 +84,10 @@ runCommand "${name}-vendor" "basedOn": { "basedOn": null, "packageRef": { - "identity": .identity, + "identity": .location | sub("\\.git$"; "") | split("/")[-1], "kind": .kind, "location": .location, - "name": .location | sub("\\.git$"; "") | split("/")[-1] + "name": .identity }, "state": { "checkoutState": .state, @@ -96,10 +96,10 @@ runCommand "${name}-vendor" "subpath": .location | sub("\\.git$"; "") | split("/")[-1] }, "packageRef": { - "identity": .identity, + "identity": .location | sub("\\.git$"; "") | split("/")[-1], "kind": .kind, "location": .location, - "name": .location | sub("\\.git$"; "") | split("/")[-1] + "name": .identity }, "state": { "name": "edited", From 00ecc8218690d1ea93fa2c7ae750f1a93126ec82 Mon Sep 17 00:00:00 2001 From: Randy Eckenrode Date: Sun, 9 Aug 2026 08:38:12 -0400 Subject: [PATCH 2008/2378] swiftPackages.llvmPackages.lldb: only carry patches for latest release Because LLDB is not built as part of the bootstrap toolchain, carrying patches for it is unnecessary. --- .../swift/by-name/ll/llvmPackages/package.nix | 4 +- .../0002-Link-lldb-server-to-swiftCore.patch | 28 ------ ...follow-symlinks-when-finding-liblldb.patch | 92 ------------------- ...B-executable-path-to-find-the-stdlib.patch | 33 ------- .../0002-Link-lldb-server-to-swiftCore.patch | 0 ...follow-symlinks-when-finding-liblldb.patch | 0 6 files changed, 2 insertions(+), 155 deletions(-) delete mode 100644 pkgs/development/compilers/swift/by-name/ll/llvmPackages/patches/19/lldb/0002-Link-lldb-server-to-swiftCore.patch delete mode 100644 pkgs/development/compilers/swift/by-name/ll/llvmPackages/patches/19/lldb/0003-Don-t-follow-symlinks-when-finding-liblldb.patch delete mode 100644 pkgs/development/compilers/swift/by-name/ll/llvmPackages/patches/21/lldb/0004-Use-the-LLDB-executable-path-to-find-the-stdlib.patch rename pkgs/development/compilers/swift/by-name/ll/llvmPackages/patches/{21 => }/lldb/0002-Link-lldb-server-to-swiftCore.patch (100%) rename pkgs/development/compilers/swift/by-name/ll/llvmPackages/patches/{21 => }/lldb/0003-Don-t-follow-symlinks-when-finding-liblldb.patch (100%) diff --git a/pkgs/development/compilers/swift/by-name/ll/llvmPackages/package.nix b/pkgs/development/compilers/swift/by-name/ll/llvmPackages/package.nix index 1690c7846acd..d3f633ac7222 100644 --- a/pkgs/development/compilers/swift/by-name/ll/llvmPackages/package.nix +++ b/pkgs/development/compilers/swift/by-name/ll/llvmPackages/package.nix @@ -163,9 +163,9 @@ let # consists of only one path (and is not a list). It needs to point to the stdlib. ./patches/lldb/0001-Set-stdlib-path-on-Linux.patch # Otherwise, linking `lldb-server` fails with a missing symbol error on Linux. - ./patches/${lib.versions.major final.release_version}/lldb/0002-Link-lldb-server-to-swiftCore.patch + ./patches/lldb/0002-Link-lldb-server-to-swiftCore.patch # Don’t resolve the liblldb symlink to help it find the Swift toolchain that it’s linked into. - ./patches/${lib.versions.major final.release_version}/lldb/0003-Don-t-follow-symlinks-when-finding-liblldb.patch + ./patches/lldb/0003-Don-t-follow-symlinks-when-finding-liblldb.patch # Darwin needs to find the path to LLDB via the main executable because dyld always resolves symlinks # when loading dylibs from disk. ./patches/lldb/0004-Use-the-LLDB-executable-path-to-find-the-stdlib.patch diff --git a/pkgs/development/compilers/swift/by-name/ll/llvmPackages/patches/19/lldb/0002-Link-lldb-server-to-swiftCore.patch b/pkgs/development/compilers/swift/by-name/ll/llvmPackages/patches/19/lldb/0002-Link-lldb-server-to-swiftCore.patch deleted file mode 100644 index a058fb4b327e..000000000000 --- a/pkgs/development/compilers/swift/by-name/ll/llvmPackages/patches/19/lldb/0002-Link-lldb-server-to-swiftCore.patch +++ /dev/null @@ -1,28 +0,0 @@ -From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001 -From: Randy Eckenrode -Date: Wed, 22 Jul 2026 21:02:05 -0400 -Subject: [PATCH 2/4] Link lldb-server to swiftCore - -Fixes a missing symbol error when linking lldb-server on Linux: - - ld.bfd: /lib/libswiftASTGen.a(LexicalLookup.swift.o): undefined reference to symbol '$ss10SetAlgebraP9formUnionyyxnFTq' - ld.bfd: /lib/libswiftCore.so: error adding symbols: DSO missing from command line ---- - tools/lldb-server/CMakeLists.txt | 1 + - 1 file changed, 1 insertion(+) - -diff --git a/tools/lldb-server/CMakeLists.txt b/tools/lldb-server/CMakeLists.txt -index 4ac3fddf2b53..6c2603626e44 100644 ---- a/tools/lldb-server/CMakeLists.txt -+++ b/tools/lldb-server/CMakeLists.txt -@@ -55,6 +55,7 @@ add_lldb_tool(lldb-server - lldbPluginInstructionMIPS64 - lldbPluginInstructionRISCV - ${LLDB_SYSTEM_LIBS} -+ swiftCore - - LINK_COMPONENTS - Option --- -2.54.0 - diff --git a/pkgs/development/compilers/swift/by-name/ll/llvmPackages/patches/19/lldb/0003-Don-t-follow-symlinks-when-finding-liblldb.patch b/pkgs/development/compilers/swift/by-name/ll/llvmPackages/patches/19/lldb/0003-Don-t-follow-symlinks-when-finding-liblldb.patch deleted file mode 100644 index 2bd1bb7172af..000000000000 --- a/pkgs/development/compilers/swift/by-name/ll/llvmPackages/patches/19/lldb/0003-Don-t-follow-symlinks-when-finding-liblldb.patch +++ /dev/null @@ -1,92 +0,0 @@ -From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001 -From: Randy Eckenrode -Date: Wed, 5 Aug 2026 07:36:33 -0400 -Subject: [PATCH 3/4] =?UTF-8?q?Don=E2=80=99t=20follow=20symlinks=20when=20?= - =?UTF-8?q?finding=20liblldb?= -MIME-Version: 1.0 -Content-Type: text/plain; charset=UTF-8 -Content-Transfer-Encoding: 8bit - -Various dependencies are symlinked together into the Swift toolchain in -Nixpkgs. If LLDB resolves the location of liblldb, it will always find -it in the LLDB derivation’s output, which prevents finding the Swift -toolchain when running the Swift REPL. ---- - include/lldb/Host/Host.h | 2 +- - source/Host/common/Host.cpp | 6 ++++-- - source/Host/common/HostInfoBase.cpp | 6 +++++- - source/Host/windows/Host.cpp | 2 +- - 4 files changed, 11 insertions(+), 5 deletions(-) - -diff --git a/include/lldb/Host/Host.h b/include/lldb/Host/Host.h -index 23d5383163ff..4a17900be75d 100644 ---- a/include/lldb/Host/Host.h -+++ b/include/lldb/Host/Host.h -@@ -120,7 +120,7 @@ public: - /// \b A file spec with the module that contains \a host_addr, - /// which may be invalid if \a host_addr doesn't fall into - /// any valid module address range. -- static FileSpec GetModuleFileSpecForHostAddress(const void *host_addr); -+ static FileSpec GetModuleFileSpecForHostAddress(const void *host_addr, bool resolvePath = true); - - /// If you have an executable that is in a bundle and want to get back to - /// the bundle directory from the path itself, this function will change a -diff --git a/source/Host/common/Host.cpp b/source/Host/common/Host.cpp -index 04380c6255f1..2510f2d7b54e 100644 ---- a/source/Host/common/Host.cpp -+++ b/source/Host/common/Host.cpp -@@ -344,14 +344,16 @@ bool Host::ResolveExecutableInBundle(FileSpec &file) { return false; } - - #ifndef _WIN32 - --FileSpec Host::GetModuleFileSpecForHostAddress(const void *host_addr) { -+FileSpec Host::GetModuleFileSpecForHostAddress(const void *host_addr, bool resolvePath) { - FileSpec module_filespec; - #if !defined(__ANDROID__) - Dl_info info; - if (::dladdr(host_addr, &info)) { - if (info.dli_fname) { - module_filespec.SetFile(info.dli_fname, FileSpec::Style::native); -- FileSystem::Instance().Resolve(module_filespec); -+ if (resolvePath) { -+ FileSystem::Instance().Resolve(module_filespec); -+ } - } - } - #endif -diff --git a/source/Host/common/HostInfoBase.cpp b/source/Host/common/HostInfoBase.cpp -index 5c44c2f38b28..cb10bded1470 100644 ---- a/source/Host/common/HostInfoBase.cpp -+++ b/source/Host/common/HostInfoBase.cpp -@@ -249,10 +249,14 @@ bool HostInfoBase::ComputeSharedLibraryDirectory(FileSpec &file_spec) { - // On other posix systems, we will get .../lib(64|32)?/liblldb.so. - - FileSpec lldb_file_spec(Host::GetModuleFileSpecForHostAddress( -- reinterpret_cast(HostInfoBase::ComputeSharedLibraryDirectory))); -+ reinterpret_cast(HostInfoBase::ComputeSharedLibraryDirectory), /* resolvePath */ false)); - -+// If g_shlib_dir_helper is set on Linux, it will resolve the symlink, which we don’t want. -+// Getting the shared library where it is saves ~280 MiB of toolchain closure size. -+#ifdef _WIN32 - if (g_shlib_dir_helper) - g_shlib_dir_helper(lldb_file_spec); -+#endif - - // Remove the filename so that this FileSpec only represents the directory. - file_spec.SetDirectory(lldb_file_spec.GetDirectory()); -diff --git a/source/Host/windows/Host.cpp b/source/Host/windows/Host.cpp -index e8973a3fb937..5955cf742059 100644 ---- a/source/Host/windows/Host.cpp -+++ b/source/Host/windows/Host.cpp -@@ -113,7 +113,7 @@ void Host::Kill(lldb::pid_t pid, int signo) { - - const char *Host::GetSignalAsCString(int signo) { return NULL; } - --FileSpec Host::GetModuleFileSpecForHostAddress(const void *host_addr) { -+FileSpec Host::GetModuleFileSpecForHostAddress(const void *host_addr, bool resolvePath) { - FileSpec module_filespec; - - HMODULE hmodule = NULL; --- -2.54.0 - diff --git a/pkgs/development/compilers/swift/by-name/ll/llvmPackages/patches/21/lldb/0004-Use-the-LLDB-executable-path-to-find-the-stdlib.patch b/pkgs/development/compilers/swift/by-name/ll/llvmPackages/patches/21/lldb/0004-Use-the-LLDB-executable-path-to-find-the-stdlib.patch deleted file mode 100644 index c80b9baf31f7..000000000000 --- a/pkgs/development/compilers/swift/by-name/ll/llvmPackages/patches/21/lldb/0004-Use-the-LLDB-executable-path-to-find-the-stdlib.patch +++ /dev/null @@ -1,33 +0,0 @@ -From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001 -From: Randy Eckenrode -Date: Sat, 5 Sep 2026 08:24:48 -0400 -Subject: [PATCH 4/5] Use the LLDB executable path to find the stdlib - -dyld always resolves symlinks when loading an image, which prevents -`GetModuleFileSpecForHostAddress` from returning the unresolved path to -`liblldb.dylib`. We could break the symlink by copying the dylib, but -that would make the closure much larger. Fortunately, we can use the -path of the LLDB executable, which will need to be copied into the -toolchain anyway for other reasons. ---- - source/Host/macosx/objcxx/HostInfoMacOSXSwift.cpp | 4 ++-- - 1 file changed, 2 insertions(+), 2 deletions(-) - -diff --git a/source/Host/macosx/objcxx/HostInfoMacOSXSwift.cpp b/source/Host/macosx/objcxx/HostInfoMacOSXSwift.cpp -index 243ca53aa080..080bc9c49d7a 100644 ---- a/source/Host/macosx/objcxx/HostInfoMacOSXSwift.cpp -+++ b/source/Host/macosx/objcxx/HostInfoMacOSXSwift.cpp -@@ -79,8 +79,8 @@ FileSpec HostInfoMacOSX::GetSwiftResourceDir() { - static std::once_flag g_once_flag; - static FileSpec g_swift_resource_dir; - std::call_once(g_once_flag, []() { -- FileSpec lldb_file_spec = HostInfo::GetShlibDir(); -- ComputeSwiftResourceDirectory(lldb_file_spec, g_swift_resource_dir, true); -+ auto exe_path = HostInfoMacOSX::GetProgramFileSpec().CopyByRemovingLastPathComponent(); -+ ComputeSwiftResourceDirectory(exe_path, g_swift_resource_dir, true); - Log *log = GetLog(LLDBLog::Host); - LLDB_LOG(log, "swift dir -> '{0}'", g_swift_resource_dir); - }); --- -2.54.0 - diff --git a/pkgs/development/compilers/swift/by-name/ll/llvmPackages/patches/21/lldb/0002-Link-lldb-server-to-swiftCore.patch b/pkgs/development/compilers/swift/by-name/ll/llvmPackages/patches/lldb/0002-Link-lldb-server-to-swiftCore.patch similarity index 100% rename from pkgs/development/compilers/swift/by-name/ll/llvmPackages/patches/21/lldb/0002-Link-lldb-server-to-swiftCore.patch rename to pkgs/development/compilers/swift/by-name/ll/llvmPackages/patches/lldb/0002-Link-lldb-server-to-swiftCore.patch diff --git a/pkgs/development/compilers/swift/by-name/ll/llvmPackages/patches/21/lldb/0003-Don-t-follow-symlinks-when-finding-liblldb.patch b/pkgs/development/compilers/swift/by-name/ll/llvmPackages/patches/lldb/0003-Don-t-follow-symlinks-when-finding-liblldb.patch similarity index 100% rename from pkgs/development/compilers/swift/by-name/ll/llvmPackages/patches/21/lldb/0003-Don-t-follow-symlinks-when-finding-liblldb.patch rename to pkgs/development/compilers/swift/by-name/ll/llvmPackages/patches/lldb/0003-Don-t-follow-symlinks-when-finding-liblldb.patch From aeea8c43943efb7a5c206e628202e582e17cf5b1 Mon Sep 17 00:00:00 2001 From: Randy Eckenrode Date: Sun, 9 Aug 2026 08:38:12 -0400 Subject: [PATCH 2009/2378] swiftPackages.swiftpmHook: fix copying module folders Modules can either be single, `.swiftmodule` files or folders with platform-specific `.swiftinterface`, `.swiftmodule`, etc files in them. --- .../compilers/swift/by-name/sw/swiftpmHook/setup-hook.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/pkgs/development/compilers/swift/by-name/sw/swiftpmHook/setup-hook.sh b/pkgs/development/compilers/swift/by-name/sw/swiftpmHook/setup-hook.sh index 2a76abd6a80e..cb593724c355 100644 --- a/pkgs/development/compilers/swift/by-name/sw/swiftpmHook/setup-hook.sh +++ b/pkgs/development/compilers/swift/by-name/sw/swiftpmHook/setup-hook.sh @@ -114,7 +114,8 @@ swiftpmInstallPhase() { install -D -t "${!outputLib}/lib" "${libsToInstall[@]}" # Only install modules if there are any library products. if [ -n "${modulesToInstall}" ]; then - install -D -t "${!outputInclude}/lib/swift/@swiftPlatform@" "${modulesToInstall[@]}" + mkdir -p "${!outputInclude}/lib/swift/@swiftPlatform@" + cp -Rv "${modulesToInstall[@]}" "${!outputInclude}/lib/swift/@swiftPlatform@" fi fi From 3eb7e3d519b7071df4c0360b1a83d44107043cde Mon Sep 17 00:00:00 2001 From: Randy Eckenrode Date: Sun, 9 Aug 2026 08:38:12 -0400 Subject: [PATCH 2010/2378] swiftPackages.swiftpmHook: also pass library paths to SwiftPM This is needed when using the Swift Build backend, which may invoke Clang via libclang, causing it not to be effectively unwrapped. --- .../compilers/swift/by-name/sw/swiftpmHook/setup-hook.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkgs/development/compilers/swift/by-name/sw/swiftpmHook/setup-hook.sh b/pkgs/development/compilers/swift/by-name/sw/swiftpmHook/setup-hook.sh index cb593724c355..1b9256f5c7db 100644 --- a/pkgs/development/compilers/swift/by-name/sw/swiftpmHook/setup-hook.sh +++ b/pkgs/development/compilers/swift/by-name/sw/swiftpmHook/setup-hook.sh @@ -131,7 +131,7 @@ makeSwiftPMFindLibs() { local -A swiftpmLibFlags isystem_seen= iframework_seen= - for flag in ${NIX_CFLAGS_COMPILE-}; do + for flag in ${NIX_CFLAGS_COMPILE-} ${NIX_LDFLAGS-}; do if test -n "$isystem_seen" && test -d "$flag"; then isystem_seen= swiftpmLibFlags["${flag}"]="-Xcc -isystem -Xcc" From 2583afa7f73d1a14b583ae5cf488da3941e69921 Mon Sep 17 00:00:00 2001 From: Randy Eckenrode Date: Sun, 9 Aug 2026 08:38:12 -0400 Subject: [PATCH 2011/2378] swiftPackages.swiftpmHook: enable Swift Testing on Darwin --- .../compilers/swift/by-name/sw/swiftpmHook/package.nix | 3 +++ .../compilers/swift/by-name/sw/swiftpmHook/setup-hook.sh | 6 +++++- 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/pkgs/development/compilers/swift/by-name/sw/swiftpmHook/package.nix b/pkgs/development/compilers/swift/by-name/sw/swiftpmHook/package.nix index 8b3a253e4308..0ac041ac84c1 100644 --- a/pkgs/development/compilers/swift/by-name/sw/swiftpmHook/package.nix +++ b/pkgs/development/compilers/swift/by-name/sw/swiftpmHook/package.nix @@ -39,5 +39,8 @@ makeSetupHook { swiftPlatform = stdenv.hostPlatform.swift.platform; install_name_tool = lib.getExe' llvmPackages_upstream.llvm "llvm-install-name-tool"; jq = lib.getExe jq; + # XCTest on Darwin requires the XCTest framework from Xcode, which we can’t distribute. + # Fortunately, pure Swift Testing can work without using XCTest. + disableXCTest = stdenv.hostPlatform.isDarwin; }; } ./setup-hook.sh diff --git a/pkgs/development/compilers/swift/by-name/sw/swiftpmHook/setup-hook.sh b/pkgs/development/compilers/swift/by-name/sw/swiftpmHook/setup-hook.sh index 1b9256f5c7db..a3d1b5b89e8c 100644 --- a/pkgs/development/compilers/swift/by-name/sw/swiftpmHook/setup-hook.sh +++ b/pkgs/development/compilers/swift/by-name/sw/swiftpmHook/setup-hook.sh @@ -61,8 +61,12 @@ swiftpmCheckPhase() { ) concatTo flagsArray swiftpmFlags swiftpmFlagsArray + if [ "@disableXCTest@" = 1 ]; then + appendToVar flagsArray --disable-xctest + fi + echoCmd 'check flags' "${flagsArray[@]}" - TERM=dumb swift test "${flagsArray[@]}" + TERM=dumb swift test --disable-sandbox "${flagsArray[@]}" runHook postCheck } From 3dee1c3f0cdcf8f613fc742f9049adb9b1178b68 Mon Sep 17 00:00:00 2001 From: Randy Eckenrode Date: Thu, 8 Oct 2026 14:16:26 -0400 Subject: [PATCH 2012/2378] swiftPackages.swiftpmHook: support finding and using plugin servers --- .../swift/by-name/sw/swiftpmHook/setup-hook.sh | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/pkgs/development/compilers/swift/by-name/sw/swiftpmHook/setup-hook.sh b/pkgs/development/compilers/swift/by-name/sw/swiftpmHook/setup-hook.sh index a3d1b5b89e8c..82e58c11bd3a 100644 --- a/pkgs/development/compilers/swift/by-name/sw/swiftpmHook/setup-hook.sh +++ b/pkgs/development/compilers/swift/by-name/sw/swiftpmHook/setup-hook.sh @@ -13,7 +13,15 @@ swiftpm_addCVars() { fi # Compiler plugins if [[ "$d" =~ plugins(/testing)?$ && -n "$(ls "$d"/*@sharedLibrary@)" ]]; then - appendToVar swiftpmFlags -Xswiftc -plugin-path -Xswiftc "$d" + pluginServerPath="$1/libexec/swift/plugins" + if [[ -e "$1/libexec/swift/plugins" && "$(ls "$pluginServerPath" | wc -l)" -eq "1" ]]; then + # Only one plugin server in `libexec/swift/plugins` is supported for now. + # Support for more can be added later when it’s needed. + pluginServerExePath=$(realpath "$pluginServerPath"/*) + appendToVar swiftpmFlags -Xswiftc -external-plugin-path -Xswiftc "$d#$pluginServerExePath" + else + appendToVar swiftpmFlags -Xswiftc -plugin-path -Xswiftc "$d" + fi fi done < <(find "$1" -type d -and -regex "$swiftLibDir" -print0) } From f7a65b256f716341eeed380c14c7ee745b741dfb Mon Sep 17 00:00:00 2001 From: Randy Eckenrode Date: Sun, 9 Aug 2026 08:38:12 -0400 Subject: [PATCH 2013/2378] swift.tests.swift-testing: enable on Darwin Swift Testing requires at least macOS 10.15, which is well below our required deployment target, so we can hardcode it. --- .../swift/by-name/sw/swift/tests/swift-testing/package.nix | 6 ------ .../by-name/sw/swift/tests/swift-testing/src/Package.swift | 1 + 2 files changed, 1 insertion(+), 6 deletions(-) diff --git a/pkgs/development/compilers/swift/by-name/sw/swift/tests/swift-testing/package.nix b/pkgs/development/compilers/swift/by-name/sw/swift/tests/swift-testing/package.nix index a320da544018..280bc7615eae 100644 --- a/pkgs/development/compilers/swift/by-name/sw/swift/tests/swift-testing/package.nix +++ b/pkgs/development/compilers/swift/by-name/sw/swift/tests/swift-testing/package.nix @@ -1,5 +1,4 @@ { - lib, swift, swiftpm, stdenv, @@ -24,9 +23,4 @@ stdenv.mkDerivation { ''; __structuredAttrs = true; - - meta.badPlatforms = [ - # This test won’t work on Darwin until XCTest is modified to work on Darwin without requiring Xcode. - lib.systems.inspect.patterns.isDarwin - ]; } diff --git a/pkgs/development/compilers/swift/by-name/sw/swift/tests/swift-testing/src/Package.swift b/pkgs/development/compilers/swift/by-name/sw/swift/tests/swift-testing/src/Package.swift index e707f58c6b29..d7ff6623a0e6 100644 --- a/pkgs/development/compilers/swift/by-name/sw/swift/tests/swift-testing/src/Package.swift +++ b/pkgs/development/compilers/swift/by-name/sw/swift/tests/swift-testing/src/Package.swift @@ -4,6 +4,7 @@ import PackageDescription let package = Package( name: "test-swift-testing", + platforms: [.macOS("10.15")], products: [ .library(name: "test-swift-testing", type: .dynamic, targets: ["test-swift-testing"]) ], From bab5e4a9216c0f0789e95cb5bc7ccde02be02701 Mon Sep 17 00:00:00 2001 From: Randy Eckenrode Date: Thu, 8 Oct 2026 14:16:26 -0400 Subject: [PATCH 2014/2378] swiftPackages.swift-docc: enable tests on Darwin Because we disable XCTest on Darwin, only the tests using Swift Testing will run, but running some tests is better than running no tests. --- .../compilers/swift/by-name/sw/swift-docc/package.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkgs/development/compilers/swift/by-name/sw/swift-docc/package.nix b/pkgs/development/compilers/swift/by-name/sw/swift-docc/package.nix index fa534b173d07..31d5c63e28ad 100644 --- a/pkgs/development/compilers/swift/by-name/sw/swift-docc/package.nix +++ b/pkgs/development/compilers/swift/by-name/sw/swift-docc/package.nix @@ -53,7 +53,7 @@ stdenv.mkDerivation (finalAttrs: { swiftpm ]; - doCheck = !stdenv.hostPlatform.isDarwin; + doCheck = true; postInstall = '' mkdir -p "$out/share/docc" From 8afbe23f767682f600af14e5f52c718e4c66a3f9 Mon Sep 17 00:00:00 2001 From: Randy Eckenrode Date: Thu, 8 Oct 2026 14:16:26 -0400 Subject: [PATCH 2015/2378] swiftPackages.swift-formatting: enable tests on Darwin Because we disable XCTest on Darwin, only the tests using Swift Testing will run, but running some tests is better than running no tests. --- .../compilers/swift/by-name/sw/swift-format/package.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkgs/development/compilers/swift/by-name/sw/swift-format/package.nix b/pkgs/development/compilers/swift/by-name/sw/swift-format/package.nix index 09d6b8c80e97..355cbf5073d7 100644 --- a/pkgs/development/compilers/swift/by-name/sw/swift-format/package.nix +++ b/pkgs/development/compilers/swift/by-name/sw/swift-format/package.nix @@ -37,7 +37,7 @@ stdenv.mkDerivation (finalAttrs: { swiftpm ]; - doCheck = !stdenv.hostPlatform.isDarwin; + doCheck = true; __structuredAttrs = true; From 8e783fc7b27a4db11f89ef3c7a97f4ccc6f76cef Mon Sep 17 00:00:00 2001 From: Randy Eckenrode Date: Thu, 8 Oct 2026 14:16:26 -0400 Subject: [PATCH 2016/2378] swiftPackages.swiftpmUnpackHook: disable the sandbox Dumping the package requires building the manifest, which uses the sandbox by default. We already patch SwiftPM to disable the sandbox when building packages in Nixpkgs (because we are already using one), so this is for consistency with `swiftpmBuildPhase` and `swiftpmCheckPhase`. --- .../compilers/swift/by-name/sw/swiftpmUnpackHook/setup-hook.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkgs/development/compilers/swift/by-name/sw/swiftpmUnpackHook/setup-hook.sh b/pkgs/development/compilers/swift/by-name/sw/swiftpmUnpackHook/setup-hook.sh index c991654efa92..f0190dfc2cef 100644 --- a/pkgs/development/compilers/swift/by-name/sw/swiftpmUnpackHook/setup-hook.sh +++ b/pkgs/development/compilers/swift/by-name/sw/swiftpmUnpackHook/setup-hook.sh @@ -33,7 +33,7 @@ swiftpmUnpackDeps() { }, "version": 7 } - ' "$swiftpmDeps/workspace-state.json" <(swift package dump-package --package-path "$NIX_BUILD_TOP/$sourceRoot") \ + ' "$swiftpmDeps/workspace-state.json" <(swift package --disable-sandbox dump-package --package-path "$NIX_BUILD_TOP/$sourceRoot") \ > "$NIX_BUILD_TOP/$sourceRoot/.build/workspace-state.json~" mv "$NIX_BUILD_TOP/$sourceRoot/.build/workspace-state.json~" "$NIX_BUILD_TOP/$sourceRoot/.build/workspace-state.json" From 84812c1090f501f43a31877bbd6416192a54c4c6 Mon Sep 17 00:00:00 2001 From: Randy Eckenrode Date: Sun, 9 Aug 2026 08:38:12 -0400 Subject: [PATCH 2017/2378] swift/update.sh: drop swift-tools-protocols version parameter Now that Swift Tools Protocols is versioned with the toolchain, it can default to using that version instead of taking one explicitly. --- pkgs/development/compilers/swift/update.sh | 11 ++--------- 1 file changed, 2 insertions(+), 9 deletions(-) diff --git a/pkgs/development/compilers/swift/update.sh b/pkgs/development/compilers/swift/update.sh index 9c359ae5e2aa..331f2effaaa3 100755 --- a/pkgs/development/compilers/swift/update.sh +++ b/pkgs/development/compilers/swift/update.sh @@ -4,17 +4,16 @@ set -eu -o pipefail function usage() { - echo "Usage: update.sh " >&2 + echo "Usage: update.sh " >&2 exit 1 } -if [[ -z "${1:-}" || -z "${2:-}" || -z "${3:-}" ]]; then +if [[ -z "${1:-}" || -z "${2:-}" ]]; then usage fi SWIFT_VERSION=$1 SWIFT_DOCC_RENDER_REV=$2 -SWIFT_TOOLS_PROTOCOLS_VERSION=$3 SCRIPT_DIR=$(dirname "$(realpath $0)") @@ -53,9 +52,6 @@ function get_rev() { swift-docc-render) echo "$SWIFT_DOCC_RENDER_REV" ;; - swift-tools-protocols) - echo "$SWIFT_TOOLS_PROTOCOLS_VERSION" - ;; *) jq -r --arg pkg "$1" --arg swift_version "$SWIFT_VERSION" \ '.[$pkg].rev // .[$pkg].version // "swift-" + $swift_version + "-RELEASE"' "$SOURCES" @@ -124,9 +120,6 @@ for package in "${packages[@]}"; do swift-docc-render) pkg=$(jq --arg rev "$SWIFT_DOCC_RENDER_REV" '. * {"swift-docc-render": {"rev": $rev}}' <<< "$pkg") ;; - swift-tools-protocols) - pkg=$(jq --arg version "$SWIFT_TOOLS_PROTOCOLS_VERSION" '. * {"swift-tools-protocols": {"version": $version}}' <<< "$pkg") - ;; esac updatedPackages=$(jq --argjson pkg "$pkg" -S '. * $pkg' <<< "$updatedPackages") From c29d56fc9a8e5c5d5cb2810edbb43509530506c4 Mon Sep 17 00:00:00 2001 From: Randy Eckenrode Date: Sun, 9 Aug 2026 08:38:12 -0400 Subject: [PATCH 2018/2378] swiftPackages: add `createToolchainStubsHook` MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The Swift 6.4 update will create stubs and symlinks in the expected locations for dynamic libraries to make supporting Swift Build easier. Since this process is the same for each toolchain package, it can go in a hook. On Darwin, it creates text-based stubs. On Linux, it just symlinks because there’s no real equivalent. --- pkgs/top-level/swift-packages.nix | 51 ++++++++++++++++++++++++++++++- 1 file changed, 50 insertions(+), 1 deletion(-) diff --git a/pkgs/top-level/swift-packages.nix b/pkgs/top-level/swift-packages.nix index 5bfebf059d07..e5ec91af31fd 100644 --- a/pkgs/top-level/swift-packages.nix +++ b/pkgs/top-level/swift-packages.nix @@ -61,8 +61,10 @@ in generateSplicesForMkScope, llvmPackages, makeScopeWithSplicing', + makeSetupHook, stdenvNoCC, swiftPackages, + writeShellScript, otherSplices ? generateSplicesForMkScope "swiftPackages", }: @@ -117,6 +119,47 @@ makeScopeWithSplicing' { ''; }; + llvm_readtapi = stdenvNoCC.mkDerivation { + pname = "llvm-readtapi"; + version = lib.getVersion llvmPackages.llvm; + + buildCommand = '' + mkdir -p "$out/bin" + ln -s ${lib.getExe' llvmPackages.llvm "llvm-readtapi"} "$out/bin/llvm-readtapi" + ''; + }; + + createToolchainStubsHook = + makeSetupHook + { + name = "create-toolchain-stubs-hook"; + substitutions = { + swiftPlatform = stdenvNoCC.hostPlatform.swift.platform; + }; + } + ( + # The Swift toolchain expects shared libraries to be found in `lib/swift/`, but we want them in + # just `lib`. Trying to patch them out is difficult, so we create text-based stubs on Darwin and symlink + # the libraries into the expected place on ELF platforms. + writeShellScript "create-toolchain-stubs-hook" '' + function createToolchainStubsHook() { + local dylib + for dylib in "''${!outputLib}/lib"/*; do + if isMachO "$dylib"; then + echo "generating text-based stubs for $dylib" + ${lib.getExe' llvm_readtapi "llvm-readtapi"} --filetype=tbd-v4 \ + "$dylib" -o "''${!outputDev}/lib/swift/@swiftPlatform@/$(basename "$dylib" .dylib).tbd" + elif isELF "$dylib"; then + echo "symlinking $dylib into the standard location" + ln -s "$dylib" "''${!outputDev}/lib/swift/@swiftPlatform@/$(basename "$dylib")" + fi + done + } + + postInstallHooks+=(createToolchainStubsHook) + '' + ); + /** Provides a list of patches for the specified major.minor version. @@ -174,7 +217,13 @@ makeScopeWithSplicing' { buildSwiftPackages = bootstrapStage1SwiftPackages; - inherit llvm_libtool patchesForVersion swift_sources; + inherit + llvm_libtool + patchesForVersion + swift_sources + # Hooks to make it easier to deal with Swift packaging + createToolchainStubsHook + ; llvmPackages_upstream = llvmPackages; From ba9c981c87fbd8fd4ad702a84ac690e33e74be88 Mon Sep 17 00:00:00 2001 From: Randy Eckenrode Date: Sun, 9 Aug 2026 08:38:12 -0400 Subject: [PATCH 2019/2378] swiftPackages: add `fixUnhelpfulCmakeRpathsHook` The Swift CMake does a few things that make packaging annoying (such as stripping out rpaths added from the environment). This hook makes them slightly less annoying. --- pkgs/top-level/swift-packages.nix | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) diff --git a/pkgs/top-level/swift-packages.nix b/pkgs/top-level/swift-packages.nix index e5ec91af31fd..69a9b70957de 100644 --- a/pkgs/top-level/swift-packages.nix +++ b/pkgs/top-level/swift-packages.nix @@ -160,6 +160,27 @@ makeScopeWithSplicing' { '' ); + fixUnhelpfulCmakeRpathsHook = makeSetupHook { name = "fix-unhelpful-cmake-rpaths-hook"; } ( + # Swift disables environmental rpaths and tries to set `$ORIGIN`. The latter is probably fine, but the former + # messes with the tooling in Nixpkgs. This hook removes both of them just to be safe. + writeShellScript "fix-unhelpful-cmake-rpaths-hook" '' + function fixUnhelpfulCmakeRpaths() { + local f + while IFS= read -d "" f; do + if [[ "$(basename "$f")" = CMakeLists.txt || "''${f##*.}" = cmake ]]; then + echo "removing unhelpful rpath settings from '$f'" + # CMake allows non-zero numbers (including floating point numbers) to be truthy values, but assume that + # Swift isn’t doing something odd like using 3.141592653589793 as a truth value. + sed -E -i "$f" \ + -e 's/(^|\s|CMAKE_)INSTALL_RPATH "[^"]*"/\1INSTALL_RPATH ""/' \ + -e 's/(^|\s|CMAKE_)INSTALL_REMOVE_ENVIRONMENT_RPATH (1|ON|TRUE|Y|YES)/\1INSTALL_REMOVE_ENVIRONMENT_RPATH OFF/' + fi + done < <(grep -rlZ RPATH) + } + postPatchHooks+=(fixUnhelpfulCmakeRpaths) + '' + ); + /** Provides a list of patches for the specified major.minor version. @@ -223,6 +244,7 @@ makeScopeWithSplicing' { swift_sources # Hooks to make it easier to deal with Swift packaging createToolchainStubsHook + fixUnhelpfulCmakeRpathsHook ; llvmPackages_upstream = llvmPackages; From 25eac10fad095f59d7f8347ae3c4789d9f9e0939 Mon Sep 17 00:00:00 2001 From: Randy Eckenrode Date: Sun, 9 Aug 2026 08:38:12 -0400 Subject: [PATCH 2020/2378] swiftpm: add CMake files for using it as a library --- .../sw/swiftpm/files/SwiftPMConfig.cmake | 83 +++++++++++++++++++ .../swift/by-name/sw/swiftpm/package.nix | 75 ++++++++++++----- 2 files changed, 136 insertions(+), 22 deletions(-) create mode 100644 pkgs/development/compilers/swift/by-name/sw/swiftpm/files/SwiftPMConfig.cmake diff --git a/pkgs/development/compilers/swift/by-name/sw/swiftpm/files/SwiftPMConfig.cmake b/pkgs/development/compilers/swift/by-name/sw/swiftpm/files/SwiftPMConfig.cmake new file mode 100644 index 000000000000..5026810ce734 --- /dev/null +++ b/pkgs/development/compilers/swift/by-name/sw/swiftpm/files/SwiftPMConfig.cmake @@ -0,0 +1,83 @@ +set(SwiftPMModules + _AsyncFileSystem + Basics + Build + Commands + CoreCommands + DriverSupport + PackageCollections + PackageCollectionsCommand + PackageCollectionsModel + PackageCollectionsSigning + PackageGraph + PackageLoading + PackageModel + PackageRegistryCommand + QueryEngine + SPMBuildCore + SourceControl + SwiftBuildSupport + SwiftSDKCommand + Workspace +) + +foreach (SwiftPMModule ${SwiftPMModules}) + if (NOT TARGET ${SwiftPMModule}) + add_library(${SwiftPMModule} @buildType@ IMPORTED) + set_target_properties(${SwiftPMModule} PROPERTIES + IMPORTED_LOCATION "@lib@/lib/${CMAKE_@buildType@_LIBRARY_PREFIX}${SwiftPMModule}${CMAKE_@buildType@_LIBRARY_SUFFIX}" + INTERFACE_INCLUDE_DIRECTORIES "@dev@/lib/swift/@swiftPlatform@" + ) + endif () +endforeach () + + +set(SwiftPMManifestModules + CompilerPluginSupport + PackageDescription +) + +foreach (SwiftPMModule ${SwiftPMManifestModules}) + if (NOT TARGET ${SwiftPMModule}) + add_library(${SwiftPMModule} @buildType@ IMPORTED) + set_target_properties(${SwiftPMModule} PROPERTIES + IMPORTED_LOCATION "@lib@/lib/swift/pm/ManifestAPI/${CMAKE_@buildType@_LIBRARY_PREFIX}${SwiftPMModule}${CMAKE_@buildType@_LIBRARY_SUFFIX}" + INTERFACE_INCLUDE_DIRECTORIES "@lib@/lib/swift/pm/ManifestAPI" + ) + endif () +endforeach () + +set(SwiftPMPluginModules + PackagePlugin +) + + +foreach (SwiftPMModule ${SwiftPMPluginModules}) + if (NOT TARGET ${SwiftPMModule}) + add_library(${SwiftPMModule} @buildType@ IMPORTED) + set_target_properties(${SwiftPMModule} PROPERTIES + IMPORTED_LOCATION "@lib@/lib/swift/pm/PluginAPI/${CMAKE_@buildType@_LIBRARY_PREFIX}${SwiftPMModule}${CMAKE_@buildType@_LIBRARY_SUFFIX}" + INTERFACE_INCLUDE_DIRECTORIES "@lib@/lib/swift/pm/PluginAPI" + ) + endif () +endforeach () + + +set(SwiftPMStaticModules + LLBuildManifest + PackageFingerprint + PackageRegistry + PackageSigning + SourceKitLSPAPI + SPMLLBuild +) + +foreach (SwiftPMModule ${SwiftPMStaticModules}) + if (NOT TARGET ${SwiftPMModule}) + add_library(${SwiftPMModule} STATIC IMPORTED) + set_target_properties(${SwiftPMModule} PROPERTIES + IMPORTED_LOCATION "@dev@/lib/${CMAKE_STATIC_LIBRARY_PREFIX}${SwiftPMModule}${CMAKE_STATIC_LIBRARY_SUFFIX}" + INTERFACE_INCLUDE_DIRECTORIES "@dev@/lib/swift_static/@swiftPlatform@" + ) + endif () +endforeach () diff --git a/pkgs/development/compilers/swift/by-name/sw/swiftpm/package.nix b/pkgs/development/compilers/swift/by-name/sw/swiftpm/package.nix index 6d6cc2be089d..b951c255c6c2 100644 --- a/pkgs/development/compilers/swift/by-name/sw/swiftpm/package.nix +++ b/pkgs/development/compilers/swift/by-name/sw/swiftpm/package.nix @@ -46,6 +46,8 @@ let swift-tools-support-core ]; + swiftPlatform = stdenv.hostPlatform.swift.platform; + swift' = swift.override { enableRepl = false; }; @@ -147,30 +149,59 @@ stdenv.mkDerivation (finalAttrs: { swift-tools-support-core ]; - postInstall = - lib.optionalString stdenv.hostPlatform.isDarwin '' - # Replace `@rpath` with absolute paths on Darwin. For some reason, this isn’t always done during installation. - # `fixDarwinDylibNames` doesn’t work either. - IFS= readarray -d "" dylibs < <(find "$out" -type f -and -name '*.dylib' -print0) - declare -a mappings + postInstall = '' + declare -a staticLibs=( + LLBuildManifest + PackageFingerprint + PackageRegistry + PackageSigning + SourceKitLSPAPI + SPMLLBuild + ) - for dylib in "''${dylibs[@]}"; do - mappings+=(-change "@rpath/$(basename "$dylib")" "$dylib") - done + # Install the swiftmodules. + mkdir -p "''${!outputDev}/lib/swift/${swiftPlatform}" "''${!outputDev}/lib/swift_static/${swiftPlatform}" + for f in "''${staticLibs[@]}"; do + mv -v swift/$f.swiftmodule "''${!outputDev}/lib/swift_static/${swiftPlatform}" + done + cp -v swift/*.swiftmodule "''${!outputDev}/lib/swift/${swiftPlatform}" - for dylib in "''${dylibs[@]}"; do - install_name_tool "$dylib" ''${mappings[@]} - done - '' - + lib.optionalString stdenv.hostPlatform.isElf '' - for output in "''${outputs[@]}"; do - while IFS= read -d "" f; do - if isELF "$f"; then - patchelf --add-rpath ${lib.escapeShellArg rpaths} "$f" - fi - done < <(find "$output" -type f -print0) - done - ''; + # Install the static libraries. + for f in "''${staticLibs[@]}"; do + cp -v lib/lib$f${stdenv.hostPlatform.extensions.staticLibrary} "''${!outputDev}/lib" + done + + # Install CMake config file for the SwiftPM library. + mkdir -p "''${!outputDev}/lib/cmake/SwiftPM" + substitute ${./files/SwiftPMConfig.cmake} "''${!outputDev}/lib/cmake/SwiftPM/SwiftPMConfig.cmake" \ + --replace-fail '@buildType@' ${if stdenv.hostPlatform.isStatic then "STATIC" else "SHARED"} \ + --replace-fail '@dev@' "''${!outputDev}" \ + --replace-fail '@lib@' "''${!outputLib}" \ + --replace-fail '@swiftPlatform@' ${swiftPlatform} + '' + + lib.optionalString stdenv.hostPlatform.isDarwin '' + # Replace `@rpath` with absolute paths on Darwin. For some reason, this isn’t always done during installation. + # `fixDarwinDylibNames` doesn’t work either. + IFS= readarray -d "" dylibs < <(find "$out" -type f -and -name '*.dylib' -print0) + declare -a mappings + + for dylib in "''${dylibs[@]}"; do + mappings+=(-change "@rpath/$(basename "$dylib")" "$dylib") + done + + for dylib in "''${dylibs[@]}"; do + install_name_tool "$dylib" ''${mappings[@]} + done + '' + + lib.optionalString stdenv.hostPlatform.isElf '' + for output in "''${outputs[@]}"; do + while IFS= read -d "" f; do + if isELF "$f"; then + patchelf --add-rpath ${lib.escapeShellArg rpaths} "$f" + fi + done < <(find "$output" -type f -print0) + done + ''; passthru.tests = lib.packagesFromDirectoryRecursive { inherit callPackage; From fa06b4b91bff92dc69e14369e5472e10b2322256 Mon Sep 17 00:00:00 2001 From: Randy Eckenrode Date: Sun, 9 Aug 2026 08:38:12 -0400 Subject: [PATCH 2021/2378] swiftPackages.stdlib: migrate to `createToolchainStubsHook` --- .../swift/by-name/st/stdlib/package.nix | 71 +++++++++++-------- .../swift/by-name/sw/swift/package.nix | 1 - .../swift/by-name/sw/swiftc/package.nix | 4 +- 3 files changed, 44 insertions(+), 32 deletions(-) diff --git a/pkgs/development/compilers/swift/by-name/st/stdlib/package.nix b/pkgs/development/compilers/swift/by-name/st/stdlib/package.nix index 9d86e3a0e733..fe0c9da733f7 100644 --- a/pkgs/development/compilers/swift/by-name/st/stdlib/package.nix +++ b/pkgs/development/compilers/swift/by-name/st/stdlib/package.nix @@ -1,5 +1,6 @@ { lib, + createToolchainStubsHook, llvmPackages, llvmPackages_upstream, stdenv, @@ -34,6 +35,8 @@ in "dev" ]; + nativeBuildInputs = (old.nativeBuildInputs or [ ]) ++ [ createToolchainStubsHook ]; + cmakeFlags = # Only enable LTO for the stdlib. Remove it if it’s enabled for the tools. (lib.filter (flag: flag != toolLTO) (old.cmakeFlags or [ ])) @@ -57,7 +60,7 @@ in mv -v "''${!outputLib}/lib/swift/${swiftPlatform}"/*${libraryExtension} "''${!outputLib}/lib" # Install C++ interop libraries and headers - cp -v lib/swift/${swiftPlatform}/libswiftCxx*${stdenv.hostPlatform.extensions.staticLibrary} "''${!outputDev}/lib" + cp -v lib/swift/${swiftPlatform}/libswiftCxx*${stdenv.hostPlatform.extensions.staticLibrary} "''${!outputDev}/lib/swift/${swiftPlatform}" cp -rv lib/swift/${swiftPlatform}/Cxx*.swiftmodule "''${!outputDev}/lib/swift/${swiftPlatform}" mkdir -p "''${!outputDev}/include/swiftToCxx" @@ -80,44 +83,54 @@ in CLANG=${lib.escapeShellArg (lib.getExe' llvmPackages.clang.cc "clang")} "$LLVM_DIS" stdlib/public/Cxx/${lib.toUpper stdenv.hostPlatform.swift.platform}/${stdenv.hostPlatform.swift.arch}/Cxx.o -o Cxx.ll "$CLANG" -c Cxx.ll -o Cxx.o - "$AR" Drs "''${!outputDev}/lib/libswiftCxx.a" Cxx.o + "$AR" Drs "''${!outputDev}/lib/swift/${swiftPlatform}/libswiftCxx.a" Cxx.o "$LLVM_DIS" stdlib/public/Cxx/std/${lib.toUpper stdenv.hostPlatform.swift.platform}/${stdenv.hostPlatform.swift.arch}/CxxStdlib.o -o CxxStdlib.ll "$CLANG" -c CxxStdlib.ll -o CxxStdlib.o - "$AR" Drs "''${!outputDev}/lib/libswiftCxxStdlib.a" CxxStdlib.o + "$AR" Drs "''${!outputDev}/lib/swift/${swiftPlatform}/libswiftCxxStdlib.a" CxxStdlib.o '' + lib.optionalString stdenv.hostPlatform.isDarwin '' # Back-deployment libraries are installed as part of the compiler component, so install them manually. - cp -rv lib/swift/macosx/libswiftCompatibility*.a "''${!outputDev}/lib" + cp -rv lib/swift/${swiftPlatform}/libswiftCompatibility*.a "''${!outputDev}/lib/swift/${swiftPlatform}" # Install `Span`-compatibility back-deployment library. - mkdir -p "''${!outputLib}/lib/swift-6.2/macosx" - cp -v lib/swift-6.2/macosx/libswiftCompatibilitySpan.dylib "''${!outputLib}/lib/swift-6.2/macosx/libswiftCompatibilitySpan.dylib" + mkdir -p "''${!outputLib}/lib/swift-6.2/${swiftPlatform}" + cp -v lib/swift-6.2/${swiftPlatform}/libswiftCompatibilitySpan.dylib "''${!outputLib}/lib/swift-6.2/${swiftPlatform}/libswiftCompatibilitySpan.dylib" # macOS 26.4 dropped the Swift Differentiation dylibs. Use the one in the store instead of `/usr/lib/swift`. install_name_tool "''${!outputLib}/lib/libswift_Differentiation.dylib" -id "''${!outputLib}/lib/libswift_Differentiation.dylib" - - # Generate text-based stubs for the stdlib. Darwin links against the system library, so they aren’t necessary. - for dylib in "''${!outputLib}/lib/"*.dylib; do - dylibName=$(basename "$dylib" .dylib) - if [ "$dylibName" = "libswiftCompatibilitySpan" ]; then - # Follow the SDK, which symlinks `libswiftCompatibilitySpan.tbd` to `libswiftCore.tbd`. - ln -s libswiftCore.tbd "''${!outputDev}/lib/$dylibName.tbd" - else - ${lib.escapeShellArg (lib.getExe' llvmPackages_upstream.llvm "llvm-readtapi")} --filetype=tbd-v4 \ - "$dylib" -o "''${!outputDev}/lib/$dylibName.tbd" - fi - if [ "$dylibName" != "libswift_Differentiation" ]; then - rm "$dylib" - fi - done - - # The linker should be using the stubs in $dev, which will reference the dylibs in $lib. - # There’s no need to propagate it on Darwin. - rm -rf "''${!outputDev}/nix-support" - - # Clean up empty folders. - rmdir "''${!outputLib}/lib/swift/${swiftPlatform}" "''${!outputLib}/lib/swift" ''; - postFixup = null; + postFixup = + # Remove the dylibs from the stdlib. Darwin links against the system library, so they aren’t necessary. + # The exception is `libswift_Differentiation.dylib`, which macOS no longer ships in the dyld cache. + lib.optionalString stdenv.hostPlatform.isDarwin '' + for dylib in "''${!outputLib}/lib/"*.dylib; do + dylibName=$(basename "$dylib" .dylib) + case "$dylibName" in + libswift_Differentiation) + # Swift Differentiation needs to symlink the dylib to ensure that it can be imported in Swift scripts. + rm "''${!outputDev}/lib/swift/${swiftPlatform}/$dylibName.tbd" + ln -s "''${!outputLib}/lib/$dylibName.dylib" "''${!outputDev}/lib/swift/${swiftPlatform}/$dylibName.dylib" + ;; + libswiftCompatibilitySpan) + # Follow the SDK, which symlinks `libswiftCompatibilitySpan.tbd` to `libswiftCore.tbd`. + rm "''${!outputDev}/lib/swift/${swiftPlatform}/$dylibName.tbd" + ln -s libswiftCore.tbd "''${!outputDev}/lib/swift/${swiftPlatform}/$dylibName.tbd" + ;& # Fall through to remove the dylib. + *) + rm "$dylib" + # Copy the stubs back to $lib. This is needed for compatibility with packages that link Swift libraries + # directly without going through `swiftc` (mostly the source-based .NET builds). + cp "''${!outputDev}/lib/swift/${swiftPlatform}/$dylibName.tbd" "''${!outputLib}/lib/$dylibName.tbd" + ;; + esac + done + + # The linker should be using the stubs in $dev, which will reference the dylibs in $lib. + # There’s no need to propagate it on Darwin. + rm -rf "''${!outputDev}/nix-support" + + # Clean up empty folders. + rmdir "''${!outputLib}/lib/swift/${swiftPlatform}" "''${!outputLib}/lib/swift" + ''; }) diff --git a/pkgs/development/compilers/swift/by-name/sw/swift/package.nix b/pkgs/development/compilers/swift/by-name/sw/swift/package.nix index bc96a9cd7f91..535fbc1d4cd2 100644 --- a/pkgs/development/compilers/swift/by-name/sw/swift/package.nix +++ b/pkgs/development/compilers/swift/by-name/sw/swift/package.nix @@ -51,7 +51,6 @@ let ] ++ lib.optionals (stdlib != null) [ stdlib.dev - stdlib.out swiftc.dev ] ++ lib.optionals (swift-driver != null) [ diff --git a/pkgs/development/compilers/swift/by-name/sw/swiftc/package.nix b/pkgs/development/compilers/swift/by-name/sw/swiftc/package.nix index 38ad4216e247..469e752590d9 100644 --- a/pkgs/development/compilers/swift/by-name/sw/swiftc/package.nix +++ b/pkgs/development/compilers/swift/by-name/sw/swiftc/package.nix @@ -500,7 +500,7 @@ stdenv.mkDerivation (finalAttrs: { swiftBinaryDir=''${!outputBin} swiftIncludeDirs=$swiftcIncPath/include\;$stdlibIncPath/lib\;$stdlibIncPath/include\;$static/include - swiftLibraryDirs=$swiftcDevPath/lib\;$swiftcLibPath/lib\;$stdlibLibPath/lib\;$stdlibDevPath/lib + swiftLibraryDirs=$swiftcDevPath/lib\;$swiftcLibPath/lib\;$stdlibLibPath/lib\;$stdlibDevPath/lib/swift/${swiftPlatform} swiftArch=${stdenv.hostPlatform.swift.arch} swiftPlatform=${stdenv.hostPlatform.swift.platform} @@ -554,7 +554,7 @@ stdenv.mkDerivation (finalAttrs: { # one of several outputs belong to different derivations. sed -i "$static/lib/cmake/swift/SwiftExports.cmake" \ -e "s|IMPORTED_LOCATION_''${buildType^^} \"$buildDir/lib/swift/$swiftPlatform/$swiftArch/\(.*$sharedLibExt\)\"|IMPORTED_LOCATION_''${buildType^^} \"$stdlibLibPath/lib/\1\"|g" \ - -e "s|IMPORTED_LOCATION_''${buildType^^} \"$buildDir/lib/swift/$swiftPlatform/$swiftArch/\(.*$staticLibExt\)\"|IMPORTED_LOCATION_''${buildType^^} \"$stdlibDevPath/lib/\1\"|g" \ + -e "s|IMPORTED_LOCATION_''${buildType^^} \"$buildDir/lib/swift/$swiftPlatform/$swiftArch/\(.*$staticLibExt\)\"|IMPORTED_LOCATION_''${buildType^^} \"$stdlibDevPath//lib/swift/${swiftPlatform}/\1\"|g" \ -e "s|IMPORTED_LOCATION_''${buildType^^} \"$buildDir/lib/\(swift-[^/]*\)/$swiftPlatform/$swiftArch/\([^/\"]*\)\"|IMPORTED_LOCATION_''${buildType^^} \"$stdlibLibPath/lib/\1/\2\"|g" \ -e "s|IMPORTED_LOCATION_''${buildType^^} \"$buildDir/lib/swift/host/\(.*$sharedLibExt\)\"|IMPORTED_LOCATION_''${buildType^^} \"$swiftcLibPath/lib/swift/host/\1\"|g" \ -e "s|IMPORTED_LOCATION_''${buildType^^} \"$buildDir/lib/swift/host/\(.*$staticLibExt\)\"|IMPORTED_LOCATION_''${buildType^^} \"$swiftcDevPath/lib/swift/host/\1\"|g" \ From 2a044d64235444ee82f002b114ce3f79212309c5 Mon Sep 17 00:00:00 2001 From: Randy Eckenrode Date: Sun, 9 Aug 2026 08:38:12 -0400 Subject: [PATCH 2022/2378] swiftPackages.swift: drop swift-driver modules and libraries These are not included in the upstream toolchain, so exclude them from the Swift toolchain in Nixpkgs. --- pkgs/development/compilers/swift/by-name/sw/swift/package.nix | 2 -- 1 file changed, 2 deletions(-) diff --git a/pkgs/development/compilers/swift/by-name/sw/swift/package.nix b/pkgs/development/compilers/swift/by-name/sw/swift/package.nix index 535fbc1d4cd2..fab0f7588acc 100644 --- a/pkgs/development/compilers/swift/by-name/sw/swift/package.nix +++ b/pkgs/development/compilers/swift/by-name/sw/swift/package.nix @@ -55,8 +55,6 @@ let ] ++ lib.optionals (swift-driver != null) [ swift-driver.out - swift-driver.dev - swift-driver.lib ] ++ lib.optionals (stdenv.hostPlatform.isDarwin && swift-foundation != null) [ # Needed for FoundationMacros, which is otherwise not part of the SDK on Darwin. From 2243767faa2e76ce87a207d291c28464539ba1b7 Mon Sep 17 00:00:00 2001 From: Randy Eckenrode Date: Sun, 9 Aug 2026 08:38:12 -0400 Subject: [PATCH 2023/2378] swiftPackages.swift: symlink libclang for better toolchain compatibility Swift Build in particular expects to load libclang from the toolchain. --- pkgs/development/compilers/swift/by-name/sw/swift/package.nix | 3 +++ 1 file changed, 3 insertions(+) diff --git a/pkgs/development/compilers/swift/by-name/sw/swift/package.nix b/pkgs/development/compilers/swift/by-name/sw/swift/package.nix index fab0f7588acc..08b8be98d361 100644 --- a/pkgs/development/compilers/swift/by-name/sw/swift/package.nix +++ b/pkgs/development/compilers/swift/by-name/sw/swift/package.nix @@ -170,6 +170,9 @@ stdenv.mkDerivation (finalAttrs: { done fi + # Swift Build expects to find and load libclang from the toolchain. + ln -s ${lib.escapeShellArg (lib.getLib llvmPackages.libclang)}/lib/libclang${stdenv.hostPlatform.extensions.sharedLibrary} "$out/lib/libclang${stdenv.hostPlatform.extensions.sharedLibrary}" + # Propagated inputs in `$dev/nix-support` have to be substituted to use this derivation instead of swiftc. for f in "$out/nix-support/"*; do orig=$(readlink "$f") From 1030af91b92a4099a0f3babd1db72bebece2c93d Mon Sep 17 00:00:00 2001 From: Randy Eckenrode Date: Sun, 9 Aug 2026 08:38:12 -0400 Subject: [PATCH 2024/2378] swiftPackages.swift: improve rpaths hook compatibility with Swift Build Swift Build adds several rpaths to non-existent paths that add unwanted packages to the closure unless they are fixed or removed. --- .../swift/by-name/sw/swift/package.nix | 1 + .../swift/by-name/sw/swift/setup-hook.sh | 58 +++++++++++++++---- 2 files changed, 49 insertions(+), 10 deletions(-) diff --git a/pkgs/development/compilers/swift/by-name/sw/swift/package.nix b/pkgs/development/compilers/swift/by-name/sw/swift/package.nix index 08b8be98d361..283dfc34d5fb 100644 --- a/pkgs/development/compilers/swift/by-name/sw/swift/package.nix +++ b/pkgs/development/compilers/swift/by-name/sw/swift/package.nix @@ -193,6 +193,7 @@ stdenv.mkDerivation (finalAttrs: { --replace-fail @objdump@ ${lib.escapeShellArg (lib.getExe' llvmPackages_upstream.llvm "llvm-objdump")} \ --replace-fail @install_name_tool@ ${lib.escapeShellArg (lib.getExe' llvmPackages_upstream.llvm "llvm-install-name-tool")} \ --replace-fail @stdlibPath@ ${lib.escapeShellArg stdlib.out} \ + --replace-fail @store-dir@ ${lib.escapeShellArg builtins.storeDir} \ --replace-fail @swiftPath@ "$out" \ --replace-fail @swiftPlatform@ ${stdenv.hostPlatform.swift.platform} ''} diff --git a/pkgs/development/compilers/swift/by-name/sw/swift/setup-hook.sh b/pkgs/development/compilers/swift/by-name/sw/swift/setup-hook.sh index 1d82805dab7b..671964bbe719 100644 --- a/pkgs/development/compilers/swift/by-name/sw/swift/setup-hook.sh +++ b/pkgs/development/compilers/swift/by-name/sw/swift/setup-hook.sh @@ -1,27 +1,65 @@ fixSwiftRpathsIn() { local dir=$1 - local swiftPath=@swiftPath@/lib - local swiftPathForPlatform=@swiftPath@/lib/swift/@swiftPlatform@ + echo "fixing stdlib rpaths in $dir" + + local -a swiftPaths=( + @swiftPath@/lib/swift/@swiftPlatform@ + @swiftPath@/usr/lib/swift/@swiftPlatform@ + @swiftPath@/lib + @swiftPath@/usr/lib + ) local stdlibPath=@stdlibPath@/lib local f while IFS= read -d "" f; do if LC_ALL=C isMachO "$f"; then + local -a rpaths IFS= readarray -d $'\n' -t rpaths < <(@objdump@ --macho --rpaths "$f" | tail -n +2) + + local oldPath + local swiftPath for oldPath in "${rpaths[@]}"; do - local newPath=${oldPath/$swiftPathForPlatform/$stdlibPath} - newPath=${newPath/$swiftPath/$stdlibPath} - if [ "$newPath" != "$oldPath" ]; then + local newPath=$oldPath + for swiftPath in "${swiftPaths[@]}"; do + newPath=${newPath/$swiftPath/$stdlibPath} + done + + # Avoid depending on the SDK because this hook needs to work on Darwin and non-Darwin platforms. + # Swift Build 6.4 adds an rpath to the SDK, but we don’t have any backdeploy libraries there, + # so remove it to avoid pulling the SDK into any closure that needs to support backdeploying. + if [[ "$oldPath" =~ ^@store-dir@/[^-]*-apple-sdk-[0-9]+\.[0-9]+/Toolchains/XcodeDefault\.xctoolchain/usr/lib/swift[^/]*/macosx$ ]]; then + echo "deleting SDK rpath $oldPath" + @install_name_tool@ "$f" -delete_rpath "$oldPath" + elif [ "$newPath" != "$oldPath" ]; then + echo "$f: replacing toolchain rpath $oldPath with stdlib rpath $newPath" @install_name_tool@ "$f" -rpath "$oldPath" "$newPath" fi done elif isELF "$f"; then - local oldRpaths=$(@patchelf@ --print-rpath "$f") - local newRpaths=${oldRpaths/$swiftPathForPlatform/$stdlibPath} - newRpaths=${newRpaths/$swiftPath/$stdlibPath} - if [ "$newRpaths" != "$oldRpaths" ]; then - @patchelf@ --set-rpath "$newRpaths" "$f" + local -a rpaths + IFS= readarray -d ':' -t rpaths < <(patchelf --print-rpath "$f" | tr -d $'\n') + + # newRpaths will be built up as each rpath is examined because patchelf can’t patch only one at a time. + local -a newRpaths=() + + local oldPath + local swiftPath + for oldPath in "${rpaths[@]}"; do + local newPath=$oldPath + for swiftPath in "${swiftPaths[@]}"; do + newPath=${newPath/$swiftPath/$stdlibPath} + done + if [ "$newPath" != "$oldPath" ]; then + echo "$f: replacing toolchain rpath $oldPath with stdlib rpath $newPath" + newRpaths+=("$newPath") + else + newRpaths+=("$oldPath") + fi + done + + if [[ "${newRpaths[@]}" != "${rpaths[@]}" ]]; then + @patchelf@ --set-rpath "$(IFS=:; echo "${newRpaths[*]}")" "$f" fi fi done < <(find "$dir" -type f -print0) From 4458d317d8750c57ea48c5686458af9705d9f993 Mon Sep 17 00:00:00 2001 From: Randy Eckenrode Date: Sun, 9 Aug 2026 08:38:12 -0400 Subject: [PATCH 2025/2378] swiftPackages.swift-argument-parser: only define targets once --- .../files/ArgumentParserConfig.cmake | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/pkgs/development/compilers/swift/by-name/sw/swift-argument-parser/files/ArgumentParserConfig.cmake b/pkgs/development/compilers/swift/by-name/sw/swift-argument-parser/files/ArgumentParserConfig.cmake index d2fa30ba8493..5caf9b2bc86b 100644 --- a/pkgs/development/compilers/swift/by-name/sw/swift-argument-parser/files/ArgumentParserConfig.cmake +++ b/pkgs/development/compilers/swift/by-name/sw/swift-argument-parser/files/ArgumentParserConfig.cmake @@ -1,5 +1,7 @@ -add_library(ArgumentParser @buildType@ IMPORTED) -set_target_properties(ArgumentParser PROPERTIES - IMPORTED_LOCATION "@lib@/lib/${CMAKE_@buildType@_LIBRARY_PREFIX}ArgumentParser${CMAKE_@buildType@_LIBRARY_SUFFIX}" - INTERFACE_INCLUDE_DIRECTORIES "@include@/lib/swift/@swiftPlatform@;@include@/lib/swift_static/@swiftPlatform@" -) +if (NOT TARGET ArgumentParser) + add_library(ArgumentParser @buildType@ IMPORTED) + set_target_properties(ArgumentParser PROPERTIES + IMPORTED_LOCATION "@lib@/lib/${CMAKE_@buildType@_LIBRARY_PREFIX}ArgumentParser${CMAKE_@buildType@_LIBRARY_SUFFIX}" + INTERFACE_INCLUDE_DIRECTORIES "@include@/lib/swift/@swiftPlatform@;@include@/lib/swift_static/@swiftPlatform@" + ) +endif () From 292ebe566b77353db7399427bcd133c5c8a38b3e Mon Sep 17 00:00:00 2001 From: Randy Eckenrode Date: Sun, 9 Aug 2026 08:38:12 -0400 Subject: [PATCH 2026/2378] swiftPackages.swift-asn1: only define targets once --- .../sw/swift-asn1/files/SwiftASN1Config.cmake | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/pkgs/development/compilers/swift/by-name/sw/swift-asn1/files/SwiftASN1Config.cmake b/pkgs/development/compilers/swift/by-name/sw/swift-asn1/files/SwiftASN1Config.cmake index ddcb6b154d6d..20452a9fde2e 100644 --- a/pkgs/development/compilers/swift/by-name/sw/swift-asn1/files/SwiftASN1Config.cmake +++ b/pkgs/development/compilers/swift/by-name/sw/swift-asn1/files/SwiftASN1Config.cmake @@ -1,5 +1,7 @@ -add_library(SwiftASN1 @buildType@ IMPORTED) -set_target_properties(SwiftASN1 PROPERTIES - IMPORTED_LOCATION "@lib@/lib/${CMAKE_@buildType@_LIBRARY_PREFIX}SwiftASN1${CMAKE_@buildType@_LIBRARY_SUFFIX}" - INTERFACE_INCLUDE_DIRECTORIES "@include@/lib/swift/@swiftPlatform@" -) +if (NOT TARGET SwiftASN1) + add_library(SwiftASN1 @buildType@ IMPORTED) + set_target_properties(SwiftASN1 PROPERTIES + IMPORTED_LOCATION "@lib@/lib/${CMAKE_@buildType@_LIBRARY_PREFIX}SwiftASN1${CMAKE_@buildType@_LIBRARY_SUFFIX}" + INTERFACE_INCLUDE_DIRECTORIES "@include@/lib/swift/@swiftPlatform@" + ) +endif () From bb50badd188144d6da0e329ffc03a9dad2ca7395 Mon Sep 17 00:00:00 2001 From: Randy Eckenrode Date: Sun, 9 Aug 2026 08:38:12 -0400 Subject: [PATCH 2027/2378] swiftPackages.swift-build: only define targets once --- .../swift-build/files/SwiftBuildConfig.cmake | 21 +++++++++++-------- 1 file changed, 12 insertions(+), 9 deletions(-) diff --git a/pkgs/development/compilers/swift/by-name/sw/swift-build/files/SwiftBuildConfig.cmake b/pkgs/development/compilers/swift/by-name/sw/swift-build/files/SwiftBuildConfig.cmake index e3eccaa4f08b..373807f9ddb3 100644 --- a/pkgs/development/compilers/swift/by-name/sw/swift-build/files/SwiftBuildConfig.cmake +++ b/pkgs/development/compilers/swift/by-name/sw/swift-build/files/SwiftBuildConfig.cmake @@ -1,11 +1,14 @@ -add_library(SwiftBuild::SwiftBuild @buildType@ IMPORTED) -set_target_properties(SwiftBuild::SwiftBuild PROPERTIES - IMPORTED_LOCATION "@lib@/lib/${CMAKE_@buildType@_LIBRARY_PREFIX}SwiftBuild${CMAKE_@buildType@_LIBRARY_SUFFIX}" - INTERFACE_INCLUDE_DIRECTORIES "@include@/include;@include@/lib/swift/@swiftPlatform@" +set(SwiftBuildModules + SwiftBuild + SWBBuildService ) -add_library(SwiftBuild::SWBBuildService @buildType@ IMPORTED) -set_target_properties(SwiftBuild::SWBBuildService PROPERTIES - IMPORTED_LOCATION "@lib@/lib/${CMAKE_@buildType@_LIBRARY_PREFIX}SWBBuildService${CMAKE_@buildType@_LIBRARY_SUFFIX}" - INTERFACE_INCLUDE_DIRECTORIES "@include@/include;@include@/lib/swift/@swiftPlatform@" -) +foreach (SwiftBuildModule ${SwiftBuildModules}) + if (NOT TARGET SwiftBuild::${SwiftBuildModule}) + add_library(SwiftBuild::${SwiftBuildModule} @buildType@ IMPORTED) + set_target_properties(SwiftBuild::${SwiftBuildModule} PROPERTIES + IMPORTED_LOCATION "@lib@/lib/${CMAKE_@buildType@_LIBRARY_PREFIX}${SwiftBuildModule}${CMAKE_@buildType@_LIBRARY_SUFFIX}" + INTERFACE_INCLUDE_DIRECTORIES "@include@/include;@include@/lib/swift/@swiftPlatform@" + ) + endif () +endforeach () From 4472405692a660530069fa7349ef9865ec078fbf Mon Sep 17 00:00:00 2001 From: Randy Eckenrode Date: Sun, 9 Aug 2026 08:38:12 -0400 Subject: [PATCH 2028/2378] swiftPackages.swift-certificates: only define targets once --- .../files/SwiftCertificatesConfig.cmake | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/pkgs/development/compilers/swift/by-name/sw/swift-certificates/files/SwiftCertificatesConfig.cmake b/pkgs/development/compilers/swift/by-name/sw/swift-certificates/files/SwiftCertificatesConfig.cmake index 702338ff038b..b507732e0973 100644 --- a/pkgs/development/compilers/swift/by-name/sw/swift-certificates/files/SwiftCertificatesConfig.cmake +++ b/pkgs/development/compilers/swift/by-name/sw/swift-certificates/files/SwiftCertificatesConfig.cmake @@ -1,5 +1,7 @@ -add_library(X509 @buildType@ IMPORTED) -set_target_properties(X509 PROPERTIES - IMPORTED_LOCATION "@lib@/lib/${CMAKE_@buildType@_LIBRARY_PREFIX}X509${CMAKE_@buildType@_LIBRARY_SUFFIX}" - INTERFACE_INCLUDE_DIRECTORIES "@include@/lib/swift/@swiftPlatform@" -) +if (NOT TARGET X509) + add_library(X509 @buildType@ IMPORTED) + set_target_properties(X509 PROPERTIES + IMPORTED_LOCATION "@lib@/lib/${CMAKE_@buildType@_LIBRARY_PREFIX}X509${CMAKE_@buildType@_LIBRARY_SUFFIX}" + INTERFACE_INCLUDE_DIRECTORIES "@include@/lib/swift/@swiftPlatform@" + ) +endif () From 6f22a26dbbee0c90585432463625e5f5a4d05e39 Mon Sep 17 00:00:00 2001 From: Randy Eckenrode Date: Sun, 9 Aug 2026 08:38:12 -0400 Subject: [PATCH 2029/2378] swiftPackages.swift-collections: only define targets once --- .../files/SwiftCollectionsConfig.cmake | 38 ++++++++++--------- 1 file changed, 20 insertions(+), 18 deletions(-) diff --git a/pkgs/development/compilers/swift/by-name/sw/swift-collections/files/SwiftCollectionsConfig.cmake b/pkgs/development/compilers/swift/by-name/sw/swift-collections/files/SwiftCollectionsConfig.cmake index 6847ed976e5c..31bb4118181b 100644 --- a/pkgs/development/compilers/swift/by-name/sw/swift-collections/files/SwiftCollectionsConfig.cmake +++ b/pkgs/development/compilers/swift/by-name/sw/swift-collections/files/SwiftCollectionsConfig.cmake @@ -1,21 +1,23 @@ set(CollectionModules - _RopeModule - BasicContainers - BitCollections - Collections - ContainersPreview - DequeModule - HashTreeCollections - HeapModule - InternalCollectionsUtilities - OrderedCollections - TrailingElementsModule + _RopeModule + BasicContainers + BitCollections + Collections + ContainersPreview + DequeModule + HashTreeCollections + HeapModule + InternalCollectionsUtilities + OrderedCollections + TrailingElementsModule ) -foreach(CollectionModule ${CollectionModules}) - add_library(SwiftCollections::${CollectionModule} @buildType@ IMPORTED) - set_target_properties(SwiftCollections::${CollectionModule} PROPERTIES - IMPORTED_LOCATION "@lib@/lib/${CMAKE_@buildType@_LIBRARY_PREFIX}${CollectionModule}${CMAKE_@buildType@_LIBRARY_SUFFIX}" - INTERFACE_INCLUDE_DIRECTORIES "@include@/lib/swift/@swiftPlatform@" - ) -endforeach() +foreach (CollectionModule ${CollectionModules}) + if (NOT TARGET SwiftCollections::${CollectionModule}) + add_library(SwiftCollections::${CollectionModule} @buildType@ IMPORTED) + set_target_properties(SwiftCollections::${CollectionModule} PROPERTIES + IMPORTED_LOCATION "@lib@/lib/${CMAKE_@buildType@_LIBRARY_PREFIX}${CollectionModule}${CMAKE_@buildType@_LIBRARY_SUFFIX}" + INTERFACE_INCLUDE_DIRECTORIES "@include@/lib/swift/@swiftPlatform@" + ) + endif () +endforeach () From 2ddbb2690d052e30a1fd9e094232eb4ed01053c7 Mon Sep 17 00:00:00 2001 From: Randy Eckenrode Date: Sun, 9 Aug 2026 08:38:12 -0400 Subject: [PATCH 2030/2378] swiftPackages.swift-corelibs-foundation: only define targets once --- .../files/FoundationConfig.cmake | 40 ++++++++----------- 1 file changed, 17 insertions(+), 23 deletions(-) diff --git a/pkgs/development/compilers/swift/by-name/sw/swift-corelibs-foundation/files/FoundationConfig.cmake b/pkgs/development/compilers/swift/by-name/sw/swift-corelibs-foundation/files/FoundationConfig.cmake index 159354b71c3e..f96c1153e4a1 100644 --- a/pkgs/development/compilers/swift/by-name/sw/swift-corelibs-foundation/files/FoundationConfig.cmake +++ b/pkgs/development/compilers/swift/by-name/sw/swift-corelibs-foundation/files/FoundationConfig.cmake @@ -1,25 +1,19 @@ -if (NOT TARGET _FoundationICU) - find_package(_FoundationICU) -endif () +find_package(_FoundationICU) +find_package(SwiftCollections) +find_package(SwiftFoundation) -if (NOT TARGET SwiftCollections::_RopeModule) - find_package(SwiftCollections) +if (NOT TARGET Foundation) + add_library(Foundation @buildType@ IMPORTED) + set_target_properties(Foundation PROPERTIES + IMPORTED_LOCATION "@lib@/lib/${CMAKE_@buildType@_LIBRARY_PREFIX}Foundation${CMAKE_@buildType@_LIBRARY_SUFFIX}" + INTERFACE_INCLUDE_DIRECTORIES "@dev@/lib/swift;@dev@/lib/swift/@swiftPlatform@" + ) + target_link_libraries(FoundationEssentials INTERFACE + _FoundationICU + FoundationEssentials + FoundationInternationalization + SwiftCollections::_RopeModule + SwiftCollections::InternalCollectionsUtilities + SwiftCollections::OrderedCollections + ) endif () - -if (NOT TARGET FoundationEssentials) - find_package(SwiftFoundation) -endif () - -add_library(Foundation @buildType@ IMPORTED) -set_target_properties(Foundation PROPERTIES - IMPORTED_LOCATION "@lib@/lib/${CMAKE_@buildType@_LIBRARY_PREFIX}Foundation${CMAKE_@buildType@_LIBRARY_SUFFIX}" - INTERFACE_INCLUDE_DIRECTORIES "@dev@/lib/swift;@dev@/lib/swift/@swiftPlatform@" -) -target_link_libraries(FoundationEssentials INTERFACE - _FoundationICU - FoundationEssentials - FoundationInternationalization - SwiftCollections::_RopeModule - SwiftCollections::InternalCollectionsUtilities - SwiftCollections::OrderedCollections -) From 92c331d7071de6016741d5b8d723b8205aa747dd Mon Sep 17 00:00:00 2001 From: Randy Eckenrode Date: Sun, 9 Aug 2026 08:38:12 -0400 Subject: [PATCH 2031/2378] swiftPackages.swift-corelibs-foundation: migrate to `createToolchainStubsHook` --- .../swift/by-name/sw/swift-corelibs-foundation/package.nix | 2 ++ pkgs/development/compilers/swift/by-name/sw/swift/package.nix | 1 - 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/pkgs/development/compilers/swift/by-name/sw/swift-corelibs-foundation/package.nix b/pkgs/development/compilers/swift/by-name/sw/swift-corelibs-foundation/package.nix index 3e544bb2cbcd..b95d9de2145b 100644 --- a/pkgs/development/compilers/swift/by-name/sw/swift-corelibs-foundation/package.nix +++ b/pkgs/development/compilers/swift/by-name/sw/swift-corelibs-foundation/package.nix @@ -1,6 +1,7 @@ { lib, cmake, + createToolchainStubsHook, curl, fetchFromGitHub, libxml2, @@ -43,6 +44,7 @@ stdenv.mkDerivation (finalAttrs: { nativeBuildInputs = [ cmake + createToolchainStubsHook ninja swift-minimal ]; diff --git a/pkgs/development/compilers/swift/by-name/sw/swift/package.nix b/pkgs/development/compilers/swift/by-name/sw/swift/package.nix index 283dfc34d5fb..e471ca886379 100644 --- a/pkgs/development/compilers/swift/by-name/sw/swift/package.nix +++ b/pkgs/development/compilers/swift/by-name/sw/swift/package.nix @@ -68,7 +68,6 @@ let swift-corelibs-libdispatch-no-overlay.dev ] ++ lib.optionals (swift-foundation != null) [ - swift-corelibs-foundation.out swift-corelibs-foundation.dev swift-foundation-icu.out swift-foundation.dev From 29179eff391e947558709b455dd0165181a7f2ae Mon Sep 17 00:00:00 2001 From: Randy Eckenrode Date: Sun, 9 Aug 2026 08:38:12 -0400 Subject: [PATCH 2032/2378] swiftPackages.swift-corelibs-foundation: migrate to `fixUnhelpfulCmakeRpathsHook` --- .../sw/swift-corelibs-foundation/package.nix | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/pkgs/development/compilers/swift/by-name/sw/swift-corelibs-foundation/package.nix b/pkgs/development/compilers/swift/by-name/sw/swift-corelibs-foundation/package.nix index b95d9de2145b..62d189031707 100644 --- a/pkgs/development/compilers/swift/by-name/sw/swift-corelibs-foundation/package.nix +++ b/pkgs/development/compilers/swift/by-name/sw/swift-corelibs-foundation/package.nix @@ -3,7 +3,9 @@ cmake, createToolchainStubsHook, curl, + darwin, fetchFromGitHub, + fixUnhelpfulCmakeRpathsHook, libxml2, ninja, stdenv, @@ -45,6 +47,7 @@ stdenv.mkDerivation (finalAttrs: { nativeBuildInputs = [ cmake createToolchainStubsHook + fixUnhelpfulCmakeRpathsHook ninja swift-minimal ]; @@ -68,10 +71,10 @@ stdenv.mkDerivation (finalAttrs: { --replace-fail '@lib@' "''${!outputLib}" \ --replace-fail '@swiftPlatform@' ${stdenv.hostPlatform.swift.platform} '' + # Make sure swift-corelibs-foundation has an rpath pointing at the stdlib (since it is installed outside of it) + # as well as to Dispatch and Swift Foundation. Also do the same for `plutil`. + lib.optionalString (stdenv.hostPlatform.isElf && !stdenv.hostPlatform.isStatic) '' - # Make sure swift-corelibs-foundation has an rpath pointing at the stdlib (since it is installed outside of it) - # as well as to Dispatch and Swift Foundation. Also do the same for `plutil`. - for f in "$out/bin/plutil" "$out/lib/libFoundation${stdenv.hostPlatform.extensions.sharedLibrary}"; do + for f in "$out/bin/plutil" "$out/lib"/*${stdenv.hostPlatform.extensions.sharedLibrary}; do patchelf --add-rpath ${ lib.escapeShellArg ( lib.makeSearchPathOutput "out" "lib/swift/${stdenv.hostPlatform.swift.platform}" [ swift-minimal ] @@ -80,6 +83,9 @@ stdenv.mkDerivation (finalAttrs: { patchelf --add-rpath ${ lib.escapeShellArg ( lib.makeLibraryPath [ + curl + darwin.ICU + libxml2 # Need both for the Swift and non-Swift shared libraries swift-corelibs-libdispatch (swift-corelibs-libdispatch.override { useSwift = false; }) @@ -88,12 +94,6 @@ stdenv.mkDerivation (finalAttrs: { ) } "$f" done - patchelf --add-rpath ${ - lib.escapeShellArg (lib.makeLibraryPath [ curl ]) - } "$out/lib/libFoundationNetworking${stdenv.hostPlatform.extensions.sharedLibrary}" - patchelf --add-rpath ${ - lib.escapeShellArg (lib.makeLibraryPath [ libxml2 ]) - } "$out/lib/libFoundationXML${stdenv.hostPlatform.extensions.sharedLibrary}" ''; inherit doInstallCheck; From 510f1fbc3068a650763a26e6f1111e4a791fc88d Mon Sep 17 00:00:00 2001 From: Randy Eckenrode Date: Sun, 9 Aug 2026 08:38:12 -0400 Subject: [PATCH 2033/2378] swiftPackages.swift-corelibs-libdispatch: only define targets once --- .../files/dispatchConfig.cmake | 41 +++++++++++-------- 1 file changed, 23 insertions(+), 18 deletions(-) diff --git a/pkgs/development/compilers/swift/by-name/sw/swift-corelibs-libdispatch/files/dispatchConfig.cmake b/pkgs/development/compilers/swift/by-name/sw/swift-corelibs-libdispatch/files/dispatchConfig.cmake index 514017631268..972ee66dcb1b 100644 --- a/pkgs/development/compilers/swift/by-name/sw/swift-corelibs-libdispatch/files/dispatchConfig.cmake +++ b/pkgs/development/compilers/swift/by-name/sw/swift-corelibs-libdispatch/files/dispatchConfig.cmake @@ -1,20 +1,25 @@ -add_library(BlocksRuntime @buildType@ IMPORTED) -set_target_properties(BlocksRuntime PROPERTIES - IMPORTED_LOCATION "@lib@/lib/${CMAKE_@buildType@_LIBRARY_PREFIX}BlocksRuntime${CMAKE_@buildType@_LIBRARY_SUFFIX}" -) +if (NOT TARGET BlocksRuntime) + add_library(BlocksRuntime @buildType@ IMPORTED) + set_target_properties(BlocksRuntime PROPERTIES + IMPORTED_LOCATION "@lib@/lib/${CMAKE_@buildType@_LIBRARY_PREFIX}BlocksRuntime${CMAKE_@buildType@_LIBRARY_SUFFIX}" + ) +endif () -add_library(dispatch @buildType@ IMPORTED) -set_target_properties(dispatch PROPERTIES - IMPORTED_LOCATION "@lib@/lib/${CMAKE_@buildType@_LIBRARY_PREFIX}dispatch${CMAKE_@buildType@_LIBRARY_SUFFIX}" -) +if (NOT TARGET dispatch) + add_library(dispatch @buildType@ IMPORTED) + set_target_properties(dispatch PROPERTIES + IMPORTED_LOCATION "@lib@/lib/${CMAKE_@buildType@_LIBRARY_PREFIX}dispatch${CMAKE_@buildType@_LIBRARY_SUFFIX}" + ) + set_target_properties(dispatch PROPERTIES + INTERFACE_INCLUDE_DIRECTORIES "@dev@/include" + INTERFACE_LINK_LIBRARIES "BlocksRuntime" + ) +endif () -set_target_properties(dispatch PROPERTIES - INTERFACE_INCLUDE_DIRECTORIES "@dev@/include" - INTERFACE_LINK_LIBRARIES "BlocksRuntime" -) - -add_library(swiftDispatch @buildType@ IMPORTED) -set_target_properties(swiftDispatch PROPERTIES - IMPORTED_LOCATION "@out-swift@/lib/${CMAKE_@buildType@_LIBRARY_PREFIX}swiftDispatch${CMAKE_@buildType@_LIBRARY_SUFFIX}" - INTERFACE_INCLUDE_DIRECTORIES "@dev-swift@/lib/swift;@dev-swift@/lib/swift/@swiftPlatform@" -) +if (NOT TARGET swiftDispatch) + add_library(swiftDispatch @buildType@ IMPORTED) + set_target_properties(swiftDispatch PROPERTIES + IMPORTED_LOCATION "@out-swift@/lib/${CMAKE_@buildType@_LIBRARY_PREFIX}swiftDispatch${CMAKE_@buildType@_LIBRARY_SUFFIX}" + INTERFACE_INCLUDE_DIRECTORIES "@dev-swift@/lib/swift;@dev-swift@/lib/swift/@swiftPlatform@" + ) +endif () From eab89e7c58f3ffb9646fb737d055471435ccb30c Mon Sep 17 00:00:00 2001 From: Randy Eckenrode Date: Sun, 9 Aug 2026 08:38:12 -0400 Subject: [PATCH 2034/2378] swiftPackages.swift-crypto: only define targets once --- .../sw/swift-crypto/files/SwiftCryptoConfig.cmake | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/pkgs/development/compilers/swift/by-name/sw/swift-crypto/files/SwiftCryptoConfig.cmake b/pkgs/development/compilers/swift/by-name/sw/swift-crypto/files/SwiftCryptoConfig.cmake index b7a7b36566f7..b365e4b3feaf 100644 --- a/pkgs/development/compilers/swift/by-name/sw/swift-crypto/files/SwiftCryptoConfig.cmake +++ b/pkgs/development/compilers/swift/by-name/sw/swift-crypto/files/SwiftCryptoConfig.cmake @@ -1,5 +1,7 @@ -add_library(Crypto @buildType@ IMPORTED) -set_target_properties(Crypto PROPERTIES - IMPORTED_LOCATION "@lib@/lib/${CMAKE_@buildType@_LIBRARY_PREFIX}Crypto${CMAKE_@buildType@_LIBRARY_SUFFIX}" - INTERFACE_INCLUDE_DIRECTORIES "@include@/lib/swift/@swiftPlatform@;@include@/lib/swift_static/@swiftPlatform@" -) +if (NOT TARGET Crypto) + add_library(Crypto @buildType@ IMPORTED) + set_target_properties(Crypto PROPERTIES + IMPORTED_LOCATION "@lib@/lib/${CMAKE_@buildType@_LIBRARY_PREFIX}Crypto${CMAKE_@buildType@_LIBRARY_SUFFIX}" + INTERFACE_INCLUDE_DIRECTORIES "@include@/lib/swift/@swiftPlatform@;@include@/lib/swift_static/@swiftPlatform@" + ) +endif () From e2beac5dab4e5dadc136072373bb67bbe806b75a Mon Sep 17 00:00:00 2001 From: Randy Eckenrode Date: Sun, 9 Aug 2026 08:38:12 -0400 Subject: [PATCH 2035/2378] swiftPackages.swift-driver: only define targets once --- .../sw/swift-driver/files/SwiftDriverConfig.cmake | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/pkgs/development/compilers/swift/by-name/sw/swift-driver/files/SwiftDriverConfig.cmake b/pkgs/development/compilers/swift/by-name/sw/swift-driver/files/SwiftDriverConfig.cmake index 02cc584e3d9e..58185dedb1fb 100644 --- a/pkgs/development/compilers/swift/by-name/sw/swift-driver/files/SwiftDriverConfig.cmake +++ b/pkgs/development/compilers/swift/by-name/sw/swift-driver/files/SwiftDriverConfig.cmake @@ -1,5 +1,7 @@ -add_library(SwiftDriver @buildType@ IMPORTED) -set_target_properties(SwiftDriver PROPERTIES - IMPORTED_LOCATION "@lib@/lib/${CMAKE_@buildType@_LIBRARY_PREFIX}SwiftDriver${CMAKE_@buildType@_LIBRARY_SUFFIX}" - INTERFACE_INCLUDE_DIRECTORIES "@dev@/lib/swift/@swiftPlatform@" -) +if (NOT TARGET SwiftDriver) + add_library(SwiftDriver @buildType@ IMPORTED) + set_target_properties(SwiftDriver PROPERTIES + IMPORTED_LOCATION "@lib@/lib/${CMAKE_@buildType@_LIBRARY_PREFIX}SwiftDriver${CMAKE_@buildType@_LIBRARY_SUFFIX}" + INTERFACE_INCLUDE_DIRECTORIES "@dev@/lib/swift/@swiftPlatform@" + ) +endif () From d02038430a2ab6a3552bb0aaa065d395991852f9 Mon Sep 17 00:00:00 2001 From: Randy Eckenrode Date: Sun, 9 Aug 2026 08:38:12 -0400 Subject: [PATCH 2036/2378] swiftPackages.swift-driver: drop toolchain stdlib patch Now that the stubs and shared libraries are in the standard location in the toolchain, this patch is unnecessary. --- .../swift/by-name/sw/swift-driver/package.nix | 2 -- ...-the-repl-find-the-stdlib-in-Nixpkgs.patch | 30 ------------------- 2 files changed, 32 deletions(-) delete mode 100644 pkgs/development/compilers/swift/by-name/sw/swift-driver/patches/0004-Help-the-repl-find-the-stdlib-in-Nixpkgs.patch diff --git a/pkgs/development/compilers/swift/by-name/sw/swift-driver/package.nix b/pkgs/development/compilers/swift/by-name/sw/swift-driver/package.nix index 683e923f374d..8dcaa8c0d8da 100644 --- a/pkgs/development/compilers/swift/by-name/sw/swift-driver/package.nix +++ b/pkgs/development/compilers/swift/by-name/sw/swift-driver/package.nix @@ -46,8 +46,6 @@ stdenv.mkDerivation (finalAttrs: { # Align Swift Driver’s subcommand lookup behavior with the legacy/C++ frontend. Nixpkgs needs this because it # builds and installs SwiftPM separately from the rest of the Swift toolchain. Otherwise, `swift build` will fail. ./patches/0003-Search-PATH-for-subcommands.patch - # The stdlib is located at the top-level `lib` folder in the toolchain in Nixpkgs. Help `swift repl` find it there. - ./patches/0004-Help-the-repl-find-the-stdlib-in-Nixpkgs.patch ]; strictDeps = true; diff --git a/pkgs/development/compilers/swift/by-name/sw/swift-driver/patches/0004-Help-the-repl-find-the-stdlib-in-Nixpkgs.patch b/pkgs/development/compilers/swift/by-name/sw/swift-driver/patches/0004-Help-the-repl-find-the-stdlib-in-Nixpkgs.patch deleted file mode 100644 index eab86d85e61d..000000000000 --- a/pkgs/development/compilers/swift/by-name/sw/swift-driver/patches/0004-Help-the-repl-find-the-stdlib-in-Nixpkgs.patch +++ /dev/null @@ -1,30 +0,0 @@ -From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001 -From: Randy Eckenrode -Date: Mon, 7 Sep 2026 19:24:08 -0400 -Subject: [PATCH 4/4] Help the repl find the stdlib in Nixpkgs - -The stdlib is located at `lib` instead of `lib/swift/`, but -`swift repl` only searches the latter for it. ---- - Sources/SwiftDriver/Jobs/ReplJob.swift | 5 +++++ - 1 file changed, 5 insertions(+) - -diff --git a/Sources/SwiftDriver/Jobs/ReplJob.swift b/Sources/SwiftDriver/Jobs/ReplJob.swift -index e7ff7999..d3f75ff2 100644 ---- a/Sources/SwiftDriver/Jobs/ReplJob.swift -+++ b/Sources/SwiftDriver/Jobs/ReplJob.swift -@@ -25,6 +25,11 @@ extension Driver { - ) - try commandLine.appendAll(.framework, .L, from: &parsedOptions) - -+ // Nixpkgs puts Swift libraries in `lib` instead of `lib/swift/`. Help `swift repl` find the stdlib there. -+ let toolchainPath = try toolchain.resolvedTool(.swiftCompiler).path.parentDirectory.parentDirectory -+ let libPath = toolchainPath.appending(component: "lib") -+ commandLine.append(contentsOf: [.flag("-L"), .path(.absolute(libPath))]) -+ - // Squash important frontend options into a single argument for LLDB. - let lldbCommandLine: [Job.ArgTemplate] = [.squashedArgumentList(option: "--repl=", args: commandLine)] - return Job( --- -2.54.0 - From 82bb5feaceafc9952d2a41314175fd81263bc528 Mon Sep 17 00:00:00 2001 From: Randy Eckenrode Date: Sun, 9 Aug 2026 08:38:12 -0400 Subject: [PATCH 2037/2378] swiftPackages.swift-corelibs-libdispatch: migrate to `createToolchainStubsHook` --- .../sw/swift-corelibs-libdispatch/package.nix | 13 +++++++++++-- .../compilers/swift/by-name/sw/swift/package.nix | 2 -- 2 files changed, 11 insertions(+), 4 deletions(-) diff --git a/pkgs/development/compilers/swift/by-name/sw/swift-corelibs-libdispatch/package.nix b/pkgs/development/compilers/swift/by-name/sw/swift-corelibs-libdispatch/package.nix index 997f1ca98120..2b68d7455f7f 100644 --- a/pkgs/development/compilers/swift/by-name/sw/swift-corelibs-libdispatch/package.nix +++ b/pkgs/development/compilers/swift/by-name/sw/swift-corelibs-libdispatch/package.nix @@ -1,6 +1,7 @@ { lib, cmake, + createToolchainStubsHook, fetchFromGitHub, lld, ninja, @@ -27,6 +28,8 @@ let lib.escapeShellArg (lib.getDev swift-corelibs-libdispatch-no-overlay) else placeholder "dev"; + + swiftPlatform = stdenv.hostPlatform.swift.platform; in stdenv.mkDerivation (finalAttrs: { @@ -70,7 +73,10 @@ stdenv.mkDerivation (finalAttrs: { cmake ninja ] - ++ lib.optionals useSwift [ swift-minimal ] + ++ lib.optionals useSwift [ + createToolchainStubsHook + swift-minimal + ] ++ lib.optionals stdenv.hostPlatform.isWindows [ lld ]; postInstall = '' @@ -82,7 +88,7 @@ stdenv.mkDerivation (finalAttrs: { mkdir -p "''${!outputDev}/lib/cmake/dispatch" substitute ${./files/dispatchConfig.cmake} "''${!outputDev}/lib/cmake/dispatch/dispatchConfig.cmake" \ --replace-fail '@buildType@' ${if stdenv.hostPlatform.isStatic then "STATIC" else "SHARED"} \ - --replace-fail '@swiftPlatform@' ${stdenv.hostPlatform.swift.platform} \ + --replace-fail '@swiftPlatform@' ${swiftPlatform} \ --replace-fail '@lib@' ${swift-corelibs-libdispatch-no-overlay-lib} \ --replace-fail '@dev@' ${swift-corelibs-libdispatch-no-overlay-dev} \ --replace-fail '@out-swift@' "$out" \ @@ -106,6 +112,9 @@ stdenv.mkDerivation (finalAttrs: { + lib.optionalString stdenv.hostPlatform.isElf '' dylib="''${!outputLib}/lib/libswiftDispatch${stdenv.hostPlatform.extensions.sharedLibrary}" patchelf --add-rpath ${swift-corelibs-libdispatch-no-overlay-lib}/lib "$dylib" + + # Link libdispatch and libBlocksRuntime into the toolchain because it’s expected to be there. + ln -s ${swift-corelibs-libdispatch-no-overlay-lib}/lib/* "''${!outputDev}/lib/swift/${swiftPlatform}" '' ); diff --git a/pkgs/development/compilers/swift/by-name/sw/swift/package.nix b/pkgs/development/compilers/swift/by-name/sw/swift/package.nix index e471ca886379..9f5156f440b8 100644 --- a/pkgs/development/compilers/swift/by-name/sw/swift/package.nix +++ b/pkgs/development/compilers/swift/by-name/sw/swift/package.nix @@ -62,9 +62,7 @@ let ] ++ lib.optionals (!stdenv.hostPlatform.isDarwin) ( lib.optionals (swift-corelibs-libdispatch != null) [ - swift-corelibs-libdispatch.out swift-corelibs-libdispatch.dev - swift-corelibs-libdispatch-no-overlay.out swift-corelibs-libdispatch-no-overlay.dev ] ++ lib.optionals (swift-foundation != null) [ From 21c9fd3be4c88ed343687b4861a3fd8cd6200668 Mon Sep 17 00:00:00 2001 From: Randy Eckenrode Date: Sun, 9 Aug 2026 08:38:12 -0400 Subject: [PATCH 2038/2378] swiftPackages.swift-corelibs-libdispatch: migrate to `fixUnhelpfulCmakeRpathsHook` --- .../swift/by-name/sw/swift-corelibs-libdispatch/package.nix | 2 ++ 1 file changed, 2 insertions(+) diff --git a/pkgs/development/compilers/swift/by-name/sw/swift-corelibs-libdispatch/package.nix b/pkgs/development/compilers/swift/by-name/sw/swift-corelibs-libdispatch/package.nix index 2b68d7455f7f..e98c8ffb4f7f 100644 --- a/pkgs/development/compilers/swift/by-name/sw/swift-corelibs-libdispatch/package.nix +++ b/pkgs/development/compilers/swift/by-name/sw/swift-corelibs-libdispatch/package.nix @@ -3,6 +3,7 @@ cmake, createToolchainStubsHook, fetchFromGitHub, + fixUnhelpfulCmakeRpathsHook, lld, ninja, patchesForVersion, @@ -71,6 +72,7 @@ stdenv.mkDerivation (finalAttrs: { nativeBuildInputs = [ cmake + fixUnhelpfulCmakeRpathsHook ninja ] ++ lib.optionals useSwift [ From 03390688a4b613d22df1eb53ff37c13470a09d95 Mon Sep 17 00:00:00 2001 From: Randy Eckenrode Date: Sun, 9 Aug 2026 08:38:12 -0400 Subject: [PATCH 2039/2378] swiftPackages.swift-corelibs-xctest: migrate to `createToolchainStubsHook` --- .../swift/by-name/sw/swift-corelibs-xctest/package.nix | 2 ++ pkgs/development/compilers/swift/by-name/sw/swift/package.nix | 1 - 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/pkgs/development/compilers/swift/by-name/sw/swift-corelibs-xctest/package.nix b/pkgs/development/compilers/swift/by-name/sw/swift-corelibs-xctest/package.nix index 7c5310b501cd..9d1841a4a44f 100644 --- a/pkgs/development/compilers/swift/by-name/sw/swift-corelibs-xctest/package.nix +++ b/pkgs/development/compilers/swift/by-name/sw/swift-corelibs-xctest/package.nix @@ -1,6 +1,7 @@ { lib, cmake, + createToolchainStubsHook, fetchFromGitHub, ninja, stdenv, @@ -51,6 +52,7 @@ stdenv.mkDerivation (finalAttrs: { nativeBuildInputs = [ cmake + createToolchainStubsHook ninja swift ]; diff --git a/pkgs/development/compilers/swift/by-name/sw/swift/package.nix b/pkgs/development/compilers/swift/by-name/sw/swift/package.nix index 9f5156f440b8..8b15b663e3c4 100644 --- a/pkgs/development/compilers/swift/by-name/sw/swift/package.nix +++ b/pkgs/development/compilers/swift/by-name/sw/swift/package.nix @@ -45,7 +45,6 @@ let ] ++ lib.optionals includeTesting [ swift-corelibs-xctest.dev - swift-corelibs-xctest.out swift-testing.dev swift-testing.out ] From 759a3ed6b9c71d56869ce09745efe56d7cc1a4dc Mon Sep 17 00:00:00 2001 From: Randy Eckenrode Date: Sun, 9 Aug 2026 08:38:12 -0400 Subject: [PATCH 2040/2378] swiftPackages.swift-corelibs-xctest: migrate to `fixUnhelpfulCmakeRpathsHook` --- .../swift/by-name/sw/swift-corelibs-xctest/package.nix | 2 ++ 1 file changed, 2 insertions(+) diff --git a/pkgs/development/compilers/swift/by-name/sw/swift-corelibs-xctest/package.nix b/pkgs/development/compilers/swift/by-name/sw/swift-corelibs-xctest/package.nix index 9d1841a4a44f..46052b9c4015 100644 --- a/pkgs/development/compilers/swift/by-name/sw/swift-corelibs-xctest/package.nix +++ b/pkgs/development/compilers/swift/by-name/sw/swift-corelibs-xctest/package.nix @@ -3,6 +3,7 @@ cmake, createToolchainStubsHook, fetchFromGitHub, + fixUnhelpfulCmakeRpathsHook, ninja, stdenv, swift-corelibs-foundation, @@ -53,6 +54,7 @@ stdenv.mkDerivation (finalAttrs: { nativeBuildInputs = [ cmake createToolchainStubsHook + fixUnhelpfulCmakeRpathsHook ninja swift ]; From cb831851bf3d50fcc8afe7d5a2e87a44314dfa7e Mon Sep 17 00:00:00 2001 From: Randy Eckenrode Date: Sun, 9 Aug 2026 08:38:12 -0400 Subject: [PATCH 2041/2378] swiftPackages.swift-foundation: only define targets once --- .../files/SwiftFoundationConfig.cmake | 37 +++++++++---------- 1 file changed, 18 insertions(+), 19 deletions(-) diff --git a/pkgs/development/compilers/swift/by-name/sw/swift-foundation/files/SwiftFoundationConfig.cmake b/pkgs/development/compilers/swift/by-name/sw/swift-foundation/files/SwiftFoundationConfig.cmake index e7c671a2c516..b3170dbb6d2f 100644 --- a/pkgs/development/compilers/swift/by-name/sw/swift-foundation/files/SwiftFoundationConfig.cmake +++ b/pkgs/development/compilers/swift/by-name/sw/swift-foundation/files/SwiftFoundationConfig.cmake @@ -1,23 +1,22 @@ -if (NOT TARGET SwiftCollections::_RopeModule) - find_package(SwiftCollections) +find_package(SwiftCollections) + +if(NOT TARGET FoundationEssentials) + add_library(FoundationEssentials @buildType@ IMPORTED) + set_target_properties(FoundationEssentials PROPERTIES + IMPORTED_LOCATION "@dev@/lib/swift/@swiftPlatform@/${CMAKE_@buildType@_LIBRARY_PREFIX}FoundationEssentials${CMAKE_@buildType@_LIBRARY_SUFFIX}" + INTERFACE_INCLUDE_DIRECTORIES "@dev@/lib/swift;@dev@/lib/swift/@swiftPlatform@" + ) endif() -add_library(FoundationEssentials @buildType@ IMPORTED) -set_target_properties(FoundationEssentials PROPERTIES - IMPORTED_LOCATION "@lib@/lib/${CMAKE_@buildType@_LIBRARY_PREFIX}FoundationEssentials${CMAKE_@buildType@_LIBRARY_SUFFIX}" - INTERFACE_INCLUDE_DIRECTORIES "@dev@/lib/swift;@dev@/lib/swift/@swiftPlatform@" -) +find_package(_FoundationICU) -if (NOT TARGET _FoundationICU) - find_package(_FoundationICU) +if(NOT TARGET FoundationInternationalization) + add_library(FoundationInternationalization @buildType@ IMPORTED) + set_target_properties(FoundationInternationalization PROPERTIES + IMPORTED_LOCATION "@dev@/lib/swift/@swiftPlatform@/${CMAKE_@buildType@_LIBRARY_PREFIX}FoundationInternationalization${CMAKE_@buildType@_LIBRARY_SUFFIX}" + INTERFACE_INCLUDE_DIRECTORIES "@dev@/lib/swift/@swiftPlatform@" + ) + target_link_libraries(FoundationEssentials INTERFACE + _FoundationICU + ) endif() - -add_library(FoundationInternationalization @buildType@ IMPORTED) -set_target_properties(FoundationInternationalization PROPERTIES - IMPORTED_LOCATION "@lib@/lib/${CMAKE_@buildType@_LIBRARY_PREFIX}FoundationInternationalization${CMAKE_@buildType@_LIBRARY_SUFFIX}" - INTERFACE_INCLUDE_DIRECTORIES "@dev@/lib/swift/@swiftPlatform@" -) - -target_link_libraries(FoundationEssentials INTERFACE - _FoundationICU -) From 3769d83baac4d08c6add5dce22d81fec9769b9d0 Mon Sep 17 00:00:00 2001 From: Randy Eckenrode Date: Sun, 9 Aug 2026 08:38:12 -0400 Subject: [PATCH 2042/2378] swiftPackages.swift-foundation: migrate to `createToolchainStubsHook` --- .../compilers/swift/by-name/sw/swift-foundation/package.nix | 4 ++++ pkgs/development/compilers/swift/by-name/sw/swift/package.nix | 1 - 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/pkgs/development/compilers/swift/by-name/sw/swift-foundation/package.nix b/pkgs/development/compilers/swift/by-name/sw/swift-foundation/package.nix index a4ae45aaf401..3b2bc93a6368 100644 --- a/pkgs/development/compilers/swift/by-name/sw/swift-foundation/package.nix +++ b/pkgs/development/compilers/swift/by-name/sw/swift-foundation/package.nix @@ -1,6 +1,7 @@ { lib, cmake, + createToolchainStubsHook, fetchFromGitHub, ninja, patchesForVersion, @@ -54,6 +55,9 @@ stdenv.mkDerivation (finalAttrs: { cmake ninja swift-minimal + ] + ++ lib.optionals stdenv.hostPlatform.isElf [ + createToolchainStubsHook # Darwin only builds FoundationMacros, so it doesn’t need stubs. ]; buildInputs = [ diff --git a/pkgs/development/compilers/swift/by-name/sw/swift/package.nix b/pkgs/development/compilers/swift/by-name/sw/swift/package.nix index 8b15b663e3c4..3c23cdd70224 100644 --- a/pkgs/development/compilers/swift/by-name/sw/swift/package.nix +++ b/pkgs/development/compilers/swift/by-name/sw/swift/package.nix @@ -68,7 +68,6 @@ let swift-corelibs-foundation.dev swift-foundation-icu.out swift-foundation.dev - swift-foundation.out ] ); }; From a74ab7b7ec5938d4de2fd68e252df3f63ea5404a Mon Sep 17 00:00:00 2001 From: Randy Eckenrode Date: Sun, 9 Aug 2026 08:38:12 -0400 Subject: [PATCH 2043/2378] swiftPackages.swift-foundation: migrate to `fixUnhelpfulCmakeRpathsHook` --- .../by-name/sw/swift-foundation/package.nix | 31 +++++++++---------- 1 file changed, 14 insertions(+), 17 deletions(-) diff --git a/pkgs/development/compilers/swift/by-name/sw/swift-foundation/package.nix b/pkgs/development/compilers/swift/by-name/sw/swift-foundation/package.nix index 3b2bc93a6368..11b0257ecaad 100644 --- a/pkgs/development/compilers/swift/by-name/sw/swift-foundation/package.nix +++ b/pkgs/development/compilers/swift/by-name/sw/swift-foundation/package.nix @@ -2,7 +2,9 @@ lib, cmake, createToolchainStubsHook, + darwin, fetchFromGitHub, + fixUnhelpfulCmakeRpathsHook, ninja, patchesForVersion, stdenv, @@ -14,6 +16,10 @@ swift_sources, }: +let + swiftPlatform = stdenv.hostPlatform.swift.platform; +in + stdenv.mkDerivation (finalAttrs: { pname = "swift-foundation"; version = swift_release; @@ -53,6 +59,7 @@ stdenv.mkDerivation (finalAttrs: { nativeBuildInputs = [ cmake + fixUnhelpfulCmakeRpathsHook ninja swift-minimal ] @@ -85,7 +92,7 @@ stdenv.mkDerivation (finalAttrs: { runHook postInstall ''; - postInstall = ( + postInstall = lib.optionalString (!stdenv.hostPlatform.isDarwin) '' moveToOutput lib/swift/host "''${!outputDev}" moveToOutput lib/swift/_FoundationCShims "''${!outputDev}" @@ -97,25 +104,15 @@ stdenv.mkDerivation (finalAttrs: { substitute ${./files/SwiftFoundationConfig.cmake} "''${!outputDev}/lib/cmake/SwiftFoundation/SwiftFoundationConfig.cmake" \ --replace-fail '@buildType@' ${if stdenv.hostPlatform.isStatic then "STATIC" else "SHARED"} \ --replace-fail '@dev@' "''${!outputDev}" \ - --replace-fail '@lib@' "''${!outputLib}" \ - --replace-fail '@swiftPlatform@' ${stdenv.hostPlatform.swift.platform} + --replace-fail '@swiftPlatform@' ${swiftPlatform} - # Copy the _FoundationCollections module. It’s not installed by default. - moduleDir=''${!outputDev}/lib/swift/${stdenv.hostPlatform.swift.platform}/_FoundationCollections.swiftmodule - mkdir -p "$moduleDir" - cp swift/_FoundationCollections.swiftmodule "$moduleDir/${stdenv.hostPlatform.swift.triple}.swiftmodule" + moveToOutput lib/swift/${swiftPlatform} "''${!outputDev}" '' + lib.optionalString (stdenv.hostPlatform.isElf && !stdenv.hostPlatform.isStatic) '' - # Make sure Swift Foundation has an rpath pointing at the stdlib (since it is installed outside of it). - for so in FoundationEssentials FoundationInternationalization; do - patchelf --add-rpath ${ - lib.escapeShellArg ( - lib.makeSearchPathOutput "out" "lib/swift/${stdenv.hostPlatform.swift.platform}" [ swift-minimal ] - ) - } "$out/lib/lib$so${stdenv.hostPlatform.extensions.sharedLibrary}" - done - '' - ); + # In spite of fixUnhelpfulCmakeRpathsHook, CMake still strips the ICU rpath. + patchelf "$out/lib/libFoundationInternationalization.so" \ + --add-rpath ${lib.escapeShellArg (lib.getLib darwin.ICU)}/lib + ''; __structuredAttrs = true; From 8d5d86f998827bfe19d23ae83223de63e8a1ac9d Mon Sep 17 00:00:00 2001 From: Randy Eckenrode Date: Sun, 9 Aug 2026 08:38:12 -0400 Subject: [PATCH 2044/2378] swiftPackages.swift-llbuild: only define targets once --- .../swift-llbuild/files/LLBuildConfig.cmake | 24 +++++++++++-------- 1 file changed, 14 insertions(+), 10 deletions(-) diff --git a/pkgs/development/compilers/swift/by-name/sw/swift-llbuild/files/LLBuildConfig.cmake b/pkgs/development/compilers/swift/by-name/sw/swift-llbuild/files/LLBuildConfig.cmake index 5b32819de214..4f0c04e7fc7d 100644 --- a/pkgs/development/compilers/swift/by-name/sw/swift-llbuild/files/LLBuildConfig.cmake +++ b/pkgs/development/compilers/swift/by-name/sw/swift-llbuild/files/LLBuildConfig.cmake @@ -1,11 +1,15 @@ -add_library(llbuild STATIC IMPORTED) -set_target_properties(llbuild PROPERTIES - IMPORTED_LOCATION "@lib@/lib/${CMAKE_STATIC_LIBRARY_PREFIX}llbuild${CMAKE_STATIC_LIBRARY_SUFFIX}" - INTERFACE_INCLUDE_DIRECTORIES "@dev@/include" -) +if (NOT TARGET llbuild) + add_library(llbuild STATIC IMPORTED) + set_target_properties(llbuild PROPERTIES + IMPORTED_LOCATION "@lib@/lib/${CMAKE_STATIC_LIBRARY_PREFIX}llbuild${CMAKE_STATIC_LIBRARY_SUFFIX}" + INTERFACE_INCLUDE_DIRECTORIES "@dev@/include" + ) +endif () -add_library(llbuildSwift @buildType@ IMPORTED) -set_target_properties(llbuildSwift PROPERTIES - IMPORTED_LOCATION "@lib@/lib/${CMAKE_@buildType@_LIBRARY_PREFIX}llbuildSwift${CMAKE_@buildType@_LIBRARY_SUFFIX}" - INTERFACE_INCLUDE_DIRECTORIES "@dev@/include;@dev@/lib/swift/@swiftPlatform@" -) +if (NOT TARGET llbuildSwift) + add_library(llbuildSwift @buildType@ IMPORTED) + set_target_properties(llbuildSwift PROPERTIES + IMPORTED_LOCATION "@lib@/lib/${CMAKE_@buildType@_LIBRARY_PREFIX}llbuildSwift${CMAKE_@buildType@_LIBRARY_SUFFIX}" + INTERFACE_INCLUDE_DIRECTORIES "@dev@/include;@dev@/lib/swift/@swiftPlatform@" + ) +endif () From 9b575457104b95216d2d6dfe4c89d4db8d8135f0 Mon Sep 17 00:00:00 2001 From: Randy Eckenrode Date: Sun, 9 Aug 2026 08:38:12 -0400 Subject: [PATCH 2045/2378] swiftPackages.swift-syntax: only define targets once --- .../swift-syntax/files/SwiftSyntaxConfig.cmake | 18 ++++++++++-------- 1 file changed, 10 insertions(+), 8 deletions(-) diff --git a/pkgs/development/compilers/swift/by-name/sw/swift-syntax/files/SwiftSyntaxConfig.cmake b/pkgs/development/compilers/swift/by-name/sw/swift-syntax/files/SwiftSyntaxConfig.cmake index a4f5c843f0fd..63f90c88fcbd 100644 --- a/pkgs/development/compilers/swift/by-name/sw/swift-syntax/files/SwiftSyntaxConfig.cmake +++ b/pkgs/development/compilers/swift/by-name/sw/swift-syntax/files/SwiftSyntaxConfig.cmake @@ -1,11 +1,13 @@ set(SyntaxModules - @syntaxModules@ + @syntaxModules@ ) -foreach(SyntaxModule ${SyntaxModules}) - add_library(SwiftSyntax::${SyntaxModule} @buildType@ IMPORTED) - set_target_properties(SwiftSyntax::${SyntaxModule} PROPERTIES - IMPORTED_LOCATION "@lib@/lib/swift/host/${CMAKE_@buildType@_LIBRARY_PREFIX}${SyntaxModule}${CMAKE_@buildType@_LIBRARY_SUFFIX}" - INTERFACE_INCLUDE_DIRECTORIES "@dev@/lib/swift/host" - ) -endforeach() +foreach (SyntaxModule ${SyntaxModules}) + if (NOT TARGET SwiftSyntax::${SyntaxModule}) + add_library(SwiftSyntax::${SyntaxModule} @buildType@ IMPORTED) + set_target_properties(SwiftSyntax::${SyntaxModule} PROPERTIES + IMPORTED_LOCATION "@lib@/lib/swift/host/${CMAKE_@buildType@_LIBRARY_PREFIX}${SyntaxModule}${CMAKE_@buildType@_LIBRARY_SUFFIX}" + INTERFACE_INCLUDE_DIRECTORIES "@dev@/lib/swift/host" + ) + endif () +endforeach () From fb5b02f53114ab9e26c67e69148702243e9b63f1 Mon Sep 17 00:00:00 2001 From: Randy Eckenrode Date: Sun, 9 Aug 2026 08:38:12 -0400 Subject: [PATCH 2046/2378] swiftPackages.swift-system: only define targets once --- .../files/SwiftSystemConfig.cmake | 24 +++++++++++-------- 1 file changed, 14 insertions(+), 10 deletions(-) diff --git a/pkgs/development/compilers/swift/by-name/sw/swift-system/files/SwiftSystemConfig.cmake b/pkgs/development/compilers/swift/by-name/sw/swift-system/files/SwiftSystemConfig.cmake index cbf2d99fe6f2..6535fb748fba 100644 --- a/pkgs/development/compilers/swift/by-name/sw/swift-system/files/SwiftSystemConfig.cmake +++ b/pkgs/development/compilers/swift/by-name/sw/swift-system/files/SwiftSystemConfig.cmake @@ -1,11 +1,15 @@ -add_library(CSystem STATIC IMPORTED) -set_target_properties(CSystem PROPERTIES - IMPORTED_LOCATION "@lib@/lib/${CMAKE_STATIC_LIBRARY_PREFIX}CSystem${CMAKE_STATIC_LIBRARY_SUFFIX}" -) +if (NOT TARGET CSystem) + add_library(CSystem STATIC IMPORTED) + set_target_properties(CSystem PROPERTIES + IMPORTED_LOCATION "@lib@/lib/${CMAKE_STATIC_LIBRARY_PREFIX}CSystem${CMAKE_STATIC_LIBRARY_SUFFIX}" + ) +endif () -add_library(SwiftSystem::SystemPackage STATIC IMPORTED) -set_target_properties(SwiftSystem::SystemPackage PROPERTIES - IMPORTED_LOCATION "@lib@/lib/${CMAKE_STATIC_LIBRARY_PREFIX}SystemPackage${CMAKE_STATIC_LIBRARY_SUFFIX}" - INTERFACE_LINK_LIBRARIES CSystem - INTERFACE_INCLUDE_DIRECTORIES "@dev@/include;@dev@/lib/swift_static/@swiftPlatform@" -) +if (NOT TARGET SwiftSystem::SystemPackage) + add_library(SwiftSystem::SystemPackage STATIC IMPORTED) + set_target_properties(SwiftSystem::SystemPackage PROPERTIES + IMPORTED_LOCATION "@lib@/lib/${CMAKE_STATIC_LIBRARY_PREFIX}SystemPackage${CMAKE_STATIC_LIBRARY_SUFFIX}" + INTERFACE_LINK_LIBRARIES CSystem + INTERFACE_INCLUDE_DIRECTORIES "@dev@/include;@dev@/lib/swift_static/@swiftPlatform@" + ) +endif () From 520286fb4234fa8871fc6baf1bec023653ca747b Mon Sep 17 00:00:00 2001 From: Randy Eckenrode Date: Sun, 9 Aug 2026 08:38:12 -0400 Subject: [PATCH 2047/2378] swiftPackages.swift-system: migrate to `fixUnhelpfulCmakeRpathsHook` --- .../compilers/swift/by-name/sw/swift-system/package.nix | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/pkgs/development/compilers/swift/by-name/sw/swift-system/package.nix b/pkgs/development/compilers/swift/by-name/sw/swift-system/package.nix index b050bd716a9a..a36da4ca0a2d 100644 --- a/pkgs/development/compilers/swift/by-name/sw/swift-system/package.nix +++ b/pkgs/development/compilers/swift/by-name/sw/swift-system/package.nix @@ -2,6 +2,7 @@ lib, cmake, fetchFromGitHub, + fixUnhelpfulCmakeRpathsHook, gitUpdater, ninja, stdenv, @@ -43,6 +44,9 @@ stdenv.mkDerivation (finalAttrs: { cmake ninja swift' + ] + ++ lib.optionals stdenv.hostPlatform.isElf [ + fixUnhelpfulCmakeRpathsHook ]; postInstall = '' From 8b0603c67eaa8154567ece0c55ba698f0d443076 Mon Sep 17 00:00:00 2001 From: Randy Eckenrode Date: Sun, 9 Aug 2026 08:38:12 -0400 Subject: [PATCH 2048/2378] swiftPackages.swift-testing: migrate to `createToolchainStubsHook` --- .../compilers/swift/by-name/sw/swift-testing/package.nix | 2 ++ pkgs/development/compilers/swift/by-name/sw/swift/package.nix | 1 - 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/pkgs/development/compilers/swift/by-name/sw/swift-testing/package.nix b/pkgs/development/compilers/swift/by-name/sw/swift-testing/package.nix index a78c960c8ce2..96d7f75b637f 100644 --- a/pkgs/development/compilers/swift/by-name/sw/swift-testing/package.nix +++ b/pkgs/development/compilers/swift/by-name/sw/swift-testing/package.nix @@ -1,6 +1,7 @@ { lib, cmake, + createToolchainStubsHook, fetchFromGitHub, ninja, stdenv, @@ -56,6 +57,7 @@ stdenv.mkDerivation (finalAttrs: { nativeBuildInputs = [ cmake + createToolchainStubsHook ninja swift' ]; diff --git a/pkgs/development/compilers/swift/by-name/sw/swift/package.nix b/pkgs/development/compilers/swift/by-name/sw/swift/package.nix index 3c23cdd70224..63c71cd97a61 100644 --- a/pkgs/development/compilers/swift/by-name/sw/swift/package.nix +++ b/pkgs/development/compilers/swift/by-name/sw/swift/package.nix @@ -46,7 +46,6 @@ let ++ lib.optionals includeTesting [ swift-corelibs-xctest.dev swift-testing.dev - swift-testing.out ] ++ lib.optionals (stdlib != null) [ stdlib.dev From b7f9682e2ea7a81e1118ef37a25288e354cd170c Mon Sep 17 00:00:00 2001 From: Randy Eckenrode Date: Sun, 9 Aug 2026 08:38:12 -0400 Subject: [PATCH 2049/2378] swiftPackages.swift-testing: migrate to `fixUnhelpfulCmakeRpathsHook` --- .../compilers/swift/by-name/sw/swift-testing/package.nix | 2 ++ 1 file changed, 2 insertions(+) diff --git a/pkgs/development/compilers/swift/by-name/sw/swift-testing/package.nix b/pkgs/development/compilers/swift/by-name/sw/swift-testing/package.nix index 96d7f75b637f..faa145477caa 100644 --- a/pkgs/development/compilers/swift/by-name/sw/swift-testing/package.nix +++ b/pkgs/development/compilers/swift/by-name/sw/swift-testing/package.nix @@ -3,6 +3,7 @@ cmake, createToolchainStubsHook, fetchFromGitHub, + fixUnhelpfulCmakeRpathsHook, ninja, stdenv, swift, @@ -58,6 +59,7 @@ stdenv.mkDerivation (finalAttrs: { nativeBuildInputs = [ cmake createToolchainStubsHook + fixUnhelpfulCmakeRpathsHook ninja swift' ]; From 526556149085827b31f9d34bca67b161aa46260c Mon Sep 17 00:00:00 2001 From: Randy Eckenrode Date: Sun, 9 Aug 2026 08:38:12 -0400 Subject: [PATCH 2050/2378] swiftPacakges.swift-tools-protocols: only define targets once --- .../files/SwiftToolsProtocolsConfig.cmake | 16 +++++++++------- 1 file changed, 9 insertions(+), 7 deletions(-) diff --git a/pkgs/development/compilers/swift/by-name/sw/swift-tools-protocols/files/SwiftToolsProtocolsConfig.cmake b/pkgs/development/compilers/swift/by-name/sw/swift-tools-protocols/files/SwiftToolsProtocolsConfig.cmake index 2cd95e6cba30..7e621f09aaa1 100644 --- a/pkgs/development/compilers/swift/by-name/sw/swift-tools-protocols/files/SwiftToolsProtocolsConfig.cmake +++ b/pkgs/development/compilers/swift/by-name/sw/swift-tools-protocols/files/SwiftToolsProtocolsConfig.cmake @@ -8,10 +8,12 @@ set(ProtocolsModules ToolsProtocolsSwiftExtensions ) -foreach(ProtocolsModule ${ProtocolsModules}) - add_library(SwiftToolsProtocols::${ProtocolsModule} @buildType@ IMPORTED) - set_target_properties(SwiftToolsProtocols::${ProtocolsModule} PROPERTIES - IMPORTED_LOCATION "@lib@/lib/${CMAKE_@buildType@_LIBRARY_PREFIX}${ProtocolsModule}${CMAKE_@buildType@_LIBRARY_SUFFIX}" - INTERFACE_INCLUDE_DIRECTORIES "@dev@/include;@dev@/lib/swift/@swiftPlatform@" - ) -endforeach() +foreach (ProtocolsModule ${ProtocolsModules}) + if (NOT TARGET SwiftToolsProtocols::${ProtocolsModule}) + add_library(SwiftToolsProtocols::${ProtocolsModule} @buildType@ IMPORTED) + set_target_properties(SwiftToolsProtocols::${ProtocolsModule} PROPERTIES + IMPORTED_LOCATION "@lib@/lib/${CMAKE_@buildType@_LIBRARY_PREFIX}${ProtocolsModule}${CMAKE_@buildType@_LIBRARY_SUFFIX}" + INTERFACE_INCLUDE_DIRECTORIES "@dev@/include;@dev@/lib/swift/@swiftPlatform@" + ) + endif () +endforeach () From 911e27edd179a46145d776ba55e72b1f11234e35 Mon Sep 17 00:00:00 2001 From: Randy Eckenrode Date: Sun, 9 Aug 2026 08:38:12 -0400 Subject: [PATCH 2051/2378] swiftPackages.swift-tools-support-core: only define targets once --- .../files/TSCConfig.cmake | 24 +++++++++++-------- 1 file changed, 14 insertions(+), 10 deletions(-) diff --git a/pkgs/development/compilers/swift/by-name/sw/swift-tools-support-core/files/TSCConfig.cmake b/pkgs/development/compilers/swift/by-name/sw/swift-tools-support-core/files/TSCConfig.cmake index aaf13a84c523..088192db6e13 100644 --- a/pkgs/development/compilers/swift/by-name/sw/swift-tools-support-core/files/TSCConfig.cmake +++ b/pkgs/development/compilers/swift/by-name/sw/swift-tools-support-core/files/TSCConfig.cmake @@ -1,11 +1,15 @@ -add_library(TSCBasic @buildType@ IMPORTED) -set_target_properties(TSCBasic PROPERTIES - IMPORTED_LOCATION "@lib@/lib/${CMAKE_@buildType@_LIBRARY_PREFIX}SwiftToolsSupport${CMAKE_@buildType@_LIBRARY_SUFFIX}" - INTERFACE_INCLUDE_DIRECTORIES "@dev@/include;@dev@/lib/swift/@swiftPlatform@" -) +if (NOT TARGET TSCBasic) + add_library(TSCBasic @buildType@ IMPORTED) + set_target_properties(TSCBasic PROPERTIES + IMPORTED_LOCATION "@lib@/lib/${CMAKE_@buildType@_LIBRARY_PREFIX}SwiftToolsSupport${CMAKE_@buildType@_LIBRARY_SUFFIX}" + INTERFACE_INCLUDE_DIRECTORIES "@dev@/include;@dev@/lib/swift/@swiftPlatform@" + ) +endif () -add_library(TSCUtility @buildType@ IMPORTED) -set_target_properties(TSCUtility PROPERTIES - IMPORTED_LOCATION "@lib@/lib/${CMAKE_@buildType@_LIBRARY_PREFIX}SwiftToolsSupport${CMAKE_@buildType@_LIBRARY_SUFFIX}" - INTERFACE_INCLUDE_DIRECTORIES "@dev@/include;@dev@/lib/swift/@swiftPlatform@" -) +if (NOT TARGET TSCUtility) + add_library(TSCUtility @buildType@ IMPORTED) + set_target_properties(TSCUtility PROPERTIES + IMPORTED_LOCATION "@lib@/lib/${CMAKE_@buildType@_LIBRARY_PREFIX}SwiftToolsSupport${CMAKE_@buildType@_LIBRARY_SUFFIX}" + INTERFACE_INCLUDE_DIRECTORIES "@dev@/include;@dev@/lib/swift/@swiftPlatform@" + ) +endif () From 28ab7fcc850c655702c89da569858aa6a9707c11 Mon Sep 17 00:00:00 2001 From: Randy Eckenrode Date: Sun, 9 Aug 2026 08:38:12 -0400 Subject: [PATCH 2052/2378] swift: 6.3.3 -> 6.4.0 https://www.swift.org/blog/swift-6.4-released/ --- .../swift/by-name/ll/llvmPackages/package.nix | 16 ++- .../llvm/backport-darwin-triple-parsing.patch | 0 .../llvm/backport-darwin-triple-parsing.patch | 0 ...correct-std-template-specializations.patch | 0 .../by-name/so/sourcekit-lsp/Package.resolved | 62 ++++----- .../swift/by-name/sw/swift-build/package.nix | 15 ++ .../patches/0001-replace-impure-paths.patch | 122 ++++++++++------ .../0002-treat-nixpkgs-sdk-as-xcode.patch | 37 +++-- .../patches/0003-find-bundles-in-store.patch | 2 +- ...Swift-Build-find-things-in-the-store.patch | 57 ++++++++ ...ting-macros-in-the-Nixpkgs-toolchain.patch | 39 ++++++ ...est-from-swift-corelibs-xctest-even-.patch | 37 +++++ .../{6.3 => 6.4}/0001-gnu-install-dirs.patch | 0 .../patches/{6.3 => 6.4}/default.nix | 0 .../patches/disable-DocCHTMLTests.patch | 10 +- .../by-name/sw/swift-format/Package.resolved | 14 +- .../files/SwiftFoundationICUConfig.cmake | 5 - .../files/_FoundationICUConfig.cmake | 7 + .../sw/swift-foundation-icu/package.nix | 4 +- .../0002-Devendor-SwiftFoundationICU.patch | 2 +- .../0002-Devendor-SwiftFoundationICU.patch | 8 +- .../6.4/0003-Add-missing-imports.patch | 82 +++++++++++ .../patches/{6.3 => 6.4}/default.nix | 2 +- .../{6.3 => 6.4}/0001-gnu-install-dirs.patch | 0 .../patches/{6.3 => 6.4}/default.nix | 0 .../by-name/sw/swift-testing/package.nix | 9 ++ .../patches/0001-gnu-install-dirs.patch | 2 +- .../sw/swift-tools-protocols/package.nix | 8 +- .../swift/by-name/sw/swift/package.nix | 7 +- .../swift/by-name/sw/swiftc/package.nix | 7 +- .../by-name/sw/swiftc/patches/6.2/default.nix | 4 - .../by-name/sw/swiftc/patches/6.3/default.nix | 36 ----- ...dlib-flags-from-the-wrapped-compiler.patch | 131 ++++++++++++++++++ .../6.4/0006-use-nixpkgs-libdispatch.patch | 83 +++++++++++ ...lity-checking-when-building-the-Runt.patch | 31 +++++ ...fferentiation-module-build-on-Darwin.patch | 41 ++++++ .../by-name/sw/swiftc/patches/6.4/default.nix | 38 +++++ .../swift/by-name/sw/swiftpm/package.nix | 12 +- .../0002-darwin-swift-corelibs-xctest.patch | 102 -------------- .../patches/0004-fix-backdeploy-rpath.patch | 56 -------- .../patches/0009-add-missing-libraries.patch | 10 +- ...ftPM-find-the-toolchain-in-the-store.patch | 57 ++++++++ pkgs/development/compilers/swift/sources.json | 49 ++++--- .../development/compilers/swift/swift-version | 2 +- 44 files changed, 841 insertions(+), 365 deletions(-) rename pkgs/development/compilers/swift/by-name/ll/llvmPackages/patches/{ => 19}/llvm/backport-darwin-triple-parsing.patch (100%) create mode 100644 pkgs/development/compilers/swift/by-name/ll/llvmPackages/patches/21/llvm/backport-darwin-triple-parsing.patch create mode 100644 pkgs/development/compilers/swift/by-name/ll/llvmPackages/patches/21/llvm/get-rid-of-incorrect-std-template-specializations.patch create mode 100644 pkgs/development/compilers/swift/by-name/sw/swift-build/patches/0004-Help-Swift-Build-find-things-in-the-store.patch create mode 100644 pkgs/development/compilers/swift/by-name/sw/swift-build/patches/0005-Locate-Swift-Testing-macros-in-the-Nixpkgs-toolchain.patch create mode 100644 pkgs/development/compilers/swift/by-name/sw/swift-build/patches/0006-Link-against-XCTest-from-swift-corelibs-xctest-even-.patch rename pkgs/development/compilers/swift/by-name/sw/swift-corelibs-libdispatch/patches/{6.3 => 6.4}/0001-gnu-install-dirs.patch (100%) rename pkgs/development/compilers/swift/by-name/sw/swift-corelibs-libdispatch/patches/{6.3 => 6.4}/default.nix (100%) delete mode 100644 pkgs/development/compilers/swift/by-name/sw/swift-foundation-icu/files/SwiftFoundationICUConfig.cmake create mode 100644 pkgs/development/compilers/swift/by-name/sw/swift-foundation-icu/files/_FoundationICUConfig.cmake rename pkgs/development/compilers/swift/by-name/sw/swift-foundation/patches/{6.3 => 6.4}/0002-Devendor-SwiftFoundationICU.patch (92%) create mode 100644 pkgs/development/compilers/swift/by-name/sw/swift-foundation/patches/6.4/0003-Add-missing-imports.patch rename pkgs/development/compilers/swift/by-name/sw/swift-foundation/patches/{6.3 => 6.4}/default.nix (77%) rename pkgs/development/compilers/swift/by-name/sw/swift-llbuild/patches/{6.3 => 6.4}/0001-gnu-install-dirs.patch (100%) rename pkgs/development/compilers/swift/by-name/sw/swift-llbuild/patches/{6.3 => 6.4}/default.nix (100%) delete mode 100644 pkgs/development/compilers/swift/by-name/sw/swiftc/patches/6.3/default.nix create mode 100644 pkgs/development/compilers/swift/by-name/sw/swiftc/patches/6.4/0001-Read-C-and-C-stdlib-flags-from-the-wrapped-compiler.patch create mode 100644 pkgs/development/compilers/swift/by-name/sw/swiftc/patches/6.4/0006-use-nixpkgs-libdispatch.patch create mode 100644 pkgs/development/compilers/swift/by-name/sw/swiftc/patches/6.4/0008-Disable-availability-checking-when-building-the-Runt.patch create mode 100644 pkgs/development/compilers/swift/by-name/sw/swiftc/patches/6.4/0009-Fix-_Differentiation-module-build-on-Darwin.patch create mode 100644 pkgs/development/compilers/swift/by-name/sw/swiftc/patches/6.4/default.nix delete mode 100644 pkgs/development/compilers/swift/by-name/sw/swiftpm/patches/0002-darwin-swift-corelibs-xctest.patch delete mode 100644 pkgs/development/compilers/swift/by-name/sw/swiftpm/patches/0004-fix-backdeploy-rpath.patch create mode 100644 pkgs/development/compilers/swift/by-name/sw/swiftpm/patches/0013-Help-SwiftPM-find-the-toolchain-in-the-store.patch diff --git a/pkgs/development/compilers/swift/by-name/ll/llvmPackages/package.nix b/pkgs/development/compilers/swift/by-name/ll/llvmPackages/package.nix index d3f633ac7222..9e7f80e4b4c2 100644 --- a/pkgs/development/compilers/swift/by-name/ll/llvmPackages/package.nix +++ b/pkgs/development/compilers/swift/by-name/ll/llvmPackages/package.nix @@ -29,7 +29,17 @@ let # The patch needs slightly tweaked to apply to Swift’s LLDB fork. "lldb/backport-ParseTrieEntries-fixes.patch" = [ { path = ./patches; } ]; # Update backport of the Darwin triple changes for macOS 27. - "llvm/backport-darwin-triple-parsing.patch" = [ { path = ./patches; } ]; + "llvm/backport-darwin-triple-parsing.patch" = [ + { + before = "21"; + path = ./patches/19; + } + # This is an empty patch because Swift’s LLVM 21 fork already has this change. + { + after = "21"; + path = ./patches/21; + } + ]; # Backport support for arm64e.x1, the new cpu subtype for A20 and M6 "llvm/backport-minimal-arm64e_x1-support.patch" = [ { @@ -52,11 +62,13 @@ let llvmPackages = llvmPackages_19; patchOverrides = basePatchOverrides; }; - "6.3.3" = { + "6.4.0" = { swiftLlvmVersion = "21.0.0"; # From https://github.com/swiftlang/swift/blob/swift-$swiftVersion-RELEASE/utils/build_swift/build_swift/defaults.py#L51 llvmVersion = "21.1.6"; # From https://github.com/swiftlang/llvm-project/blob/swift-$swiftVersion-RELEASE/cmake/Modules/LLVMVersion.cmake llvmPackages = llvmPackages_21; patchOverrides = basePatchOverrides // { + # This is an empty patch because Swift’s LLVM fork already has this change. + "llvm/get-rid-of-incorrect-std-template-specializations.patch" = [ { path = ./patches/21; } ]; # Swift’s LLVM fork needs to use `sys::path::make_absolute` instead of `sys::fs::make_absolute`. "llvm/gnu-install-dirs.patch" = [ { path = ./patches/21; } ]; # This is an empty patch because Swift’s LLVM fork already has this change. diff --git a/pkgs/development/compilers/swift/by-name/ll/llvmPackages/patches/llvm/backport-darwin-triple-parsing.patch b/pkgs/development/compilers/swift/by-name/ll/llvmPackages/patches/19/llvm/backport-darwin-triple-parsing.patch similarity index 100% rename from pkgs/development/compilers/swift/by-name/ll/llvmPackages/patches/llvm/backport-darwin-triple-parsing.patch rename to pkgs/development/compilers/swift/by-name/ll/llvmPackages/patches/19/llvm/backport-darwin-triple-parsing.patch diff --git a/pkgs/development/compilers/swift/by-name/ll/llvmPackages/patches/21/llvm/backport-darwin-triple-parsing.patch b/pkgs/development/compilers/swift/by-name/ll/llvmPackages/patches/21/llvm/backport-darwin-triple-parsing.patch new file mode 100644 index 000000000000..e69de29bb2d1 diff --git a/pkgs/development/compilers/swift/by-name/ll/llvmPackages/patches/21/llvm/get-rid-of-incorrect-std-template-specializations.patch b/pkgs/development/compilers/swift/by-name/ll/llvmPackages/patches/21/llvm/get-rid-of-incorrect-std-template-specializations.patch new file mode 100644 index 000000000000..e69de29bb2d1 diff --git a/pkgs/development/compilers/swift/by-name/so/sourcekit-lsp/Package.resolved b/pkgs/development/compilers/swift/by-name/so/sourcekit-lsp/Package.resolved index bb5e1a2fa584..e2e4a73f5e71 100644 --- a/pkgs/development/compilers/swift/by-name/so/sourcekit-lsp/Package.resolved +++ b/pkgs/development/compilers/swift/by-name/so/sourcekit-lsp/Package.resolved @@ -1,13 +1,13 @@ { - "originHash" : "b58ae896243a3a46da20f874853ae8db67bfc6fbd93d54c9607f4ffa3ff1d020", + "originHash" : "fadbd797aec82d3b12c29aec8ad2f63e85f0e7f1fb12b73d79a2ae3351bda3a7", "pins" : [ { "identity" : "indexstore-db", "kind" : "remoteSourceControl", "location" : "https://github.com/swiftlang/indexstore-db.git", "state" : { - "branch" : "release/6.3", - "revision" : "003ac41513ba291f10ff1a0147ae68588914668d" + "branch" : "release/6.4.x", + "revision" : "64aa0b26913249c4e7c21d351a215fba02702003" } }, { @@ -51,8 +51,8 @@ "kind" : "remoteSourceControl", "location" : "https://github.com/swiftlang/swift-cmark.git", "state" : { - "branch" : "gfm", - "revision" : "0c8947bbd58c491c54aae114aca40621cddc8357" + "branch" : "release/6.4.x", + "revision" : "08ddb528923cc1a6527e02b7a1aee9e516ca749a" } }, { @@ -78,8 +78,8 @@ "kind" : "remoteSourceControl", "location" : "https://github.com/swiftlang/swift-docc.git", "state" : { - "branch" : "release/6.3", - "revision" : "4c926bd9bd9038212a63f85978dab7825accb16d" + "branch" : "release/6.4.x", + "revision" : "01838b69867dc86756977e806641f72b4a2b2777" } }, { @@ -87,8 +87,8 @@ "kind" : "remoteSourceControl", "location" : "https://github.com/swiftlang/swift-docc-symbolkit.git", "state" : { - "branch" : "release/6.3", - "revision" : "89e737aca30bd42a9f7e114e609884267ea6aabe" + "branch" : "release/6.4.x", + "revision" : "247b6cb036de3eefac9b4715799cd87f49dff20a" } }, { @@ -96,8 +96,8 @@ "kind" : "remoteSourceControl", "location" : "https://github.com/swiftlang/swift-driver.git", "state" : { - "branch" : "release/6.3", - "revision" : "7d6b844f0c2497a997770a11536598b187066be9" + "branch" : "release/6.4.x", + "revision" : "174567a5681a9a949bcd52f821deb8fa65105434" } }, { @@ -105,8 +105,8 @@ "kind" : "remoteSourceControl", "location" : "https://github.com/swiftlang/swift-format.git", "state" : { - "branch" : "release/6.3", - "revision" : "2e80d506509d17bec8d459752a57bb05039e100d" + "branch" : "release/6.4.x", + "revision" : "8b3b1365e8691e233146bda57e5100eb50eb53ea" } }, { @@ -114,8 +114,8 @@ "kind" : "remoteSourceControl", "location" : "https://github.com/swiftlang/swift-llbuild.git", "state" : { - "branch" : "release/6.3", - "revision" : "e38525ae3519021f014ad91e7bf86e7ae86044f5" + "branch" : "release/6.4.x", + "revision" : "ab6421207b9e4971c94e97c5832a3d8a4cae9092" } }, { @@ -123,8 +123,8 @@ "kind" : "remoteSourceControl", "location" : "https://github.com/swiftlang/swift-lmdb.git", "state" : { - "branch" : "release/6.3", - "revision" : "1ad9a2d80b6fcde498c2242f509bd1be7d667ff8" + "branch" : "release/6.4.x", + "revision" : "a4bc87807721c1fd114bf35464457e2db0d0e6c0" } }, { @@ -132,8 +132,8 @@ "kind" : "remoteSourceControl", "location" : "https://github.com/swiftlang/swift-markdown.git", "state" : { - "branch" : "release/6.3", - "revision" : "de3e245b6044386b623ecce11d1ccb5fe766e3db" + "branch" : "release/6.4.x", + "revision" : "bc55d614bc8608d74cdc18d3aa6413bd8661e444" } }, { @@ -141,8 +141,8 @@ "kind" : "remoteSourceControl", "location" : "https://github.com/apple/swift-nio.git", "state" : { - "revision" : "21de5f08c1a166a6dd293d0e587ad977bf8dac5d", - "version" : "2.103.0" + "revision" : "6db9d9abd92ad7399b8a564cafbb87d3507245fa", + "version" : "2.104.0" } }, { @@ -150,8 +150,8 @@ "kind" : "remoteSourceControl", "location" : "https://github.com/swiftlang/swift-package-manager.git", "state" : { - "branch" : "release/6.3", - "revision" : "f096e728bff0aa5449b0fcf7ab4619472d968e1c" + "branch" : "release/6.4.x", + "revision" : "34946f99d3b71771c8ceb53d214ca3579d4daa5c" } }, { @@ -159,8 +159,8 @@ "kind" : "remoteSourceControl", "location" : "https://github.com/swiftlang/swift-syntax.git", "state" : { - "branch" : "release/6.3", - "revision" : "79e4b74a295b6eb74a8b585e3a39d29e70c1dbd1" + "branch" : "release/6.4.x", + "revision" : "050f1a346fbbac0ca2cfb15a95274f7bd1cf0ccf" } }, { @@ -177,8 +177,8 @@ "kind" : "remoteSourceControl", "location" : "https://github.com/swiftlang/swift-toolchain-sqlite.git", "state" : { - "branch" : "1.0.7", - "revision" : "b45b80b943e88db3cb8ddea798fa3fa9912375ff" + "branch" : "1.0.9", + "revision" : "c0ecc1e0fd1b4fbc38db1efa6113bc12c2a4e559" } }, { @@ -186,8 +186,8 @@ "kind" : "remoteSourceControl", "location" : "https://github.com/swiftlang/swift-tools-protocols.git", "state" : { - "revision" : "f86b413a803761408e5e718912c46d75a340801b", - "version" : "0.0.9" + "branch" : "release/6.4.x", + "revision" : "4345e69c5572ec3d1f737fba90bca024b32da5cf" } }, { @@ -195,8 +195,8 @@ "kind" : "remoteSourceControl", "location" : "https://github.com/swiftlang/swift-tools-support-core.git", "state" : { - "branch" : "release/6.3", - "revision" : "44be92e627f754f593ca99f1b0c982e389e9bb20" + "branch" : "release/6.4.x", + "revision" : "d45c8b38d2824498b7863d3d5f0227937a53c177" } } ], diff --git a/pkgs/development/compilers/swift/by-name/sw/swift-build/package.nix b/pkgs/development/compilers/swift/by-name/sw/swift-build/package.nix index 3f29008aa839..64a59472a503 100644 --- a/pkgs/development/compilers/swift/by-name/sw/swift-build/package.nix +++ b/pkgs/development/compilers/swift/by-name/sw/swift-build/package.nix @@ -9,6 +9,7 @@ gnumake, gnused, iconv, + libtapi, llvmPackages, ninja, replaceVars, @@ -16,6 +17,7 @@ stdenv, swift, swift-argument-parser, + swift-corelibs-xctest, swift-driver, swift-llbuild, swift-system, @@ -66,6 +68,7 @@ stdenv.mkDerivation (finalAttrs: { inherit gnused; inherit iconv; inherit what; + tapi = lib.getBin libtapi; }) # Swift Build checks whether the SDK is Xcode by looking at the `DEVELOPER_DIR` path for Xcode. # Have it treat store paths as being Xcode SDKs so that the nixpkgs SDK is treated as a Darwin platform. @@ -74,6 +77,18 @@ stdenv.mkDerivation (finalAttrs: { }) # Don’t look in the build directory for bundles. Look only in the store. ./patches/0003-find-bundles-in-store.patch + # Swift Build makes assumptions about the layout of the toolchain (e.g., that paths begin with `usr`) that + # are not true for the toolchain Nixpkgs. + (replaceVars ./patches/0004-Help-Swift-Build-find-things-in-the-store.patch { + store-dir = builtins.storeDir; + }) + # Swift Build expects to find the testing macros in the toolchain path starting at `usr/lib/swift/host/testing`, + # but the Nixpkgs toolchain installs them to `lib/swift/host/testing`. + ./patches/0005-Locate-Swift-Testing-macros-in-the-Nixpkgs-toolchain.patch + # We don’t have the XCTest frameworks from Xcode on Darwin, so link against what we do have. + (replaceVars ./patches/0006-Link-against-XCTest-from-swift-corelibs-xctest-even-.patch { + inherit swift-corelibs-xctest; + }) ]; # FIXME: Make this a patch diff --git a/pkgs/development/compilers/swift/by-name/sw/swift-build/patches/0001-replace-impure-paths.patch b/pkgs/development/compilers/swift/by-name/sw/swift-build/patches/0001-replace-impure-paths.patch index 731638480524..e00742367af3 100644 --- a/pkgs/development/compilers/swift/by-name/sw/swift-build/patches/0001-replace-impure-paths.patch +++ b/pkgs/development/compilers/swift/by-name/sw/swift-build/patches/0001-replace-impure-paths.patch @@ -1,7 +1,7 @@ From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001 From: Randy Eckenrode Date: Tue, 9 Dec 2025 20:57:45 -0500 -Subject: [PATCH 1/3] replace-impure-paths +Subject: [PATCH 1/6] replace-impure-paths --- Plugins/run-xcodebuild/run-xcodebuild.swift | 2 +- @@ -11,7 +11,9 @@ Subject: [PATCH 1/3] replace-impure-paths .../SpecImplementations/CommandLineToolSpec.swift | 2 +- .../SWBCore/SpecImplementations/Tools/CodeSign.swift | 2 +- .../SpecImplementations/Tools/MkdirTool.swift | 2 +- + .../SpecImplementations/Tools/SwiftStdLibTool.swift | 2 +- .../SpecImplementations/Tools/SymlinkTool.swift | 2 +- + .../SpecImplementations/Tools/TAPITools.swift | 2 +- .../SpecImplementations/Tools/TouchTool.swift | 2 +- Sources/SWBCore/Specs/CoreBuildSystem.xcspec | 2 +- Sources/SWBCore/Specs/NativeBuildSystem.xcspec | 12 ++++++------ @@ -21,7 +23,7 @@ Subject: [PATCH 1/3] replace-impure-paths Sources/SWBTaskExecution/BuildDescription.swift | 4 ++-- .../TaskActions/CopyTiffTaskAction.swift | 2 +- .../TaskActions/EmbedSwiftStdLibTaskAction.swift | 2 +- - Sources/SWBTestSupport/CoreBasedTests.swift | 6 +++--- + Sources/SWBTestSupport/CoreBasedTests.swift | 10 ++++++---- Sources/SWBTestSupport/FSUtilities.swift | 4 ++-- Sources/SWBTestSupport/LibraryGeneration.swift | 8 ++++---- Sources/SWBTestSupport/TestWorkspaces.swift | 4 ++-- @@ -30,7 +32,7 @@ Subject: [PATCH 1/3] replace-impure-paths Sources/SWBUtil/PbxCp.swift | 12 ++++++------ Sources/SWBUtil/Signatures.swift | 2 +- .../CoreQualificationTester.swift | 2 +- - 26 files changed, 45 insertions(+), 45 deletions(-) + 28 files changed, 50 insertions(+), 48 deletions(-) diff --git a/Plugins/run-xcodebuild/run-xcodebuild.swift b/Plugins/run-xcodebuild/run-xcodebuild.swift index 710a84a2..c83982de 100644 @@ -46,10 +48,10 @@ index 710a84a2..c83982de 100644 process.environment = ProcessInfo.processInfo.environment.merging(["XCBBUILDSERVICE_PATH": buildServiceURL.path()]) { _, new in new } try await process.run() diff --git a/Sources/SWBBuildService/Messages.swift b/Sources/SWBBuildService/Messages.swift -index 4f2e6ad2..4861cd88 100644 +index 95e12252..2dc30804 100644 --- a/Sources/SWBBuildService/Messages.swift +++ b/Sources/SWBBuildService/Messages.swift -@@ -190,7 +190,7 @@ extension SetSessionWorkspaceContainerPathRequest: PIFProvidingRequest { +@@ -209,7 +209,7 @@ extension SetSessionWorkspaceContainerPathRequest: PIFProvidingRequest { try fs.createDirectory(dir, recursive: true) let pifPath = dir.join(Foundation.UUID().description + ".json") let argument = isProject ? "-project" : "-workspace" @@ -59,7 +61,7 @@ index 4f2e6ad2..4861cd88 100644 throw StubError.error("Could not dump PIF for '\(path.str)': \(String(decoding: result.stderr, as: UTF8.self))") } diff --git a/Sources/SWBCore/BuildRuleSet.swift b/Sources/SWBCore/BuildRuleSet.swift -index a9aef7c2..329f5c5f 100644 +index a9aef7c2..aaccb69f 100644 --- a/Sources/SWBCore/BuildRuleSet.swift +++ b/Sources/SWBCore/BuildRuleSet.swift @@ -160,7 +160,7 @@ extension Core { @@ -72,23 +74,23 @@ index a9aef7c2..329f5c5f 100644 let condition: any BuildRuleCondition switch inputSpecifier { diff --git a/Sources/SWBCore/SDKRegistry.swift b/Sources/SWBCore/SDKRegistry.swift -index 5fb5a318..2abebfbe 100644 +index 8cdff643..b4c7688a 100644 --- a/Sources/SWBCore/SDKRegistry.swift +++ b/Sources/SWBCore/SDKRegistry.swift -@@ -1099,7 +1099,7 @@ public final class SDKRegistry: SDKRegistryLookup, CustomStringConvertible, Send - "GENERATE_TEXT_BASED_STUBS": "NO", - "GENERATE_INTERMEDIATE_TEXT_BASED_STUBS": "NO", +@@ -1108,7 +1108,7 @@ public final class SDKRegistry: SDKRegistryLookup, CustomStringConvertible, Send + "GENERATE_TEXT_BASED_STUBS": "NO", + "GENERATE_INTERMEDIATE_TEXT_BASED_STUBS": "NO", -- "CHOWN": "/usr/bin/chown", -+ "CHOWN": "@coreutils@/bin/chown", +- "CHOWN": "/usr/bin/chown", ++ "CHOWN": "@coreutils@/bin/chown", - // TODO are these going to be appropriate for all kinds of SDK's? - // SwiftSDK _could_ have tool entries for these, so use them if they are available + // TODO are these going to be appropriate for all kinds of SDK's? + // SwiftSDK _could_ have tool entries for these, so use them if they are available diff --git a/Sources/SWBCore/SpecImplementations/CommandLineToolSpec.swift b/Sources/SWBCore/SpecImplementations/CommandLineToolSpec.swift -index cee454e4..23050d4e 100644 +index e0a588af..21c35be7 100644 --- a/Sources/SWBCore/SpecImplementations/CommandLineToolSpec.swift +++ b/Sources/SWBCore/SpecImplementations/CommandLineToolSpec.swift -@@ -246,7 +246,7 @@ extension DiscoveredCommandLineToolSpecInfo { +@@ -253,7 +253,7 @@ extension DiscoveredCommandLineToolSpecInfo { if !toolPath.isAbsolute { throw StubError.error("\(toolPath.str) is not absolute") } @@ -96,7 +98,7 @@ index cee454e4..23050d4e 100644 + return try await producer.discoveredCommandLineToolSpecInfo(delegate, toolPath.basename, ["@what@/bin/what", "-q", toolPath.str]) { executionResult in let outputString = String(decoding: executionResult.stdout, as: UTF8.self).trimmingCharacters(in: .whitespacesAndNewlines) let lines = Set(outputString.split(separator: "\n").map(String.init)) // version info is printed once per architecture slice, but we never expect them to differ - return try construct(AppleGenericVersionInfo(string: lines.only ?? outputString)) + let versionInfo: AppleGenericVersionInfo diff --git a/Sources/SWBCore/SpecImplementations/Tools/CodeSign.swift b/Sources/SWBCore/SpecImplementations/Tools/CodeSign.swift index 8f0dd409..c80d1899 100644 --- a/Sources/SWBCore/SpecImplementations/Tools/CodeSign.swift @@ -123,6 +125,19 @@ index 78feb6d3..8f4a1914 100644 environment: EnvironmentBindings(), workingDirectory: cbc.producer.defaultWorkingDirectory, inputs: [], outputs: outputs, action: nil, +diff --git a/Sources/SWBCore/SpecImplementations/Tools/SwiftStdLibTool.swift b/Sources/SWBCore/SpecImplementations/Tools/SwiftStdLibTool.swift +index 985a6988..f6e674a8 100644 +--- a/Sources/SWBCore/SpecImplementations/Tools/SwiftStdLibTool.swift ++++ b/Sources/SWBCore/SpecImplementations/Tools/SwiftStdLibTool.swift +@@ -54,7 +54,7 @@ public final class SwiftStdLibToolSpec : GenericCommandLineToolSpec, SpecIdentif + + // Bitcode is no longer supported, but some old libraries may contain bitcode, so we continue to strip it when directed. + if commandLine.contains("--strip-bitcode") { +- if let bitcodeStripToolPath = cbc.producer.toolchains.lazy.compactMap({ $0.executableSearchPaths.lookup(Path("bitcode_strip")) }).first { ++ if let bitcodeStripToolPath = cbc.producer.toolchains.lazy.compactMap({ $0.executableSearchPaths.lookup(Path("@llvm@/bin/llvm-bitcode-strip")) }).first { + commandLine.append(contentsOf: ["--strip-bitcode-tool", bitcodeStripToolPath.str]) + } + } diff --git a/Sources/SWBCore/SpecImplementations/Tools/SymlinkTool.swift b/Sources/SWBCore/SpecImplementations/Tools/SymlinkTool.swift index 0d889a54..47c0e4cb 100644 --- a/Sources/SWBCore/SpecImplementations/Tools/SymlinkTool.swift @@ -136,6 +151,18 @@ index 0d889a54..47c0e4cb 100644 delegate.createTask( type: self, ruleInfo: ["SymLink", outputPath.str, toPath], commandLine: commandLine, environment: environmentFromSpec(cbc, delegate), +diff --git a/Sources/SWBCore/SpecImplementations/Tools/TAPITools.swift b/Sources/SWBCore/SpecImplementations/Tools/TAPITools.swift +index 2dfab03f..cbf1635d 100644 +--- a/Sources/SWBCore/SpecImplementations/Tools/TAPITools.swift ++++ b/Sources/SWBCore/SpecImplementations/Tools/TAPITools.swift +@@ -214,6 +214,6 @@ public func discoveredTAPIToolInfo(_ producer: any CommandProducer, _ delegate: + + extension MacroEvaluationScope { + func tapiExecutablePath(lookup: ((MacroDeclaration) -> MacroExpression?)? = nil) -> String { +- return evaluate(BuiltinMacros.TAPI_EXEC, lookup: lookup, default: "tapi").str ++ return evaluate(BuiltinMacros.TAPI_EXEC, lookup: lookup, default: "@tapi@/bin/tapi").str + } + } diff --git a/Sources/SWBCore/SpecImplementations/Tools/TouchTool.swift b/Sources/SWBCore/SpecImplementations/Tools/TouchTool.swift index 57ab5f1a..892cb46c 100644 --- a/Sources/SWBCore/SpecImplementations/Tools/TouchTool.swift @@ -150,10 +177,10 @@ index 57ab5f1a..892cb46c 100644 delegate.createTask(type: self, ruleInfo: ["Touch", input.absolutePath.str], commandLine: commandLine, environment: EnvironmentBindings(), workingDirectory: cbc.producer.defaultWorkingDirectory, inputs: [delegate.createNode(input.absolutePath)], outputs: outputs, mustPrecede: [], action: delegate.taskActionCreationDelegate.createDeferredExecutionTaskActionIfRequested(userPreferences: cbc.producer.userPreferences), execDescription: resolveExecutionDescription(cbc, delegate, lookup: outputFileOverride), enableSandboxing: enableSandboxing) diff --git a/Sources/SWBCore/Specs/CoreBuildSystem.xcspec b/Sources/SWBCore/Specs/CoreBuildSystem.xcspec -index 7593180b..4fe24daf 100644 +index 0c7824b4..4871f2f7 100644 --- a/Sources/SWBCore/Specs/CoreBuildSystem.xcspec +++ b/Sources/SWBCore/Specs/CoreBuildSystem.xcspec -@@ -3215,7 +3215,7 @@ For more information on mergeable libraries, see [Configuring your project to us +@@ -3234,7 +3234,7 @@ For more information on mergeable libraries, see [Configuring your project to us { Name = "JAVA_COMPILER"; Type = Path; @@ -163,7 +190,7 @@ index 7593180b..4fe24daf 100644 { Name = "JAVA_ARCHIVE_CLASSES"; diff --git a/Sources/SWBCore/Specs/NativeBuildSystem.xcspec b/Sources/SWBCore/Specs/NativeBuildSystem.xcspec -index 65e3918c..e0bda4ba 100644 +index ad364b06..dab88e2d 100644 --- a/Sources/SWBCore/Specs/NativeBuildSystem.xcspec +++ b/Sources/SWBCore/Specs/NativeBuildSystem.xcspec @@ -819,27 +819,27 @@ When `GENERATE_INFOPLIST_FILE` is enabled, sets the value of the [CFBundleExecut @@ -201,20 +228,20 @@ index 65e3918c..e0bda4ba 100644 // Utility settings diff --git a/Sources/SWBGenericUnixPlatform/Plugin.swift b/Sources/SWBGenericUnixPlatform/Plugin.swift -index 971b24d1..9c3b1a4d 100644 +index 2658c810..48ebd3db 100644 --- a/Sources/SWBGenericUnixPlatform/Plugin.swift +++ b/Sources/SWBGenericUnixPlatform/Plugin.swift -@@ -130,7 +130,7 @@ struct GenericUnixSDKRegistryExtension: SDKRegistryExtension { +@@ -193,7 +193,7 @@ struct GenericUnixSDKRegistryExtension: SDKRegistryExtension { "GENERATE_TEXT_BASED_STUBS": "NO", "GENERATE_INTERMEDIATE_TEXT_BASED_STUBS": "NO", - "AR": "llvm-ar", + "AR": "@llvm@/bin/llvm-ar", ] - default: - defaultProperties = [:] + case .openbsd: + defaultProperties = [ diff --git a/Sources/SWBProjectModel/PIFGenerationModel.swift b/Sources/SWBProjectModel/PIFGenerationModel.swift -index 00e96dc0..426cc089 100644 +index d278669c..440e31f7 100644 --- a/Sources/SWBProjectModel/PIFGenerationModel.swift +++ b/Sources/SWBProjectModel/PIFGenerationModel.swift @@ -356,7 +356,7 @@ public enum PIF { @@ -236,7 +263,7 @@ index 00e96dc0..426cc089 100644 inputPaths: [String], outputPaths: [String], diff --git a/Sources/SWBTaskConstruction/TaskProducers/BuildPhaseTaskProducers/ShellScriptTaskProducer.swift b/Sources/SWBTaskConstruction/TaskProducers/BuildPhaseTaskProducers/ShellScriptTaskProducer.swift -index fedc42f6..df7a9f72 100644 +index fedc42f6..81bb8734 100644 --- a/Sources/SWBTaskConstruction/TaskProducers/BuildPhaseTaskProducers/ShellScriptTaskProducer.swift +++ b/Sources/SWBTaskConstruction/TaskProducers/BuildPhaseTaskProducers/ShellScriptTaskProducer.swift @@ -201,7 +201,7 @@ final class ShellScriptTaskProducer: PhasedTaskProducer, TaskProducer, ShellBase @@ -249,10 +276,10 @@ index fedc42f6..df7a9f72 100644 let isSandboxingEnabled: Bool diff --git a/Sources/SWBTaskExecution/BuildDescription.swift b/Sources/SWBTaskExecution/BuildDescription.swift -index f2279da3..ed26f903 100644 +index 081a0acd..55ccc539 100644 --- a/Sources/SWBTaskExecution/BuildDescription.swift +++ b/Sources/SWBTaskExecution/BuildDescription.swift -@@ -893,7 +893,7 @@ package final class BuildDescriptionBuilder { +@@ -910,7 +910,7 @@ package final class BuildDescriptionBuilder { var commandLine = commandLine if bypassActualTasks { @@ -261,7 +288,7 @@ index f2279da3..ed26f903 100644 } // Add the command definition. -@@ -973,7 +973,7 @@ package final class BuildDescriptionBuilder { +@@ -990,7 +990,7 @@ package final class BuildDescriptionBuilder { func addCustomCommand(_ task: any PlannedTask, tool: String, inputs: [any PlannedNode], outputs: [any PlannedNode], deps: DependencyDataStyle? = nil, allowMissingInputs: Bool, alwaysOutOfDate: Bool, description: [String]) throws { // Honor `bypassActualTasks`. if bypassActualTasks { @@ -284,10 +311,10 @@ index df1675af..9e4b37c2 100644 let processDelegate = TaskProcessDelegate(outputDelegate: outputDelegate) do { diff --git a/Sources/SWBTaskExecution/TaskActions/EmbedSwiftStdLibTaskAction.swift b/Sources/SWBTaskExecution/TaskActions/EmbedSwiftStdLibTaskAction.swift -index 38501d22..01b80870 100644 +index d73c8d8e..65bcf1af 100644 --- a/Sources/SWBTaskExecution/TaskActions/EmbedSwiftStdLibTaskAction.swift +++ b/Sources/SWBTaskExecution/TaskActions/EmbedSwiftStdLibTaskAction.swift -@@ -839,7 +839,7 @@ public final class EmbedSwiftStdLibTaskAction: TaskAction { +@@ -873,7 +873,7 @@ public final class EmbedSwiftStdLibTaskAction: TaskAction { // Codesign the Swift libraries in $build_dir/$frameworks // but not the libraries in $build_dir/$unsigned_frameworks. if codeSignIdentity != nil && !swiftLibs.isEmpty { @@ -297,10 +324,21 @@ index 38501d22..01b80870 100644 // Swift libraries that are up-to-date get codesigned anyway // (in case options changed or a previous build was incomplete). diff --git a/Sources/SWBTestSupport/CoreBasedTests.swift b/Sources/SWBTestSupport/CoreBasedTests.swift -index 6beda66f..58a3ec8e 100644 +index 635394d2..2dc96959 100644 --- a/Sources/SWBTestSupport/CoreBasedTests.swift +++ b/Sources/SWBTestSupport/CoreBasedTests.swift -@@ -241,8 +241,8 @@ extension CoreBasedTests { +@@ -190,7 +190,9 @@ extension CoreBasedTests { + package var tapiToolPath: Path { + get async throws { + let (core, defaultToolchain) = try await coreAndToolchain() +- return try #require(defaultToolchain.executableSearchPaths.findExecutable(operatingSystem: core.hostOperatingSystem, basename: "tapi"), "couldn't find tapi in default toolchain") ++ let fallbacktapi = Path("@tapi@/bin/tapi") ++ return try #require(defaultToolchain.executableSearchPaths.findExecutable(operatingSystem: core.hostOperatingSystem, basename: "tapi") ++ ?? (localFS.exists(fallbacktapi) ? fallbacktapi : nil), "couldn't find tapi in default toolchain") + } + } + +@@ -246,8 +248,8 @@ extension CoreBasedTests { package var libtoolPath: Path { get async throws { let (core, defaultToolchain) = try await coreAndToolchain() @@ -311,7 +349,7 @@ index 6beda66f..58a3ec8e 100644 ?? defaultToolchain.executableSearchPaths.findExecutable(operatingSystem: core.hostOperatingSystem, basename: "llvm-ar") ?? (localFS.exists(fallbacklibtool) ? fallbacklibtool : nil), "couldn't find libtool in default toolchain") } -@@ -252,7 +252,7 @@ extension CoreBasedTests { +@@ -257,7 +259,7 @@ extension CoreBasedTests { package var llvmlibPath: Path { get async throws { let (core, defaultToolchain) = try await coreAndToolchain() @@ -337,7 +375,7 @@ index 75c193c9..b1a3dc42 100644 try await writeFileContents(contents.join("_CodeSignature/CodeSignature")) { $0 <<< "signature" } } diff --git a/Sources/SWBTestSupport/LibraryGeneration.swift b/Sources/SWBTestSupport/LibraryGeneration.swift -index 1a238077..13bf27ad 100644 +index df048a63..673ec1d9 100644 --- a/Sources/SWBTestSupport/LibraryGeneration.swift +++ b/Sources/SWBTestSupport/LibraryGeneration.swift @@ -87,7 +87,7 @@ extension InstalledXcode { @@ -376,10 +414,10 @@ index 1a238077..13bf27ad 100644 } diff --git a/Sources/SWBTestSupport/TestWorkspaces.swift b/Sources/SWBTestSupport/TestWorkspaces.swift -index 9d550ea4..1ecc026e 100644 +index dded7e58..78a2d6df 100644 --- a/Sources/SWBTestSupport/TestWorkspaces.swift +++ b/Sources/SWBTestSupport/TestWorkspaces.swift -@@ -690,7 +690,7 @@ package final class TestShellScriptBuildPhase: TestInternalBuildPhase { +@@ -691,7 +691,7 @@ package final class TestShellScriptBuildPhase: TestInternalBuildPhase { return overriddenGuid ?? "\(Self.guidCode)\(guidIdentifier)" } @@ -388,7 +426,7 @@ index 9d550ea4..1ecc026e 100644 self.name = name self.overriddenGuid = guid self.shellPath = shellPath -@@ -1194,7 +1194,7 @@ package final class TestExternalTarget: TestInternalTarget { +@@ -1203,7 +1203,7 @@ package final class TestExternalTarget: TestInternalTarget { private let dependencies: [String] private let passBuildSettingsInEnvironment: Bool? @@ -424,7 +462,7 @@ index 02ec3dd5..51629c96 100644 IsUnsafeToInterrupt = YES; CommandOutputParser = ( diff --git a/Sources/SWBUtil/PbxCp.swift b/Sources/SWBUtil/PbxCp.swift -index 2d3bedd0..4d37790a 100644 +index 5b083519..8774b88d 100644 --- a/Sources/SWBUtil/PbxCp.swift +++ b/Sources/SWBUtil/PbxCp.swift @@ -106,12 +106,12 @@ fileprivate func stripFile(_ srcPath: Path, _ dstPath: Path, _ strip_tool_path: @@ -442,7 +480,7 @@ index 2d3bedd0..4d37790a 100644 // Note that srcPath and dstPath could be the same, in which case the file gets stripped in-place. let args = [srcPath.str, bitcode_strip_flag, "-o", dstPath.str] try await spawnTaskAndWait(toolPath, args, nil, nil, dryRun, stream) -@@ -511,11 +511,11 @@ struct CopyOptions: AsyncParsableCommand { +@@ -522,11 +522,11 @@ struct CopyOptions: AsyncParsableCommand { @Flag(name: .customLong("strip-unsigned-binaries", withSingleDash: true), help: "strips debug symbols from any executables") var stripUnsignedBinaries: Bool = false @@ -472,10 +510,10 @@ index eb3c1e27..180dcc62 100644 let stderrContent = String(data: executionResult.stderr, encoding: .utf8)?.trimmingCharacters(in: .whitespacesAndNewlines) ?? "" diff --git a/Sources/SwiftBuildTestSupport/CoreQualificationTester.swift b/Sources/SwiftBuildTestSupport/CoreQualificationTester.swift -index 8495d9ff..1e4dd60e 100644 +index e6166507..c7221f9e 100644 --- a/Sources/SwiftBuildTestSupport/CoreQualificationTester.swift +++ b/Sources/SwiftBuildTestSupport/CoreQualificationTester.swift -@@ -326,7 +326,7 @@ extension FileContentsCheckingResult { +@@ -324,7 +324,7 @@ extension FileContentsCheckingResult { let plist: PropertyListItem? switch destination { case .signed: diff --git a/pkgs/development/compilers/swift/by-name/sw/swift-build/patches/0002-treat-nixpkgs-sdk-as-xcode.patch b/pkgs/development/compilers/swift/by-name/sw/swift-build/patches/0002-treat-nixpkgs-sdk-as-xcode.patch index 631152211ef0..df25eaeeb6e7 100644 --- a/pkgs/development/compilers/swift/by-name/sw/swift-build/patches/0002-treat-nixpkgs-sdk-as-xcode.patch +++ b/pkgs/development/compilers/swift/by-name/sw/swift-build/patches/0002-treat-nixpkgs-sdk-as-xcode.patch @@ -1,47 +1,46 @@ From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001 From: Randy Eckenrode Date: Tue, 9 Dec 2025 21:03:16 -0500 -Subject: [PATCH 2/3] treat-nixpkgs-sdk-as-xcode +Subject: [PATCH 2/6] treat-nixpkgs-sdk-as-xcode --- Sources/SWBCore/Core.swift | 4 ++-- - Sources/SWBTestSupport/SkippedTestSupport.swift | 3 ++- - 2 files changed, 4 insertions(+), 3 deletions(-) + Sources/SWBTestSupport/SkippedTestSupport.swift | 2 +- + 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/Sources/SWBCore/Core.swift b/Sources/SWBCore/Core.swift -index 830d921d..e03f4b07 100644 +index 7186b5a2..792fbe3f 100644 --- a/Sources/SWBCore/Core.swift +++ b/Sources/SWBCore/Core.swift -@@ -276,7 +276,7 @@ public final class Core: Sendable { +@@ -278,7 +278,7 @@ public final class Core: Sendable { switch developerPath { case .xcode(let path): -- toolchainPaths.append(.init(path: path.join("Toolchains"), strict: path.str.hasSuffix(".app/Contents/Developer"))) -+ toolchainPaths.append(.init(path: path.join("Toolchains"), strict: path.str.hasSuffix(".app/Contents/Developer") || path.str.hasPrefix("@store-dir@"))) +- toolchainPaths.append(.init(path: path.join("Toolchains"), strict: path.str.hasSuffix(".app/Contents/Developer"), type: .toolchainsDirectoryPath)) ++ toolchainPaths.append(.init(path: path.join("Toolchains"), strict: path.str.hasSuffix(".app/Contents/Developer") || path.str.hasPrefix("@store-dir@"), type: .toolchainsDirectoryPath)) case .swiftToolchain(let path, xcodeDeveloperPath: let xcodeDeveloperPath): if hostOperatingSystem == .windows { - toolchainPaths.append(.init(path: path.join("Toolchains"), strict: true, aliases: ["default"])) -@@ -284,7 +284,7 @@ public final class Core: Sendable { - toolchainPaths.append(.init(path: path, strict: true)) + toolchainPaths.append(.init(path: path.join("Toolchains"), strict: true, type: .toolchainsDirectoryPath, aliases: ["default"])) +@@ -286,7 +286,7 @@ public final class Core: Sendable { + toolchainPaths.append(.init(path: path, strict: false, type: .toolchainPath, aliases: ["default"])) } if let xcodeDeveloperPath { -- toolchainPaths.append(.init(path: xcodeDeveloperPath.join("Toolchains"), strict: xcodeDeveloperPath.str.hasSuffix(".app/Contents/Developer"))) -+ toolchainPaths.append(.init(path: xcodeDeveloperPath.join("Toolchains"), strict: xcodeDeveloperPath.str.hasSuffix(".app/Contents/Developer") || path.str.hasPrefix("@store-dir@"))) +- toolchainPaths.append(.init(path: xcodeDeveloperPath.join("Toolchains"), strict: xcodeDeveloperPath.str.hasSuffix(".app/Contents/Developer"), type: .toolchainsDirectoryPath)) ++ toolchainPaths.append(.init(path: xcodeDeveloperPath.join("Toolchains"), strict: xcodeDeveloperPath.str.hasSuffix(".app/Contents/Developer") || path.str.hasPrefix("@store-dir@"), type: .toolchainsDirectoryPath)) } } diff --git a/Sources/SWBTestSupport/SkippedTestSupport.swift b/Sources/SWBTestSupport/SkippedTestSupport.swift -index f1662a83..49aa98e9 100644 +index 5984e25b..d992314f 100644 --- a/Sources/SWBTestSupport/SkippedTestSupport.swift +++ b/Sources/SWBTestSupport/SkippedTestSupport.swift -@@ -148,7 +148,8 @@ extension Trait where Self == Testing.ConditionTrait { +@@ -169,7 +169,7 @@ extension Trait where Self == Testing.ConditionTrait { /// Constructs a condition trait that causes a test to be disabled if the developer directory is pointing at an Xcode developer directory. package static var skipXcodeToolchain: Self { - disabled("This test is incompatible with Xcode toolchains.", { -- try await ConditionTraitContext.shared.getCore().developerPath.path.str.contains(".app/Contents/Developer") -+ let core = try await ConditionTraitContext.shared.getCore() -+ return core.developerPath.path.str.contains(".app/Contents/Developer") || core.developerPath.path.str.hasPrefix("@store-dir@") - }) + disabled("This test is incompatible with Xcode toolchains.") { core in +- core.developerPath.path.str.contains(".app/Contents/Developer") ++ core.developerPath.path.str.contains(".app/Contents/Developer") || core.developerPath.path.str.hasPrefix("@store-dir@") + } } -- diff --git a/pkgs/development/compilers/swift/by-name/sw/swift-build/patches/0003-find-bundles-in-store.patch b/pkgs/development/compilers/swift/by-name/sw/swift-build/patches/0003-find-bundles-in-store.patch index 07682f45cb37..f674b82335bd 100644 --- a/pkgs/development/compilers/swift/by-name/sw/swift-build/patches/0003-find-bundles-in-store.patch +++ b/pkgs/development/compilers/swift/by-name/sw/swift-build/patches/0003-find-bundles-in-store.patch @@ -1,7 +1,7 @@ From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001 From: Randy Eckenrode Date: Sat, 13 Dec 2025 09:40:18 -0500 -Subject: [PATCH 3/3] find-bundles-in-store +Subject: [PATCH 3/6] find-bundles-in-store --- Sources/CMakeLists.txt | 11 +++++------ diff --git a/pkgs/development/compilers/swift/by-name/sw/swift-build/patches/0004-Help-Swift-Build-find-things-in-the-store.patch b/pkgs/development/compilers/swift/by-name/sw/swift-build/patches/0004-Help-Swift-Build-find-things-in-the-store.patch new file mode 100644 index 000000000000..b4649ad3dedb --- /dev/null +++ b/pkgs/development/compilers/swift/by-name/sw/swift-build/patches/0004-Help-Swift-Build-find-things-in-the-store.patch @@ -0,0 +1,57 @@ +From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001 +From: Randy Eckenrode +Date: Fri, 25 Sep 2026 09:17:33 -0400 +Subject: [PATCH 4/6] Help Swift Build find things in the store + +--- + Sources/SWBCore/Settings/Settings.swift | 5 ++++- + Sources/SWBCore/ToolchainRegistry.swift | 17 +++++++++++++---- + 2 files changed, 17 insertions(+), 5 deletions(-) + +diff --git a/Sources/SWBCore/Settings/Settings.swift b/Sources/SWBCore/Settings/Settings.swift +index 5c531d00..d1deb913 100644 +--- a/Sources/SWBCore/Settings/Settings.swift ++++ b/Sources/SWBCore/Settings/Settings.swift +@@ -1001,7 +1001,10 @@ extension Core { + paths.append(path.join("usr").join("bin")) + paths.append(path.join("usr").join("local").join("bin")) + case .swiftToolchain(let path, let xcodeDeveloperPath): +- if hostOperatingSystem != .windows { ++ if Path("@store-dir@").isAncestor(of: path) { ++ // In Nixpkgs, only the “bin” folder will be present. ++ paths.append(path.join("bin")) ++ } else if hostOperatingSystem != .windows { + // On Windows the Swift toolchain's "developer dir" is mapped to %APPDATA%\Local\Programs\Swift, which doesn't have these directories + paths.append(path.join("usr").join("bin")) + paths.append(path.join("usr").join("local").join("bin")) +diff --git a/Sources/SWBCore/ToolchainRegistry.swift b/Sources/SWBCore/ToolchainRegistry.swift +index 24212280..27b6f5c2 100644 +--- a/Sources/SWBCore/ToolchainRegistry.swift ++++ b/Sources/SWBCore/ToolchainRegistry.swift +@@ -89,10 +89,19 @@ public final class Toolchain: Hashable, Sendable { + self.overrideSettings = overrideSettings + self.defaultSettingsWhenPrimary = defaultSettingsWhenPrimary + self.executableSearchPaths = StackedSearchPath(paths: executableSearchPaths, fs: fs) +- self.librarySearchPaths = StackedSearchPath( +- paths: [path.join("usr/lib"), path.join("usr/local/lib")], +- fs: fs +- ) ++ self.librarySearchPaths = ++ if Path("@store-dir@").isAncestor(of: path) && path.fileExtension != "xctoolchain" { ++ // Special case the toolchain in Nixpkgs, which will only have “lib”. ++ StackedSearchPath( ++ paths: [path.join("lib")], ++ fs: fs ++ ) ++ } else { ++ StackedSearchPath( ++ paths: [path.join("usr/lib"), path.join("usr/local/lib")], ++ fs: fs ++ ) ++ } + let frameworkSearchPaths = frameworkPaths.map { path.join($0) } + self.fallbackFrameworkSearchPaths = StackedSearchPath( + paths: frameworkSearchPaths, +-- +2.54.0 + diff --git a/pkgs/development/compilers/swift/by-name/sw/swift-build/patches/0005-Locate-Swift-Testing-macros-in-the-Nixpkgs-toolchain.patch b/pkgs/development/compilers/swift/by-name/sw/swift-build/patches/0005-Locate-Swift-Testing-macros-in-the-Nixpkgs-toolchain.patch new file mode 100644 index 000000000000..0b3d25c2aeb4 --- /dev/null +++ b/pkgs/development/compilers/swift/by-name/sw/swift-build/patches/0005-Locate-Swift-Testing-macros-in-the-Nixpkgs-toolchain.patch @@ -0,0 +1,39 @@ +From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001 +From: Randy Eckenrode +Date: Mon, 12 Oct 2026 14:57:41 -0400 +Subject: [PATCH 5/6] Locate Swift Testing macros in the Nixpkgs toolchain + +--- + Sources/SWBCore/Settings/Settings.swift | 2 +- + Sources/SWBCore/ToolchainRegistry.swift | 2 +- + 2 files changed, 2 insertions(+), 2 deletions(-) + +diff --git a/Sources/SWBCore/Settings/Settings.swift b/Sources/SWBCore/Settings/Settings.swift +index d1deb913..18e4525a 100644 +--- a/Sources/SWBCore/Settings/Settings.swift ++++ b/Sources/SWBCore/Settings/Settings.swift +@@ -4742,7 +4742,7 @@ private class SettingsBuilder: ProjectMatchLookup { + } + } + +- let testingPluginsPath = "/usr/lib/swift/host/plugins/testing" ++ let testingPluginsPath = "/lib/swift/host/plugins/testing" + switch (ToolchainStyle(toolchain)) { + case let .xcode(isDefault): + // This target is using a built-in Xcode toolchain, and that should +diff --git a/Sources/SWBCore/ToolchainRegistry.swift b/Sources/SWBCore/ToolchainRegistry.swift +index 27b6f5c2..866d1f72 100644 +--- a/Sources/SWBCore/ToolchainRegistry.swift ++++ b/Sources/SWBCore/ToolchainRegistry.swift +@@ -403,7 +403,7 @@ public final class Toolchain: Hashable, Sendable { + + func testingLibrarySearchPath(forPlatformNamed platformName: String) -> Path? { + if testingLibraryPlatformNames.contains(platformName) { +- path.join("usr").join("lib").join("swift").join(platformName).join("testing") ++ path.join("lib").join("swift").join(platformName).join("testing") + } else { + nil + } +-- +2.54.0 + diff --git a/pkgs/development/compilers/swift/by-name/sw/swift-build/patches/0006-Link-against-XCTest-from-swift-corelibs-xctest-even-.patch b/pkgs/development/compilers/swift/by-name/sw/swift-build/patches/0006-Link-against-XCTest-from-swift-corelibs-xctest-even-.patch new file mode 100644 index 000000000000..9cddb6ff69e7 --- /dev/null +++ b/pkgs/development/compilers/swift/by-name/sw/swift-build/patches/0006-Link-against-XCTest-from-swift-corelibs-xctest-even-.patch @@ -0,0 +1,37 @@ +From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001 +From: Randy Eckenrode +Date: Mon, 12 Oct 2026 15:41:55 -0400 +Subject: [PATCH 6/6] Link against XCTest from swift-corelibs-xctest even on + Darwin +MIME-Version: 1.0 +Content-Type: text/plain; charset=UTF-8 +Content-Transfer-Encoding: 8bit + +We don’t have access to the XCTest frameworks to Xcode. The best we can +do is link against XCTest for compatibility and then not use it. +--- + Sources/SWBUniversalPlatform/Specs/ProductTypes.xcspec | 8 ++++---- + 1 file changed, 4 insertions(+), 4 deletions(-) + +diff --git a/Sources/SWBUniversalPlatform/Specs/ProductTypes.xcspec b/Sources/SWBUniversalPlatform/Specs/ProductTypes.xcspec +index 329a91f2..4ce66db4 100644 +--- a/Sources/SWBUniversalPlatform/Specs/ProductTypes.xcspec ++++ b/Sources/SWBUniversalPlatform/Specs/ProductTypes.xcspec +@@ -351,10 +351,10 @@ + DefaultBuildProperties = { + WRAPPER_EXTENSION = "xctest"; + ENABLE_TESTING_SEARCH_PATHS = YES; +- PRODUCT_SPECIFIC_LDFLAGS = "$(PRODUCT_SPECIFIC_LDFLAGS_NO_XCTEST_$(NO_XCTEST:default=NO))"; +- PRODUCT_SPECIFIC_LDFLAGS_NO_XCTEST_NO = (-Xlinker, -needed_framework, -Xlinker, XCTest, -framework, XCTest, -Xlinker, -needed-lXCTestSwiftSupport, -lXCTestSwiftSupport); +- PRODUCT_TYPE_SWIFT_STDLIB_TOOL_FLAGS = "$(PRODUCT_TYPE_SWIFT_STDLIB_TOOL_FLAGS_NO_XCTEST_$(NO_XCTEST:default=NO))"; +- PRODUCT_TYPE_SWIFT_STDLIB_TOOL_FLAGS_NO_XCTEST_NO = ("--scan-executable", "$(PLATFORM_DIR)/Developer/usr/lib/libXCTestSwiftSupport.dylib"); ++ PRODUCT_SPECIFIC_LDFLAGS = "$(PRODUCT_SPECIFIC_LDFLAGS_NO_XCTEST_$(NO_XCTEST:default=YES))"; ++ PRODUCT_SPECIFIC_LDFLAGS_NO_XCTEST_NO = (-Xlinker, -lXCTest); ++ PRODUCT_TYPE_SWIFT_STDLIB_TOOL_FLAGS = "$(PRODUCT_TYPE_SWIFT_STDLIB_TOOL_FLAGS_NO_XCTEST_$(NO_XCTEST:default=YES))"; ++ PRODUCT_TYPE_SWIFT_STDLIB_TOOL_FLAGS_NO_XCTEST_NO = ("--scan-executable", "@swift-corelibs-xctest@/lib/libXCTest.dylib"); + XCTRUNNER_PATH = "$(XCTRUNNER_PATH$(TEST_BUILD_STYLE))"; + LD_RUNPATH_SEARCH_PATHS = "$(inherited) $(LD_RUNPATH_SEARCH_PATHS_SHALLOW_BUNDLE_$(SHALLOW_BUNDLE))"; + LD_RUNPATH_SEARCH_PATHS_SHALLOW_BUNDLE_YES = "@loader_path/Frameworks"; +-- +2.54.0 + diff --git a/pkgs/development/compilers/swift/by-name/sw/swift-corelibs-libdispatch/patches/6.3/0001-gnu-install-dirs.patch b/pkgs/development/compilers/swift/by-name/sw/swift-corelibs-libdispatch/patches/6.4/0001-gnu-install-dirs.patch similarity index 100% rename from pkgs/development/compilers/swift/by-name/sw/swift-corelibs-libdispatch/patches/6.3/0001-gnu-install-dirs.patch rename to pkgs/development/compilers/swift/by-name/sw/swift-corelibs-libdispatch/patches/6.4/0001-gnu-install-dirs.patch diff --git a/pkgs/development/compilers/swift/by-name/sw/swift-corelibs-libdispatch/patches/6.3/default.nix b/pkgs/development/compilers/swift/by-name/sw/swift-corelibs-libdispatch/patches/6.4/default.nix similarity index 100% rename from pkgs/development/compilers/swift/by-name/sw/swift-corelibs-libdispatch/patches/6.3/default.nix rename to pkgs/development/compilers/swift/by-name/sw/swift-corelibs-libdispatch/patches/6.4/default.nix diff --git a/pkgs/development/compilers/swift/by-name/sw/swift-docc/patches/disable-DocCHTMLTests.patch b/pkgs/development/compilers/swift/by-name/sw/swift-docc/patches/disable-DocCHTMLTests.patch index da4168512ea1..ccda5278e785 100644 --- a/pkgs/development/compilers/swift/by-name/sw/swift-docc/patches/disable-DocCHTMLTests.patch +++ b/pkgs/development/compilers/swift/by-name/sw/swift-docc/patches/disable-DocCHTMLTests.patch @@ -1,10 +1,10 @@ diff --git a/Package.swift b/Package.swift -index 52dbba0e47..e3a1fe9c2c 100644 +index 310ead4c32..6fca3ae3de 100644 --- a/Package.swift +++ b/Package.swift -@@ -146,16 +146,16 @@ +@@ -161,16 +161,16 @@ exclude: ["CMakeLists.txt"], - swiftSettings: [.swiftLanguageMode(.v6)] + swiftSettings: swiftSettings(.v6) ), - .testTarget( - name: "DocCHTMLTests", @@ -14,7 +14,7 @@ index 52dbba0e47..e3a1fe9c2c 100644 - .product(name: "Markdown", package: "swift-markdown"), - .target(name: "DocCTestUtilities"), - ], -- swiftSettings: [.swiftLanguageMode(.v6)] +- swiftSettings: swiftSettings(.v6) - ), + // .testTarget( + // name: "DocCHTMLTests", @@ -24,7 +24,7 @@ index 52dbba0e47..e3a1fe9c2c 100644 + // .product(name: "Markdown", package: "swift-markdown"), + // .target(name: "DocCTestUtilities"), + // ], -+ // swiftSettings: [.swiftLanguageMode(.v6)] ++ // swiftSettings: swiftSettings(.v6) + // ), // Test app for DocCCommandLine diff --git a/pkgs/development/compilers/swift/by-name/sw/swift-format/Package.resolved b/pkgs/development/compilers/swift/by-name/sw/swift-format/Package.resolved index 80fc79383ec6..ac0b34d38d64 100644 --- a/pkgs/development/compilers/swift/by-name/sw/swift-format/Package.resolved +++ b/pkgs/development/compilers/swift/by-name/sw/swift-format/Package.resolved @@ -1,5 +1,5 @@ { - "originHash" : "0032058e1c61491711ce1d02ca9eb2dc4024ddc7c38bd1cb137eeed2b981fba5", + "originHash" : "c2e834ae20ceba284da4e391f9068096d56fc249f9c01a79efb12ee8b77327ee", "pins" : [ { "identity" : "swift-argument-parser", @@ -15,8 +15,8 @@ "kind" : "remoteSourceControl", "location" : "https://github.com/swiftlang/swift-cmark.git", "state" : { - "revision" : "924936d0427cb25a61169739a7660230bffa6ea6", - "version" : "0.8.0" + "revision" : "08ddb528923cc1a6527e02b7a1aee9e516ca749a", + "version" : "0.9.0" } }, { @@ -24,8 +24,8 @@ "kind" : "remoteSourceControl", "location" : "https://github.com/swiftlang/swift-markdown.git", "state" : { - "revision" : "3c6f9523da3a1ec2fd829673e472d95b8097a3b8", - "version" : "0.8.0" + "revision" : "25cb61d3482054b09ae76ca4f281b1bfe7fe5a43", + "version" : "0.9.0" } }, { @@ -33,8 +33,8 @@ "kind" : "remoteSourceControl", "location" : "https://github.com/swiftlang/swift-syntax.git", "state" : { - "branch" : "release/6.3", - "revision" : "79e4b74a295b6eb74a8b585e3a39d29e70c1dbd1" + "branch" : "release/6.4.x", + "revision" : "050f1a346fbbac0ca2cfb15a95274f7bd1cf0ccf" } } ], diff --git a/pkgs/development/compilers/swift/by-name/sw/swift-foundation-icu/files/SwiftFoundationICUConfig.cmake b/pkgs/development/compilers/swift/by-name/sw/swift-foundation-icu/files/SwiftFoundationICUConfig.cmake deleted file mode 100644 index 83eef9ba0337..000000000000 --- a/pkgs/development/compilers/swift/by-name/sw/swift-foundation-icu/files/SwiftFoundationICUConfig.cmake +++ /dev/null @@ -1,5 +0,0 @@ -add_library(_FoundationICU @buildType@ IMPORTED) -set_target_properties(_FoundationICU PROPERTIES - IMPORTED_LOCATION "@lib@/lib/${CMAKE_@buildType@_LIBRARY_PREFIX}icucore${CMAKE_@buildType@_LIBRARY_SUFFIX}" - INTERFACE_INCLUDE_DIRECTORIES "@dev@/lib/swift" -) diff --git a/pkgs/development/compilers/swift/by-name/sw/swift-foundation-icu/files/_FoundationICUConfig.cmake b/pkgs/development/compilers/swift/by-name/sw/swift-foundation-icu/files/_FoundationICUConfig.cmake new file mode 100644 index 000000000000..4164071ed36c --- /dev/null +++ b/pkgs/development/compilers/swift/by-name/sw/swift-foundation-icu/files/_FoundationICUConfig.cmake @@ -0,0 +1,7 @@ +if (NOT TARGET _FoundationICU) + add_library(_FoundationICU @buildType@ IMPORTED) + set_target_properties(_FoundationICU PROPERTIES + IMPORTED_LOCATION "@lib@/lib/${CMAKE_@buildType@_LIBRARY_PREFIX}icucore${CMAKE_@buildType@_LIBRARY_SUFFIX}" + INTERFACE_INCLUDE_DIRECTORIES "@dev@/lib/swift" + ) +endif () diff --git a/pkgs/development/compilers/swift/by-name/sw/swift-foundation-icu/package.nix b/pkgs/development/compilers/swift/by-name/sw/swift-foundation-icu/package.nix index 5296a0e473f9..0133468b7bf7 100644 --- a/pkgs/development/compilers/swift/by-name/sw/swift-foundation-icu/package.nix +++ b/pkgs/development/compilers/swift/by-name/sw/swift-foundation-icu/package.nix @@ -25,10 +25,10 @@ stdenvNoCC.mkDerivation { # Provide a CMake module. This is primarily used to glue together parts of the Swift toolchain. # Upstream provides a build that does this for us, but we want to reuse our existing ICU build. - mkdir -p "''${!outputDev}/lib/cmake/SwiftFoundationICU" + mkdir -p "''${!outputDev}/lib/cmake/_FoundationICU" export dylibExt="${stdenvNoCC.hostPlatform.extensions.sharedLibrary}" - substitute ${./files/SwiftFoundationICUConfig.cmake} "''${!outputDev}/lib/cmake/SwiftFoundationICU/SwiftFoundationICUConfig.cmake" \ + substitute ${./files/_FoundationICUConfig.cmake} "''${!outputDev}/lib/cmake/_FoundationICU/_FoundationICUConfig.cmake" \ --replace-fail '@buildType@' ${if stdenvNoCC.hostPlatform.isStatic then "STATIC" else "SHARED"} \ --replace-fail '@lib@' ${lib.escapeShellArg (lib.getLib darwin.ICU)} \ --replace-fail '@dev@' "''${!outputDev}" diff --git a/pkgs/development/compilers/swift/by-name/sw/swift-foundation/patches/6.2/0002-Devendor-SwiftFoundationICU.patch b/pkgs/development/compilers/swift/by-name/sw/swift-foundation/patches/6.2/0002-Devendor-SwiftFoundationICU.patch index 07bbb665bc3d..d4e8435bb590 100644 --- a/pkgs/development/compilers/swift/by-name/sw/swift-foundation/patches/6.2/0002-Devendor-SwiftFoundationICU.patch +++ b/pkgs/development/compilers/swift/by-name/sw/swift-foundation/patches/6.2/0002-Devendor-SwiftFoundationICU.patch @@ -30,7 +30,7 @@ index 8b4f45e..f71be26 100644 - GIT_REPOSITORY https://github.com/apple/swift-foundation-icu.git - GIT_TAG release/6.2) -endif() -+find_package(SwiftFoundationICU) ++find_package(_FoundationICU) if (_SwiftCollections_SourceDIR) message(STATUS "_SwiftCollections_SourceDIR provided, using swift-foundation-icu checkout at ${_SwiftCollections_SourceDIR}") diff --git a/pkgs/development/compilers/swift/by-name/sw/swift-foundation/patches/6.3/0002-Devendor-SwiftFoundationICU.patch b/pkgs/development/compilers/swift/by-name/sw/swift-foundation/patches/6.4/0002-Devendor-SwiftFoundationICU.patch similarity index 92% rename from pkgs/development/compilers/swift/by-name/sw/swift-foundation/patches/6.3/0002-Devendor-SwiftFoundationICU.patch rename to pkgs/development/compilers/swift/by-name/sw/swift-foundation/patches/6.4/0002-Devendor-SwiftFoundationICU.patch index 333e335e23d4..09c0acab102b 100644 --- a/pkgs/development/compilers/swift/by-name/sw/swift-foundation/patches/6.3/0002-Devendor-SwiftFoundationICU.patch +++ b/pkgs/development/compilers/swift/by-name/sw/swift-foundation/patches/6.4/0002-Devendor-SwiftFoundationICU.patch @@ -1,7 +1,7 @@ From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001 From: Randy Eckenrode Date: Sat, 27 Jun 2026 20:50:03 -0400 -Subject: [PATCH 2/2] Devendor SwiftFoundationICU +Subject: [PATCH 2/3] Devendor SwiftFoundationICU MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit @@ -13,7 +13,7 @@ the toolchain, and we don’t want to leak Swift Collections into it. 1 file changed, 2 insertions(+), 11 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt -index 31638c28..17fddb08 100644 +index 367ab356..b144ec4b 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -67,16 +67,7 @@ set(SwiftFoundation_MACRO "" CACHE STRING "Path to Foundation macro plugin") @@ -28,9 +28,9 @@ index 31638c28..17fddb08 100644 - message(STATUS "_SwiftFoundationICU_SourceDIR not provided, checking out local copy of swift-foundation-icu") - FetchContent_Declare(SwiftFoundationICU - GIT_REPOSITORY https://github.com/apple/swift-foundation-icu.git -- GIT_TAG main) +- GIT_TAG release/6.4.x) -endif() -+find_package(SwiftFoundationICU) ++find_package(_FoundationICU) if (_SwiftCollections_SourceDIR) message(STATUS "_SwiftCollections_SourceDIR provided, using swift-collections checkout at ${_SwiftCollections_SourceDIR}") diff --git a/pkgs/development/compilers/swift/by-name/sw/swift-foundation/patches/6.4/0003-Add-missing-imports.patch b/pkgs/development/compilers/swift/by-name/sw/swift-foundation/patches/6.4/0003-Add-missing-imports.patch new file mode 100644 index 000000000000..68327c61e4a2 --- /dev/null +++ b/pkgs/development/compilers/swift/by-name/sw/swift-foundation/patches/6.4/0003-Add-missing-imports.patch @@ -0,0 +1,82 @@ +From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001 +From: Randy Eckenrode +Date: Thu, 24 Sep 2026 15:51:35 -0400 +Subject: [PATCH 3/3] Add missing imports + +This is apparently needed after updating to Glibc 2.44. +--- + Sources/FoundationEssentials/Date.swift | 2 ++ + .../FoundationEssentials/FileManager/FileManager+Basics.swift | 2 ++ + Sources/FoundationEssentials/URL/URL.swift | 2 ++ + Sources/FoundationEssentials/URL/URL_Impl.swift | 2 ++ + Sources/FoundationEssentials/URL/URL_Swift.swift | 2 ++ + 5 files changed, 10 insertions(+) + +diff --git a/Sources/FoundationEssentials/Date.swift b/Sources/FoundationEssentials/Date.swift +index 45b48443..82b8711e 100644 +--- a/Sources/FoundationEssentials/Date.swift ++++ b/Sources/FoundationEssentials/Date.swift +@@ -24,6 +24,8 @@ import WinSDK + @preconcurrency import WASILibc + #endif + ++internal import _FoundationCShims ++ + #if !FOUNDATION_FRAMEWORK + /// A number of seconds. + @available(macOS 10.10, iOS 8.0, watchOS 2.0, tvOS 9.0, *) +diff --git a/Sources/FoundationEssentials/FileManager/FileManager+Basics.swift b/Sources/FoundationEssentials/FileManager/FileManager+Basics.swift +index 96ea0d23..c66f9393 100644 +--- a/Sources/FoundationEssentials/FileManager/FileManager+Basics.swift ++++ b/Sources/FoundationEssentials/FileManager/FileManager+Basics.swift +@@ -25,6 +25,8 @@ import WinSDK + @preconcurrency import WASILibc + #endif + ++internal import _FoundationCShims ++ + #if FOUNDATION_FRAMEWORK + internal import Foundation_Private + #endif +diff --git a/Sources/FoundationEssentials/URL/URL.swift b/Sources/FoundationEssentials/URL/URL.swift +index cfc53527..de00dab5 100644 +--- a/Sources/FoundationEssentials/URL/URL.swift ++++ b/Sources/FoundationEssentials/URL/URL.swift +@@ -13,6 +13,8 @@ + public struct URLResourceKey {} + #endif + ++internal import _FoundationCShims ++ + #if FOUNDATION_FRAMEWORK + internal import _ForSwiftFoundation + internal import CoreFoundation_Private.CFURL +diff --git a/Sources/FoundationEssentials/URL/URL_Impl.swift b/Sources/FoundationEssentials/URL/URL_Impl.swift +index 91ed72cd..6e5321bd 100644 +--- a/Sources/FoundationEssentials/URL/URL_Impl.swift ++++ b/Sources/FoundationEssentials/URL/URL_Impl.swift +@@ -24,6 +24,8 @@ import WinSDK + @preconcurrency import WASILibc + #endif + ++internal import _FoundationCShims ++ + #if FOUNDATION_FRAMEWORK + internal import _ForSwiftFoundation + internal import Synchronization +diff --git a/Sources/FoundationEssentials/URL/URL_Swift.swift b/Sources/FoundationEssentials/URL/URL_Swift.swift +index 6ab8fd5c..27e1a3d5 100644 +--- a/Sources/FoundationEssentials/URL/URL_Swift.swift ++++ b/Sources/FoundationEssentials/URL/URL_Swift.swift +@@ -12,6 +12,8 @@ + + #if FOUNDATION_FRAMEWORK + ++internal import _FoundationCShims ++ + #if canImport(os) + internal import os + #endif +-- +2.54.0 + diff --git a/pkgs/development/compilers/swift/by-name/sw/swift-foundation/patches/6.3/default.nix b/pkgs/development/compilers/swift/by-name/sw/swift-foundation/patches/6.4/default.nix similarity index 77% rename from pkgs/development/compilers/swift/by-name/sw/swift-foundation/patches/6.3/default.nix rename to pkgs/development/compilers/swift/by-name/sw/swift-foundation/patches/6.4/default.nix index 0906afb23227..3bd3dc806575 100644 --- a/pkgs/development/compilers/swift/by-name/sw/swift-foundation/patches/6.3/default.nix +++ b/pkgs/development/compilers/swift/by-name/sw/swift-foundation/patches/6.4/default.nix @@ -4,5 +4,5 @@ ../6.2/0001-gnu-install-dirs.patch ./0002-Devendor-SwiftFoundationICU.patch # This is needed after the Glibc 2.44 upgrade. - ../6.2/0003-Add-missing-imports.patch + ./0003-Add-missing-imports.patch ] diff --git a/pkgs/development/compilers/swift/by-name/sw/swift-llbuild/patches/6.3/0001-gnu-install-dirs.patch b/pkgs/development/compilers/swift/by-name/sw/swift-llbuild/patches/6.4/0001-gnu-install-dirs.patch similarity index 100% rename from pkgs/development/compilers/swift/by-name/sw/swift-llbuild/patches/6.3/0001-gnu-install-dirs.patch rename to pkgs/development/compilers/swift/by-name/sw/swift-llbuild/patches/6.4/0001-gnu-install-dirs.patch diff --git a/pkgs/development/compilers/swift/by-name/sw/swift-llbuild/patches/6.3/default.nix b/pkgs/development/compilers/swift/by-name/sw/swift-llbuild/patches/6.4/default.nix similarity index 100% rename from pkgs/development/compilers/swift/by-name/sw/swift-llbuild/patches/6.3/default.nix rename to pkgs/development/compilers/swift/by-name/sw/swift-llbuild/patches/6.4/default.nix diff --git a/pkgs/development/compilers/swift/by-name/sw/swift-testing/package.nix b/pkgs/development/compilers/swift/by-name/sw/swift-testing/package.nix index faa145477caa..fe19823ad681 100644 --- a/pkgs/development/compilers/swift/by-name/sw/swift-testing/package.nix +++ b/pkgs/development/compilers/swift/by-name/sw/swift-testing/package.nix @@ -75,6 +75,9 @@ stdenv.mkDerivation (finalAttrs: { -id "''${!outputLib}/lib/libTesting${sharedLibrary}" install_name_tool "''${!outputDev}/lib/swift/host/plugins/testing/libTestingMacros${buildSharedLibrary}" \ -id "''${!outputDev}/lib/swift/host/plugins/testing/libTestingMacros${buildSharedLibrary}" + + # See below. + mv "''${!outputLib}/lib/lib_Testing_UIKit.dylib" lib_Testing_UIKit.dylib '' else '' @@ -83,6 +86,12 @@ stdenv.mkDerivation (finalAttrs: { '' ); + # Work around the following error when creating the toolchain stubs. + # lib/lib_Testing_UIKit.dylib' truncated or malformed object (node is not an export node in export trie data at node: 0x0) + preFixup = lib.optionalString stdenv.hostPlatform.isDarwin '' + mv lib_Testing_UIKit.dylib "''${!outputLib}/lib/lib_Testing_UIKit.dylib" + ''; + __structuredAttrs = true; meta = { diff --git a/pkgs/development/compilers/swift/by-name/sw/swift-testing/patches/0001-gnu-install-dirs.patch b/pkgs/development/compilers/swift/by-name/sw/swift-testing/patches/0001-gnu-install-dirs.patch index caa75758e8c8..4f773ed981a1 100644 --- a/pkgs/development/compilers/swift/by-name/sw/swift-testing/patches/0001-gnu-install-dirs.patch +++ b/pkgs/development/compilers/swift/by-name/sw/swift-testing/patches/0001-gnu-install-dirs.patch @@ -18,7 +18,7 @@ index 38aeda61..2499a8db 100644 -set(SwiftTesting_INSTALL_LIBDIR "${CMAKE_INSTALL_LIBDIR}/swift$<$>:_static>/${SwiftTesting_PLATFORM_SUBDIR}$<$,$>>:/testing>$<$:/${SwiftTesting_ARCH_SUBDIR}>") -set(SwiftTesting_INSTALL_SWIFTMODULEDIR "${CMAKE_INSTALL_LIBDIR}/swift$<$>:_static>/${SwiftTesting_PLATFORM_SUBDIR}$<$,$>>:/testing>") +set(SwiftTesting_INSTALL_LIBDIR "${CMAKE_INSTALL_LIBDIR}") -+set(SwiftTesting_INSTALL_SWIFTMODULEDIR "@include@/lib/swift$<$>:_static>/${SwiftTesting_PLATFORM_SUBDIR}$<$,$>>:/testing>") ++set(SwiftTesting_INSTALL_SWIFTMODULEDIR "@include@/lib/swift$<$>:_static>/${SwiftTesting_PLATFORM_SUBDIR}") add_compile_options($<$:-no-toolchain-stdlib-rpath>) diff --git a/pkgs/development/compilers/swift/by-name/sw/swift-tools-protocols/package.nix b/pkgs/development/compilers/swift/by-name/sw/swift-tools-protocols/package.nix index 9d0d2b5efb2e..aa5590f94ddb 100644 --- a/pkgs/development/compilers/swift/by-name/sw/swift-tools-protocols/package.nix +++ b/pkgs/development/compilers/swift/by-name/sw/swift-tools-protocols/package.nix @@ -8,6 +8,7 @@ stdenv, swift, swift_sources, + swift_release, }: let @@ -18,12 +19,9 @@ let }; in -# The version of swift-tools-protocols comes from Swift’s `update_checkout` script. It is unfortunately not tagged -# using the `swift--RELEASE` convention other toolchain dependencies use. -# See: https://github.com/swiftlang/swift/blob/main/utils/update_checkout/update-checkout-config.json stdenv.mkDerivation (finalAttrs: { pname = "swift-tools-protocols"; - inherit (swift_sources.swift-tools-protocols) version; + version = swift_release; outputs = [ "out" @@ -33,7 +31,7 @@ stdenv.mkDerivation (finalAttrs: { src = fetchFromGitHub { owner = "swiftlang"; repo = "swift-tools-protocols"; - tag = swift_sources.swift-tools-protocols.version; + tag = "swift-${finalAttrs.version}-RELEASE"; inherit (swift_sources.swift-tools-protocols) hash; }; diff --git a/pkgs/development/compilers/swift/by-name/sw/swift/package.nix b/pkgs/development/compilers/swift/by-name/sw/swift/package.nix index 63c71cd97a61..05ad8cfc87c3 100644 --- a/pkgs/development/compilers/swift/by-name/sw/swift/package.nix +++ b/pkgs/development/compilers/swift/by-name/sw/swift/package.nix @@ -3,6 +3,7 @@ config, apple-sdk_14, apple-sdk_26, + apple-sdk_27, callPackage, llvmPackages, llvmPackages_upstream, @@ -26,7 +27,11 @@ let includeTesting = swiftc.supportsMacros && swift-testing != null; # Need to use an older SDK if `swiftc` does not support macros. - propagated-sdk = if swiftc.supportsMacros then apple-sdk_26 else apple-sdk_14; + propagated-sdk = + if swiftc.supportsMacros then + (if lib.versions.majorMinor swift_release == "6.2" then apple-sdk_26 else apple-sdk_27) + else + apple-sdk_14; # The toolchain needs to propagate libdispatch with and without the Swift overlay to make sure it propagates # both the non-Swift shared libraries and the Swift overlay shared library. diff --git a/pkgs/development/compilers/swift/by-name/sw/swiftc/package.nix b/pkgs/development/compilers/swift/by-name/sw/swiftc/package.nix index 469e752590d9..236aca93f157 100644 --- a/pkgs/development/compilers/swift/by-name/sw/swiftc/package.nix +++ b/pkgs/development/compilers/swift/by-name/sw/swiftc/package.nix @@ -2,6 +2,7 @@ lib, apple-sdk_14, apple-sdk_26, + apple-sdk_27, bootstrapStage, buildSwiftPackages, cmake, @@ -65,7 +66,11 @@ let isBootstrapToolchain62 = lib.versions.majorMinor swift_release == "6.2"; # SDK versions past 14.x don’t work with the c++-based bootstrap compiler due to unconditionally exposing macros. - build-sdk = if bootstrapStage == 2 then apple-sdk_26 else apple-sdk_14; + build-sdk = + if bootstrapStage == 2 then + (if isBootstrapToolchain62 then apple-sdk_26 else apple-sdk_27) + else + apple-sdk_14; # `buildSwiftPackages` is always the previous stage. Building the stage 2 compiler requires linking against the # separately built stdlib because it does not build its own. Override the stage 1 compiler to use it. diff --git a/pkgs/development/compilers/swift/by-name/sw/swiftc/patches/6.2/default.nix b/pkgs/development/compilers/swift/by-name/sw/swiftc/patches/6.2/default.nix index da8a628820c7..e87de4207b5f 100644 --- a/pkgs/development/compilers/swift/by-name/sw/swiftc/patches/6.2/default.nix +++ b/pkgs/development/compilers/swift/by-name/sw/swiftc/patches/6.2/default.nix @@ -24,10 +24,6 @@ }) # Use libdispatch from nixpkgs instead of building it in-tree ./0006-use-nixpkgs-libdispatch.patch - # The Swift JIT needs help finding dylibs when they are linked into the toolchain at `$out/lib`. - (replaceVars ./0007-Help-Swift-JIT-find-the-separate-stdlib-and-framewor.patch { - swiftPlatform = stdenv.hostPlatform.swift.platform; - }) # Fix missing when building against libstdc++ 15 (fetchpatch2 { url = "https://github.com/swiftlang/swift/commit/a5c727125e952839c373fe47e9f9e359db3d4d38.patch?full_index=1"; diff --git a/pkgs/development/compilers/swift/by-name/sw/swiftc/patches/6.3/default.nix b/pkgs/development/compilers/swift/by-name/sw/swiftc/patches/6.3/default.nix deleted file mode 100644 index 36ef8061dc5a..000000000000 --- a/pkgs/development/compilers/swift/by-name/sw/swiftc/patches/6.3/default.nix +++ /dev/null @@ -1,36 +0,0 @@ -{ - lib, - bootstrapStage, - fetchpatch2, - libllvm, - replaceVars, - stdenv, -}: - -[ - # ClangImporter needs help finding the location of libc and libc++ (and using it). - ../6.2/0001-Read-C-and-C-stdlib-flags-from-the-wrapped-compiler.patch - ../6.2/0002-Use-Nixpkgs-C-and-C-stdlib-paths-in-ClangImporter.patch - # Backport linking against an external swift-cmark. - # From https://github.com/swiftlang/swift/pull/70791. - ../6.2/0003-cmark-build-revamp.patch - # Fix compilation errors when building the SIL module during bootstrap. - # error: field has incomplete type 'clang::DeclContext::all_lookups_iterator' - # error: field has incomplete type 'clang::DeclContext::ddiag_iterator' - ../6.2/0004-sil-missing-headers.patch - # Use libLTO.dylib from the LLVM built for Swift - (replaceVars ../6.2/0005-specify-liblto-path.patch { - libllvm_path = lib.getLib libllvm; - }) - # Use libdispatch from nixpkgs instead of building it in-tree - ../6.2/0006-use-nixpkgs-libdispatch.patch - # The Swift JIT needs help finding dylibs when they are linked into the toolchain at `$out/lib`. - (replaceVars ../6.2/0007-Help-Swift-JIT-find-the-separate-stdlib-and-framewor.patch { - swiftPlatform = stdenv.hostPlatform.swift.platform; - }) - # Fix missing null-terminator on Linux, which results in a crash in `swift repl`. - (fetchpatch2 { - url = "https://github.com/swiftlang/swift/commit/cfbe70db5d1e65bed2388f97ee52f65719c812b3.patch?full_index=1"; - hash = "sha256-XxdP3Qs2YfT20d5E216cOQy+fUgYQpwMDWSyl77NQHw="; - }) -] diff --git a/pkgs/development/compilers/swift/by-name/sw/swiftc/patches/6.4/0001-Read-C-and-C-stdlib-flags-from-the-wrapped-compiler.patch b/pkgs/development/compilers/swift/by-name/sw/swiftc/patches/6.4/0001-Read-C-and-C-stdlib-flags-from-the-wrapped-compiler.patch new file mode 100644 index 000000000000..952957374407 --- /dev/null +++ b/pkgs/development/compilers/swift/by-name/sw/swiftc/patches/6.4/0001-Read-C-and-C-stdlib-flags-from-the-wrapped-compiler.patch @@ -0,0 +1,131 @@ +From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001 +From: Randy Eckenrode +Date: Sun, 4 Jan 2026 14:37:05 -0500 +Subject: [PATCH 1/9] Read C and C++ stdlib flags from the wrapped compiler +MIME-Version: 1.0 +Content-Type: text/plain; charset=UTF-8 +Content-Transfer-Encoding: 8bit + +On most platforms supported by Nixpkgs, the C and C++ standard libraries +are located separately and are not part of the sysroot, but Swift’s +ClangImporter assumes they are part of the sysroot by default. + +While it is possible to create a sysroot for use with Swift, this has +negative affects on every package that wants to use Swift and compile +C++ code. The C++ library must be removed from the standard platform +configuration, which makes adding Swift as a dependency too disruptive. +--- + lib/ClangImporter/ClangImporter.cpp | 8 ++++ + lib/ClangImporter/ClangIncludePaths.cpp | 9 +++++ + lib/ClangImporter/ClangIncludePaths.h | 51 +++++++++++++++++++++++++ + 3 files changed, 68 insertions(+) + +diff --git a/lib/ClangImporter/ClangImporter.cpp b/lib/ClangImporter/ClangImporter.cpp +index 2815b8baf4c..fcc047c9a18 100644 +--- a/lib/ClangImporter/ClangImporter.cpp ++++ b/lib/ClangImporter/ClangImporter.cpp +@@ -624,6 +624,14 @@ void importer::getNormalInvocationArguments( + }); + } + ++ // Ensure libc is available. The C standard library is separate from the sysroot ++ // on most platforms in Nixpkgs. (Darwin is a prominent exception.) ++ addFlagsFromNixCC(invocationArgStrs, "libc-cflags"); ++ ++ // Ensure the libc++ headers are available. The C++ standard library is separate ++ // from the sysroot on most platforms in Nixpkgs. ++ addFlagsFromNixCC(invocationArgStrs, "libcxx-cxxflags"); ++ + if (LangOpts.EnableCXXInterop) { + if (auto path = getCxxShimModuleMapPath(searchPathOpts, LangOpts, triple)) { + invocationArgStrs.push_back((Twine("-fmodule-map-file=") + *path).str()); +diff --git a/lib/ClangImporter/ClangIncludePaths.cpp b/lib/ClangImporter/ClangIncludePaths.cpp +index 5bc725811f7..875f5be1024 100644 +--- a/lib/ClangImporter/ClangIncludePaths.cpp ++++ b/lib/ClangImporter/ClangIncludePaths.cpp +@@ -191,6 +191,15 @@ ClangImporter::createClangArgs(const ClangImporterOptions &ClangImporterOpts, + for (const auto &each : ClangImporterOpts.ExtraArgs) { + clangArgs.push_back(each.c_str()); + } ++ ++ // Ensure libc is available. The C standard library is separate from the sysroot ++ // on most platforms in Nixpkgs. (Darwin is a prominent exception.) ++ addFlagsFromNixCC(clangArgs, "libc-cflags"); ++ ++ // Ensure the libc++ headers are available. The C++ standard library is separate ++ // from the sysroot on most platforms in Nixpkgs. ++ addFlagsFromNixCC(clangArgs, "libcxx-cxxflags"); ++ + llvm::opt::InputArgList clangDriverArgs = + parseClangDriverArgs(clangDriver, clangArgs); + // If a sysroot was explicitly passed to Swift, make sure to pass it to the +diff --git a/lib/ClangImporter/ClangIncludePaths.h b/lib/ClangImporter/ClangIncludePaths.h +index 7f08397fa7d..69be98357d9 100644 +--- a/lib/ClangImporter/ClangIncludePaths.h ++++ b/lib/ClangImporter/ClangIncludePaths.h +@@ -14,6 +14,8 @@ + #define SWIFT_CLANG_INCLUDE_PATHS_H + + #include "swift/AST/ASTContext.h" ++#include "llvm/ADT/StringRef.h" ++#include "llvm/Support/CommandLine.h" + + namespace swift { + +@@ -23,4 +25,53 @@ getCxxShimModuleMapPath(SearchPathOptions &opts, const LangOptions &langOpts, + + } // namespace swift + ++template ++void addFlagsFromNixCC(std::vector &invocationArgStrs, const char* flagFile) { ++ auto swiftPath = llvm::sys::fs::getMainExecutable(nullptr, nullptr); ++ ++ if (swiftPath != "") { ++ llvm::BumpPtrAllocator allocator; ++ llvm::StringSaver saver(allocator); ++ ++ // Read `flagFile` from Clang’s `nix-support` folder by finding it relative to the store ++ // location of `clang`, which is expected to be adjacent to Swift in `$out/bin`. ++ llvm::SmallString<256> clangPath = llvm::StringRef(swiftPath); ++ llvm::sys::path::remove_filename(clangPath); ++ llvm::sys::path::append(clangPath, "clang"); ++ ++ llvm::SmallString<256> path; ++ ++ // This shouldn’t happen, but if `real_path` fails to resolve `clang`, give up. ++ if (llvm::sys::fs::real_path(clangPath, path, /*expand_tilde*/ true)) { return; } ++ ++ llvm::sys::path::remove_filename(path); ++ llvm::sys::path::remove_filename(path); ++ llvm::sys::path::append(path, "nix-support", flagFile); ++ ++ // Treat `flagFile` as a response file for Clang. Because Clang expects response ++ // files to be expanded already at this point, it has to be expanded manually. ++ if (auto buffer = llvm::vfs::getRealFileSystem()->getBufferForFile(path)) { ++ auto contents = (*buffer)->getMemBufferRef().getBuffer(); ++ llvm::SmallVector args; ++#if _WIN32 ++ llvm::cl::TokenizeWindowsCommandLineNoCopy(contents, saver, args); ++#else ++ llvm::cl::TokenizeGNUCommandLine(contents, saver, args); ++#endif ++ for (auto arg : args) { ++ auto arg_str = [&arg = arg]() constexpr { ++ if constexpr (std::is_same::value) { ++ // This leaks, but there doesn’t seem to be a better way. ++ auto len = std::strlen(arg) + 1; ++ return std::strncpy(new char[len], arg, len); ++ } else { ++ return arg; ++ } ++ }(); ++ invocationArgStrs.push_back(arg_str); ++ } ++ } ++ } ++} ++ + #endif // SWIFT_CLANG_INCLUDE_PATHS_H +-- +2.54.0 + diff --git a/pkgs/development/compilers/swift/by-name/sw/swiftc/patches/6.4/0006-use-nixpkgs-libdispatch.patch b/pkgs/development/compilers/swift/by-name/sw/swiftc/patches/6.4/0006-use-nixpkgs-libdispatch.patch new file mode 100644 index 000000000000..5ccb101c90d9 --- /dev/null +++ b/pkgs/development/compilers/swift/by-name/sw/swiftc/patches/6.4/0006-use-nixpkgs-libdispatch.patch @@ -0,0 +1,83 @@ +From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001 +From: Randy Eckenrode +Date: Fri, 13 Feb 2026 20:51:47 -0500 +Subject: [PATCH 6/9] use-nixpkgs-libdispatch + +--- + CMakeLists.txt | 10 ++-------- + stdlib/cmake/modules/StdlibOptions.cmake | 3 --- + stdlib/public/Concurrency/CMakeLists.txt | 16 ---------------- + 3 files changed, 2 insertions(+), 27 deletions(-) + +diff --git a/CMakeLists.txt b/CMakeLists.txt +index c47789bc72e..7a09d3f241e 100644 +--- a/CMakeLists.txt ++++ b/CMakeLists.txt +@@ -909,12 +909,6 @@ if(SWIFT_ENABLE_DISPATCH AND NOT CMAKE_SYSTEM_NAME STREQUAL "Darwin") + if(SWIFT_INCLUDE_TOOLS AND SWIFT_BUILD_SOURCEKIT) + set(SWIFT_BUILD_HOST_DISPATCH TRUE) + endif() +- +- if(SWIFT_BUILD_HOST_DISPATCH) +- if(NOT EXISTS "${SWIFT_PATH_TO_LIBDISPATCH_SOURCE}") +- message(SEND_ERROR "SourceKit requires libdispatch on non-Darwin hosts. Please specify SWIFT_PATH_TO_LIBDISPATCH_SOURCE") +- endif() +- endif() + endif() + + file(STRINGS "utils/availability-macros.def" SWIFT_STDLIB_AVAILABILITY_DEFINITIONS) +@@ -1538,8 +1532,8 @@ if (LLVM_ENABLE_DOXYGEN) + message(STATUS "Doxygen: enabled") + endif() + +-if(SWIFT_ENABLE_DISPATCH) +- include(Libdispatch) ++if(SWIFT_ENABLE_DISPATCH AND NOT CMAKE_SYSTEM_NAME STREQUAL "Darwin") ++ find_package(dispatch) + endif() + + # Add all of the subdirectories, where we actually do work. +diff --git a/stdlib/cmake/modules/StdlibOptions.cmake b/stdlib/cmake/modules/StdlibOptions.cmake +index 74be44aca6a..2f3d7b0801e 100644 +--- a/stdlib/cmake/modules/StdlibOptions.cmake ++++ b/stdlib/cmake/modules/StdlibOptions.cmake +@@ -221,9 +221,6 @@ if (SWIFT_ENABLE_EXPERIMENTAL_CONCURRENCY) + + if (SWIFT_ENABLE_DISPATCH) + set(SWIFT_CONCURRENCY_USES_DISPATCH TRUE) +- if (NOT CMAKE_SYSTEM_NAME STREQUAL "Darwin" AND NOT EXISTS "${SWIFT_PATH_TO_LIBDISPATCH_SOURCE}") +- message(SEND_ERROR "Concurrency requires libdispatch on non-Darwin hosts. Please specify SWIFT_PATH_TO_LIBDISPATCH_SOURCE") +- endif() + endif() + + if(SWIFT_CONCURRENCY_USES_DISPATCH) +diff --git a/stdlib/public/Concurrency/CMakeLists.txt b/stdlib/public/Concurrency/CMakeLists.txt +index d93b9a6382c..5b8edd68c77 100644 +--- a/stdlib/public/Concurrency/CMakeLists.txt ++++ b/stdlib/public/Concurrency/CMakeLists.txt +@@ -25,22 +25,6 @@ set(swift_concurrency_incorporate_object_libraries_so swiftThreading) + + if("${SWIFT_CONCURRENCY_GLOBAL_EXECUTOR}" STREQUAL "dispatch") + if(NOT CMAKE_SYSTEM_NAME STREQUAL "Darwin") +- set(swift_concurrency_dispatch_include_directories +- ${SWIFT_PATH_TO_LIBDISPATCH_SOURCE}) +- if(TARGET dispatch) +- get_target_property(dispatch_include_directories +- dispatch INTERFACE_INCLUDE_DIRECTORIES) +- if(dispatch_include_directories) +- list(APPEND swift_concurrency_dispatch_include_directories +- ${dispatch_include_directories}) +- endif() +- endif() +- list(REMOVE_DUPLICATES swift_concurrency_dispatch_include_directories) +- foreach(directory ${swift_concurrency_dispatch_include_directories}) +- list(APPEND SWIFT_RUNTIME_CONCURRENCY_C_FLAGS +- "-I${directory}") +- endforeach() +- + # FIXME: we can't rely on libdispatch having been built for the + # target at this point in the process. Currently, we're relying + # on soft-linking. +-- +2.54.0 + diff --git a/pkgs/development/compilers/swift/by-name/sw/swiftc/patches/6.4/0008-Disable-availability-checking-when-building-the-Runt.patch b/pkgs/development/compilers/swift/by-name/sw/swiftc/patches/6.4/0008-Disable-availability-checking-when-building-the-Runt.patch new file mode 100644 index 000000000000..3a3cfada5b04 --- /dev/null +++ b/pkgs/development/compilers/swift/by-name/sw/swiftc/patches/6.4/0008-Disable-availability-checking-when-building-the-Runt.patch @@ -0,0 +1,31 @@ +From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001 +From: Randy Eckenrode +Date: Thu, 24 Sep 2026 20:02:54 -0400 +Subject: [PATCH 8/9] Disable availability checking when building the Runtime + module + +We want to keep strict availability enabled so that the stdlib modules +and text-based stubs match what is deployed with the OS and shipped in +the SDK, but we need to be able to build the stdlib to generate those +modules and stubs. Disabling the checks lets us do that. +--- + stdlib/public/RuntimeModule/CMakeLists.txt | 3 ++- + 1 file changed, 2 insertions(+), 1 deletion(-) + +diff --git a/stdlib/public/RuntimeModule/CMakeLists.txt b/stdlib/public/RuntimeModule/CMakeLists.txt +index 43742dbf48d..0137f07bfe0 100644 +--- a/stdlib/public/RuntimeModule/CMakeLists.txt ++++ b/stdlib/public/RuntimeModule/CMakeLists.txt +@@ -104,7 +104,8 @@ set(runtime_compile_flags + "-Xcc;-I${CMAKE_BINARY_DIR}/include" + "-Xcc;-I${SWIFT_STDLIB_SOURCE_DIR}/public/RuntimeModule/modules" + "-disable-upcoming-feature;MemberImportVisibility" +- "-enable-experimental-feature;Reparenting") ++ "-enable-experimental-feature;Reparenting" ++ "-Xfrontend;-disable-availability-checking") + + ###TODO: Add these when we add static linking support + # +-- +2.54.0 + diff --git a/pkgs/development/compilers/swift/by-name/sw/swiftc/patches/6.4/0009-Fix-_Differentiation-module-build-on-Darwin.patch b/pkgs/development/compilers/swift/by-name/sw/swiftc/patches/6.4/0009-Fix-_Differentiation-module-build-on-Darwin.patch new file mode 100644 index 000000000000..003d14edcc99 --- /dev/null +++ b/pkgs/development/compilers/swift/by-name/sw/swiftc/patches/6.4/0009-Fix-_Differentiation-module-build-on-Darwin.patch @@ -0,0 +1,41 @@ +From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001 +From: Randy Eckenrode +Date: Thu, 24 Sep 2026 21:46:45 -0400 +Subject: [PATCH 9/9] Fix _Differentiation module build on Darwin + +Without this, it can fail to find the _Builtin_float module. This +presumably used to work due to the SDK overlay, which is no longer +built (see: https://github.com/swiftlang/swift/pull/81726). +--- + stdlib/public/Differentiation/CMakeLists.txt | 8 ++++++++ + 1 file changed, 8 insertions(+) + +diff --git a/stdlib/public/Differentiation/CMakeLists.txt b/stdlib/public/Differentiation/CMakeLists.txt +index f7149eacb0a..8f1579406b7 100644 +--- a/stdlib/public/Differentiation/CMakeLists.txt ++++ b/stdlib/public/Differentiation/CMakeLists.txt +@@ -16,6 +16,8 @@ else() + set(swiftDifferentiationSIMDFiles) + endif() + ++set(swiftDifferentiationDarwinDependencies _Builtin_float) ++ + add_swift_target_library(swift_Differentiation ${SWIFT_STDLIB_LIBRARY_BUILD_TYPES} IS_STDLIB + Differentiable.swift + DifferentialOperators.swift +@@ -31,6 +33,12 @@ add_swift_target_library(swift_Differentiation ${SWIFT_STDLIB_LIBRARY_BUILD_TYPE + TgmathDerivatives.swift.gyb + ${swiftDifferentiationSIMDFiles} + ++ SWIFT_MODULE_DEPENDS_OSX ${swiftDifferentiationDarwinDependencies} ++ SWIFT_MODULE_DEPENDS_IOS ${swiftDifferentiationDarwinDependencies} ++ SWIFT_MODULE_DEPENDS_TVOS ${swiftDifferentiationDarwinDependencies} ++ SWIFT_MODULE_DEPENDS_WATCHOS ${swiftDifferentiationDarwinDependencies} ++ SWIFT_MODULE_DEPENDS_XROS ${swiftDifferentiationDarwinDependencies} ++ + SWIFT_MODULE_DEPENDS_ANDROID Android + SWIFT_MODULE_DEPENDS_LINUX Glibc + SWIFT_MODULE_DEPENDS_LINUX_STATIC Musl +-- +2.54.0 + diff --git a/pkgs/development/compilers/swift/by-name/sw/swiftc/patches/6.4/default.nix b/pkgs/development/compilers/swift/by-name/sw/swiftc/patches/6.4/default.nix new file mode 100644 index 000000000000..370b353ad998 --- /dev/null +++ b/pkgs/development/compilers/swift/by-name/sw/swiftc/patches/6.4/default.nix @@ -0,0 +1,38 @@ +{ + lib, + bootstrapStage, + fetchpatch2, + libllvm, + replaceVars, + stdenv, +}: + +[ + # ClangImporter needs help finding the location of libc and libc++ (and using it). + ./0001-Read-C-and-C-stdlib-flags-from-the-wrapped-compiler.patch + ../6.2/0002-Use-Nixpkgs-C-and-C-stdlib-paths-in-ClangImporter.patch + # Backport linking against an external swift-cmark. + # From https://github.com/swiftlang/swift/pull/70791. + ../6.2/0003-cmark-build-revamp.patch + # Fix compilation errors when building the SIL module during bootstrap. + # error: field has incomplete type 'clang::DeclContext::all_lookups_iterator' + # error: field has incomplete type 'clang::DeclContext::ddiag_iterator' + ../6.2/0004-sil-missing-headers.patch + # Use libLTO.dylib from the LLVM built for Swift + (replaceVars ../6.2/0005-specify-liblto-path.patch { + libllvm_path = lib.getLib libllvm; + }) + # Use libdispatch from nixpkgs instead of building it in-tree + ./0006-use-nixpkgs-libdispatch.patch + # We need to be able to build the stdlib on Darwin even if we don’t use most of it because we need to be able to + # generate the text-based stubs and module definitions for use with the system frameworks. + # + # Swift 6.4 adds availability annotations to the Backtracing APIs. While it is possible to change the OS version used + # to make this build (see: https://github.com/swiftlang/swift/commit/c432e9df61858bc8372ff06a855d34c9448ff93e), we + # want the versions in the module interfaces to match those shipped with Xcode and the SDK. + # + # Disabling the checks while keeping the annotations lets us do that. + ./0008-Disable-availability-checking-when-building-the-Runt.patch + # Building the _Differentiation module needs _Builtin_float on Darwin. + ./0009-Fix-_Differentiation-module-build-on-Darwin.patch +] diff --git a/pkgs/development/compilers/swift/by-name/sw/swiftpm/package.nix b/pkgs/development/compilers/swift/by-name/sw/swiftpm/package.nix index b951c255c6c2..e3f78b7d15e4 100644 --- a/pkgs/development/compilers/swift/by-name/sw/swiftpm/package.nix +++ b/pkgs/development/compilers/swift/by-name/sw/swiftpm/package.nix @@ -3,7 +3,6 @@ callPackage, cmake, fetchFromGitHub, - fetchpatch2, llvmPackages, ninja, replaceVars, @@ -71,8 +70,6 @@ stdenv.mkDerivation (finalAttrs: { patches = [ ./patches/0001-gnu-install-dirs.patch - # Use swift-corelibs-xctest even on Darwin (because XCTest.framework is not available in nixpkgs). - ./patches/0002-darwin-swift-corelibs-xctest.patch # SwiftPM tries to use `sandbox-exec` for sandboxing, which will fail when it is run in the Nix sandbox. ./patches/0003-disable-sandbox.patch # SwiftPM falls back to looking for manifests and plugins in the Swift compiler location. Find them in $out. @@ -93,13 +90,12 @@ stdenv.mkDerivation (finalAttrs: { }) # SwiftPM tries to find Clang via `CC`, but that can be GCC on Linux, which doesn’t actually work with SwiftPM. ./patches/0011-Always-find-Clang-in-the-toolchain.patch - # Build missing `swift-package-collection` and `swift-package-registry` binaries. - (fetchpatch2 { - url = "https://github.com/swiftlang/swift-package-manager/commit/e1910f814cc1be40c709c3987a29488b9bee2f92.patch?full_index=1"; - hash = "sha256-4Ew/cKlk+Zn8cIQvh0jQy4Fz+xGYBYwch4+SBu1nKpI="; - }) # Include the Darwin testing helper in the CMake-built package. ./patches/0012-Build-and-install-the-Darwin-testing-helper-for-the-.patch + # SwiftPM makes assumptions about where the toolchain is that don’t hold in Nixpkgs. + (replaceVars ./patches/0013-Help-SwiftPM-find-the-toolchain-in-the-store.patch { + store-dir = builtins.storeDir; + }) ]; postPatch = '' diff --git a/pkgs/development/compilers/swift/by-name/sw/swiftpm/patches/0002-darwin-swift-corelibs-xctest.patch b/pkgs/development/compilers/swift/by-name/sw/swiftpm/patches/0002-darwin-swift-corelibs-xctest.patch deleted file mode 100644 index da49de64f7fc..000000000000 --- a/pkgs/development/compilers/swift/by-name/sw/swiftpm/patches/0002-darwin-swift-corelibs-xctest.patch +++ /dev/null @@ -1,102 +0,0 @@ -From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001 -From: Randy Eckenrode -Date: Sat, 13 Dec 2025 22:57:10 -0500 -Subject: [PATCH 02/11] darwin-swift-corelibs-xctest - ---- - .../Commands/Utilities/TestingSupport.swift | 65 ------------------- - 1 file changed, 65 deletions(-) - -diff --git a/Sources/Commands/Utilities/TestingSupport.swift b/Sources/Commands/Utilities/TestingSupport.swift -index 2d6d12beb..e8348bd72 100644 ---- a/Sources/Commands/Utilities/TestingSupport.swift -+++ b/Sources/Commands/Utilities/TestingSupport.swift -@@ -29,46 +29,6 @@ import func TSCBasic.withTemporaryFile - /// Note: In the long term this should be factored into a reusable module that - /// can run and report results on tests from both CLI and libSwiftPM API. - enum TestingSupport { -- /// Locates XCTestHelper tool inside the libexec directory and bin directory. -- /// Note: It is a fatalError if we are not able to locate the tool. -- /// -- /// - Returns: Path to XCTestHelper tool. -- static func xctestHelperPath(swiftCommandState: SwiftCommandState) throws -> AbsolutePath { -- var triedPaths = [AbsolutePath]() -- -- func findXCTestHelper(swiftBuildPath: AbsolutePath) -> AbsolutePath? { -- // XCTestHelper tool is installed in libexec. -- let maybePath = swiftBuildPath.parentDirectory.parentDirectory.appending( -- components: "libexec", "swift", "pm", "swiftpm-xctest-helper" -- ) -- if swiftCommandState.fileSystem.isFile(maybePath) { -- return maybePath -- } else { -- triedPaths.append(maybePath) -- return nil -- } -- } -- -- if let firstCLIArgument = CommandLine.arguments.first { -- let runningSwiftBuildPath = try AbsolutePath(validating: firstCLIArgument, relativeTo: swiftCommandState.originalWorkingDirectory) -- if let xctestHelperPath = findXCTestHelper(swiftBuildPath: runningSwiftBuildPath) { -- return xctestHelperPath -- } -- } -- -- // This will be true during swiftpm development or when using swift.org toolchains. -- let xcodePath = try AsyncProcess.checkNonZeroExit(args: "/usr/bin/xcode-select", "--print-path").spm_chomp() -- let installedSwiftBuildPath = try AsyncProcess.checkNonZeroExit( -- args: "/usr/bin/xcrun", "--find", "swift-build", -- environment: ["DEVELOPER_DIR": xcodePath] -- ).spm_chomp() -- if let xctestHelperPath = findXCTestHelper(swiftBuildPath: try AbsolutePath(validating: installedSwiftBuildPath)) { -- return xctestHelperPath -- } -- -- throw InternalError("XCTestHelper binary not found, tried \(triedPaths.map { $0.pathString }.joined(separator: ", "))") -- } -- - static func getTestSuites( - in testProducts: [BuiltTestProduct], - swiftCommandState: SwiftCommandState, -@@ -112,30 +72,6 @@ enum TestingSupport { - ) throws -> [TestSuite] { - // Run the correct tool. - var args = [String]() -- #if os(macOS) -- let data: String = try withTemporaryFile { tempFile in -- args = [try Self.xctestHelperPath(swiftCommandState: swiftCommandState).pathString, path.pathString, tempFile.path.pathString] -- let env = try Self.constructTestEnvironment( -- toolchain: try swiftCommandState.getTargetToolchain(), -- destinationBuildParameters: swiftCommandState.buildParametersForTest( -- enableCodeCoverage: enableCodeCoverage, -- shouldSkipBuilding: shouldSkipBuilding, -- experimentalTestOutput: experimentalTestOutput -- ).productsBuildParameters, -- sanitizers: sanitizers, -- library: .xctest -- ) -- try Self.runProcessWithExistenceCheck( -- path: path, -- fileSystem: swiftCommandState.fileSystem, -- args: args, -- env: env -- ) -- -- // Read the temporary file's content. -- return try swiftCommandState.fileSystem.readFileContents(AbsolutePath(tempFile.path)) -- } -- #else - let env = try Self.constructTestEnvironment( - toolchain: try swiftCommandState.getTargetToolchain(), - destinationBuildParameters: swiftCommandState.buildParametersForTest( -@@ -152,7 +88,6 @@ enum TestingSupport { - args: args, - env: env - ) -- #endif - // Parse json and return TestSuites. - return try TestSuite.parse(jsonString: data, context: args.joined(separator: " ")) - } --- -2.54.0 - diff --git a/pkgs/development/compilers/swift/by-name/sw/swiftpm/patches/0004-fix-backdeploy-rpath.patch b/pkgs/development/compilers/swift/by-name/sw/swiftpm/patches/0004-fix-backdeploy-rpath.patch deleted file mode 100644 index 8cced022a02a..000000000000 --- a/pkgs/development/compilers/swift/by-name/sw/swiftpm/patches/0004-fix-backdeploy-rpath.patch +++ /dev/null @@ -1,56 +0,0 @@ -From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001 -From: Randy Eckenrode -Date: Sat, 13 Dec 2025 22:57:55 -0500 -Subject: [PATCH 04/11] fix-backdeploy-rpath - ---- - Sources/Build/BuildDescription/ProductBuildDescription.swift | 5 ++--- - Sources/SPMBuildCore/Plugins/DefaultPluginScriptRunner.swift | 2 +- - Sources/_InternalTestSupport/Toolchain.swift | 2 +- - 3 files changed, 4 insertions(+), 5 deletions(-) - -diff --git a/Sources/Build/BuildDescription/ProductBuildDescription.swift b/Sources/Build/BuildDescription/ProductBuildDescription.swift -index f8d80671d..9b23a8a62 100644 ---- a/Sources/Build/BuildDescription/ProductBuildDescription.swift -+++ b/Sources/Build/BuildDescription/ProductBuildDescription.swift -@@ -324,9 +324,8 @@ public final class ProductBuildDescription: SPMBuildCore.ProductBuildDescription - if macOSSupportedPlatform.version.major < 12 { - // When deploying to macOS prior to macOS 12, add an rpath to the - // back-deployed concurrency libraries. -- let backDeployedStdlib = try buildParameters.toolchain.macosSwiftStdlib -- .parentDirectory -- .parentDirectory -+ let backDeployedStdlib = try AbsolutePath(validating: "@swift-lib@") -+ .appending("lib") - .appending("swift-5.5") - .appending("macosx") - args += ["-Xlinker", "-rpath", "-Xlinker", backDeployedStdlib.pathString] -diff --git a/Sources/SPMBuildCore/Plugins/DefaultPluginScriptRunner.swift b/Sources/SPMBuildCore/Plugins/DefaultPluginScriptRunner.swift -index 47854bdc6..4ebab138d 100644 ---- a/Sources/SPMBuildCore/Plugins/DefaultPluginScriptRunner.swift -+++ b/Sources/SPMBuildCore/Plugins/DefaultPluginScriptRunner.swift -@@ -177,7 +177,7 @@ public struct DefaultPluginScriptRunner: PluginScriptRunner, Cancellable { - } - else { - // Add an `-rpath` so the Swift 5.5 fallback libraries can be found. -- let swiftSupportLibPath = self.toolchain.swiftCompilerPathForManifests.parentDirectory.parentDirectory.appending(components: "lib", "swift-5.5", "macosx") -+ let swiftSupportLibPath = try! AbsolutePath(validating: "@swift-lib@").appending(components: "lib", "swift-5.5", "macosx") - commandLine += ["-Xlinker", "-rpath", "-Xlinker", swiftSupportLibPath.pathString] - } - #endif -diff --git a/Sources/_InternalTestSupport/Toolchain.swift b/Sources/_InternalTestSupport/Toolchain.swift -index 5746ae53d..8a3916976 100644 ---- a/Sources/_InternalTestSupport/Toolchain.swift -+++ b/Sources/_InternalTestSupport/Toolchain.swift -@@ -77,7 +77,7 @@ extension UserToolchain { - try localFileSystem.writeFileContents(inputPath, string: "public func foo() async {}\nTask { await foo() }") - let outputPath = tmpPath.appending("foo") - let toolchainPath = self.swiftCompilerPath.parentDirectory.parentDirectory -- let backDeploymentLibPath = toolchainPath.appending(components: "lib", "swift-5.5", "macosx") -+ let backDeploymentLibPath = try! AbsolutePath(validating: "@swift-lib@").appending(components: "lib", "swift-5.5", "macosx") - try AsyncProcess.checkNonZeroExit(arguments: ["/usr/bin/xcrun", "--toolchain", toolchainPath.pathString, "swiftc", inputPath.pathString, "-Xlinker", "-rpath", "-Xlinker", backDeploymentLibPath.pathString, "-o", outputPath.pathString]) - try AsyncProcess.checkNonZeroExit(arguments: [outputPath.pathString]) - } --- -2.54.0 - diff --git a/pkgs/development/compilers/swift/by-name/sw/swiftpm/patches/0009-add-missing-libraries.patch b/pkgs/development/compilers/swift/by-name/sw/swiftpm/patches/0009-add-missing-libraries.patch index 0f4742608227..94a6a1978f6a 100644 --- a/pkgs/development/compilers/swift/by-name/sw/swiftpm/patches/0009-add-missing-libraries.patch +++ b/pkgs/development/compilers/swift/by-name/sw/swiftpm/patches/0009-add-missing-libraries.patch @@ -1,7 +1,7 @@ From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001 From: Randy Eckenrode Date: Sat, 13 Dec 2025 22:59:57 -0500 -Subject: [PATCH 09/11] add-missing-libraries +Subject: [PATCH 09/13] add-missing-libraries --- Sources/PackageSigning/CMakeLists.txt | 1 + @@ -21,18 +21,18 @@ index 13a7b8cd5..d00c7d01e 100644 TSCUtility X509) diff --git a/Sources/SwiftBuildSupport/CMakeLists.txt b/Sources/SwiftBuildSupport/CMakeLists.txt -index 8b6a335b3..27324e225 100644 +index 7f286e778..57c60664c 100644 --- a/Sources/SwiftBuildSupport/CMakeLists.txt +++ b/Sources/SwiftBuildSupport/CMakeLists.txt -@@ -22,6 +22,7 @@ add_library(SwiftBuildSupport STATIC +@@ -24,6 +24,7 @@ add_library(SwiftBuildSupport SwiftBuildSystem.swift SwiftBuildSystemMessageHandler.swift) target_link_libraries(SwiftBuildSupport PUBLIC + ArgumentParser + Basics Build DriverSupport - TSCBasic -@@ -29,6 +30,11 @@ target_link_libraries(SwiftBuildSupport PUBLIC +@@ -32,6 +33,11 @@ target_link_libraries(SwiftBuildSupport PUBLIC PackageGraph SwiftBuild::SwiftBuild SwiftBuild::SWBBuildService diff --git a/pkgs/development/compilers/swift/by-name/sw/swiftpm/patches/0013-Help-SwiftPM-find-the-toolchain-in-the-store.patch b/pkgs/development/compilers/swift/by-name/sw/swiftpm/patches/0013-Help-SwiftPM-find-the-toolchain-in-the-store.patch new file mode 100644 index 000000000000..79258770617a --- /dev/null +++ b/pkgs/development/compilers/swift/by-name/sw/swiftpm/patches/0013-Help-SwiftPM-find-the-toolchain-in-the-store.patch @@ -0,0 +1,57 @@ +From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001 +From: Randy Eckenrode +Date: Fri, 25 Sep 2026 20:49:51 -0400 +Subject: [PATCH 12/13] Help SwiftPM find the toolchain in the store + +--- + Sources/PackageModel/Toolchain.swift | 31 +++++++++++++++++----------- + 1 file changed, 19 insertions(+), 12 deletions(-) + +diff --git a/Sources/PackageModel/Toolchain.swift b/Sources/PackageModel/Toolchain.swift +index 93d19bf55..c2ccbe71d 100644 +--- a/Sources/PackageModel/Toolchain.swift ++++ b/Sources/PackageModel/Toolchain.swift +@@ -112,21 +112,28 @@ extension Toolchain { + public var toolchainDir: AbsolutePath { + get throws { + let compilerPath = try resolveSymlinks(swiftCompilerPath) +- let os = ProcessInfo.hostOperatingSystem +- switch os { +- case .windows, .macOS, .linux, .android: ++ // If the compiler is in the store, assume the whole toolchain is in the store. ++ if compilerPath.isDescendant(of: try AbsolutePath(validating: "@store-dir@")) { + return compilerPath + .parentDirectory // bin +- .parentDirectory // usr + .parentDirectory // +- case .freebsd, .openbsd: +- return compilerPath +- .parentDirectory // bin +- .parentDirectory // local +- .parentDirectory // usr +- .parentDirectory // +- case .unknown: +- throw UnknownToolchainLayout(os: os) ++ } else { ++ let os = ProcessInfo.hostOperatingSystem ++ switch os { ++ case .windows, .macOS, .linux, .android: ++ return compilerPath ++ .parentDirectory // bin ++ .parentDirectory // usr ++ .parentDirectory // ++ case .freebsd, .openbsd: ++ return compilerPath ++ .parentDirectory // bin ++ .parentDirectory // local ++ .parentDirectory // usr ++ .parentDirectory // ++ case .unknown: ++ throw UnknownToolchainLayout(os: os) ++ } + } + } + } +-- +2.54.0 + diff --git a/pkgs/development/compilers/swift/sources.json b/pkgs/development/compilers/swift/sources.json index c77447eb547b..9c48604a0f6a 100644 --- a/pkgs/development/compilers/swift/sources.json +++ b/pkgs/development/compilers/swift/sources.json @@ -1,76 +1,75 @@ { "llvm-project": { - "hash": "sha256-b+0G3b5f/i+4SgLV0nsZte5pc/tHd9fVIOPAxWInQXs=" + "hash": "sha256-EzSgVCdEYtrrC9fjqUVu4ALp8FmtwgLfLzL/pMQKb/4=" }, "sourcekit-lsp": { - "hash": "sha256-vjVcsxFCg1s8L96HSllgGGVpOQeHAWfVnLmUcP05F/o=", + "hash": "sha256-/uAkOzNRRFkUC+qYntBytcEcWWBEpH5hsko0LR3Skhs=", "swiftpmDeps": { - "hash": "sha256-tH0dajTSHa7/wwJFA8CVsuB/9Lhojsb4fmx+reIpR88=" + "hash": "sha256-p12/b/OR+etd7W22ERxkyxCuSEKTifRrYzPEKhj2BN8=" } }, "swift": { - "hash": "sha256-7/jT/U0sOsr4iWnCluyUWjnD/XH5CnPyAG9EQ+Nq+tI=" + "hash": "sha256-X3jFUJiASISZmqVR1aiHF0nDL15fiIupsIUMjOTtBCM=" }, "swift-build": { - "hash": "sha256-UW6OD3WyAuN1/vkzlANfWr9lJ2x9mLFgdYC8pwbVqjE=" + "hash": "sha256-LWsynfSRHsDD7YLUyRJwbSejHYQZsAi6h3b8eB6DRYw=" }, "swift-corelibs-foundation": { - "hash": "sha256-Dm/oYkNRevXBBP1+xOgZm3/QjRLQBjk58mXt9N/sPAY=" + "hash": "sha256-6CfeV+h9/o/o5rQIirbO4FvvD5qvr/b/BhCeN2OITGk=" }, "swift-corelibs-libdispatch": { - "hash": "sha256-7UxacHkvbyt51I1WT2wWR1GDrHdknlnYWF9yF8GusQc=" + "hash": "sha256-PMm98aW2yJsUDysZ0CJFRyZ8/UZ5uJ14UytQ9KNBUeE=" }, "swift-corelibs-xctest": { - "hash": "sha256-68OKhvLKwXPZNvuFkcZsqyeVE4YlLXp5+sHfns3EGKM=" + "hash": "sha256-eRBwBuC9Wyfib7n+t+hIhbOXmoc4TrdLXsdKC/1XC24=" }, "swift-docc": { - "hash": "sha256-wRHy4yeq+LAUU7dDPc3kUT1BP9ZONl1qmfrYffuR5tQ=", + "hash": "sha256-WtoAQHb+vT6QzsoYFnaotZxCQrgAteyfHsUWFi9nNXg=", "swiftpmDeps": { - "hash": "sha256-DxF71QOqtWv9slEiE2u8dy7tT7wWl0bbkWkNVCFbUk8=" + "hash": "sha256-6cGV6UdJ/uqJjCutg+YIqT3uMpcsLgLvYPVFCoK1L0E=" } }, "swift-docc-render": { - "hash": "sha256-pF+sot+YDT/AjeMrNmdG3/T5VlhPewDcpG6B+Q9dLRk=", + "hash": "sha256-QMCtOWour2tfPIujtIZ/da/JS61U1tl4nR3KR6jm7M4=", "npmDeps": { - "hash": "sha256-10RbVbf8lA4Glqw9NZGRCFmpE660UfbTBllIKJYQ+U8=" + "hash": "sha256-DDBIWmxzsDm5pShHNIC9rC0ThN3CU1cabZIdiKI46Yo=" }, - "rev": "2d3a3b924f889fa3d5ea7d8eb8b0daad211acc21" + "rev": "5a0395a50f0bd8b7df71a10f2558c1689809b8e9" }, "swift-driver": { - "hash": "sha256-XilPErlnLI7JOnEQM3zEieyo+0/7q2hYfHfnDBtP7qE=" + "hash": "sha256-xqzjR+YdhbB8wN6OfzMPDh0lXj//dVd811gBJ3EwNL0=" }, "swift-experimental-string-processing": { - "hash": "sha256-ENnaw/1UN9PnVLTZujtpfGs5d1e3Z+5Z6EjiwM/8alU=" + "hash": "sha256-PG9BZPzK13jw8XeVbcgzxYTlc9UJhKheXPDRm8NheEM=" }, "swift-format": { - "hash": "sha256-YkOsFWaQJU786L9OB/n9jOL5G303cz0q62dw3yFWkA0=", + "hash": "sha256-cn7YyQHXsphl1M4kv0mo0F/G9pH8BVBMPtZWPkqIGTk=", "swiftpmDeps": { - "hash": "sha256-7Og56LggJPO8G7GVNCBhbLg/8iv+aR5L0Zi9bSELSM8=" + "hash": "sha256-p4YCMFzNL43AE36YJyRVwrx6z06HCUH0BRQ4dJsneic=" } }, "swift-foundation": { - "hash": "sha256-sXlA1n7SmgneUxsS7+/xNwbIOyGvLmofNXxrIG1Pq9w=" + "hash": "sha256-0l1v6XrXw6kVFeKVWWAMNEvSJDFrkmAgmTmSZb3MQYw=" }, "swift-foundation-icu": { "hash": "sha256-+Syca40t4KYTs6Y0qgfntziUebEmHdq1tNNbLau4bwc=" }, "swift-llbuild": { - "hash": "sha256-w+pZRXiGSHsxK+ewMdfX49rAJYfZ9wOql/vUGLXpJvo=" + "hash": "sha256-w4P8eMRe+9pMuRQURmku7Z6MrPlLSDqMXuvVkUJHfiw=" }, "swift-package-manager": { - "hash": "sha256-34mm8hYEvYuvmtkEBQDzluJSHsiwzmGWuO3ZgWnFjzg=" + "hash": "sha256-Gu5NFuowFzdZuj/qraR3RjBFCsrvDWjGoiSNYHJTY5g=" }, "swift-syntax": { - "hash": "sha256-zr+2MlGncEu1bEQwUUxlySDx4XOyK+LnX1SRbtm9ERc=" + "hash": "sha256-qRs7x0c8RSIC7yXjUDnF6HaEhkWsXPeAoLa9Tc538cI=" }, "swift-testing": { - "hash": "sha256-lXeFJcKRzoRpUYLrQT+5MITb36hSH/dXjBm4w0RispI=" + "hash": "sha256-xxXEcYf89+gbO1IQgaqQCXZ5he9apihTRe/PMaaDI7g=" }, "swift-tools-protocols": { - "hash": "sha256-q/S95ozgWkzYm3awDmAC5Obnur4OQp8aO2gstrwCOnE=", - "version": "0.0.9" + "hash": "sha256-qhBb54P5aJ/BB1dEQcy78crxV/jGld25jNsusq3pVMw=" }, "swift-tools-support-core": { - "hash": "sha256-LAboqDVEoz2Sgp3BIrasS2DVmiug89yAioJ/mFIVIjA=" + "hash": "sha256-7gZxQOlklLEVjyxsPp543gajJm/I9F7AxbLYzbJJMQo=" } } diff --git a/pkgs/development/compilers/swift/swift-version b/pkgs/development/compilers/swift/swift-version index 7849b73dc743..19b860c1872d 100644 --- a/pkgs/development/compilers/swift/swift-version +++ b/pkgs/development/compilers/swift/swift-version @@ -1 +1 @@ -6.3.3 +6.4.0 From a2fdcae7f19fd3e1cc3a61b3a37aab972f414dcc Mon Sep 17 00:00:00 2001 From: Randy Eckenrode Date: Thu, 8 Oct 2026 14:16:26 -0400 Subject: [PATCH 2053/2378] swiftPackages.swift-build: use re-derq --- .../swift/by-name/sw/swift-build/package.nix | 2 ++ .../patches/0001-replace-impure-paths.patch | 29 +++++++++++++++++-- 2 files changed, 28 insertions(+), 3 deletions(-) diff --git a/pkgs/development/compilers/swift/by-name/sw/swift-build/package.nix b/pkgs/development/compilers/swift/by-name/sw/swift-build/package.nix index 64a59472a503..bbfdbf2edf6b 100644 --- a/pkgs/development/compilers/swift/by-name/sw/swift-build/package.nix +++ b/pkgs/development/compilers/swift/by-name/sw/swift-build/package.nix @@ -12,6 +12,7 @@ libtapi, llvmPackages, ninja, + re-derq, replaceVars, sqlite, stdenv, @@ -67,6 +68,7 @@ stdenv.mkDerivation (finalAttrs: { inherit gnumake; inherit gnused; inherit iconv; + inherit re-derq; inherit what; tapi = lib.getBin libtapi; }) diff --git a/pkgs/development/compilers/swift/by-name/sw/swift-build/patches/0001-replace-impure-paths.patch b/pkgs/development/compilers/swift/by-name/sw/swift-build/patches/0001-replace-impure-paths.patch index e00742367af3..bc7beeeae248 100644 --- a/pkgs/development/compilers/swift/by-name/sw/swift-build/patches/0001-replace-impure-paths.patch +++ b/pkgs/development/compilers/swift/by-name/sw/swift-build/patches/0001-replace-impure-paths.patch @@ -20,6 +20,7 @@ Subject: [PATCH 1/6] replace-impure-paths Sources/SWBGenericUnixPlatform/Plugin.swift | 2 +- Sources/SWBProjectModel/PIFGenerationModel.swift | 4 ++-- .../ShellScriptTaskProducer.swift | 2 +- + .../GeneratedFilesTaskProducer.swift | 2 +- Sources/SWBTaskExecution/BuildDescription.swift | 4 ++-- .../TaskActions/CopyTiffTaskAction.swift | 2 +- .../TaskActions/EmbedSwiftStdLibTaskAction.swift | 2 +- @@ -31,8 +32,8 @@ Subject: [PATCH 1/6] replace-impure-paths Sources/SWBUniversalPlatform/Specs/CodeSign.xcspec | 2 +- Sources/SWBUtil/PbxCp.swift | 12 ++++++------ Sources/SWBUtil/Signatures.swift | 2 +- - .../CoreQualificationTester.swift | 2 +- - 28 files changed, 50 insertions(+), 48 deletions(-) + .../CoreQualificationTester.swift | 4 ++-- + 29 files changed, 52 insertions(+), 50 deletions(-) diff --git a/Plugins/run-xcodebuild/run-xcodebuild.swift b/Plugins/run-xcodebuild/run-xcodebuild.swift index 710a84a2..c83982de 100644 @@ -275,6 +276,19 @@ index fedc42f6..81bb8734 100644 let isSandboxingEnabled: Bool +diff --git a/Sources/SWBTaskConstruction/TaskProducers/OtherTaskProducers/GeneratedFilesTaskProducer.swift b/Sources/SWBTaskConstruction/TaskProducers/OtherTaskProducers/GeneratedFilesTaskProducer.swift +index 17f0d1e0..93e3b1d4 100644 +--- a/Sources/SWBTaskConstruction/TaskProducers/OtherTaskProducers/GeneratedFilesTaskProducer.swift ++++ b/Sources/SWBTaskConstruction/TaskProducers/OtherTaskProducers/GeneratedFilesTaskProducer.swift +@@ -62,7 +62,7 @@ final class GeneratedFilesTaskProducer: PhasedTaskProducer, TaskProducer { + await appendGeneratedTasks(&tasks) { delegate in + await context.productPackagingSpec.constructProductEntitlementsTasks(CommandBuildContext(producer: context, scope: scope, inputs: [FileToBuild(context: context, absolutePath: input)], output: entitlements.output), delegate, entitlementsVariant, fs: context.workspaceContext.fs) + +- delegate.createTask(type: context.productPackagingSpec, ruleInfo: ["ProcessProductPackagingDER", entitlements.output.str, entitlements.outputDer.str], commandLine: ["/usr/bin/derq", "query", "-f", "xml", "-i", entitlements.output.str, "-o", entitlements.outputDer.str, "--raw"], environment: EnvironmentBindings([:]), workingDirectory: context.defaultWorkingDirectory, inputs: [delegate.createNode(entitlements.output)], outputs: [delegate.createNode(entitlements.outputDer)], action: delegate.taskActionCreationDelegate.createDeferredExecutionTaskActionIfRequested(userPreferences: context.userPreferences), execDescription: "Generate DER entitlements", enableSandboxing: context.productPackagingSpec.enableSandboxing) ++ delegate.createTask(type: context.productPackagingSpec, ruleInfo: ["ProcessProductPackagingDER", entitlements.output.str, entitlements.outputDer.str], commandLine: ["@re-derq@/bin/derq", "query", "-f", "xml", "-i", entitlements.output.str, "-o", entitlements.outputDer.str, "--raw"], environment: EnvironmentBindings([:]), workingDirectory: context.defaultWorkingDirectory, inputs: [delegate.createNode(entitlements.output)], outputs: [delegate.createNode(entitlements.outputDer)], action: delegate.taskActionCreationDelegate.createDeferredExecutionTaskActionIfRequested(userPreferences: context.userPreferences), execDescription: "Generate DER entitlements", enableSandboxing: context.productPackagingSpec.enableSandboxing) + } + } + diff --git a/Sources/SWBTaskExecution/BuildDescription.swift b/Sources/SWBTaskExecution/BuildDescription.swift index 081a0acd..55ccc539 100644 --- a/Sources/SWBTaskExecution/BuildDescription.swift @@ -510,7 +524,7 @@ index eb3c1e27..180dcc62 100644 let stderrContent = String(data: executionResult.stderr, encoding: .utf8)?.trimmingCharacters(in: .whitespacesAndNewlines) ?? "" diff --git a/Sources/SwiftBuildTestSupport/CoreQualificationTester.swift b/Sources/SwiftBuildTestSupport/CoreQualificationTester.swift -index e6166507..c7221f9e 100644 +index e6166507..8597e5aa 100644 --- a/Sources/SwiftBuildTestSupport/CoreQualificationTester.swift +++ b/Sources/SwiftBuildTestSupport/CoreQualificationTester.swift @@ -324,7 +324,7 @@ extension FileContentsCheckingResult { @@ -522,6 +536,15 @@ index e6166507..c7221f9e 100644 plist = try !bytes.isEmpty ? PropertyList.fromBytes(bytes) : nil case .simulated: // xcrun otool-classic [-arch arch] -X -s __TEXT __entitlements +@@ -350,7 +350,7 @@ extension FileContentsCheckingResult { + + let derPlist: PropertyListItem = try await withTemporaryDirectory { path in + try localFS.write(path.join("in.der"), contents: ByteString(bytes)) +- try await runProcess(["/usr/bin/derq", "query", "-i", path.join("in.der").str, "-o", path.join("out.xml").str, "--xml"]) ++ try await runProcess(["@re-derq@/bin/derq", "query", "-i", path.join("in.der").str, "-o", path.join("out.xml").str, "--xml"]) + return try PropertyList.fromPath(path.join("out.xml"), fs: localFS) + } + #expect(plist == derPlist, "Expected both DER and plist entitlements to be equivalent") -- 2.54.0 From fb477e58640af88a3f7815e318fd5e8dcb4432bd Mon Sep 17 00:00:00 2001 From: Randy Eckenrode Date: Thu, 8 Oct 2026 14:16:26 -0400 Subject: [PATCH 2054/2378] swiftPackages.swift-build: patch sigtool to sign test bundles --- .../0001-Add-cstdint-header-for-GCC-16.patch | 38 +++++++++++++++++++ .../swift/by-name/sw/swift-build/package.nix | 23 ++++++++++- 2 files changed, 60 insertions(+), 1 deletion(-) create mode 100644 pkgs/development/compilers/swift/by-name/sw/swift-build/0001-Add-cstdint-header-for-GCC-16.patch diff --git a/pkgs/development/compilers/swift/by-name/sw/swift-build/0001-Add-cstdint-header-for-GCC-16.patch b/pkgs/development/compilers/swift/by-name/sw/swift-build/0001-Add-cstdint-header-for-GCC-16.patch new file mode 100644 index 000000000000..277641e098da --- /dev/null +++ b/pkgs/development/compilers/swift/by-name/sw/swift-build/0001-Add-cstdint-header-for-GCC-16.patch @@ -0,0 +1,38 @@ +From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001 +From: Randy Eckenrode +Date: Wed, 14 Oct 2026 11:03:47 -0400 +Subject: [PATCH] Add header for GCC 16 + +--- + bundle.cpp | 2 ++ + commands.h | 1 + + 2 files changed, 3 insertions(+) + +diff --git a/bundle.cpp b/bundle.cpp +index 788b569..a800e60 100644 +--- a/bundle.cpp ++++ b/bundle.cpp +@@ -3,6 +3,8 @@ + #include + #include + #include ++#include ++ + #include + #include + +diff --git a/commands.h b/commands.h +index eac90ae..089d298 100644 +--- a/commands.h ++++ b/commands.h +@@ -1,6 +1,7 @@ + #ifndef SIGTOOL_COMMANDS_H + #define SIGTOOL_COMMANDS_H + ++#include + #include + + namespace SigTool { +-- +2.54.0 + diff --git a/pkgs/development/compilers/swift/by-name/sw/swift-build/package.nix b/pkgs/development/compilers/swift/by-name/sw/swift-build/package.nix index bbfdbf2edf6b..185ebef7bc97 100644 --- a/pkgs/development/compilers/swift/by-name/sw/swift-build/package.nix +++ b/pkgs/development/compilers/swift/by-name/sw/swift-build/package.nix @@ -3,6 +3,7 @@ bashNonInteractive, cmake, coreutils, + cctools, darwin, diffutils, fetchFromGitHub, @@ -36,6 +37,25 @@ let swift' = swift.override { enableRepl = false; }; + + # FIXME: Drop once `darwin.sigtool` has a new release. + sigtool = darwin.sigtool.overrideAttrs (old: { + version = "0.2.2-unstable-2026-10-14"; + src = fetchFromGitHub { + owner = "nix-community"; + repo = "sigtool"; + rev = "de5de43c5f8bd97bce4de4a8cfc1b3708074a2b2"; + hash = "sha256-VWe+SPQqDPtrAIZf1k6w5Eg4+ofAxlhr/qYCDxvpfOA="; + }; + patches = [ ./0001-Add-cstdint-header-for-GCC-16.patch ]; + # FIXME: `codesign_allocate` should probably be split into its own package for portability purposes. + postPatch = + (old.postPatch or "") + + lib.optionalString stdenv.hostPlatform.isDarwin '' + substituteInPlace commands.cpp \ + --replace-fail 'codesign_allocate = "codesign_allocate";' 'codesign_allocate = "${cctools}/bin/codesign_allocate";' + ''; + }); in # Swift Build is a dependency of SwiftPM. It must be built with CMake to avoid dependency cycles. @@ -59,7 +79,7 @@ stdenv.mkDerivation (finalAttrs: { patches = [ # Remove as many impure paths as possible. (replaceVars ./patches/0001-replace-impure-paths.patch { - inherit (darwin) graphics_cmds sigtool; + inherit (darwin) graphics_cmds; inherit (llvmPackages) llvm; inherit (xcbuild) xcrun; inherit bashNonInteractive; @@ -69,6 +89,7 @@ stdenv.mkDerivation (finalAttrs: { inherit gnused; inherit iconv; inherit re-derq; + inherit sigtool; inherit what; tapi = lib.getBin libtapi; }) From 571a2391039d1470ea905d223b14eac2af7c491f Mon Sep 17 00:00:00 2001 From: Randy Eckenrode Date: Thu, 8 Oct 2026 14:16:26 -0400 Subject: [PATCH 2055/2378] =?UTF-8?q?swiftPackages.swiftpmHook:=20don?= =?UTF-8?q?=E2=80=99t=20specify=20a=20module=20cache=20path?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit There’s no need to specify a module cache path manually when using the Swift Build backend. Swift Build handles that for us, putting the module cache at `.build/out/ModuleCache.noindex`. --- .../compilers/swift/by-name/sw/swiftpmHook/setup-hook.sh | 1 - 1 file changed, 1 deletion(-) diff --git a/pkgs/development/compilers/swift/by-name/sw/swiftpmHook/setup-hook.sh b/pkgs/development/compilers/swift/by-name/sw/swiftpmHook/setup-hook.sh index 82e58c11bd3a..6cd3c34dc160 100644 --- a/pkgs/development/compilers/swift/by-name/sw/swiftpmHook/setup-hook.sh +++ b/pkgs/development/compilers/swift/by-name/sw/swiftpmHook/setup-hook.sh @@ -40,7 +40,6 @@ swiftpmBuildPhase() { local flagsArray=( -j "$buildCores" -c "${swiftpmBuildConfig-release}" - -Xswiftc -module-cache-path -Xswiftc "$NIX_BUILD_TOP/module-cache" ) concatTo flagsArray swiftpmFlags swiftpmFlagsArray From 50a9fd52fa41ea0696f8bcc8cc5b9293f5f4da89 Mon Sep 17 00:00:00 2001 From: Randy Eckenrode Date: Thu, 8 Oct 2026 14:16:26 -0400 Subject: [PATCH 2056/2378] swiftPackages.swiftc: bug fixes and improvements to Nix flags handling - Look for `swiftc` in `PATH`. This is needed for Swift Build, which invokes the Clang importer. The previous version of this would find the `swift-build` binary, assume `clang` was next to it`, then fail to load any flags. - Cache the results of looking up the flags. This fixes the memory leak when the invocation args vector is a vector `const char*`. It was assumed that this would be called only once, but Swift Build appears to invoke the Clang importer multiple times. --- .../swift/by-name/sw/swiftc/package.nix | 1 + ...dlib-flags-from-the-wrapped-compiler.patch | 237 ++++++++++++------ 2 files changed, 167 insertions(+), 71 deletions(-) diff --git a/pkgs/development/compilers/swift/by-name/sw/swiftc/package.nix b/pkgs/development/compilers/swift/by-name/sw/swiftc/package.nix index 236aca93f157..42801f5520e4 100644 --- a/pkgs/development/compilers/swift/by-name/sw/swiftc/package.nix +++ b/pkgs/development/compilers/swift/by-name/sw/swiftc/package.nix @@ -471,6 +471,7 @@ stdenv.mkDerivation (finalAttrs: { '' + lib.optionalString (lib.versionAtLeast finalAttrs.version "6.3") '' swiftLibsDeps+=( + libnixpkgsStuff libswiftBasicSwift ) '' diff --git a/pkgs/development/compilers/swift/by-name/sw/swiftc/patches/6.4/0001-Read-C-and-C-stdlib-flags-from-the-wrapped-compiler.patch b/pkgs/development/compilers/swift/by-name/sw/swiftc/patches/6.4/0001-Read-C-and-C-stdlib-flags-from-the-wrapped-compiler.patch index 952957374407..9c136c033303 100644 --- a/pkgs/development/compilers/swift/by-name/sw/swiftc/patches/6.4/0001-Read-C-and-C-stdlib-flags-from-the-wrapped-compiler.patch +++ b/pkgs/development/compilers/swift/by-name/sw/swiftc/patches/6.4/0001-Read-C-and-C-stdlib-flags-from-the-wrapped-compiler.patch @@ -15,16 +15,139 @@ negative affects on every package that wants to use Swift and compile C++ code. The C++ library must be removed from the standard platform configuration, which makes adding Swift as a dependency too disruptive. --- - lib/ClangImporter/ClangImporter.cpp | 8 ++++ - lib/ClangImporter/ClangIncludePaths.cpp | 9 +++++ - lib/ClangImporter/ClangIncludePaths.h | 51 +++++++++++++++++++++++++ - 3 files changed, 68 insertions(+) + include/swift/Nixpkgs/NixCC.h | 76 +++++++++++++++++++++++++ + lib/CMakeLists.txt | 1 + + lib/ClangImporter/CMakeLists.txt | 3 +- + lib/ClangImporter/ClangImporter.cpp | 9 +++ + lib/ClangImporter/ClangIncludePaths.cpp | 10 ++++ + lib/Nixpkgs/CMakeLists.txt | 4 ++ + lib/Nixpkgs/NixCC.cpp | 15 +++++ + 7 files changed, 117 insertions(+), 1 deletion(-) + create mode 100644 include/swift/Nixpkgs/NixCC.h + create mode 100644 lib/Nixpkgs/CMakeLists.txt + create mode 100644 lib/Nixpkgs/NixCC.cpp +diff --git a/include/swift/Nixpkgs/NixCC.h b/include/swift/Nixpkgs/NixCC.h +new file mode 100644 +index 00000000000..4669c2c4486 +--- /dev/null ++++ b/include/swift/Nixpkgs/NixCC.h +@@ -0,0 +1,76 @@ ++// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception ++#pragma once ++ ++#include "llvm/ADT/StringRef.h" ++#include "llvm/Support/CommandLine.h" ++#include "llvm/Support/FileSystem.h" ++#include "llvm/Support/Process.h" ++#include "llvm/Support/VirtualFileSystem.h" ++ ++#include ++#include ++#include ++#include ++#include ++ ++using nixsupportcache_t = std::unordered_map>; ++extern void accessNixSupportCache(std::function&& fn); ++ ++template ++void addFlagsFromNixCC(std::vector &invocationArgStrs, const char* flagFile) { ++ if (flagFile == nullptr) return; ++ const std::string flagFileName{flagFile}; ++ ++ accessNixSupportCache([&](nixsupportcache_t& nixSupportCache) { ++ const auto [argIterator, didInsert] = nixSupportCache.insert({flagFileName, std::vector{}}); ++ auto& argVector = argIterator->second; ++ ++ if (didInsert) { ++ // Prefer the `clang` next to the running binary but fall back to the one next to `swift` on the path. ++ std::function()> paths[] = { ++ []() -> std::optional { ++ auto result = llvm::sys::fs::getMainExecutable(nullptr, nullptr); ++ if (result == "") return {}; else return result; ++ }, ++ []() { return llvm::sys::Process::FindInEnvPath("PATH", "swiftc"); }, ++ }; ++ ++ llvm::BumpPtrAllocator allocator; ++ llvm::StringSaver saver(allocator); ++ ++ for (const auto& maybePathFn : paths) { ++ auto maybePath = maybePathFn(); ++ if (!maybePath.has_value()) continue; ++ ++ const std::filesystem::path path = maybePath.value(); ++ const auto clang = path.parent_path() / "clang"; ++ ++ if (exists(clang)) { ++ const auto realClang = canonical(clang); ++ const auto flagFilePath = realClang.parent_path().parent_path() / "nix-support" / flagFileName; ++ ++ // Treat `flagFile` as a response file for Clang. Because Clang expects response ++ // files to be expanded already at this point, it has to be expanded manually. ++ if (auto buffer = llvm::vfs::getRealFileSystem()->getBufferForFile(llvm::StringRef(flagFilePath))) { ++ const auto contents = (*buffer)->getMemBufferRef().getBuffer(); ++ ++ llvm::SmallVector args; ++ llvm::cl::TokenizeGNUCommandLine(contents, saver, args); ++ ++ for (const auto& arg : args) { ++ argVector.emplace_back(arg); ++ } ++ ++ break; // We have an `argVector` with the args. Short-circuit the loop and don’t check further. ++ } ++ } ++ } ++ } ++ ++ // At this point, `argVector` is either the cached vector or the freshly populated one. ++ // Either way, it has the requested flags. ++ for (const auto& arg : argVector) { ++ invocationArgStrs.emplace_back(arg.c_str()); ++ } ++ }); ++} +diff --git a/lib/CMakeLists.txt b/lib/CMakeLists.txt +index fe5b2c4c867..c8037f3baae 100644 +--- a/lib/CMakeLists.txt ++++ b/lib/CMakeLists.txt +@@ -58,6 +58,7 @@ add_subdirectory(Localization) + add_subdirectory(Macros) + add_subdirectory(Markup) + add_subdirectory(Migrator) ++add_subdirectory(Nixpkgs) + add_subdirectory(Option) + add_subdirectory(Parse) + add_subdirectory(PrintAsClang) +diff --git a/lib/ClangImporter/CMakeLists.txt b/lib/ClangImporter/CMakeLists.txt +index 2eb5b1fa131..adfdb95a912 100644 +--- a/lib/ClangImporter/CMakeLists.txt ++++ b/lib/ClangImporter/CMakeLists.txt +@@ -36,7 +36,8 @@ add_swift_host_library(swiftClangImporter STATIC + target_link_libraries(swiftClangImporter PRIVATE + swiftAST + swiftParse +- clangTooling) ++ clangTooling ++ nixpkgsStuff) + + target_link_libraries(swiftClangImporter INTERFACE + clangDependencyScanning) diff --git a/lib/ClangImporter/ClangImporter.cpp b/lib/ClangImporter/ClangImporter.cpp -index 2815b8baf4c..fcc047c9a18 100644 +index 2815b8baf4c..9f3f44a3f25 100644 --- a/lib/ClangImporter/ClangImporter.cpp +++ b/lib/ClangImporter/ClangImporter.cpp -@@ -624,6 +624,14 @@ void importer::getNormalInvocationArguments( +@@ -50,6 +50,7 @@ + #include "swift/ClangImporter/ClangImporterRequests.h" + #include "swift/ClangImporter/ClangModule.h" + #include "swift/Frontend/CachingUtils.h" ++#include "swift/Nixpkgs/NixCC.h" + #include "swift/Parse/ParseVersion.h" + #include "swift/Strings.h" + #include "swift/Subsystems.h" +@@ -624,6 +625,14 @@ void importer::getNormalInvocationArguments( }); } @@ -40,10 +163,18 @@ index 2815b8baf4c..fcc047c9a18 100644 if (auto path = getCxxShimModuleMapPath(searchPathOpts, LangOpts, triple)) { invocationArgStrs.push_back((Twine("-fmodule-map-file=") + *path).str()); diff --git a/lib/ClangImporter/ClangIncludePaths.cpp b/lib/ClangImporter/ClangIncludePaths.cpp -index 5bc725811f7..875f5be1024 100644 +index 5bc725811f7..cd1f5814b89 100644 --- a/lib/ClangImporter/ClangIncludePaths.cpp +++ b/lib/ClangImporter/ClangIncludePaths.cpp -@@ -191,6 +191,15 @@ ClangImporter::createClangArgs(const ClangImporterOptions &ClangImporterOpts, +@@ -18,6 +18,7 @@ + #include "swift/Basic/Assertions.h" + #include "swift/Basic/Platform.h" + #include "swift/ClangImporter/ClangImporter.h" ++#include "swift/Nixpkgs/NixCC.h" + #include "clang/Driver/Driver.h" + #include "clang/Driver/ToolChain.h" + #include "clang/Frontend/CompilerInstance.h" +@@ -191,6 +192,15 @@ ClangImporter::createClangArgs(const ClangImporterOptions &ClangImporterOpts, for (const auto &each : ClangImporterOpts.ExtraArgs) { clangArgs.push_back(each.c_str()); } @@ -59,73 +190,37 @@ index 5bc725811f7..875f5be1024 100644 llvm::opt::InputArgList clangDriverArgs = parseClangDriverArgs(clangDriver, clangArgs); // If a sysroot was explicitly passed to Swift, make sure to pass it to the -diff --git a/lib/ClangImporter/ClangIncludePaths.h b/lib/ClangImporter/ClangIncludePaths.h -index 7f08397fa7d..69be98357d9 100644 ---- a/lib/ClangImporter/ClangIncludePaths.h -+++ b/lib/ClangImporter/ClangIncludePaths.h -@@ -14,6 +14,8 @@ - #define SWIFT_CLANG_INCLUDE_PATHS_H - - #include "swift/AST/ASTContext.h" -+#include "llvm/ADT/StringRef.h" -+#include "llvm/Support/CommandLine.h" - - namespace swift { - -@@ -23,4 +25,53 @@ getCxxShimModuleMapPath(SearchPathOptions &opts, const LangOptions &langOpts, - - } // namespace swift - -+template -+void addFlagsFromNixCC(std::vector &invocationArgStrs, const char* flagFile) { -+ auto swiftPath = llvm::sys::fs::getMainExecutable(nullptr, nullptr); +diff --git a/lib/Nixpkgs/CMakeLists.txt b/lib/Nixpkgs/CMakeLists.txt +new file mode 100644 +index 00000000000..691ce9f4427 +--- /dev/null ++++ b/lib/Nixpkgs/CMakeLists.txt +@@ -0,0 +1,4 @@ ++# SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception + -+ if (swiftPath != "") { -+ llvm::BumpPtrAllocator allocator; -+ llvm::StringSaver saver(allocator); -+ -+ // Read `flagFile` from Clang’s `nix-support` folder by finding it relative to the store -+ // location of `clang`, which is expected to be adjacent to Swift in `$out/bin`. -+ llvm::SmallString<256> clangPath = llvm::StringRef(swiftPath); -+ llvm::sys::path::remove_filename(clangPath); -+ llvm::sys::path::append(clangPath, "clang"); -+ -+ llvm::SmallString<256> path; -+ -+ // This shouldn’t happen, but if `real_path` fails to resolve `clang`, give up. -+ if (llvm::sys::fs::real_path(clangPath, path, /*expand_tilde*/ true)) { return; } ++add_swift_host_library(nixpkgsStuff STATIC ++ NixCC.cpp) +diff --git a/lib/Nixpkgs/NixCC.cpp b/lib/Nixpkgs/NixCC.cpp +new file mode 100644 +index 00000000000..7df2071dd28 +--- /dev/null ++++ b/lib/Nixpkgs/NixCC.cpp +@@ -0,0 +1,15 @@ ++// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception ++#include "swift/Nixpkgs/NixCC.h" + -+ llvm::sys::path::remove_filename(path); -+ llvm::sys::path::remove_filename(path); -+ llvm::sys::path::append(path, "nix-support", flagFile); ++#include ++#include ++#include ++#include + -+ // Treat `flagFile` as a response file for Clang. Because Clang expects response -+ // files to be expanded already at this point, it has to be expanded manually. -+ if (auto buffer = llvm::vfs::getRealFileSystem()->getBufferForFile(path)) { -+ auto contents = (*buffer)->getMemBufferRef().getBuffer(); -+ llvm::SmallVector args; -+#if _WIN32 -+ llvm::cl::TokenizeWindowsCommandLineNoCopy(contents, saver, args); -+#else -+ llvm::cl::TokenizeGNUCommandLine(contents, saver, args); -+#endif -+ for (auto arg : args) { -+ auto arg_str = [&arg = arg]() constexpr { -+ if constexpr (std::is_same::value) { -+ // This leaks, but there doesn’t seem to be a better way. -+ auto len = std::strlen(arg) + 1; -+ return std::strncpy(new char[len], arg, len); -+ } else { -+ return arg; -+ } -+ }(); -+ invocationArgStrs.push_back(arg_str); -+ } -+ } -+ } ++static nixsupportcache_t NixSupportCache; ++ ++extern void accessNixSupportCache(std::function&& fn) { ++ static std::mutex nixSupportCacheMutex; ++ std::lock_guard lock{nixSupportCacheMutex}; ++ fn(NixSupportCache); +} -+ - #endif // SWIFT_CLANG_INCLUDE_PATHS_H -- 2.54.0 From 5ab46755bfe76a2cf79c3819902c38914a609ec7 Mon Sep 17 00:00:00 2001 From: Randy Eckenrode Date: Sun, 9 Aug 2026 08:38:12 -0400 Subject: [PATCH 2057/2378] swiftPackages.swiftc: unconditionally load C++ flags from nix-support This aligns Swift 6.2.4 with Swift 6.4.0. The primary goal is to simplify the patch to make future updates easier. --- ...dlib-flags-from-the-wrapped-compiler.patch | 95 +++---------------- ...ind-the-separate-stdlib-and-framewor.patch | 49 ---------- 2 files changed, 15 insertions(+), 129 deletions(-) delete mode 100644 pkgs/development/compilers/swift/by-name/sw/swiftc/patches/6.2/0007-Help-Swift-JIT-find-the-separate-stdlib-and-framewor.patch diff --git a/pkgs/development/compilers/swift/by-name/sw/swiftc/patches/6.2/0001-Read-C-and-C-stdlib-flags-from-the-wrapped-compiler.patch b/pkgs/development/compilers/swift/by-name/sw/swiftc/patches/6.2/0001-Read-C-and-C-stdlib-flags-from-the-wrapped-compiler.patch index 7f8aacde44a1..7f6ac57da11d 100644 --- a/pkgs/development/compilers/swift/by-name/sw/swiftc/patches/6.2/0001-Read-C-and-C-stdlib-flags-from-the-wrapped-compiler.patch +++ b/pkgs/development/compilers/swift/by-name/sw/swiftc/patches/6.2/0001-Read-C-and-C-stdlib-flags-from-the-wrapped-compiler.patch @@ -15,60 +15,35 @@ negative affects on every package that wants to use Swift and compile C++ code. The C++ library must be removed from the standard platform configuration, which makes adding Swift as a dependency too disruptive. --- - include/swift/ClangImporter/ClangImporter.h | 3 +- - lib/ClangImporter/ClangImporter.cpp | 8 ++++ - lib/ClangImporter/ClangIncludePaths.cpp | 18 ++++++-- - lib/ClangImporter/ClangIncludePaths.h | 51 +++++++++++++++++++++ - lib/Frontend/CompilerInvocation.cpp | 2 +- - 5 files changed, 76 insertions(+), 6 deletions(-) + lib/ClangImporter/ClangImporter.cpp | 8 ++++ + lib/ClangImporter/ClangIncludePaths.cpp | 9 +++++ + lib/ClangImporter/ClangIncludePaths.h | 51 +++++++++++++++++++++++++ + 3 files changed, 68 insertions(+) -diff --git a/include/swift/ClangImporter/ClangImporter.h b/include/swift/ClangImporter/ClangImporter.h -index 274c659d54c..d478fbbccec 100644 ---- a/include/swift/ClangImporter/ClangImporter.h -+++ b/include/swift/ClangImporter/ClangImporter.h -@@ -231,7 +231,8 @@ public: - static llvm::opt::InputArgList - createClangArgs(const ClangImporterOptions &ClangImporterOpts, - const SearchPathOptions &SearchPathOpts, -- clang::driver::Driver &clangDriver); -+ clang::driver::Driver &clangDriver, -+ bool enableCXXInterop); - - ClangImporter(const ClangImporter &) = delete; - ClangImporter(ClangImporter &&) = delete; diff --git a/lib/ClangImporter/ClangImporter.cpp b/lib/ClangImporter/ClangImporter.cpp -index 47361b38a0f..1b50ea3ab44 100644 +index 47361b38a0f..7c050b8f3e0 100644 --- a/lib/ClangImporter/ClangImporter.cpp +++ b/lib/ClangImporter/ClangImporter.cpp -@@ -564,7 +564,15 @@ void importer::getNormalInvocationArguments( +@@ -564,6 +564,14 @@ void importer::getNormalInvocationArguments( }); } + // Ensure libc is available. The C standard library is separate from the sysroot + // on most platforms in Nixpkgs. (Darwin is a prominent exception.) + addFlagsFromNixCC(invocationArgStrs, "libc-cflags"); ++ ++ // Ensure the libc++ headers are available. The C++ standard library is separate ++ // from the sysroot on most platforms in Nixpkgs. ++ addFlagsFromNixCC(invocationArgStrs, "libcxx-cxxflags"); + if (LangOpts.EnableCXXInterop) { -+ // Ensure the libc++ headers are available. The C++ standard library is separate -+ // from the sysroot on most platforms in Nixpkgs. -+ addFlagsFromNixCC(invocationArgStrs, "libcxx-cxxflags"); -+ if (auto path = getCxxShimModuleMapPath(searchPathOpts, LangOpts, triple)) { invocationArgStrs.push_back((Twine("-fmodule-map-file=") + *path).str()); - } diff --git a/lib/ClangImporter/ClangIncludePaths.cpp b/lib/ClangImporter/ClangIncludePaths.cpp -index 948b99876f0..b46ec2980f0 100644 +index 948b99876f0..6da199e1f0a 100644 --- a/lib/ClangImporter/ClangIncludePaths.cpp +++ b/lib/ClangImporter/ClangIncludePaths.cpp -@@ -178,12 +178,22 @@ static std::optional findFirstIncludeDir( - llvm::opt::InputArgList - ClangImporter::createClangArgs(const ClangImporterOptions &ClangImporterOpts, - const SearchPathOptions &SearchPathOpts, -- clang::driver::Driver &clangDriver) { -+ clang::driver::Driver &clangDriver, -+ bool enableCXXInterop) { - // Flags passed to Swift with `-Xcc` might affect include paths. - std::vector clangArgs; +@@ -184,6 +184,15 @@ ClangImporter::createClangArgs(const ClangImporterOptions &ClangImporterOpts, for (const auto &each : ClangImporterOpts.ExtraArgs) { clangArgs.push_back(each.c_str()); } @@ -77,40 +52,13 @@ index 948b99876f0..b46ec2980f0 100644 + // on most platforms in Nixpkgs. (Darwin is a prominent exception.) + addFlagsFromNixCC(clangArgs, "libc-cflags"); + -+ if (enableCXXInterop) { -+ addFlagsFromNixCC(clangArgs, "libcxx-cxxflags"); -+ } ++ // Ensure the libc++ headers are available. The C++ standard library is separate ++ // from the sysroot on most platforms in Nixpkgs. ++ addFlagsFromNixCC(clangArgs, "libcxx-cxxflags"); + llvm::opt::InputArgList clangDriverArgs = parseClangDriverArgs(clangDriver, clangArgs); // If an SDK path was explicitly passed to Swift, make sure to pass it to -@@ -207,7 +217,7 @@ getLibcFileMapping(const ASTContext &ctx, StringRef modulemapFileName, - auto [clangDriver, clangDiagEngine] = ClangImporter::createClangDriver( - ctx.LangOpts, ctx.ClangImporterOpts, vfs); - auto clangDriverArgs = ClangImporter::createClangArgs( -- ctx.ClangImporterOpts, ctx.SearchPathOpts, clangDriver); -+ ctx.ClangImporterOpts, ctx.SearchPathOpts, clangDriver, ctx.LangOpts.EnableCXXInterop); - - llvm::opt::ArgStringList includeArgStrings; - const auto &clangToolchain = -@@ -286,7 +296,7 @@ static void getLibStdCxxFileMapping( - auto [clangDriver, clangDiagEngine] = ClangImporter::createClangDriver( - ctx.LangOpts, ctx.ClangImporterOpts, vfs); - auto clangDriverArgs = ClangImporter::createClangArgs( -- ctx.ClangImporterOpts, ctx.SearchPathOpts, clangDriver); -+ ctx.ClangImporterOpts, ctx.SearchPathOpts, clangDriver, ctx.LangOpts.EnableCXXInterop); - - llvm::opt::ArgStringList stdlibArgStrings; - const auto &clangToolchain = -@@ -467,7 +477,7 @@ void GetWindowsFileMappings( - auto [Driver, clangDiagEngine] = ClangImporter::createClangDriver( - Context.LangOpts, Context.ClangImporterOpts, driverVFS); - const llvm::opt::InputArgList Args = ClangImporter::createClangArgs( -- Context.ClangImporterOpts, Context.SearchPathOpts, Driver); -+ Context.ClangImporterOpts, Context.SearchPathOpts, Driver, Context.LangOpts.EnableCXXInterop); - const clang::driver::ToolChain &ToolChain = Driver.getToolChain(Args, Triple); - llvm::vfs::FileSystem &VFS = ToolChain.getVFS(); - diff --git a/lib/ClangImporter/ClangIncludePaths.h b/lib/ClangImporter/ClangIncludePaths.h index 7f08397fa7d..69be98357d9 100644 --- a/lib/ClangImporter/ClangIncludePaths.h @@ -178,19 +126,6 @@ index 7f08397fa7d..69be98357d9 100644 +} + #endif // SWIFT_CLANG_INCLUDE_PATHS_H -diff --git a/lib/Frontend/CompilerInvocation.cpp b/lib/Frontend/CompilerInvocation.cpp -index ed413f2be91..f866b49ba3a 100644 ---- a/lib/Frontend/CompilerInvocation.cpp -+++ b/lib/Frontend/CompilerInvocation.cpp -@@ -401,7 +401,7 @@ void CompilerInvocation::computeCXXStdlibOptions() { - auto [clangDriver, clangDiagEngine] = - ClangImporter::createClangDriver(LangOpts, ClangImporterOpts); - auto clangDriverArgs = ClangImporter::createClangArgs( -- ClangImporterOpts, SearchPathOpts, clangDriver); -+ ClangImporterOpts, SearchPathOpts, clangDriver, LangOpts.EnableCXXInterop); - auto &clangToolchain = - clangDriver.getToolChain(clangDriverArgs, LangOpts.Target); - auto cxxStdlibKind = clangToolchain.GetCXXStdlibType(clangDriverArgs); -- 2.54.0 diff --git a/pkgs/development/compilers/swift/by-name/sw/swiftc/patches/6.2/0007-Help-Swift-JIT-find-the-separate-stdlib-and-framewor.patch b/pkgs/development/compilers/swift/by-name/sw/swiftc/patches/6.2/0007-Help-Swift-JIT-find-the-separate-stdlib-and-framewor.patch deleted file mode 100644 index afc2e5b470a4..000000000000 --- a/pkgs/development/compilers/swift/by-name/sw/swiftc/patches/6.2/0007-Help-Swift-JIT-find-the-separate-stdlib-and-framewor.patch +++ /dev/null @@ -1,49 +0,0 @@ -From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001 -From: Randy Eckenrode -Date: Wed, 15 Jul 2026 00:02:16 -0400 -Subject: [PATCH 07/10] Help Swift JIT find the separate stdlib and frameworks - -This is needed because the stdlib and several frameworks are all built -separately then symlinked into the final Swift toolchain. ---- - lib/Immediate/Immediate.cpp | 17 +++++++++++++++++ - 1 file changed, 17 insertions(+) - -diff --git a/lib/Immediate/Immediate.cpp b/lib/Immediate/Immediate.cpp -index 7d24b0d473e..bfd8ae3a129 100644 ---- a/lib/Immediate/Immediate.cpp -+++ b/lib/Immediate/Immediate.cpp -@@ -45,6 +45,8 @@ - #include "llvm/Support/Path.h" - #include "llvm/Transforms/IPO.h" - -+#include -+ - // TODO: Replace pass manager - // Removed in: d623b2f95fd559901f008a0588dddd0949a8db01 - /* #include "llvm/Transforms/IPO/PassManagerBuilder.h" */ -@@ -83,6 +85,21 @@ static void *loadRuntimeLib(StringRef sharedLibName, - for (auto &runtimeLibPath : runtimeLibPaths) { - if (void *handle = loadRuntimeLibAtPath(sharedLibName, runtimeLibPath)) - return handle; -+ else { -+ // Runtime libraries may also be located in `lib` for `lib/swift/`. -+ std::filesystem::path libPath = runtimeLibPath; -+ -+ if (libPath.filename() != "@swiftPlatform@") -+ continue; -+ libPath = libPath.parent_path(); -+ -+ if (libPath.filename() != "swift") -+ continue; -+ libPath = libPath.parent_path(); -+ -+ if (void *handle = loadRuntimeLibAtPath(sharedLibName, libPath.string())) -+ return handle; -+ } - } - return nullptr; - } --- -2.54.0 - From 0702fb764a8ec483816554065c4c88d088b4672f Mon Sep 17 00:00:00 2001 From: Randy Eckenrode Date: Thu, 8 Oct 2026 14:16:26 -0400 Subject: [PATCH 2058/2378] swiftPackages.swiftc: only build editor integraiton in final compiler --- .../compilers/swift/by-name/sw/swiftc/package.nix | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/pkgs/development/compilers/swift/by-name/sw/swiftc/package.nix b/pkgs/development/compilers/swift/by-name/sw/swiftc/package.nix index 42801f5520e4..bbfbdc466a2f 100644 --- a/pkgs/development/compilers/swift/by-name/sw/swiftc/package.nix +++ b/pkgs/development/compilers/swift/by-name/sw/swiftc/package.nix @@ -39,11 +39,9 @@ "compiler" "compiler-swift-syntax-lib" # "dev" - "editor-integration" # "llvm-toolchain-dev-tools" "license" "sdk-overlay" - (if stdenv.hostPlatform.isDarwin then "sourcekit-xpc-service" else "sourcekit-inproc") # "stdlib-experimental" "swift-syntax-lib" # "testsuite-tools" @@ -51,6 +49,13 @@ "toolchain-tools" # "tools" ] + # Only build editor integration in the final compiler. It’s not needed for the bootstrap compiler or stdlib. + ++ lib.optionals (lib.versions.majorMinor swift_release != "6.2" && bootstrapStage == 2) ( + [ + "editor-integration" + (if stdenv.hostPlatform.isDarwin then "sourcekit-xpc-service" else "sourcekit-inproc") + ] + ) ++ lib.optionals (stdlib == null) [ "back-deployment" "sdk-overlay" From 65951e2e9769dbe25d1f6bf20a69fc08a8df11ba Mon Sep 17 00:00:00 2001 From: Randy Eckenrode Date: Thu, 8 Oct 2026 14:16:26 -0400 Subject: [PATCH 2059/2378] swiftPackages.swiftc: build both types of editor integration on Darwin SourceKit-LSP needs in-proc integration. Otherwise, it crashes. --- .../compilers/swift/by-name/sw/swiftc/package.nix | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/pkgs/development/compilers/swift/by-name/sw/swiftc/package.nix b/pkgs/development/compilers/swift/by-name/sw/swiftc/package.nix index bbfbdc466a2f..706a5503ac9e 100644 --- a/pkgs/development/compilers/swift/by-name/sw/swiftc/package.nix +++ b/pkgs/development/compilers/swift/by-name/sw/swiftc/package.nix @@ -53,7 +53,10 @@ ++ lib.optionals (lib.versions.majorMinor swift_release != "6.2" && bootstrapStage == 2) ( [ "editor-integration" - (if stdenv.hostPlatform.isDarwin then "sourcekit-xpc-service" else "sourcekit-inproc") + "sourcekit-inproc" + ] + ++ lib.optionals stdenv.hostPlatform.isDarwin [ + "sourcekit-xpc-service" ] ) ++ lib.optionals (stdlib == null) [ From 8cff2ac944848a57c4210d4002867b5356c340ea Mon Sep 17 00:00:00 2001 From: Randy Eckenrode Date: Sun, 9 Aug 2026 08:38:12 -0400 Subject: [PATCH 2060/2378] swiftPackages.swift-lmdb: init at 6.4.0 --- .../sw/swift-lmdb/files/LMDBConfig.cmake | 7 ++ .../swift/by-name/sw/swift-lmdb/package.nix | 70 +++++++++++++++++++ pkgs/development/compilers/swift/sources.json | 3 + 3 files changed, 80 insertions(+) create mode 100644 pkgs/development/compilers/swift/by-name/sw/swift-lmdb/files/LMDBConfig.cmake create mode 100644 pkgs/development/compilers/swift/by-name/sw/swift-lmdb/package.nix diff --git a/pkgs/development/compilers/swift/by-name/sw/swift-lmdb/files/LMDBConfig.cmake b/pkgs/development/compilers/swift/by-name/sw/swift-lmdb/files/LMDBConfig.cmake new file mode 100644 index 000000000000..4c149a0c6de8 --- /dev/null +++ b/pkgs/development/compilers/swift/by-name/sw/swift-lmdb/files/LMDBConfig.cmake @@ -0,0 +1,7 @@ +if (NOT TARGET LMDB::CLMDB) + add_library(LMDB::CLMDB @buildType@ IMPORTED) + set_target_properties(LMDB::CLMDB PROPERTIES + IMPORTED_LOCATION "@lib@/lib/${CMAKE_@buildType@_LIBRARY_PREFIX}CLMDB${CMAKE_@buildType@_LIBRARY_SUFFIX}" + INTERFACE_INCLUDE_DIRECTORIES "@dev@/include" + ) +endif () diff --git a/pkgs/development/compilers/swift/by-name/sw/swift-lmdb/package.nix b/pkgs/development/compilers/swift/by-name/sw/swift-lmdb/package.nix new file mode 100644 index 000000000000..2063f5525e87 --- /dev/null +++ b/pkgs/development/compilers/swift/by-name/sw/swift-lmdb/package.nix @@ -0,0 +1,70 @@ +{ + lib, + cmake, + fetchFromGitHub, + fixDarwinDylibNames, + ninja, + stdenv, + swift_sources, + swift_release, +}: + +stdenv.mkDerivation (finalAttrs: { + pname = "swift-lmdb"; + version = swift_release; + + outputs = [ + "out" + "dev" + ]; + + src = fetchFromGitHub { + owner = "swiftlang"; + repo = "swift-lmdb"; + tag = "swift-${finalAttrs.version}-RELEASE"; + inherit (swift_sources.swift-lmdb) hash; + }; + + strictDeps = true; + + cmakeFlags = [ (lib.cmakeBool "BUILD_SHARED_LIBS" (!stdenv.hostPlatform.isStatic)) ]; + + nativeBuildInputs = [ + cmake + ninja + ] + ++ lib.optionals stdenv.hostPlatform.isDarwin [ fixDarwinDylibNames ]; + + installPhase = + # swift-lmdb does not provide an install target, so do it manually. + '' + runHook preInstall + + # Install the dylib + install -m755 -D -t "''${!outputLib}/lib" \ + lib/libCLMDB${stdenv.hostPlatform.extensions.library} + + # Install the headers. + install -m644 -D -t "''${!outputDev}/include" \ + ../Sources/CLMDB/include/* + + # Install CMake config file for the Swift-LMDB library. + mkdir -p "''${!outputDev}/lib/cmake/LMDB" + substitute ${./files/LMDBConfig.cmake} "''${!outputDev}/lib/cmake/LMDB/LMDBConfig.cmake" \ + --replace-fail '@buildType@' ${if stdenv.hostPlatform.isStatic then "STATIC" else "SHARED"} \ + --replace-fail '@dev@' "''${!outputDev}" \ + --replace-fail '@lib@' "''${!outputLib}" + + runHook postInstall + ''; + + __structuredAttrs = true; + + meta = { + homepage = "https://github.com/swiftlang/swift-lmdb"; + description = "SwiftPM wrapper around LMDB"; + platforms = lib.platforms.darwin ++ lib.platforms.linux; + license = lib.licenses.openldap; + teams = [ lib.teams.swift ]; + }; +}) diff --git a/pkgs/development/compilers/swift/sources.json b/pkgs/development/compilers/swift/sources.json index 9c48604a0f6a..77a81fd300aa 100644 --- a/pkgs/development/compilers/swift/sources.json +++ b/pkgs/development/compilers/swift/sources.json @@ -57,6 +57,9 @@ "swift-llbuild": { "hash": "sha256-w4P8eMRe+9pMuRQURmku7Z6MrPlLSDqMXuvVkUJHfiw=" }, + "swift-lmdb": { + "hash": "sha256-gTCzlvrrQhTsl9FI04nU9vkv7ZB2kEGz487r+r+0w40=" + }, "swift-package-manager": { "hash": "sha256-Gu5NFuowFzdZuj/qraR3RjBFCsrvDWjGoiSNYHJTY5g=" }, From 4b711fbb9f570d6462301423c155f80dcfc09190 Mon Sep 17 00:00:00 2001 From: Randy Eckenrode Date: Sun, 9 Aug 2026 08:38:12 -0400 Subject: [PATCH 2061/2378] swiftPackages.indexstore-db: init at 6.4.0 --- .../files/IndexStoreDBConfig.cmake | 7 ++ .../by-name/in/indexstore-db/package.nix | 101 ++++++++++++++++++ .../patches/0001-gnu-install-dirs.patch | 28 +++++ pkgs/development/compilers/swift/sources.json | 3 + 4 files changed, 139 insertions(+) create mode 100644 pkgs/development/compilers/swift/by-name/in/indexstore-db/files/IndexStoreDBConfig.cmake create mode 100644 pkgs/development/compilers/swift/by-name/in/indexstore-db/package.nix create mode 100644 pkgs/development/compilers/swift/by-name/in/indexstore-db/patches/0001-gnu-install-dirs.patch diff --git a/pkgs/development/compilers/swift/by-name/in/indexstore-db/files/IndexStoreDBConfig.cmake b/pkgs/development/compilers/swift/by-name/in/indexstore-db/files/IndexStoreDBConfig.cmake new file mode 100644 index 000000000000..c755f6384fb5 --- /dev/null +++ b/pkgs/development/compilers/swift/by-name/in/indexstore-db/files/IndexStoreDBConfig.cmake @@ -0,0 +1,7 @@ +if (NOT TARGET IndexStoreDB) + add_library(IndexStoreDB @buildType@ IMPORTED) + set_target_properties(IndexStoreDB PROPERTIES + IMPORTED_LOCATION "@lib@/lib/${CMAKE_@buildType@_LIBRARY_PREFIX}IndexStoreDB${CMAKE_@buildType@_LIBRARY_SUFFIX}" + INTERFACE_INCLUDE_DIRECTORIES "@dev@/lib/swift/@swiftPlatform@" + ) +endif () diff --git a/pkgs/development/compilers/swift/by-name/in/indexstore-db/package.nix b/pkgs/development/compilers/swift/by-name/in/indexstore-db/package.nix new file mode 100644 index 000000000000..528a9fc43a45 --- /dev/null +++ b/pkgs/development/compilers/swift/by-name/in/indexstore-db/package.nix @@ -0,0 +1,101 @@ +{ + lib, + cmake, + fetchFromGitHub, + fixUnhelpfulCmakeRpathsHook, + ninja, + stdenv, + swift, + swift-collections, + swift-corelibs-foundation, + swift-corelibs-libdispatch, + swift-foundation, + swift-foundation-icu, + swift-lmdb, + swift_sources, + swift_release, +}: + +let + swiftPlatform = stdenv.hostPlatform.swift.platform; + + swift' = swift.override { + enableRepl = false; + enableSourceKitLSP = false; + }; +in + +stdenv.mkDerivation (finalAttrs: { + pname = "indexstore-db"; + version = swift_release; + + outputs = [ + "out" + "dev" + ]; + + src = fetchFromGitHub { + owner = "swiftlang"; + repo = "indexstore-db"; + tag = "swift-${finalAttrs.version}-RELEASE"; + inherit (swift_sources.indexstore-db) hash; + }; + + patches = [ ./patches/0001-gnu-install-dirs.patch ]; + + strictDeps = true; + + cmakeFlags = [ (lib.cmakeBool "BUILD_SHARED_LIBS" (!stdenv.hostPlatform.isStatic)) ]; + + preConfigure = '' + appendToVar cmakeFlags -DCMAKE_Swift_COMPILER_TARGET=${stdenv.hostPlatform.swift.triple} + appendToVar cmakeFlags -DCMAKE_Swift_FLAGS=-module-cache-path\ "$NIX_BUILD_TOP/module-cache" + ''; + + nativeBuildInputs = [ + cmake + ninja + swift' + fixUnhelpfulCmakeRpathsHook + ]; + + buildInputs = [ + swift-collections + swift-lmdb + ] + ++ lib.optionals (!stdenv.hostPlatform.isDarwin) [ + swift-corelibs-foundation + swift-corelibs-libdispatch + swift-foundation + ]; + + postInstall = + lib.optionalString stdenv.hostPlatform.isDarwin '' + mv "$out/lib/swift/darwin" "$out/lib/swift/${swiftPlatform}" + '' + + '' + moveToOutput lib/swift/${swiftPlatform} "$dev" + + # Install CMake config file for the IndexStoreDB library. + mkdir -p "''${!outputDev}/lib/cmake/IndexStoreDB" + substitute ${./files/IndexStoreDBConfig.cmake} "''${!outputDev}/lib/cmake/IndexStoreDB/IndexStoreDBConfig.cmake" \ + --replace-fail '@buildType@' ${if stdenv.hostPlatform.isStatic then "STATIC" else "SHARED"} \ + --replace-fail '@dev@' "''${!outputDev}" \ + --replace-fail '@lib@' "''${!outputLib}" \ + --replace-fail '@swiftPlatform@' ${swiftPlatform} + '' + + lib.optionalString stdenv.hostPlatform.isElf '' + patchelf "''${!outputLib}/lib/libIndexStoreDB.so" \ + --add-rpath ${lib.escapeShellArg (lib.makeLibraryPath [ swift-lmdb ])} + ''; + + __structuredAttrs = true; + + meta = { + homepage = "https://github.com/swiftlang/indexstore-db"; + description = "Index database library used by SourceKit-LSP"; + platforms = lib.platforms.darwin ++ lib.platforms.linux; + license = lib.licenses.asl20; + teams = [ lib.teams.swift ]; + }; +}) diff --git a/pkgs/development/compilers/swift/by-name/in/indexstore-db/patches/0001-gnu-install-dirs.patch b/pkgs/development/compilers/swift/by-name/in/indexstore-db/patches/0001-gnu-install-dirs.patch new file mode 100644 index 000000000000..1ab9898f458c --- /dev/null +++ b/pkgs/development/compilers/swift/by-name/in/indexstore-db/patches/0001-gnu-install-dirs.patch @@ -0,0 +1,28 @@ +From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001 +From: Randy Eckenrode +Date: Fri, 9 Oct 2026 14:37:23 -0400 +Subject: [PATCH] gnu-install-dirs + +--- + Sources/IndexStoreDB/CMakeLists.txt | 6 +++--- + 1 file changed, 3 insertions(+), 3 deletions(-) + +diff --git a/Sources/IndexStoreDB/CMakeLists.txt b/Sources/IndexStoreDB/CMakeLists.txt +index cdc008c..86e65a8 100644 +--- a/Sources/IndexStoreDB/CMakeLists.txt ++++ b/Sources/IndexStoreDB/CMakeLists.txt +@@ -25,8 +25,8 @@ if(NOT CMAKE_SYSTEM_NAME STREQUAL Darwin) + endif() + + install(TARGETS IndexStoreDB +- ARCHIVE DESTINATION lib/swift$<$>:_static>/$ +- LIBRARY DESTINATION lib/swift$<$>:_static>/$ +- RUNTIME DESTINATION bin) ++ ARCHIVE DESTINATION "${CMAKE_INSTALL_LIBDIR}" ++ LIBRARY DESTINATION "${CMAKE_INSTALL_LIBDIR}" ++ RUNTIME DESTINATION "${CMAKE_INSTALL_BINDIR}") + install_swiftmodule(IndexStoreDB) + set_property(GLOBAL APPEND PROPERTY IndexStoreDB_EXPORTS IndexStoreDB) +-- +2.54.0 + diff --git a/pkgs/development/compilers/swift/sources.json b/pkgs/development/compilers/swift/sources.json index 77a81fd300aa..d1e4fd8847e8 100644 --- a/pkgs/development/compilers/swift/sources.json +++ b/pkgs/development/compilers/swift/sources.json @@ -1,4 +1,7 @@ { + "indexstore-db": { + "hash": "sha256-okJrYhn2LmRNV+Wn/QM1W6yxbt/s1X7L2kmUccxD74o=" + }, "llvm-project": { "hash": "sha256-EzSgVCdEYtrrC9fjqUVu4ALp8FmtwgLfLzL/pMQKb/4=" }, From 42aba9228febdf9a852c81db02cf724cfaaaebce Mon Sep 17 00:00:00 2001 From: Randy Eckenrode Date: Sun, 9 Aug 2026 08:38:12 -0400 Subject: [PATCH 2062/2378] swiftPackages.sourcekit-lsp: switch build to CMake --- .../by-name/so/sourcekit-lsp/Package.resolved | 204 ------------------ .../by-name/so/sourcekit-lsp/package.nix | 134 ++++++++---- ...sing-swift-corelibs-xctest-on-Darwin.patch | 4 +- .../0002-Load-IndexStore-from-the-store.patch | 48 ----- .../patches/0002-add-missing-libraries.patch | 27 +++ pkgs/development/compilers/swift/sources.json | 5 +- 6 files changed, 121 insertions(+), 301 deletions(-) delete mode 100644 pkgs/development/compilers/swift/by-name/so/sourcekit-lsp/Package.resolved delete mode 100644 pkgs/development/compilers/swift/by-name/so/sourcekit-lsp/patches/0002-Load-IndexStore-from-the-store.patch create mode 100644 pkgs/development/compilers/swift/by-name/so/sourcekit-lsp/patches/0002-add-missing-libraries.patch diff --git a/pkgs/development/compilers/swift/by-name/so/sourcekit-lsp/Package.resolved b/pkgs/development/compilers/swift/by-name/so/sourcekit-lsp/Package.resolved deleted file mode 100644 index e2e4a73f5e71..000000000000 --- a/pkgs/development/compilers/swift/by-name/so/sourcekit-lsp/Package.resolved +++ /dev/null @@ -1,204 +0,0 @@ -{ - "originHash" : "fadbd797aec82d3b12c29aec8ad2f63e85f0e7f1fb12b73d79a2ae3351bda3a7", - "pins" : [ - { - "identity" : "indexstore-db", - "kind" : "remoteSourceControl", - "location" : "https://github.com/swiftlang/indexstore-db.git", - "state" : { - "branch" : "release/6.4.x", - "revision" : "64aa0b26913249c4e7c21d351a215fba02702003" - } - }, - { - "identity" : "swift-argument-parser", - "kind" : "remoteSourceControl", - "location" : "https://github.com/apple/swift-argument-parser.git", - "state" : { - "revision" : "6a52f3251125d74daf04fcbd5e6f08a75d074382", - "version" : "1.8.2" - } - }, - { - "identity" : "swift-asn1", - "kind" : "remoteSourceControl", - "location" : "https://github.com/apple/swift-asn1.git", - "state" : { - "revision" : "3b6410f7dee09eb33cdd26260c5fd47fda19b0e2", - "version" : "1.7.3" - } - }, - { - "identity" : "swift-atomics", - "kind" : "remoteSourceControl", - "location" : "https://github.com/apple/swift-atomics.git", - "state" : { - "revision" : "0442cb5a3f98ab802acb777929fdb446bda11a34", - "version" : "1.3.1" - } - }, - { - "identity" : "swift-certificates", - "kind" : "remoteSourceControl", - "location" : "https://github.com/apple/swift-certificates.git", - "state" : { - "branch" : "1.10.1", - "revision" : "386001a92200c70fd06217b3ccad58d7226edb84" - } - }, - { - "identity" : "swift-cmark", - "kind" : "remoteSourceControl", - "location" : "https://github.com/swiftlang/swift-cmark.git", - "state" : { - "branch" : "release/6.4.x", - "revision" : "08ddb528923cc1a6527e02b7a1aee9e516ca749a" - } - }, - { - "identity" : "swift-collections", - "kind" : "remoteSourceControl", - "location" : "https://github.com/apple/swift-collections.git", - "state" : { - "branch" : "1.1.6", - "revision" : "c11818f3cae0780656baa430b49e7f163f08dffd" - } - }, - { - "identity" : "swift-crypto", - "kind" : "remoteSourceControl", - "location" : "https://github.com/apple/swift-crypto.git", - "state" : { - "branch" : "3.12.5", - "revision" : "d79c573e1b400d670ed12c0cb29d33f2c0f5ab70" - } - }, - { - "identity" : "swift-docc", - "kind" : "remoteSourceControl", - "location" : "https://github.com/swiftlang/swift-docc.git", - "state" : { - "branch" : "release/6.4.x", - "revision" : "01838b69867dc86756977e806641f72b4a2b2777" - } - }, - { - "identity" : "swift-docc-symbolkit", - "kind" : "remoteSourceControl", - "location" : "https://github.com/swiftlang/swift-docc-symbolkit.git", - "state" : { - "branch" : "release/6.4.x", - "revision" : "247b6cb036de3eefac9b4715799cd87f49dff20a" - } - }, - { - "identity" : "swift-driver", - "kind" : "remoteSourceControl", - "location" : "https://github.com/swiftlang/swift-driver.git", - "state" : { - "branch" : "release/6.4.x", - "revision" : "174567a5681a9a949bcd52f821deb8fa65105434" - } - }, - { - "identity" : "swift-format", - "kind" : "remoteSourceControl", - "location" : "https://github.com/swiftlang/swift-format.git", - "state" : { - "branch" : "release/6.4.x", - "revision" : "8b3b1365e8691e233146bda57e5100eb50eb53ea" - } - }, - { - "identity" : "swift-llbuild", - "kind" : "remoteSourceControl", - "location" : "https://github.com/swiftlang/swift-llbuild.git", - "state" : { - "branch" : "release/6.4.x", - "revision" : "ab6421207b9e4971c94e97c5832a3d8a4cae9092" - } - }, - { - "identity" : "swift-lmdb", - "kind" : "remoteSourceControl", - "location" : "https://github.com/swiftlang/swift-lmdb.git", - "state" : { - "branch" : "release/6.4.x", - "revision" : "a4bc87807721c1fd114bf35464457e2db0d0e6c0" - } - }, - { - "identity" : "swift-markdown", - "kind" : "remoteSourceControl", - "location" : "https://github.com/swiftlang/swift-markdown.git", - "state" : { - "branch" : "release/6.4.x", - "revision" : "bc55d614bc8608d74cdc18d3aa6413bd8661e444" - } - }, - { - "identity" : "swift-nio", - "kind" : "remoteSourceControl", - "location" : "https://github.com/apple/swift-nio.git", - "state" : { - "revision" : "6db9d9abd92ad7399b8a564cafbb87d3507245fa", - "version" : "2.104.0" - } - }, - { - "identity" : "swift-package-manager", - "kind" : "remoteSourceControl", - "location" : "https://github.com/swiftlang/swift-package-manager.git", - "state" : { - "branch" : "release/6.4.x", - "revision" : "34946f99d3b71771c8ceb53d214ca3579d4daa5c" - } - }, - { - "identity" : "swift-syntax", - "kind" : "remoteSourceControl", - "location" : "https://github.com/swiftlang/swift-syntax.git", - "state" : { - "branch" : "release/6.4.x", - "revision" : "050f1a346fbbac0ca2cfb15a95274f7bd1cf0ccf" - } - }, - { - "identity" : "swift-system", - "kind" : "remoteSourceControl", - "location" : "https://github.com/apple/swift-system.git", - "state" : { - "branch" : "1.5.0", - "revision" : "61e4ca4b81b9e09e2ec863b00c340eb13497dac6" - } - }, - { - "identity" : "swift-toolchain-sqlite", - "kind" : "remoteSourceControl", - "location" : "https://github.com/swiftlang/swift-toolchain-sqlite.git", - "state" : { - "branch" : "1.0.9", - "revision" : "c0ecc1e0fd1b4fbc38db1efa6113bc12c2a4e559" - } - }, - { - "identity" : "swift-tools-protocols", - "kind" : "remoteSourceControl", - "location" : "https://github.com/swiftlang/swift-tools-protocols.git", - "state" : { - "branch" : "release/6.4.x", - "revision" : "4345e69c5572ec3d1f737fba90bca024b32da5cf" - } - }, - { - "identity" : "swift-tools-support-core", - "kind" : "remoteSourceControl", - "location" : "https://github.com/swiftlang/swift-tools-support-core.git", - "state" : { - "branch" : "release/6.4.x", - "revision" : "d45c8b38d2824498b7863d3d5f0227937a53c177" - } - } - ], - "version" : 3 -} diff --git a/pkgs/development/compilers/swift/by-name/so/sourcekit-lsp/package.nix b/pkgs/development/compilers/swift/by-name/so/sourcekit-lsp/package.nix index 3ceac0465b0a..002f231f1707 100644 --- a/pkgs/development/compilers/swift/by-name/so/sourcekit-lsp/package.nix +++ b/pkgs/development/compilers/swift/by-name/so/sourcekit-lsp/package.nix @@ -1,20 +1,57 @@ { lib, + cmake, fetchFromGitHub, - fetchSwiftPMDeps, - llvmPackages, - ncurses, - pkg-config, - replaceVars, - sqlite, + indexstore-db, + ninja, stdenv, swift, + swift-argument-parser, + swift-asn1, + swift-collections, + swift-corelibs-foundation, swift-corelibs-libdispatch, + swift-crypto, + swift-foundation, + swift-foundation-icu, + swift-llbuild, + swift-lmdb, + swift-syntax, + swift-tools-protocols, + swift-tools-support-core, swiftpm, swift_release, swift_sources, }: +let + rpaths = [ + indexstore-db + swift-argument-parser + swift-asn1 + swift-collections + swift-crypto + swift-llbuild + swift-lmdb + swift-syntax-no-toolchain + swift-tools-protocols + swift-tools-support-core + swiftpm + ] + ++ lib.optionals (!stdenv.hostPlatform.isDarwin) [ + swift-corelibs-foundation + swift-corelibs-libdispatch + swift-foundation + swift-foundation-icu + ]; + + swift-syntax-no-toolchain = swift-syntax.override { useToolchainLibraries = false; }; + + swift' = swift.override { + enableRepl = false; + }; +in + stdenv.mkDerivation (finalAttrs: { pname = "sourcekit-lsp"; version = swift_release; @@ -30,59 +67,70 @@ stdenv.mkDerivation (finalAttrs: { # We can’t use the XCTest framework on Darwin and have to use swift-corelibs-xctest. Patch the `PerfTestCase` # base class to build with it on Darwin. ./patches/0001-Fix-for-using-swift-corelibs-xctest-on-Darwin.patch - # SourceKit-LSP tries to load IndexStore from the toolchain, but we want to load it from the store directly instead. - (replaceVars ./patches/0002-Load-IndexStore-from-the-store.patch { - libclang = lib.getLib llvmPackages.libclang; - }) + # A couple of required libraries are missing from the `CMakeLists.txt` files. + ./patches/0002-add-missing-libraries.patch ]; - # The SwiftPM patches can’t be included in the swiftpmDeps FOD because they reference store paths. - swiftpmPatches = swiftpm.patches; + postPatch = + # Make the build complain loudly when a dependency is not available. + '' + substituteInPlace CMakeLists.txt \ + --replace-fail QUIET REQUIRED - postPatch = '' - packagesPath=$(readlink -f Packages) - - rm Packages - cp -r "$packagesPath" Packages - chmod -R u+w Packages/swift-package-manager - - for p in "''${swiftpmPatches[@]}"; do - # Don’t apply the backdeploy patch because it creates a link to the Swift toolchain, - # which bloats up the SourceKit-LSP closure quite significantly. - if ! [[ $p =~ fix-backdeploy-rpath\.patch ]]; then - echo "applying patch $p" - patch -d Packages/swift-package-manager -p1 < "$p" - fi - done - ''; - - swiftpmDeps = fetchSwiftPMDeps { - inherit (finalAttrs) pname version src; - inherit (swift_sources.sourcekit-lsp.swiftpmDeps) hash; - - # Upstream doesn’t provide `Package.resolved`. - postPatch = '' - ln -s ${./Package.resolved} Package.resolved + # Except for dispatch and Foundation, which are part of the SDK on Darwin. + substituteInPlace CMakeLists.txt \ + --replace-fail 'dispatch REQUIRED' 'dispatch QUIET' \ + --replace-fail 'Foundation REQUIRED' 'Foundation QUIET' ''; - }; strictDeps = true; + preConfigure = '' + appendToVar cmakeFlags -DCMAKE_Swift_COMPILER_TARGET=${stdenv.hostPlatform.swift.triple} + appendToVar cmakeFlags -DCMAKE_Swift_FLAGS=-module-cache-path\ "$NIX_BUILD_TOP/module-cache" + ''; + nativeBuildInputs = [ - pkg-config - swift - swiftpm + cmake + ninja + swift' ]; buildInputs = [ - ncurses - sqlite + indexstore-db + swift-argument-parser + swift-asn1 + swift-collections + swift-crypto + swift-llbuild + swift-lmdb + swift-syntax-no-toolchain + swift-tools-protocols + swift-tools-support-core + swiftpm ] - ++ lib.optionals (!stdenv.hostPlatform.isDarwin) [ swift-corelibs-libdispatch ]; + ++ lib.optionals (!stdenv.hostPlatform.isDarwin) [ + swift-corelibs-foundation + swift-corelibs-libdispatch + swift-foundation + swift-foundation-icu + ]; # Tests crash with `*** bit out of range 0 - FD_SETSIZE on fd_set ***: terminated` doCheck = false; # !stdenv.hostPlatform.isDarwin; + postInstall = + # Add missing rpaths. + lib.optionalString stdenv.hostPlatform.isElf '' + for output in "''${outputs[@]}"; do + while IFS= read -d "" f; do + if isELF "$f"; then + patchelf --add-rpath ${lib.escapeShellArg (lib.makeLibraryPath rpaths)} "$f" + fi + done < <(find "$output" -type f -print0) + done + ''; + __structuredAttrs = true; meta = { diff --git a/pkgs/development/compilers/swift/by-name/so/sourcekit-lsp/patches/0001-Fix-for-using-swift-corelibs-xctest-on-Darwin.patch b/pkgs/development/compilers/swift/by-name/so/sourcekit-lsp/patches/0001-Fix-for-using-swift-corelibs-xctest-on-Darwin.patch index c137baa63833..4b06a82e1634 100644 --- a/pkgs/development/compilers/swift/by-name/so/sourcekit-lsp/patches/0001-Fix-for-using-swift-corelibs-xctest-on-Darwin.patch +++ b/pkgs/development/compilers/swift/by-name/so/sourcekit-lsp/patches/0001-Fix-for-using-swift-corelibs-xctest-on-Darwin.patch @@ -10,10 +10,10 @@ logic as other platforms to define the base class for performance tests. 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Sources/SKTestSupport/PerfTestCase.swift b/Sources/SKTestSupport/PerfTestCase.swift -index ba716c49..5b5cfccc 100644 +index ad08c346..256dea1b 100644 --- a/Sources/SKTestSupport/PerfTestCase.swift +++ b/Sources/SKTestSupport/PerfTestCase.swift -@@ -23,7 +23,7 @@ open class PerfTestCase: XCTestCase { +@@ -23,7 +23,7 @@ open class PerfTestCase: SourceKitLSPTestCase { #if !ENABLE_PERF_TESTS diff --git a/pkgs/development/compilers/swift/by-name/so/sourcekit-lsp/patches/0002-Load-IndexStore-from-the-store.patch b/pkgs/development/compilers/swift/by-name/so/sourcekit-lsp/patches/0002-Load-IndexStore-from-the-store.patch deleted file mode 100644 index 6db9a823c638..000000000000 --- a/pkgs/development/compilers/swift/by-name/so/sourcekit-lsp/patches/0002-Load-IndexStore-from-the-store.patch +++ /dev/null @@ -1,48 +0,0 @@ -From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001 -From: Randy Eckenrode -Date: Sat, 11 Jul 2026 16:07:13 -0400 -Subject: [PATCH 2/2] Load IndexStore from the store - ---- - Sources/ToolchainRegistry/Toolchain.swift | 7 ++----- - Tests/ToolchainRegistryTests/ToolchainRegistryTests.swift | 7 +------ - 2 files changed, 3 insertions(+), 11 deletions(-) - -diff --git a/Sources/ToolchainRegistry/Toolchain.swift b/Sources/ToolchainRegistry/Toolchain.swift -index f726ebfe..a3a6fb44 100644 ---- a/Sources/ToolchainRegistry/Toolchain.swift -+++ b/Sources/ToolchainRegistry/Toolchain.swift -@@ -395,11 +395,8 @@ public final class Toolchain: Sendable { - foundAny = true - } - -- #if os(Windows) -- let libIndexStorePath = binPath.appending(component: "libIndexStore\(dylibExtension)") -- #else -- let libIndexStorePath = libPath.appending(component: "libIndexStore\(dylibExtension)") -- #endif -+ let libIndexStorePath = URL(filePath: "@libclang@").appending(components: "lib", "libIndexStore\(dylibExtension)") -+ - if FileManager.default.isFile(at: libIndexStorePath) { - libIndexStore = libIndexStorePath - foundAny = true -diff --git a/Tests/ToolchainRegistryTests/ToolchainRegistryTests.swift b/Tests/ToolchainRegistryTests/ToolchainRegistryTests.swift -index 25e07743..b240b53a 100644 ---- a/Tests/ToolchainRegistryTests/ToolchainRegistryTests.swift -+++ b/Tests/ToolchainRegistryTests/ToolchainRegistryTests.swift -@@ -747,11 +747,6 @@ private func makeToolchain( - #endif - } - if libIndexStore { -- #if os(Windows) -- // Windows has a prefix of `lib` on this particular library ... -- try Data().write(to: binPath.appending(component: "libIndexStore\(dylibSuffix)")) -- #else -- try Data().write(to: libPath.appending(component: "libIndexStore\(dylibSuffix)")) -- #endif -+ try Data().write(to: URL(filePath: "@libclang@").appending(components: "lib", "libIndexStore\(dylibSuffix)")) - } - } --- -2.54.0 - diff --git a/pkgs/development/compilers/swift/by-name/so/sourcekit-lsp/patches/0002-add-missing-libraries.patch b/pkgs/development/compilers/swift/by-name/so/sourcekit-lsp/patches/0002-add-missing-libraries.patch new file mode 100644 index 000000000000..7271b3817118 --- /dev/null +++ b/pkgs/development/compilers/swift/by-name/so/sourcekit-lsp/patches/0002-add-missing-libraries.patch @@ -0,0 +1,27 @@ +From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001 +From: Randy Eckenrode +Date: Fri, 9 Oct 2026 16:15:54 -0400 +Subject: [PATCH 2/2] add-missing-libraries + +--- + Sources/BuildServerIntegration/CMakeLists.txt | 4 ++++ + 1 file changed, 4 insertions(+) + +diff --git a/Sources/BuildServerIntegration/CMakeLists.txt b/Sources/BuildServerIntegration/CMakeLists.txt +index b3ab347d..4cac13f1 100644 +--- a/Sources/BuildServerIntegration/CMakeLists.txt ++++ b/Sources/BuildServerIntegration/CMakeLists.txt +@@ -29,6 +29,10 @@ target_link_libraries(BuildServerIntegration PUBLIC + SwiftToolsProtocols::LanguageServerProtocol + SwiftToolsProtocols::LanguageServerProtocolTransport + SwiftToolsProtocols::SKLogging ++ SwiftCollections::DequeModule ++ SwiftCollections::OrderedCollections ++ llbuild ++ llbuildSwift + SKOptions + LanguageServerProtocolExtensions + SourceKitD +-- +2.54.0 + diff --git a/pkgs/development/compilers/swift/sources.json b/pkgs/development/compilers/swift/sources.json index d1e4fd8847e8..5ae4313c39e2 100644 --- a/pkgs/development/compilers/swift/sources.json +++ b/pkgs/development/compilers/swift/sources.json @@ -6,10 +6,7 @@ "hash": "sha256-EzSgVCdEYtrrC9fjqUVu4ALp8FmtwgLfLzL/pMQKb/4=" }, "sourcekit-lsp": { - "hash": "sha256-/uAkOzNRRFkUC+qYntBytcEcWWBEpH5hsko0LR3Skhs=", - "swiftpmDeps": { - "hash": "sha256-p12/b/OR+etd7W22ERxkyxCuSEKTifRrYzPEKhj2BN8=" - } + "hash": "sha256-/uAkOzNRRFkUC+qYntBytcEcWWBEpH5hsko0LR3Skhs=" }, "swift": { "hash": "sha256-X3jFUJiASISZmqVR1aiHF0nDL15fiIupsIUMjOTtBCM=" From e11af47a1ab57946c9409f7888da666503b54e0b Mon Sep 17 00:00:00 2001 From: Randy Eckenrode Date: Thu, 8 Oct 2026 14:16:26 -0400 Subject: [PATCH 2063/2378] swiftPackages.sourcekit-lsp: add version check to make sure it runs --- .../compilers/swift/by-name/so/sourcekit-lsp/package.nix | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/pkgs/development/compilers/swift/by-name/so/sourcekit-lsp/package.nix b/pkgs/development/compilers/swift/by-name/so/sourcekit-lsp/package.nix index 002f231f1707..1818323108c0 100644 --- a/pkgs/development/compilers/swift/by-name/so/sourcekit-lsp/package.nix +++ b/pkgs/development/compilers/swift/by-name/so/sourcekit-lsp/package.nix @@ -20,6 +20,7 @@ swift-tools-protocols, swift-tools-support-core, swiftpm, + versionCheckHook, swift_release, swift_sources, }: @@ -131,6 +132,13 @@ stdenv.mkDerivation (finalAttrs: { done ''; + nativeInstallCheckInputs = [ versionCheckHook ]; + + versionCheckProgramArg = "--help"; + preVersionCheck = "version='OVERVIEW: Language Server Protocol implementation'"; + + doInstallCheck = true; + __structuredAttrs = true; meta = { From b38407baee18a1239440c27a68491d34eae87266 Mon Sep 17 00:00:00 2001 From: Randy Eckenrode Date: Sun, 9 Aug 2026 08:38:12 -0400 Subject: [PATCH 2064/2378] swiftPackages.swift: add SourceKit-LSP to the toolchain --- .../by-name/so/sourcekit-lsp/package.nix | 1 + .../swift/by-name/sw/swift-asn1/package.nix | 1 + .../swift/by-name/sw/swift-build/package.nix | 1 + .../by-name/sw/swift-certificates/package.nix | 1 + .../swift/by-name/sw/swift-crypto/package.nix | 1 + .../swift/by-name/sw/swift-syntax/package.nix | 1 + .../swift/by-name/sw/swift-system/package.nix | 1 + .../by-name/sw/swift-testing/package.nix | 1 + .../sw/swift-tools-protocols/package.nix | 1 + .../swift/by-name/sw/swift/package.nix | 10 ++++++ .../swift/by-name/sw/swiftpm/package.nix | 6 +--- .../0010-Load-IndexStore-from-the-store.patch | 35 ------------------- pkgs/top-level/swift-packages.nix | 2 ++ 13 files changed, 22 insertions(+), 40 deletions(-) delete mode 100644 pkgs/development/compilers/swift/by-name/sw/swiftpm/patches/0010-Load-IndexStore-from-the-store.patch diff --git a/pkgs/development/compilers/swift/by-name/so/sourcekit-lsp/package.nix b/pkgs/development/compilers/swift/by-name/so/sourcekit-lsp/package.nix index 1818323108c0..ddbb430cab82 100644 --- a/pkgs/development/compilers/swift/by-name/so/sourcekit-lsp/package.nix +++ b/pkgs/development/compilers/swift/by-name/so/sourcekit-lsp/package.nix @@ -50,6 +50,7 @@ let swift' = swift.override { enableRepl = false; + enableSourceKitLSP = false; }; in diff --git a/pkgs/development/compilers/swift/by-name/sw/swift-asn1/package.nix b/pkgs/development/compilers/swift/by-name/sw/swift-asn1/package.nix index fc36b2615b6f..760251262105 100644 --- a/pkgs/development/compilers/swift/by-name/sw/swift-asn1/package.nix +++ b/pkgs/development/compilers/swift/by-name/sw/swift-asn1/package.nix @@ -11,6 +11,7 @@ let swift' = swift.override { enableRepl = false; + enableSourceKitLSP = false; }; in diff --git a/pkgs/development/compilers/swift/by-name/sw/swift-build/package.nix b/pkgs/development/compilers/swift/by-name/sw/swift-build/package.nix index 185ebef7bc97..710f9e2fcab4 100644 --- a/pkgs/development/compilers/swift/by-name/sw/swift-build/package.nix +++ b/pkgs/development/compilers/swift/by-name/sw/swift-build/package.nix @@ -36,6 +36,7 @@ let swift' = swift.override { enableRepl = false; + enableSourceKitLSP = false; }; # FIXME: Drop once `darwin.sigtool` has a new release. diff --git a/pkgs/development/compilers/swift/by-name/sw/swift-certificates/package.nix b/pkgs/development/compilers/swift/by-name/sw/swift-certificates/package.nix index ba22beed5140..64b814593557 100644 --- a/pkgs/development/compilers/swift/by-name/sw/swift-certificates/package.nix +++ b/pkgs/development/compilers/swift/by-name/sw/swift-certificates/package.nix @@ -13,6 +13,7 @@ let swift' = swift.override { enableRepl = false; + enableSourceKitLSP = false; }; in diff --git a/pkgs/development/compilers/swift/by-name/sw/swift-crypto/package.nix b/pkgs/development/compilers/swift/by-name/sw/swift-crypto/package.nix index 977ddd8df55d..54cd51175a68 100644 --- a/pkgs/development/compilers/swift/by-name/sw/swift-crypto/package.nix +++ b/pkgs/development/compilers/swift/by-name/sw/swift-crypto/package.nix @@ -14,6 +14,7 @@ let swift' = swift.override { enableRepl = false; + enableSourceKitLSP = false; }; in diff --git a/pkgs/development/compilers/swift/by-name/sw/swift-syntax/package.nix b/pkgs/development/compilers/swift/by-name/sw/swift-syntax/package.nix index 977284fcd748..395af877bb9c 100644 --- a/pkgs/development/compilers/swift/by-name/sw/swift-syntax/package.nix +++ b/pkgs/development/compilers/swift/by-name/sw/swift-syntax/package.nix @@ -33,6 +33,7 @@ let swift' = swift.override { enableRepl = false; + enableSourceKitLSP = false; }; in diff --git a/pkgs/development/compilers/swift/by-name/sw/swift-system/package.nix b/pkgs/development/compilers/swift/by-name/sw/swift-system/package.nix index a36da4ca0a2d..5241fcfddf70 100644 --- a/pkgs/development/compilers/swift/by-name/sw/swift-system/package.nix +++ b/pkgs/development/compilers/swift/by-name/sw/swift-system/package.nix @@ -12,6 +12,7 @@ let swift' = swift.override { enableRepl = false; + enableSourceKitLSP = false; }; in diff --git a/pkgs/development/compilers/swift/by-name/sw/swift-testing/package.nix b/pkgs/development/compilers/swift/by-name/sw/swift-testing/package.nix index fe19823ad681..85fb7f529958 100644 --- a/pkgs/development/compilers/swift/by-name/sw/swift-testing/package.nix +++ b/pkgs/development/compilers/swift/by-name/sw/swift-testing/package.nix @@ -21,6 +21,7 @@ let swift' = swift.override { swift-testing = null; enableRepl = false; + enableSourceKitLSP = false; }; in diff --git a/pkgs/development/compilers/swift/by-name/sw/swift-tools-protocols/package.nix b/pkgs/development/compilers/swift/by-name/sw/swift-tools-protocols/package.nix index aa5590f94ddb..d9bbc7a0a874 100644 --- a/pkgs/development/compilers/swift/by-name/sw/swift-tools-protocols/package.nix +++ b/pkgs/development/compilers/swift/by-name/sw/swift-tools-protocols/package.nix @@ -16,6 +16,7 @@ let swift' = swift.override { enableRepl = false; + enableSourceKitLSP = false; }; in diff --git a/pkgs/development/compilers/swift/by-name/sw/swift/package.nix b/pkgs/development/compilers/swift/by-name/sw/swift/package.nix index 05ad8cfc87c3..936f730c5d7f 100644 --- a/pkgs/development/compilers/swift/by-name/sw/swift/package.nix +++ b/pkgs/development/compilers/swift/by-name/sw/swift/package.nix @@ -5,9 +5,11 @@ apple-sdk_26, apple-sdk_27, callPackage, + indexstore-db, llvmPackages, llvmPackages_upstream, patchelf, + sourcekit-lsp, stdenv, stdlib, swift-corelibs-foundation, @@ -21,6 +23,7 @@ symlinkJoin, swift_release, enableRepl ? true, # Whether to build and include LLDB for the Swift REPL. + enableSourceKitLSP ? true, # Whether to include sourcekit-lsp, which is expected to be in the toolchain. }: let @@ -48,6 +51,10 @@ let # LLDB is used by `swift repl` to provide the REPL. llvmPackages.lldb.out ] + ++ lib.optionals enableSourceKitLSP [ + sourcekit-lsp.out + indexstore-db.out + ] ++ lib.optionals includeTesting [ swift-corelibs-xctest.dev swift-testing.dev @@ -172,6 +179,9 @@ stdenv.mkDerivation (finalAttrs: { # Swift Build expects to find and load libclang from the toolchain. ln -s ${lib.escapeShellArg (lib.getLib llvmPackages.libclang)}/lib/libclang${stdenv.hostPlatform.extensions.sharedLibrary} "$out/lib/libclang${stdenv.hostPlatform.extensions.sharedLibrary}" + # Swift Build and SwiftPM need to load IndexStoreDB for Swift Testing support to work. + ln -s ${lib.escapeShellArg (lib.getLib llvmPackages.libclang)}/lib/libIndexStore${stdenv.hostPlatform.extensions.sharedLibrary} "$out/lib/libIndexStore${stdenv.hostPlatform.extensions.sharedLibrary}" + # Propagated inputs in `$dev/nix-support` have to be substituted to use this derivation instead of swiftc. for f in "$out/nix-support/"*; do orig=$(readlink "$f") diff --git a/pkgs/development/compilers/swift/by-name/sw/swiftpm/package.nix b/pkgs/development/compilers/swift/by-name/sw/swiftpm/package.nix index e3f78b7d15e4..4e8b8e7ff757 100644 --- a/pkgs/development/compilers/swift/by-name/sw/swiftpm/package.nix +++ b/pkgs/development/compilers/swift/by-name/sw/swiftpm/package.nix @@ -3,7 +3,6 @@ callPackage, cmake, fetchFromGitHub, - llvmPackages, ninja, replaceVars, sqlite, @@ -49,6 +48,7 @@ let swift' = swift.override { enableRepl = false; + enableSourceKitLSP = false; }; in @@ -84,10 +84,6 @@ stdenv.mkDerivation (finalAttrs: { ./patches/0008-set-compiler-vendor.patch # A couple of required libraries are missing from the `CMakeLists.txt` files. ./patches/0009-add-missing-libraries.patch - # SwiftPM tries to load IndexStoreDB from the toolchain, but load it from the store instead. - (replaceVars ./patches/0010-Load-IndexStore-from-the-store.patch { - libclang = lib.getLib llvmPackages.libclang; - }) # SwiftPM tries to find Clang via `CC`, but that can be GCC on Linux, which doesn’t actually work with SwiftPM. ./patches/0011-Always-find-Clang-in-the-toolchain.patch # Include the Darwin testing helper in the CMake-built package. diff --git a/pkgs/development/compilers/swift/by-name/sw/swiftpm/patches/0010-Load-IndexStore-from-the-store.patch b/pkgs/development/compilers/swift/by-name/sw/swiftpm/patches/0010-Load-IndexStore-from-the-store.patch deleted file mode 100644 index 0e3d66be1e65..000000000000 --- a/pkgs/development/compilers/swift/by-name/sw/swiftpm/patches/0010-Load-IndexStore-from-the-store.patch +++ /dev/null @@ -1,35 +0,0 @@ -From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001 -From: Randy Eckenrode -Date: Sat, 11 Jul 2026 14:43:47 -0400 -Subject: [PATCH 10/11] Load IndexStore from the store - ---- - Sources/Build/LLBuildProgressTracker.swift | 9 +++------ - 1 file changed, 3 insertions(+), 6 deletions(-) - -diff --git a/Sources/Build/LLBuildProgressTracker.swift b/Sources/Build/LLBuildProgressTracker.swift -index ec5d85fb0..39a2a426b 100644 ---- a/Sources/Build/LLBuildProgressTracker.swift -+++ b/Sources/Build/LLBuildProgressTracker.swift -@@ -114,15 +114,12 @@ public final class BuildExecutionContext { - // library is currently installed as `libIndexStore.dll` rather than - // `IndexStore.dll`. In the future, this may require a fallback - // search, preferring `IndexStore.dll` over `libIndexStore.dll`. -- let indexStoreLib = self.toolsBuildParameters.toolchain.swiftCompilerPath -- .parentDirectory -- .appending("libIndexStore.dll") -+ let indexStoreLib = TSCAbsolutePath("@libclang@").appending(components: "lib", "libIndexStore.dll") - #else - let ext = self.toolsBuildParameters.triple.dynamicLibraryExtension -- let indexStoreLib = try toolsBuildParameters.toolchain.toolchainLibDir -- .appending("libIndexStore" + ext) -+ let indexStoreLib = TSCAbsolutePath("@libclang@").appending(components: "lib", "libIndexStore" + ext) - #endif -- return try .success(IndexStoreAPI(dylib: TSCAbsolutePath(indexStoreLib))) -+ return try .success(IndexStoreAPI(dylib: indexStoreLib)) - } catch { - return .failure(error) - } --- -2.54.0 - diff --git a/pkgs/top-level/swift-packages.nix b/pkgs/top-level/swift-packages.nix index 69a9b70957de..74c5a6f275aa 100644 --- a/pkgs/top-level/swift-packages.nix +++ b/pkgs/top-level/swift-packages.nix @@ -35,6 +35,7 @@ let swift-foundation = null; swift-testing = null; enableRepl = false; + enableSourceKitLSP = false; } # Swift Driver is required when building the compiler’s Swift Syntax in the final toolchain. # Otherwise, symbols are stripped from it that are needed to build Swift Testing. @@ -255,6 +256,7 @@ makeScopeWithSplicing' { swift-foundation = null; swift-testing = null; enableRepl = false; + enableSourceKitLSP = false; }; }; f = lib.extends autoCalledPackages ( From e3e1e8a7e0a737289761157b36c60737eb5587e8 Mon Sep 17 00:00:00 2001 From: Randy Eckenrode Date: Thu, 8 Oct 2026 14:16:26 -0400 Subject: [PATCH 2065/2378] swiftPackages.swiftpmDepsUpdater: init MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This is an update script that can be sequenced after other update scripts to update a package’s `swiftpmDeps`. --- pkgs/top-level/all-packages.nix | 1 + pkgs/top-level/swift-packages.nix | 67 ++++++++++++++++++++++++++++++- 2 files changed, 67 insertions(+), 1 deletion(-) diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index 536679134fb1..9a305d2284bd 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -4049,6 +4049,7 @@ with pkgs; swift-format swiftpm swiftpm2nix + swiftpmDepsUpdater ; swi-prolog-gui = swi-prolog.override { withGui = true; }; diff --git a/pkgs/top-level/swift-packages.nix b/pkgs/top-level/swift-packages.nix index 74c5a6f275aa..41d67256dc53 100644 --- a/pkgs/top-level/swift-packages.nix +++ b/pkgs/top-level/swift-packages.nix @@ -63,6 +63,7 @@ in llvmPackages, makeScopeWithSplicing', makeSetupHook, + nix, stdenvNoCC, swiftPackages, writeShellScript, @@ -261,9 +262,73 @@ makeScopeWithSplicing' { }; f = lib.extends autoCalledPackages ( self: + let + # Can’t be defined in `by-name` because it’s a function. + swiftpmDepsUpdater = + let + updateScript = writeShellScript "swiftpm-deps-updater.sh" '' + set -o errexit + + resolve_swift_package=$1 + source_root=$2 + + [[ -n "$version" ]] || version="$UPDATE_NIX_OLD_VERSION" + [[ -n "$attr_path" ]] || attr_path="$UPDATE_NIX_ATTR_PATH" + + # The SwiftPM deps updater assumes some other updater has run and updated the version attribute. + new_version=$( + ${lib.getExe' nix "nix-instantiate"} --eval --raw --expr "with import ./. {}; lib.getVersion $attr_path" + ) + + if [ "$version" = "$new_version" ]; then + exit 0 + fi + + export PATH=${lib.getBin self.swift}/bin:${lib.getBin self.swiftpm}/bin:$PATH + + src=$(${lib.getExe' nix "nix-instantiate"} --eval --raw -A $attr_path.src) + package_file=$(${lib.getExe' nix "nix-instantiate"} --eval --raw -A $attr_path.meta.position | cut -d: -f1) + + if [ -n "$resolve_swift_package" ]; then + resolved_file=$(dirname "$package_file")/Package.resolved + + scratch_dir=$(mktemp -d) + trap 'rm -rf -- "$scratch_dir"' EXIT + + cp -r "$src/" "$scratch_dir/source/" + chmod -R u+w "$scratch_dir/source" + + pushd "$scratch_dir/$source_root" > /dev/null + swift package resolve &> /dev/null + cp Package.resolved "$resolved_file" + popd > /dev/null + echo "done resolving" >&2 + else + resolved_file=$src/Package.resolved + fi + + deps_hash=$(${lib.getExe self.prefetch-swiftpm-deps} "$resolved_file") + sed -e "s|$(${lib.getExe' nix "nix-instantiate"} --eval --raw -A $attr_path.swiftpmDeps.vendorStaging.outputHash)|$deps_hash|" --in-place "$package_file" + ''; + in + { + sourceRoot ? "source", + # Some packages do not provide `Package.resolved`. If true, one will be generated and saved next to the package. + resolveSwiftPackage ? false, + }: + { + name = "swiftpm-deps-updater"; + command = [ + updateScript + resolveSwiftPackage + sourceRoot + ]; + supportedFeatures = [ "silent" ]; + }; + in { stdenv = clangStdenv; - inherit swift_release; + inherit swiftpmDepsUpdater swift_release; } // lib.optionalAttrs config.allowAliases { # Compatibility aliases for the old Swift packaging. From ff1cae04ac7eb8de1779a60999d6d8be1259410e Mon Sep 17 00:00:00 2001 From: Randy Eckenrode Date: Thu, 8 Oct 2026 14:16:26 -0400 Subject: [PATCH 2066/2378] doc/rl-2611: update Swift version to 6.4 --- doc/release-notes/rl-2611.section.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/release-notes/rl-2611.section.md b/doc/release-notes/rl-2611.section.md index 032969f96471..4f7a2e5d42cd 100644 --- a/doc/release-notes/rl-2611.section.md +++ b/doc/release-notes/rl-2611.section.md @@ -438,7 +438,7 @@ - Firefox wrapper now accepts an optional `appDataDir` argument, which sets `MOZ_APP_DATA` to relocate Firefox application data. This is especially useful on macOS 27 and later, where wrapped Firefox applications may be denied access to profiles in traditional application data directory. -- Swift has been upgraded to Swift 6.3.3 from Swift 5.10.1. +- Swift has been upgraded to Swift 6.4.0 from Swift 5.10.1. The Swift packaging has been rewritten. ## Nixpkgs Library {#sec-nixpkgs-release-26.11-lib} From b79606cdfcae3da5e87e65e46973165b2ed4f6d8 Mon Sep 17 00:00:00 2001 From: Randy Eckenrode Date: Thu, 8 Oct 2026 14:16:26 -0400 Subject: [PATCH 2067/2378] open-apple-macros: init at 1.3.0 --- pkgs/by-name/op/open-apple-macros/package.nix | 60 +++++++++++++++++++ 1 file changed, 60 insertions(+) create mode 100644 pkgs/by-name/op/open-apple-macros/package.nix diff --git a/pkgs/by-name/op/open-apple-macros/package.nix b/pkgs/by-name/op/open-apple-macros/package.nix new file mode 100644 index 000000000000..24927ea1c11e --- /dev/null +++ b/pkgs/by-name/op/open-apple-macros/package.nix @@ -0,0 +1,60 @@ +{ + lib, + fetchFromGitHub, + fetchSwiftPMDeps, + stdenv, + swift, + swiftpm, +}: + +stdenv.mkDerivation (finalAttrs: { + pname = "open-apple-macros"; + version = "1.3.0"; + + src = fetchFromGitHub { + owner = "xtool-org"; + repo = "OpenAppleMacros"; + tag = "v1.3.0"; + hash = "sha256-qZQ3SH97bS/diA2gHOuVBlLgpNAeDW1IwebJLl2nN3M="; + }; + + strictDeps = true; + + swiftpmDeps = fetchSwiftPMDeps { + inherit (finalAttrs) pname version src; + hash = "sha256-rjwdYAYV5j7yYXtyLFhaXkqyl0sKj50FA1XoHcgm9qo="; + }; + + nativeBuildInputs = [ + swift + swiftpm + ]; + + postInstall = + # Put the plugin server at the expected location. + '' + declare -a supportedPlugins=( + FoundationModels + SwiftUI + ) + + mkdir -p "$out/libexec/swift" + mv "$out/bin" "$out/libexec/swift/plugins" + + # Use stub libraries so that users need only specify the plugin path and plugin server. + mkdir -p "$out/lib/swift/host/plugins" + for plugin in "''${supportedPlugins[@]}"; do + touch "$out/lib/swift/host/plugins/lib''${plugin}Macros${stdenv.hostPlatform.extensions.sharedLibrary}" + done + ''; + + __structuredAttrs = true; + + meta = { + homepage = "https://github.com/xtool-org/OpenAppleMacros"; + description = "Open source reimplementation of Xcode-only Swift macros"; + platforms = lib.platforms.darwin ++ lib.platforms.linux; + license = lib.licenses.mit; + teams = [ lib.teams.swift ]; + }; +}) From 81a5163af3cd6fe4540f5add1c2ee441b7cee763 Mon Sep 17 00:00:00 2001 From: Randy Eckenrode Date: Thu, 8 Oct 2026 14:16:26 -0400 Subject: [PATCH 2068/2378] darwin.xcode-macros: init at 27.0 --- .../by-name/xc/xcode-macros/package.nix | 43 +++++++++++++++++++ 1 file changed, 43 insertions(+) create mode 100644 pkgs/os-specific/darwin/by-name/xc/xcode-macros/package.nix diff --git a/pkgs/os-specific/darwin/by-name/xc/xcode-macros/package.nix b/pkgs/os-specific/darwin/by-name/xc/xcode-macros/package.nix new file mode 100644 index 000000000000..c953bd48c2fa --- /dev/null +++ b/pkgs/os-specific/darwin/by-name/xc/xcode-macros/package.nix @@ -0,0 +1,43 @@ +{ + lib, + llvm, + swift, + xcode_27, + runCommand, +}: + +# This should be kept in sync with the SDK used by Swift in Nixpkgs. +runCommand "xcode-macros-27.0" + { + nativeBuildInputs = [ llvm ]; + meta = { + description = "Swift macros shipped only with Xcode"; + homepage = "https://developer.apple.com"; + platforms = lib.platforms.darwin; + license = lib.licenses.unfree; + teams = [ lib.teams.swift ]; + }; + } + '' + pluginsPath=${lib.escapeShellArg xcode_27}/Contents/Developer/Platforms/MacOSX.platform/Developer/usr/lib/swift/host/plugins/ + + declare -a xcodeOnlyMacros=( + libAppIntentsMacros.dylib + libFoundationModelsMacros.dylib + libPreviewsMacros.dylib + libStateReportingMacros.dylib + libSwiftDataMacros.dylib + libSwiftUIMacros.dylib + libTipKitMacros.dylib + ) + declare -a macroDylibs=(''${xcodeOnlyMacros[@]/#/$pluginsPath}) + + install -m644 -D -t "$out/lib/swift/host/plugins" "''${macroDylibs[@]}" + + # We can’t replace the rpath with the full path in the store because there’s not enough room. + # Fortunately, there is enough room for `@loader_rpath/..`. + ln -s ${lib.escapeShellArg swift.swiftc}/lib/swift/host/*.dylib "$out/lib/swift/host" + for dylib in "$out/lib/swift/host/plugins"/*; do + llvm-install-name-tool "$dylib" -rpath '/usr/lib/swift' '@loader_path/..' + done + '' From 524c06c03ce167fa7ed23b7e333d3fdf32c8d6a4 Mon Sep 17 00:00:00 2001 From: Randy Eckenrode Date: Thu, 8 Oct 2026 14:16:26 -0400 Subject: [PATCH 2069/2378] doc: add documentation on using Swift macros from the SDK --- doc/languages-frameworks/swift.section.md | 40 +++++++++++++++++++++++ doc/redirects.json | 9 +++++ 2 files changed, 49 insertions(+) diff --git a/doc/languages-frameworks/swift.section.md b/doc/languages-frameworks/swift.section.md index d1e0d8496ee6..d0caef99fc56 100644 --- a/doc/languages-frameworks/swift.section.md +++ b/doc/languages-frameworks/swift.section.md @@ -246,6 +246,46 @@ To disable the SwiftPM install phase, include the following in your derivation: { dontUseSwiftpmInstall = true; } ``` +## Swift Macros {#ssec-swift-macros} + +Nixpkgs includes the stdlib macros (ObservationMacros and SwiftMacros) and FoundationMacros in the toolchain. +Packages that need macros for Apple frameworks on Darwin have two options: +- `open-apple-macros` provides open-source implementations of FoundationModelsMacros and SwiftUIMacros; or +- `darwin.xcode-macros` provides macro libraries from Xcode not otherwise included in the toolchain, but they are unfree. + +Add the appropriate package to `depsBuildBuild` (because they are compiler plugins that run on the build platform). +If you need to manually specify the path for a package because it or its build system invokes `swiftc` directly: + +### `open-apple-macros` {#ssec-swift-macros-open-apple-macros} +```nix +{ + buildPhase = '' + runHook preBuild + swiftc \ + -external-plugin-path ${open-apple-macros}/lib/swift/host/plugins#${open-apple-macros}/libexec/swift/plugins/OpenAppleMacrosServer \ + -disable-sandbox \ + *.swift \ + -o the_binary + runHook postBuild + ''; +} +``` + +### `darwin.xcode-macros` {#ssec-swift-macros-xcode-macros} +```nix +{ + # For `darwin.xcode-macros` + buildPhase = '' + runHook preBuild + swiftc \ + -plugin-path ${darwin.xcode-macros}/lib/swift/host/plugins \ + *.swift \ + -o the_binary + runHook postBuild + ''; +} +``` + ## Hooks {#ssec-swift-hooks} Swift provides the following hooks to automate builds and unpack dependencies: diff --git a/doc/redirects.json b/doc/redirects.json index 0bf223e00414..3ff8ce58c107 100644 --- a/doc/redirects.json +++ b/doc/redirects.json @@ -4642,6 +4642,15 @@ "ssec-swiftpm-install-phase": [ "index.html#ssec-swiftpm-install-phase" ], + "ssec-swift-macros": [ + "index.html#ssec-swift-macros" + ], + "ssec-swift-macros-open-apple-macros": [ + "index.html#ssec-swift-macros-open-apple-macros" + ], + "ssec-swift-macros-xcode-macros": [ + "index.html#ssec-swift-macros-xcode-macros" + ], "ssec-swift-hooks": [ "index.html#ssec-swift-hooks" ], From 310e845ac7e18ddb942e797ef298d43ae92b2681 Mon Sep 17 00:00:00 2001 From: Randy Eckenrode Date: Thu, 8 Oct 2026 14:16:26 -0400 Subject: [PATCH 2070/2378] dockutil: use `swiftpmBinPath` The location of build artifacts differs depending on whether SwiftPM is using its native engine or Swift Build. Since Swift Build is the default in SwiftPM 6.4, that breaks packages relying on the old layout. --- pkgs/by-name/do/dockutil/package.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkgs/by-name/do/dockutil/package.nix b/pkgs/by-name/do/dockutil/package.nix index e9ee0e77057f..d573cf585df6 100644 --- a/pkgs/by-name/do/dockutil/package.nix +++ b/pkgs/by-name/do/dockutil/package.nix @@ -58,7 +58,7 @@ let installPhase = '' runHook preInstall - install -Dm755 .build/${stdenv.hostPlatform.darwinArch}-apple-macosx/release/dockutil -t $out/bin + install -Dm755 $(swiftpmBinPath)/dockutil -t $out/bin runHook postInstall ''; }); From 45c4f551a293d28bb82effd5c0a8afd4735956ab Mon Sep 17 00:00:00 2001 From: Randy Eckenrode Date: Thu, 8 Oct 2026 14:16:26 -0400 Subject: [PATCH 2071/2378] handy: add sqlite to inputs Required due to https://github.com/NixOS/nixpkgs/pull/537108. --- pkgs/by-name/ha/handy/package.nix | 2 ++ 1 file changed, 2 insertions(+) diff --git a/pkgs/by-name/ha/handy/package.nix b/pkgs/by-name/ha/handy/package.nix index 318c3fd3315e..ff723fd778c1 100644 --- a/pkgs/by-name/ha/handy/package.nix +++ b/pkgs/by-name/ha/handy/package.nix @@ -10,6 +10,7 @@ cctools, cargo-tauri, jq, + sqlite, writableTmpDirAsHomeHook, makeBinaryWrapper, swift, @@ -129,6 +130,7 @@ rustPlatform.buildRustPackage (finalAttrs: { ]; buildInputs = [ + sqlite onnxruntime openssl ] From 9f680dd5c08e865165d3c2fa0e852b9608d8f1a8 Mon Sep 17 00:00:00 2001 From: Randy Eckenrode Date: Thu, 8 Oct 2026 14:16:26 -0400 Subject: [PATCH 2072/2378] handy: use Apple Intelligence on Darwin --- .../handy/add-plugin-path-for-swift-macros.patch | 14 ++++++++++++++ pkgs/by-name/ha/handy/package.nix | 14 ++++++++++---- 2 files changed, 24 insertions(+), 4 deletions(-) create mode 100644 pkgs/by-name/ha/handy/add-plugin-path-for-swift-macros.patch diff --git a/pkgs/by-name/ha/handy/add-plugin-path-for-swift-macros.patch b/pkgs/by-name/ha/handy/add-plugin-path-for-swift-macros.patch new file mode 100644 index 000000000000..50f576560a7e --- /dev/null +++ b/pkgs/by-name/ha/handy/add-plugin-path-for-swift-macros.patch @@ -0,0 +1,14 @@ +diff --git a/src-tauri/build.rs b/src-tauri/build.rs +index 9f8ada79ec..1f020aa6a0 100644 +--- a/src-tauri/build.rs ++++ b/src-tauri/build.rs +@@ -483,6 +483,9 @@ fn build_apple_intelligence_bridge() { + // `-parse-as-library` keeps the compilation in library mode so + // no `_main` is emitted. See: + // https://forums.swift.org/t/main-in-a-single-swift-file/63079 ++ "-external-plugin-path", ++ "@open-apple-macros@/lib/swift/host/plugins#@open-apple-macros@/libexec/swift/plugins/OpenAppleMacrosServer", ++ "-disable-sandbox", // Because Nixpkgs builds already happen in a sandbox. + "-parse-as-library", + "-target", + "arm64-apple-macosx11.0", diff --git a/pkgs/by-name/ha/handy/package.nix b/pkgs/by-name/ha/handy/package.nix index ff723fd778c1..0de03748984d 100644 --- a/pkgs/by-name/ha/handy/package.nix +++ b/pkgs/by-name/ha/handy/package.nix @@ -15,6 +15,8 @@ makeBinaryWrapper, swift, apple-sdk_26, + open-apple-macros, + replaceVars, symlinkJoin, nix-update-script, @@ -73,6 +75,14 @@ rustPlatform.buildRustPackage (finalAttrs: { nativeInstallInputs = [ jq ]; + patches = + # Use apple-open-macros to enable using Apple Intelligence on Darwin. + lib.optionals stdenv.hostPlatform.isDarwin [ + (replaceVars ./add-plugin-path-for-swift-macros.patch { + inherit open-apple-macros; + }) + ]; + postPatch = '' patch_json() { local file=$1 filter=$2 @@ -94,10 +104,6 @@ rustPlatform.buildRustPackage (finalAttrs: { find "$cargoDepsCopy" -path "*/ferrous-opencc-*/build.rs" \ -exec sed -i -e '/cbindgen::Builder::new/{:l;/write_to_file/!{N;bl};d}' {} + - # FoundationModels requires macros that are only shipped with Xcode. The 26.x SDK in Nixpkgs does not have them. - substituteInPlace src-tauri/build.rs \ - --replace-fail 'has_foundation_models = framework_path.exists()' ' has_foundation_models = false' - # Disable the in-app updater substituteInPlace src/components/update-checker/UpdateChecker.tsx \ --replace-fail 'settings?.update_checks_enabled ?? false' 'false' From 121b9377c50476dc213903cf6e9de2e8bcf3b37c Mon Sep 17 00:00:00 2001 From: Randy Eckenrode Date: Thu, 8 Oct 2026 14:16:26 -0400 Subject: [PATCH 2073/2378] helion: link the Swift stdlib for native AoT --- pkgs/by-name/he/helion/package.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/by-name/he/helion/package.nix b/pkgs/by-name/he/helion/package.nix index f873c818f001..8e9f29edd2c5 100644 --- a/pkgs/by-name/he/helion/package.nix +++ b/pkgs/by-name/he/helion/package.nix @@ -25,7 +25,7 @@ libxrender, libxxf86vm, pipewire, - swift, + swiftPackages, udev, wayland, zlib, @@ -90,7 +90,7 @@ buildDotnetModule (finalAttrs: { ++ lib.optionals stdenv.hostPlatform.isLinux [ alsa-lib ] # Required by the NativeAOT runtime on darwin ++ lib.optionals stdenv.hostPlatform.isDarwin [ - swift + swiftPackages.stdlib darwin.ICU ]; From 81d1cc6e1c9659c3f93cf332151c5a9e3f86d8ce Mon Sep 17 00:00:00 2001 From: Randy Eckenrode Date: Thu, 8 Oct 2026 14:16:26 -0400 Subject: [PATCH 2074/2378] needle: use native build system MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit It’s deprecated, but the Swift Build build system is not working. --- pkgs/by-name/ne/needle/package.nix | 3 +++ 1 file changed, 3 insertions(+) diff --git a/pkgs/by-name/ne/needle/package.nix b/pkgs/by-name/ne/needle/package.nix index c7a8021f6e94..b8297255e4b6 100644 --- a/pkgs/by-name/ne/needle/package.nix +++ b/pkgs/by-name/ne/needle/package.nix @@ -30,6 +30,9 @@ stdenv.mkDerivation rec { propagatedBuildInputs = [ sqlite ]; + # Using Swift Build doesn’t work. It fails to build Swift Syntax when it references its SPIs. + swiftpmFlags = [ "--build-system=native" ]; + configurePhase = generated.configure; installPhase = '' From 214beaa89c15b48eff42b3f613df6ff267058cb3 Mon Sep 17 00:00:00 2001 From: Randy Eckenrode Date: Thu, 8 Oct 2026 14:16:26 -0400 Subject: [PATCH 2075/2378] python3Packages.anki-mac-helper: fix version check The version in `pyproject.toml` does not match the Anki version. --- pkgs/development/python-modules/anki-mac-helper/default.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkgs/development/python-modules/anki-mac-helper/default.nix b/pkgs/development/python-modules/anki-mac-helper/default.nix index 9197c5e2cdad..376ad36d115d 100644 --- a/pkgs/development/python-modules/anki-mac-helper/default.nix +++ b/pkgs/development/python-modules/anki-mac-helper/default.nix @@ -21,7 +21,7 @@ buildPythonPackage (finalAttrs: { # but targets the platform directly instead of universal binary + lipo. preBuild = '' swiftc \ - -target ${stdenv.hostPlatform.darwinArch}-apple-macos11 \ + -target ${stdenv.hostPlatform.swift.triple} \ -emit-library \ -module-name ankihelper \ -O \ From 47a56e43a685dca07884ae8c512a605320775ff9 Mon Sep 17 00:00:00 2001 From: Randy Eckenrode Date: Thu, 8 Oct 2026 14:16:26 -0400 Subject: [PATCH 2076/2378] python3Packages.anki-mac-helper: use Swift platform triple Swift 6.4 propagates the 27.0 SDK, which drops support for deployment targets older than 12.0. Using the platform triple lets us pick up the correct version for the default deployment target in Nixpkgs. --- pkgs/development/python-modules/anki-mac-helper/default.nix | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/pkgs/development/python-modules/anki-mac-helper/default.nix b/pkgs/development/python-modules/anki-mac-helper/default.nix index 376ad36d115d..5738256e1739 100644 --- a/pkgs/development/python-modules/anki-mac-helper/default.nix +++ b/pkgs/development/python-modules/anki-mac-helper/default.nix @@ -9,7 +9,9 @@ buildPythonPackage (finalAttrs: { pname = "anki-mac-helper"; - inherit (anki) version src; + version = "0.1.1"; + + inherit (anki) src; pyproject = true; sourceRoot = "${finalAttrs.src.name}/qt/mac"; From 8bd8dfaa87280f1d3ece2a0e957b37858350ea49 Mon Sep 17 00:00:00 2001 From: Randy Eckenrode Date: Thu, 8 Oct 2026 14:16:26 -0400 Subject: [PATCH 2077/2378] rectangle: fix build failure after Swift update Swift 6.4 propagates the 27.0 SDK, which switches the implementation of `@State` to a macro. The macros are not included in the SDK and require another source such as apple-open-macros. --- pkgs/by-name/re/rectangle/package.nix | 3 +++ 1 file changed, 3 insertions(+) diff --git a/pkgs/by-name/re/rectangle/package.nix b/pkgs/by-name/re/rectangle/package.nix index 5440b05aa691..c2af16d217f2 100644 --- a/pkgs/by-name/re/rectangle/package.nix +++ b/pkgs/by-name/re/rectangle/package.nix @@ -7,6 +7,7 @@ ibtool, makeWrapper, nix-update-script, + open-apple-macros, swift, stdenv, }: @@ -215,6 +216,8 @@ stdenv.mkDerivation (finalAttrs: { -module-name Rectangle \ -import-objc-header Rectangle/Rectangle-Bridging-Header.h \ -I "$buildDir" -L "$buildDir" \ + -external-plugin-path ${open-apple-macros}/lib/swift/host/plugins#${open-apple-macros}/libexec/swift/plugins/OpenAppleMacrosServer \ + -disable-sandbox \ -Xcc -fmodule-map-file="$buildDir/MAS_headers/MASShortcut/module.modulemap" \ -Xcc -I"$buildDir/MAS_headers" \ -lSparkle -lMASShortcut \ From 5b801159d40e7369750192dd49fa17d73b8e4d9c Mon Sep 17 00:00:00 2001 From: Randy Eckenrode Date: Thu, 8 Oct 2026 14:16:26 -0400 Subject: [PATCH 2078/2378] sentry-cli: add libgit2 and zstd to inputs Required due to https://github.com/NixOS/nixpkgs/pull/537108. --- pkgs/by-name/se/sentry-cli/package.nix | 19 +++++++++++++++---- 1 file changed, 15 insertions(+), 4 deletions(-) diff --git a/pkgs/by-name/se/sentry-cli/package.nix b/pkgs/by-name/se/sentry-cli/package.nix index 942bc45df0cd..272a19a37941 100644 --- a/pkgs/by-name/se/sentry-cli/package.nix +++ b/pkgs/by-name/se/sentry-cli/package.nix @@ -3,7 +3,9 @@ fetchFromGitHub, lib, installShellFiles, + libgit2, openssl, + zstd, pkg-config, stdenv, swift, @@ -29,10 +31,15 @@ rustPlatform.buildRustPackage (finalAttrs: { (replaceVars ./fix-swift-lib-path.patch { swiftLib = lib.getLib swift; }) ]; - cargoHash = "sha256-CwULTOZN2TTpB8heLuegID38ub6J3XoiY7l7UW1VcGo="; + postPatch = + # The version of libgit2-sys used by sentry-cli doesn’t support the version of libgit2 packaged in Nixpkgs, + # but it works, so use it anyway. This can be dropped once sentry-cli updates its dependencies. + '' + substituteInPlace ../sentry-*-vendor/source-registry-0/libgit2-sys-*/build.rs \ + --replace-fail '"1.7.2".."1.8.0"' '"1.7.2"..="${lib.getVersion libgit2}"' + ''; - # Needed to get openssl-sys to use pkgconfig. - env.OPENSSL_NO_VENDOR = 1; + cargoHash = "sha256-CwULTOZN2TTpB8heLuegID38ub6J3XoiY7l7UW1VcGo="; # By default including `swiftpm` in `nativeBuildInputs` will take over `buildPhase` dontUseSwiftpmBuild = true; @@ -50,7 +57,11 @@ rustPlatform.buildRustPackage (finalAttrs: { swiftpm ]; - buildInputs = [ openssl ]; + buildInputs = [ + libgit2 + openssl + zstd + ]; nativeCheckInputs = [ gitMinimal ]; From fe9b4589e9dc807daca057081a4acfb4fdb44670 Mon Sep 17 00:00:00 2001 From: Randy Eckenrode Date: Thu, 8 Oct 2026 14:16:26 -0400 Subject: [PATCH 2079/2378] sentry-cli: update for building with Swift Build --- pkgs/by-name/se/sentry-cli/package.nix | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) diff --git a/pkgs/by-name/se/sentry-cli/package.nix b/pkgs/by-name/se/sentry-cli/package.nix index 272a19a37941..ce923a9aafa6 100644 --- a/pkgs/by-name/se/sentry-cli/package.nix +++ b/pkgs/by-name/se/sentry-cli/package.nix @@ -32,9 +32,21 @@ rustPlatform.buildRustPackage (finalAttrs: { ]; postPatch = + # Swift propagates the 27.0 SDK, which requires a newer deployment target. + # SwiftPM uses Swift Build, which uses a different folder hierarchy for its build artifacts and naming convention + # for compiled object files. + '' + substituteInPlace apple-catalog-parsing/build.rs \ + --replace-fail 'apple-macosx10.12' 'apple-macosx${stdenv.hostPlatform.darwinMinVersion}' \ + --replace-fail 'swift-scratch/release' 'swift-scratch/out' \ + --replace-fail 'AssetCatalogParser.build' 'Intermediates.noindex/AssetCatalogParser.build/Release/AssetCatalogParser-t.build/Objects-normal/${stdenv.hostPlatform.swift.arch}' \ + --replace-fail 'ObjcSupport.build' 'Intermediates.noindex/AssetCatalogParser.build/Release/ObjcSupport-t.build/Objects-normal/${stdenv.hostPlatform.swift.arch}' \ + --replace-fail '.m.o' '.o' \ + --replace-fail '.swift.o' '.o' + '' # The version of libgit2-sys used by sentry-cli doesn’t support the version of libgit2 packaged in Nixpkgs, # but it works, so use it anyway. This can be dropped once sentry-cli updates its dependencies. - '' + + '' substituteInPlace ../sentry-*-vendor/source-registry-0/libgit2-sys-*/build.rs \ --replace-fail '"1.7.2".."1.8.0"' '"1.7.2"..="${lib.getVersion libgit2}"' ''; From 401ce8a8c613d661a74b6119164cd9c88617aa6a Mon Sep 17 00:00:00 2001 From: Randy Eckenrode Date: Thu, 8 Oct 2026 14:16:26 -0400 Subject: [PATCH 2080/2378] swiftPackages.swiftly: add swiftpmDepsUpdater to update-script --- .../compilers/swift/by-name/sw/swiftly/package.nix | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/pkgs/development/compilers/swift/by-name/sw/swiftly/package.nix b/pkgs/development/compilers/swift/by-name/sw/swiftly/package.nix index 4afebbb30b05..641701129e2c 100644 --- a/pkgs/development/compilers/swift/by-name/sw/swiftly/package.nix +++ b/pkgs/development/compilers/swift/by-name/sw/swiftly/package.nix @@ -1,5 +1,6 @@ { lib, + _experimental-update-script-combinators, fetchFromGitHub, fetchSwiftPMDeps, gitUpdater, @@ -8,6 +9,7 @@ stdenv, swift, swiftpm, + swiftpmDepsUpdater, zlib, }: @@ -46,7 +48,10 @@ stdenv.mkDerivation (finalAttrs: { __structuredAttrs = true; - passthru.updateScript = gitUpdater { }; + passthru.updateScript = _experimental-update-script-combinators.sequence [ + (gitUpdater { }) + (swiftpmDepsUpdater { }) + ]; meta = { description = "Swift toolchain installer and manager"; From ec440a3acdb8aef906dacc87fb7e7f48c3cf9f98 Mon Sep 17 00:00:00 2001 From: Randy Eckenrode Date: Thu, 8 Oct 2026 14:16:26 -0400 Subject: [PATCH 2081/2378] swiftPackages.swiftly: 1.1.3 -> 1.2.0 https://github.com/swiftlang/swiftly/releases/tag/1.2.0 --- .../compilers/swift/by-name/sw/swiftly/package.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pkgs/development/compilers/swift/by-name/sw/swiftly/package.nix b/pkgs/development/compilers/swift/by-name/sw/swiftly/package.nix index 641701129e2c..acb195956417 100644 --- a/pkgs/development/compilers/swift/by-name/sw/swiftly/package.nix +++ b/pkgs/development/compilers/swift/by-name/sw/swiftly/package.nix @@ -15,18 +15,18 @@ stdenv.mkDerivation (finalAttrs: { pname = "swiftly"; - version = "1.1.3"; + version = "1.2.0"; src = fetchFromGitHub { owner = "swiftlang"; repo = "swiftly"; tag = finalAttrs.version; - hash = "sha256-VFgmgo69Q4Y8Je0SMdB3jKGt9lNoVYAaUhSuK3RUkFE="; + hash = "sha256-ijBwS74sR/gY2KXO20av8OCk40318vB1W2tm1HzOlbE="; }; swiftpmDeps = fetchSwiftPMDeps { inherit (finalAttrs) pname version src; - hash = "sha256-1KfyrQXE1HaO9WsuskzgiiEZxM/oelp40Jwzr8xJEL4="; + hash = "sha256-YjhqIt3e808GYEgH81dh2Uq8/2BpMQ6kjY9JAwEahe0="; }; strictDeps = true; From 03cbbe8da92072c92e7e005387f9055e7185d73e Mon Sep 17 00:00:00 2001 From: Randy Eckenrode Date: Thu, 8 Oct 2026 14:16:26 -0400 Subject: [PATCH 2082/2378] swipeaerospace: fix build failure after Swift update Swift 6.4 propagates the 27.0 SDK, which switches the implementation of `@State` to a macro. The macros are not included in the SDK and require another source such as apple-open-macros. --- pkgs/by-name/sw/swipeaerospace/package.nix | 3 +++ 1 file changed, 3 insertions(+) diff --git a/pkgs/by-name/sw/swipeaerospace/package.nix b/pkgs/by-name/sw/swipeaerospace/package.nix index 6a9f87583341..b32afa3657f0 100644 --- a/pkgs/by-name/sw/swipeaerospace/package.nix +++ b/pkgs/by-name/sw/swipeaerospace/package.nix @@ -4,6 +4,7 @@ fetchFromGitHub, lib, nix-update-script, + open-apple-macros, stdenv, swift, }: @@ -119,6 +120,8 @@ stdenv.mkDerivation (finalAttrs: { swiftc \ -I${lib.getDev blueSocket}/lib/swift/${stdenv.hostPlatform.swift.platform} \ + -external-plugin-path ${open-apple-macros}/lib/swift/host/plugins#${open-apple-macros}/libexec/swift/plugins/OpenAppleMacrosServer \ + -disable-sandbox \ -O \ -swift-version 5 \ -parse-as-library \ From b8e79fcb57a9428e505a37369a8357b2d85c72ec Mon Sep 17 00:00:00 2001 From: Aleksi Hannula Date: Tue, 20 Oct 2026 22:50:35 +0300 Subject: [PATCH 2083/2378] minimal-bootstrap.tinycc-{mes,musl*}: fetch from mirror The upstream repository has Anubis in front of tarball fetches. --- pkgs/os-specific/linux/minimal-bootstrap/tinycc/mes.nix | 8 ++++---- pkgs/os-specific/linux/minimal-bootstrap/tinycc/musl.nix | 6 +++--- 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/pkgs/os-specific/linux/minimal-bootstrap/tinycc/mes.nix b/pkgs/os-specific/linux/minimal-bootstrap/tinycc/mes.nix index 6cfe73252671..b7d66ca5a62f 100644 --- a/pkgs/os-specific/linux/minimal-bootstrap/tinycc/mes.nix +++ b/pkgs/os-specific/linux/minimal-bootstrap/tinycc/mes.nix @@ -18,8 +18,8 @@ let rev = "cb41cbfe717e4c00d7bb70035cda5ee5f0ff9341"; tarball = fetchurl { - url = "https://repo.or.cz/tinycc.git/snapshot/${rev}.tar.gz"; - hash = "sha256-MRuqq3TKcfIahtUWdhAcYhqDiGPkAjS8UTMsDE+/jGU="; + url = "https://github.com/tinycc/tinycc/archive/${rev}.tar.gz"; + hash = "sha256-c4H5RKqSVc1WDoGSxbAkEkbSyD7qVLjrMXECmS/h4rs="; }; src = (kaem.runCommand "tinycc-${version}-source" { } '' @@ -29,7 +29,7 @@ let untar --file ''${NIX_BUILD_TOP}/tinycc.tar # Patch - cd tinycc-${builtins.substring 0 7 rev} + cd tinycc-${rev} # Static link by default replace --file libtcc.c --output libtcc.c --match-on "s->ms_extensions = 1;" --replace-with "s->ms_extensions = 1; s->static_link = 1;" replace --file i386-asm.c --output i386-asm.c --match-on "switch(size)" --replace-with "if (reg >= 8) { cstr_printf(add_str, \"%%r%d%c\", reg, (size == 1) ? 'b' : ((size == 2) ? 'w' : ((size == 4) ? 'd' : ' '))); return; } switch(size)" @@ -37,7 +37,7 @@ let # If performing ptr + (-1) for example, the offset should be ptrdiff_t and not size_t replace --file tccgen.c --output tccgen.c --match-on "vpush_type_size(pointed_type(&vtop[-1].type), &align);" --replace-with "vpush_type_size(pointed_type(&vtop[-1].type), &align); if (!(vtop[-1].type.t & VT_UNSIGNED)) gen_cast_s(VT_PTRDIFF_T);" '') - + "/tinycc-${builtins.substring 0 7 rev}"; + + "/tinycc-${rev}"; meta = { description = "Small, fast, and embeddable C compiler and interpreter"; diff --git a/pkgs/os-specific/linux/minimal-bootstrap/tinycc/musl.nix b/pkgs/os-specific/linux/minimal-bootstrap/tinycc/musl.nix index 4fceaf33471d..f84b067972b7 100644 --- a/pkgs/os-specific/linux/minimal-bootstrap/tinycc/musl.nix +++ b/pkgs/os-specific/linux/minimal-bootstrap/tinycc/musl.nix @@ -15,8 +15,8 @@ let rev = "cb41cbfe717e4c00d7bb70035cda5ee5f0ff9341"; src = fetchurl { - url = "https://repo.or.cz/tinycc.git/snapshot/${rev}.tar.gz"; - hash = "sha256-MRuqq3TKcfIahtUWdhAcYhqDiGPkAjS8UTMsDE+/jGU="; + url = "https://github.com/tinycc/tinycc/archive/${rev}.tar.gz"; + hash = "sha256-c4H5RKqSVc1WDoGSxbAkEkbSyD7qVLjrMXECmS/h4rs="; }; tccTarget = @@ -56,7 +56,7 @@ let '' # Unpack tar xzf ${src} - cd tinycc-${builtins.substring 0 7 rev} + cd tinycc-${rev} # Patch ${lib.concatMapStringsSep "\n" (f: "patch -Np0 -i ${f}") patches} From f382ed2ebe50dc945cdcbc977a3509fcdc3ae2f1 Mon Sep 17 00:00:00 2001 From: FliegendeWurst Date: Thu, 22 Oct 2026 08:39:24 +0200 Subject: [PATCH 2084/2378] python3Packages.python-discovery: 1.4.2 -> 1.6.4 https://github.com/tox-dev/python-discovery/blob/1.6.4/docs/changelog.rst --- .../development/python-modules/python-discovery/default.nix | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/python-discovery/default.nix b/pkgs/development/python-modules/python-discovery/default.nix index 7569fa80659d..9bce847361d6 100644 --- a/pkgs/development/python-modules/python-discovery/default.nix +++ b/pkgs/development/python-modules/python-discovery/default.nix @@ -14,18 +14,19 @@ # tests pytest-mock, pytestCheckHook, + vermin, }: buildPythonPackage (finalAttrs: { pname = "python-discovery"; - version = "1.4.2"; + version = "1.6.4"; pyproject = true; src = fetchFromGitHub { owner = "tox-dev"; repo = "python-discovery"; tag = finalAttrs.version; - hash = "sha256-xnQWXXStdgu99riKFW4+O7tqYL4w5f7etjC872q/LWc="; + hash = "sha256-9CHK00PQ1x5L1OntVTSCmq08zFIR9FhHwEI+3jUobL4="; }; build-system = [ @@ -43,6 +44,7 @@ buildPythonPackage (finalAttrs: { nativeCheckInputs = [ pytest-mock pytestCheckHook + vermin ]; meta = { From ddb4542757abe86bdd8fdb1866a6b9ba186ed89a Mon Sep 17 00:00:00 2001 From: Antoine du Hamel Date: Thu, 22 Oct 2026 08:50:16 +0200 Subject: [PATCH 2085/2378] brotli: 1.2.0 -> 1.2.1 --- pkgs/by-name/br/brotli/package.nix | 10 ++-------- 1 file changed, 2 insertions(+), 8 deletions(-) diff --git a/pkgs/by-name/br/brotli/package.nix b/pkgs/by-name/br/brotli/package.nix index b27539093bf0..16594db0e33d 100644 --- a/pkgs/by-name/br/brotli/package.nix +++ b/pkgs/by-name/br/brotli/package.nix @@ -12,13 +12,13 @@ stdenv.mkDerivation (finalAttrs: { pname = "brotli"; - version = "1.2.0"; + version = "1.2.1"; src = fetchFromGitHub { owner = "google"; repo = "brotli"; tag = "v${finalAttrs.version}"; - hash = "sha256-kl8ZHt71v17QR2bDP+ad/5uixf+GStEPLQ5ooFoC5i8="; + hash = "sha256-llY72cYffDv0ugsH0p89xIPEbElV4L8u7U/Fe8hT3gI="; }; patches = [ @@ -28,12 +28,6 @@ stdenv.mkDerivation (finalAttrs: { url = "https://github.com/google/brotli/commit/e230f474b87134e8c6c85b630084c612057f253e.patch"; hash = "sha256-QERl8RHJz7tFr++hZIYwdj1/ogPpjArC+ia8S/bWxKk="; }) - - # Fix for CVE-2026-111497 - (fetchurl { - url = "https://github.com/google/brotli/commit/0ed4268a4401abcb4472096340477cf4af7d1a2b.patch?full_index=1"; - hash = "sha256-1vliUJAAIj3vcGKVgim9CEV+XgMuftDR2U+3kLBUsfw="; - }) ]; nativeBuildInputs = [ cmake ]; From 514645c2c912cd59262e6793669f8702d50ec6ce Mon Sep 17 00:00:00 2001 From: Hans Joachim Kliemeck Date: Thu, 22 Oct 2026 09:13:07 +0200 Subject: [PATCH 2086/2378] lsd: fix system libs --- pkgs/by-name/ls/lsd/package.nix | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/pkgs/by-name/ls/lsd/package.nix b/pkgs/by-name/ls/lsd/package.nix index 1a7a72cdf9ec..c7f7dfb9085c 100644 --- a/pkgs/by-name/ls/lsd/package.nix +++ b/pkgs/by-name/ls/lsd/package.nix @@ -4,6 +4,8 @@ rustPlatform, installShellFiles, pandoc, + pkg-config, + libgit2, testers, lsd, git, @@ -25,6 +27,11 @@ rustPlatform.buildRustPackage (finalAttrs: { nativeBuildInputs = [ installShellFiles pandoc + pkg-config + ]; + + buildInputs = [ + libgit2 ]; postInstall = '' From df8ac88ea03a411acee548023dbbad970d4e7efc Mon Sep 17 00:00:00 2001 From: Hans Joachim Kliemeck Date: Thu, 22 Oct 2026 09:14:04 +0200 Subject: [PATCH 2087/2378] selenium-manager: fix system libs --- pkgs/by-name/se/selenium-manager/package.nix | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/pkgs/by-name/se/selenium-manager/package.nix b/pkgs/by-name/se/selenium-manager/package.nix index 917ec5ebd78c..936d0cdbe6f6 100644 --- a/pkgs/by-name/se/selenium-manager/package.nix +++ b/pkgs/by-name/se/selenium-manager/package.nix @@ -2,6 +2,8 @@ lib, fetchFromGitHub, rustPlatform, + pkg-config, + zstd, }: rustPlatform.buildRustPackage rec { @@ -25,6 +27,10 @@ rustPlatform.buildRustPackage rec { cargoHash = "sha256-D7lki2/xWcNStcHIS8q1fTkW+37Q+m/yetn05DwA2C8="; + nativeBuildInputs = [ pkg-config ]; + + buildInputs = [ zstd ]; + # TODO: enable tests # The test suite depends on a number of browsers and network requests, # check the Gentoo package for inspiration From 5b707fa5dad6ba4c9cd1f75db97c126b4587019e Mon Sep 17 00:00:00 2001 From: Hans Joachim Kliemeck Date: Thu, 22 Oct 2026 09:14:42 +0200 Subject: [PATCH 2088/2378] nixtract: fix system libs --- pkgs/by-name/ni/nixtract/package.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/by-name/ni/nixtract/package.nix b/pkgs/by-name/ni/nixtract/package.nix index e3d0263f3c8a..dcfdbc4addb8 100644 --- a/pkgs/by-name/ni/nixtract/package.nix +++ b/pkgs/by-name/ni/nixtract/package.nix @@ -3,7 +3,7 @@ rustPlatform, fetchFromGitHub, pkg-config, - openssl, + aws-lc, stdenv, libiconv, nix, @@ -27,7 +27,7 @@ rustPlatform.buildRustPackage (finalAttrs: { nativeBuildInputs = [ pkg-config ]; buildInputs = [ - openssl + aws-lc ] ++ lib.optionals stdenv.hostPlatform.isDarwin [ libiconv From db3fab999cb61c8cd0f03589576f0098e0d3a9e7 Mon Sep 17 00:00:00 2001 From: Florian Klink Date: Thu, 22 Oct 2026 16:29:17 +0300 Subject: [PATCH 2089/2378] Revert "ld-wrapper.sh: Fix the fix for #454199 & add a fast path to symlink resolution" --- .../bintools-wrapper/ld-wrapper.sh | 19 +++---------- pkgs/test/cc-wrapper/default.nix | 27 ------------------- 2 files changed, 3 insertions(+), 43 deletions(-) diff --git a/pkgs/build-support/bintools-wrapper/ld-wrapper.sh b/pkgs/build-support/bintools-wrapper/ld-wrapper.sh index 433cf7971186..ae76e7a223f7 100644 --- a/pkgs/build-support/bintools-wrapper/ld-wrapper.sh +++ b/pkgs/build-support/bintools-wrapper/ld-wrapper.sh @@ -207,32 +207,19 @@ if [[ "$NIX_DONT_SET_RPATH_@suffixSalt@" != 1 && "$linkType" != static-pie ]]; t # If it is outside the store, resolve symlinks step by step until it falls # into the store or it becomes not a symlink. # Always canonicalize the path before checking it is in the store or not. - # Fast path: an already-canonical absolute path (the overwhelmingly - # common case, e.g. /nix/store/...-foo/lib) is returned unchanged by - # realpath -s, so skip the fork+exec and just check existence. - if [[ "$dir" == /* && "$dir" != *'//'* && "$dir" != *'/./'* && "$dir" != *'/../'* \ - && "$dir" != */ && "$dir" != */. && "$dir" != */.. ]]; then - if ! [ -e "$dir" ]; then continue; fi - elif dir2=$(realpath -s "$dir"); then + if dir2=$(realpath -s "$dir"); then dir="$dir2" else continue fi - symlinkDepth=0 while [ -z "${rpaths[$dir]:-}" ] && [[ "$dir" != "${NIX_STORE:-}"/* ]] && [ -L "$dir" ]; do - (( ++symlinkDepth > 40 )) && break if dir2=$(readlink "$dir"); then - # A relative link target is relative to the directory containing - # the link, not to our working directory. - case "$dir2" in - /*) dir="$dir2" ;; - *) dir="${dir%/*}/$dir2" ;; - esac + dir="dir2" else break fi if dir2=$(realpath -s "$dir"); then - dir="$dir2" + dir="dir2" else break fi diff --git a/pkgs/test/cc-wrapper/default.nix b/pkgs/test/cc-wrapper/default.nix index 032ed7a64c31..9dc3413f0e04 100644 --- a/pkgs/test/cc-wrapper/default.nix +++ b/pkgs/test/cc-wrapper/default.nix @@ -23,17 +23,6 @@ let CC = "PATH= ${lib.getExe' stdenv.cc "${stdenv.cc.targetPrefix}cc"}"; CXX = "PATH= ${lib.getExe' stdenv.cc "${stdenv.cc.targetPrefix}c++"}"; READELF = "PATH= ${lib.getExe' stdenv.cc "${stdenv.cc.targetPrefix}readelf"}"; - # ld-wrapper only computes an rpath for ELF shared libraries. - rpathWorking = stdenv.hostPlatform.isElf && !stdenv.hostPlatform.isStatic; - # A shared library in a store path of its own, so that only ld-wrapper's - # rpath logic can put its directory into the rpath. - fooLib = stdenv.mkDerivation { - name = "cc-wrapper-test-libfoo"; - buildCommand = '' - mkdir -p $out/lib - $CC -shared -DVALUE=42 -o $out/lib/libfoo.so ${./foo.c} - ''; - }; in stdenv.mkDerivation { pname = "cc-wrapper-test-${stdenv.cc.cc.pname}${libcxxStdenvSuffix}"; @@ -154,22 +143,6 @@ stdenv.mkDerivation { NIX_LDFLAGS="-L$NIX_BUILD_TOP/foo/lib -rpath $NIX_BUILD_TOP/foo/lib" ${CC} -lfoo -o ldflags-check ${./ldflags-main.c} ${emulator} ./ldflags-check - ${lib.optionalString rpathWorking '' - # Regression test for https://github.com/NixOS/nixpkgs/pull/566486 - echo "checking whether ld-wrapper follows -L symlinks into the store for the rpath... " >&2 - mkdir links - ln -s ${fooLib}/lib links/foo-abs - # A relative target resolves against the link's directory, which is not - # the working directory. - mkdir links/sub - ln -s ../foo-abs links/sub/foo-rel - for link in links/foo-abs links/sub/foo-rel; do - ${CC} -L"$NIX_BUILD_TOP/$link" -lfoo -o symlink-rpath-check ${./ldflags-main.c} - ${READELF} -d symlink-rpath-check | grep -F "${fooLib}/lib" - ${emulator} ./symlink-rpath-check - done - ''} - echo "Check whether -nostdinc and -nostdinc++ is handled correctly" >&2 mkdir -p std-include cp ${./stdio.h} std-include/stdio.h From 5b5b22c076e800875a3eb01075a5a99ade8f4d79 Mon Sep 17 00:00:00 2001 From: K900 Date: Thu, 22 Oct 2026 20:58:19 +0300 Subject: [PATCH 2090/2378] pipewire: 1.6.9 -> 1.6.10 Diff: https://gitlab.freedesktop.org/pipewire/pipewire/-/compare/1.6.9...1.6.10 Changelog: https://gitlab.freedesktop.org/pipewire/pipewire/-/releases/1.6.10 --- pkgs/by-name/pi/pipewire/package.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/by-name/pi/pipewire/package.nix b/pkgs/by-name/pi/pipewire/package.nix index b1161e3c2642..11381b907a2e 100644 --- a/pkgs/by-name/pi/pipewire/package.nix +++ b/pkgs/by-name/pi/pipewire/package.nix @@ -88,7 +88,7 @@ in stdenv.mkDerivation (finalAttrs: { pname = "pipewire"; - version = "1.6.9"; + version = "1.6.10"; outputs = [ "out" @@ -104,7 +104,7 @@ stdenv.mkDerivation (finalAttrs: { owner = "pipewire"; repo = "pipewire"; tag = finalAttrs.version; - hash = "sha256-YmICqzAHRuLoGuZ5UwvfLotOr04/usEPsRIKZXF4SLI="; + hash = "sha256-oUzg/CTPQxCT3CqLoAHGHSBj1ecIBL3noj79qne7Fww="; }; patches = [ From 02df2798df31afdd17ba0db2c4ddfc7440fa29b4 Mon Sep 17 00:00:00 2001 From: FliegendeWurst Date: Thu, 22 Oct 2026 08:39:59 +0200 Subject: [PATCH 2091/2378] python3Packages.virtualenv: 21.6.1 -> 21.14.12 https://github.com/pypa/virtualenv/blob/21.14.12/docs/changelog.rst --- .../python-modules/virtualenv/default.nix | 13 +++++++++++-- 1 file changed, 11 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/virtualenv/default.nix b/pkgs/development/python-modules/virtualenv/default.nix index fb5d18fd3b94..54c024f52ed4 100644 --- a/pkgs/development/python-modules/virtualenv/default.nix +++ b/pkgs/development/python-modules/virtualenv/default.nix @@ -18,16 +18,21 @@ buildPythonPackage rec { pname = "virtualenv"; - version = "21.6.1"; + version = "21.14.12"; pyproject = true; src = fetchFromGitHub { owner = "pypa"; repo = "virtualenv"; tag = version; - hash = "sha256-8LOmA1Mhfqbl3hsGZa8tQutjfjEVeDlpOKyVut5rDVI="; + hash = "sha256-Lkjhcs1Bj/ObaTyqVL2wGUvwxTkzL0pX8Ii5hSHdrSA="; }; + postPatch = '' + substituteInPlace tests/unit/activation/test_bash.py \ + --replace-fail '"/bin/bash"' '_BASH' + ''; + build-system = [ hatch-vcs hatchling @@ -57,6 +62,10 @@ buildPythonPackage rec { disabledTests = [ # Network access "test_seed_link_via_app_data" + # Assumes FHS paths + "test_bash_relocation_rejects_sourced_wrapper" + # chmod fails in sandbox + "test_app_data_setgid_keeps_group_write" ] ++ lib.optionals isPyPy [ # encoding problems From 1032124b9fb65eb36fc45d259d1b7e26463185c3 Mon Sep 17 00:00:00 2001 From: Sefa Eyeoglu Date: Thu, 22 Oct 2026 21:12:28 +0200 Subject: [PATCH 2092/2378] cargo-nextest: add missing system aws-lc Due to https://github.com/NixOS/nixpkgs/pull/537108 the aws-lc-sys crate will now require a distribution of aws-lc provided by our build env to link against. Fixes the following error: thread 'main' (1382) panicked at /build/cargo-nextest-0.9.148-vendor/source-registry-0/aws-lc-sys-0.45.0/builder/main.rs:767:9: AWS_LC_SYS_USE_SYSTEM=1 requires a system-installed AWS-LC, but none was found. Set AWS_LC_SYS_SYSTEM_DIR to point at an install, provide OPENSSL_DIR, or unset AWS_LC_SYS_USE_SYSTEM to build from source. Re-run with `-vv` to see why each discovered candidate was rejected. note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace Signed-off-by: Sefa Eyeoglu --- pkgs/by-name/ca/cargo-nextest/package.nix | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/pkgs/by-name/ca/cargo-nextest/package.nix b/pkgs/by-name/ca/cargo-nextest/package.nix index cf6a8d373b9c..cfad66091491 100644 --- a/pkgs/by-name/ca/cargo-nextest/package.nix +++ b/pkgs/by-name/ca/cargo-nextest/package.nix @@ -4,6 +4,7 @@ rustPlatform, fetchFromGitHub, pkg-config, + aws-lc, zstd, nix-update-script, }: @@ -27,7 +28,10 @@ rustPlatform.buildRustPackage (finalAttrs: { nativeBuildInputs = [ pkg-config ]; - buildInputs = [ zstd ]; + buildInputs = [ + aws-lc + zstd + ]; cargoBuildFlags = [ "-p" From ce2d1ec14c55d4a52b9b412901be0e6ac2289a91 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Robert=20Sch=C3=BCtz?= Date: Thu, 22 Oct 2026 13:13:38 -0700 Subject: [PATCH 2093/2378] python3Packages.tzlocal: 5.4.4 -> 5.4.5 Diff: https://github.com/regebro/tzlocal/compare/5.4.4...5.4.5 Changelog: https://github.com/regebro/tzlocal/blob/5.4.5/CHANGES.txt --- pkgs/development/python-modules/tzlocal/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/tzlocal/default.nix b/pkgs/development/python-modules/tzlocal/default.nix index fdd7bd269bce..92da1f28ec5b 100644 --- a/pkgs/development/python-modules/tzlocal/default.nix +++ b/pkgs/development/python-modules/tzlocal/default.nix @@ -10,7 +10,7 @@ buildPythonPackage (finalAttrs: { pname = "tzlocal"; - version = "5.4.4"; # version needs to be compatible with APScheduler + version = "5.4.5"; # version needs to be compatible with APScheduler pyproject = true; __structuredAttrs = true; @@ -18,7 +18,7 @@ buildPythonPackage (finalAttrs: { owner = "regebro"; repo = "tzlocal"; tag = finalAttrs.version; - hash = "sha256-kZ3+YpmJJ7ZHKbEp5RELVnGtwAOJph19Wf32lwuokNM="; + hash = "sha256-I84hCUYd5mmZpoawsPPWfTKVyg1Vn7QxmUD1Gk41eiw="; }; build-system = [ setuptools ]; From 935f7746d61c4ca74c6696772fed9ace38ddc6ce Mon Sep 17 00:00:00 2001 From: tree-sapii <144389458+tree-sapii@users.noreply.github.com> Date: Thu, 22 Oct 2026 19:15:00 -0400 Subject: [PATCH 2094/2378] grpc: 1.84.0 -> 1.84.1 --- pkgs/by-name/gr/grpc/package.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/by-name/gr/grpc/package.nix b/pkgs/by-name/gr/grpc/package.nix index 8bfa60212f28..44efb2a1ecf7 100644 --- a/pkgs/by-name/gr/grpc/package.nix +++ b/pkgs/by-name/gr/grpc/package.nix @@ -25,7 +25,7 @@ # nixpkgs-update: no auto update stdenv.mkDerivation (finalAttrs: { pname = "grpc"; - version = "1.84.0"; # N.B: if you change this, please update: + version = "1.84.1"; # N.B: if you change this, please update: # pythonPackages.grpcio # pythonPackages.grpcio-channelz # pythonPackages.grpcio-health-checking @@ -38,7 +38,7 @@ stdenv.mkDerivation (finalAttrs: { owner = "grpc"; repo = "grpc"; tag = "v${finalAttrs.version}"; - hash = "sha256-cuNa/Juh8/whghdtbSaEDMqGRASt6vbzeEtHp34STrc="; + hash = "sha256-+QV48Mf4TZPwqBbvAhNYwDMiYBaMtu+3cUh690EUknI="; fetchSubmodules = true; }; From a3d33a464360a112110f28067d69f580dfe76cf3 Mon Sep 17 00:00:00 2001 From: tree-sapii <144389458+tree-sapii@users.noreply.github.com> Date: Thu, 22 Oct 2026 19:15:00 -0400 Subject: [PATCH 2095/2378] python3Packages.grpcio: 1.84.0 -> 1.84.1 --- pkgs/development/python-modules/grpcio/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/grpcio/default.nix b/pkgs/development/python-modules/grpcio/default.nix index 6e85ffd1f59f..7968e33125e4 100644 --- a/pkgs/development/python-modules/grpcio/default.nix +++ b/pkgs/development/python-modules/grpcio/default.nix @@ -18,12 +18,12 @@ # nixpkgs-update: no auto update buildPythonPackage rec { pname = "grpcio"; - version = "1.84.0"; + version = "1.84.1"; pyproject = true; src = fetchPypi { inherit pname version; - hash = "sha256-Garxcvwu2+/Mzj9uksUVCXXb5WxFdE6eh89y69+Fv74="; + hash = "sha256-RG54drm5kfoSTB1BSJn6fPlfiaPnEjfqAWGGPcCywJ8="; }; postPatch = '' From 23976e15be1ae255e9f15b1cc434a580a536e60f Mon Sep 17 00:00:00 2001 From: tree-sapii <144389458+tree-sapii@users.noreply.github.com> Date: Thu, 22 Oct 2026 19:15:00 -0400 Subject: [PATCH 2096/2378] python3Packages.grpcio-channelz: 1.84.0 -> 1.84.1 --- pkgs/development/python-modules/grpcio-channelz/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/grpcio-channelz/default.nix b/pkgs/development/python-modules/grpcio-channelz/default.nix index 5e674eaccd94..a64457914d9c 100644 --- a/pkgs/development/python-modules/grpcio-channelz/default.nix +++ b/pkgs/development/python-modules/grpcio-channelz/default.nix @@ -12,13 +12,13 @@ # nixpkgs-update: no auto update buildPythonPackage rec { pname = "grpcio-channelz"; - version = "1.84.0"; + version = "1.84.1"; pyproject = true; src = fetchPypi { pname = "grpcio_channelz"; inherit version; - hash = "sha256-hCIO8ufsCjeSoVG2/7xwaRvw8JzQCf5zTylGuRdWVpQ="; + hash = "sha256-A9IIVBW94OMFFeTkKdDWjSVHGqBiRijOM12S9A+ERfk="; }; build-system = [ setuptools ]; From 31ccf43f13532d48a542a6e068208fcbc7081297 Mon Sep 17 00:00:00 2001 From: tree-sapii <144389458+tree-sapii@users.noreply.github.com> Date: Thu, 22 Oct 2026 19:15:00 -0400 Subject: [PATCH 2097/2378] python3Packages.grpcio-health-checking: 1.84.0 -> 1.84.1 --- .../python-modules/grpcio-health-checking/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/grpcio-health-checking/default.nix b/pkgs/development/python-modules/grpcio-health-checking/default.nix index 665cb0577dc8..40b1e3bcb11f 100644 --- a/pkgs/development/python-modules/grpcio-health-checking/default.nix +++ b/pkgs/development/python-modules/grpcio-health-checking/default.nix @@ -11,13 +11,13 @@ # nixpkgs-update: no auto update buildPythonPackage rec { pname = "grpcio-health-checking"; - version = "1.84.0"; + version = "1.84.1"; format = "setuptools"; src = fetchPypi { pname = "grpcio_health_checking"; inherit version; - hash = "sha256-xp6jd1pfkM0JTylIWd/QFQpWD3EBqJNr97Tgi3GGoU4="; + hash = "sha256-97211YZc8qZlH/wcyDdfypVVV/cvrFkCy09STQndZOo="; }; propagatedBuildInputs = [ From e8b0290f7fc6bc051379e3c939c94b7679cd8678 Mon Sep 17 00:00:00 2001 From: tree-sapii <144389458+tree-sapii@users.noreply.github.com> Date: Thu, 22 Oct 2026 19:15:00 -0400 Subject: [PATCH 2098/2378] python3Packages.grpcio-reflection: 1.84.0 -> 1.84.1 --- pkgs/development/python-modules/grpcio-reflection/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/grpcio-reflection/default.nix b/pkgs/development/python-modules/grpcio-reflection/default.nix index 793c3e7ae9bc..f4a2bfa155d3 100644 --- a/pkgs/development/python-modules/grpcio-reflection/default.nix +++ b/pkgs/development/python-modules/grpcio-reflection/default.nix @@ -12,13 +12,13 @@ # nixpkgs-update: no auto update buildPythonPackage rec { pname = "grpcio-reflection"; - version = "1.84.0"; + version = "1.84.1"; pyproject = true; src = fetchPypi { pname = "grpcio_reflection"; inherit version; - hash = "sha256-Br89fYzvmvvMch7lIZFlK0SDgxd0JV4XRASw4FUXQbw="; + hash = "sha256-CdcmQvurr0X4+5yGsNPPRZRft8fBxKLdMyHf2wXL4vg="; }; build-system = [ setuptools ]; From 1aa9b16dd909aaf71e2ec88320825be1d85bfaac Mon Sep 17 00:00:00 2001 From: tree-sapii <144389458+tree-sapii@users.noreply.github.com> Date: Thu, 22 Oct 2026 19:15:00 -0400 Subject: [PATCH 2099/2378] python3Packages.grpcio-status: 1.84.0 -> 1.84.1 --- pkgs/development/python-modules/grpcio-status/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/grpcio-status/default.nix b/pkgs/development/python-modules/grpcio-status/default.nix index c84e1a0007ef..675b1b7b3283 100644 --- a/pkgs/development/python-modules/grpcio-status/default.nix +++ b/pkgs/development/python-modules/grpcio-status/default.nix @@ -12,13 +12,13 @@ # nixpkgs-update: no auto update buildPythonPackage rec { pname = "grpcio-status"; - version = "1.84.0"; + version = "1.84.1"; format = "setuptools"; src = fetchPypi { pname = "grpcio_status"; inherit version; - hash = "sha256-XK8ounGEuB9hi19/CUhZ/SVBv0KdIYm7vNcVycLNzuI="; + hash = "sha256-aQ7PR2yC1tmHA6gFeMwOxtC1IiGH94O9AVir0oOWy0I="; }; postPatch = '' From 891e80f101edc8e49be2e9f72af10edf403da43b Mon Sep 17 00:00:00 2001 From: tree-sapii <144389458+tree-sapii@users.noreply.github.com> Date: Thu, 22 Oct 2026 19:15:00 -0400 Subject: [PATCH 2100/2378] python3Packages.grpcio-testing: 1.84.0 -> 1.84.1 --- pkgs/development/python-modules/grpcio-testing/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/grpcio-testing/default.nix b/pkgs/development/python-modules/grpcio-testing/default.nix index 817108ca63a6..10873d70d57d 100644 --- a/pkgs/development/python-modules/grpcio-testing/default.nix +++ b/pkgs/development/python-modules/grpcio-testing/default.nix @@ -12,13 +12,13 @@ # nixpkgs-update: no auto update buildPythonPackage rec { pname = "grpcio-testing"; - version = "1.84.0"; + version = "1.84.1"; pyproject = true; src = fetchPypi { pname = "grpcio_testing"; inherit version; - hash = "sha256-QT0NHlyGab385gx380aoBryPcUtZfJC/IA9D3sYGJFg="; + hash = "sha256-LwZS368ySLe3ETXtK1BaVNRjfQLnOrOtWxfy0YQjPtw="; }; postPatch = '' From 09c284233f4751724d15d6380b97e712dca0ae1e Mon Sep 17 00:00:00 2001 From: tree-sapii <144389458+tree-sapii@users.noreply.github.com> Date: Thu, 22 Oct 2026 19:15:00 -0400 Subject: [PATCH 2101/2378] python3Packages.grpcio-tools: 1.84.0 -> 1.84.1 --- pkgs/development/python-modules/grpcio-tools/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/grpcio-tools/default.nix b/pkgs/development/python-modules/grpcio-tools/default.nix index 82623084dfed..6100c9f5cb33 100644 --- a/pkgs/development/python-modules/grpcio-tools/default.nix +++ b/pkgs/development/python-modules/grpcio-tools/default.nix @@ -13,13 +13,13 @@ # nixpkgs-update: no auto update buildPythonPackage rec { pname = "grpcio-tools"; - version = "1.84.0"; + version = "1.84.1"; pyproject = true; src = fetchPypi { pname = "grpcio_tools"; inherit version; - hash = "sha256-IQrFrJgDVpSQ7DNXS36ZW8CHgVsA2bd34BNMq17Zo3k="; + hash = "sha256-yooybfNEESfWcJ2ZJ3SES7SW2zCwj3btXRqRIIngPyw="; }; postPatch = '' From 967015d0138e6455c4812fff23e27b490d830b8d Mon Sep 17 00:00:00 2001 From: dfdgsdfg Date: Fri, 23 Oct 2026 11:29:28 +0900 Subject: [PATCH 2102/2378] rustPlatform.cargoSetupHook: limit Cargo jobs to NIX_BUILD_CORES cargoBuildHook and cargoCheckHook pass `-j $NIX_BUILD_CORES`, but builds that run Cargo through another build system (Meson, Make, CMake) fall back to Cargo's default of one job per host CPU. Export CARGO_BUILD_JOBS from cargoSetupHook so these builds respect the configured core count, while keeping any value a package sets itself. The export runs as a postUnpack hook because stdenv normalizes NIX_BUILD_CORES (0 means all cores) only after sourcing setup hooks, and Cargo rejects `jobs = 0`. Co-Authored-By: Claude Opus 5.5 --- pkgs/build-support/rust/hooks/cargo-setup-hook.sh | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/pkgs/build-support/rust/hooks/cargo-setup-hook.sh b/pkgs/build-support/rust/hooks/cargo-setup-hook.sh index 862646b9d972..b4c9e13b526c 100644 --- a/pkgs/build-support/rust/hooks/cargo-setup-hook.sh +++ b/pkgs/build-support/rust/hooks/cargo-setup-hook.sh @@ -143,6 +143,16 @@ cargoUseSystemLibs() { export JEMALLOC_OVERRIDE="${JEMALLOC_OVERRIDE:-"$sentinel_dir/lib/libjemalloc"}" } +# Cargo defaults to one job per host CPU. Limit builds that invoke Cargo +# directly (e.g. through Meson or Make) to NIX_BUILD_CORES, like cargoBuildHook. +# This runs in a phase because stdenv normalizes NIX_BUILD_CORES after +# sourcing setup hooks. +cargoSetupBuildJobs() { + export CARGO_BUILD_JOBS="${CARGO_BUILD_JOBS:-$NIX_BUILD_CORES}" +} + +postUnpackHooks+=(cargoSetupBuildJobs) + if [[ -z "${dontCargoUseSystemLibs-}" ]]; then preConfigureHooks+=(cargoUseSystemLibs) fi From 8fc343ed6c3656e1d925c87016d6b48c0e040a9f Mon Sep 17 00:00:00 2001 From: dfdgsdfg Date: Fri, 23 Oct 2026 11:29:28 +0900 Subject: [PATCH 2103/2378] kime: drop CARGO_BUILD_JOBS override cargoSetupHook now exports CARGO_BUILD_JOBS. Co-Authored-By: Claude Opus 5.5 --- pkgs/by-name/ki/kime/package.nix | 4 ---- 1 file changed, 4 deletions(-) diff --git a/pkgs/by-name/ki/kime/package.nix b/pkgs/by-name/ki/kime/package.nix index ca1cf7d2c3fb..f2af6c2b68a2 100644 --- a/pkgs/by-name/ki/kime/package.nix +++ b/pkgs/by-name/ki/kime/package.nix @@ -95,10 +95,6 @@ stdenv.mkDerivation (finalAttrs: { export PKG_CONFIG_PATH="${qt6.qtbase}/lib/pkgconfig''${PKG_CONFIG_PATH:+:$PKG_CONFIG_PATH}" ''; - preBuild = '' - export CARGO_BUILD_JOBS="$NIX_BUILD_CORES" - ''; - doCheck = true; checkPhase = '' runHook preCheck From e592ecbb6852b988460cfd6db318ffa79223b4ac Mon Sep 17 00:00:00 2001 From: Ben Siraphob Date: Thu, 22 Oct 2026 23:00:36 -0400 Subject: [PATCH 2104/2378] gcc: fix libgomp device UID buffer size in legacy GCC 16 Reuse the GCC NG libgomp patch to fix -Werror=format-truncation when cross-compiling GCC against glibc, including the GCC used by cross-built bootstrap tools. Fixes #577062 Assisted-by: Pi (OpenAI GPT-6.1, gpt-6.1-sol) --- pkgs/development/compilers/gcc/patches/default.nix | 3 +++ 1 file changed, 3 insertions(+) diff --git a/pkgs/development/compilers/gcc/patches/default.nix b/pkgs/development/compilers/gcc/patches/default.nix index 8a8994d406ad..6b7284111006 100644 --- a/pkgs/development/compilers/gcc/patches/default.nix +++ b/pkgs/development/compilers/gcc/patches/default.nix @@ -108,6 +108,9 @@ optionals noSysDirs ( # LoongArch: fix miscompile of both_non_zero{,_subreg} when operands[0] == operands[2] # See https://gcc.gnu.org/bugzilla/show_bug.cgi?id=127153 ++ optional is16 ./16/loongarch-fix-miscompile-of-both_non_zero.patch +# Allow room for the sign in libgomp device UIDs; GCC 16 otherwise fails with +# -Werror=format-truncation when cross-compiling against glibc. +++ optional is16 ../ng/16/libgomp/uid-buffer-size.patch ## 2. Patches relevant on specific platforms #################################### From 73bb9c6fcf0c5d2e1163e30a2752ba7ca50bad3e Mon Sep 17 00:00:00 2001 From: whispers Date: Sun, 6 Sep 2026 00:03:57 -0400 Subject: [PATCH 2105/2378] libmad: 0.15.1b -> 0.16.5, switch to new upstream changelog: https://codeberg.org/tenacityteam/libmad/src/tag/0.16.5/CHANGES release: https://codeberg.org/tenacityteam/libmad/releases/tag/0.16.5 several distros seem to have migrated to this new upstream, and it seems to have/obsolete all of the patches we were carrying earlier. - debian: https://salsa.debian.org/multimedia-team/libmad/-/blob/8a9b2c6c22b9a14239e8d09621a44ace7a2c0005/debian/control#L11 - fedora: https://src.fedoraproject.org/rpms/libmad/blob/40182ca2fb1b5cf1a4a76e1e1e7aa588f3fe5c8c/f/libmad.spec#_8 - homebrew: https://github.com/Homebrew/homebrew-core/blob/b0996f840c3a6c53c8926ac31f43676061a84b7c/Formula/m/mad.rb#L3 - other ones too; see anything with 0.16.4/0.16.5 at https://repology.org/project/libmad/versions --- pkgs/by-name/li/libmad/package.nix | 75 +++++++++--------------------- 1 file changed, 23 insertions(+), 52 deletions(-) diff --git a/pkgs/by-name/li/libmad/package.nix b/pkgs/by-name/li/libmad/package.nix index e2054f281db0..98a437f470c0 100644 --- a/pkgs/by-name/li/libmad/package.nix +++ b/pkgs/by-name/li/libmad/package.nix @@ -1,9 +1,10 @@ { lib, stdenv, - fetchurl, - fetchpatch, - autoconf, + fetchFromCodeberg, + cmake, + ninja, + testers, # for passthru.tests audacity, @@ -16,11 +17,13 @@ stdenv.mkDerivation (finalAttrs: { pname = "libmad"; - version = "0.15.1b"; + version = "0.16.5"; - src = fetchurl { - url = "mirror://sourceforge/mad/libmad-${finalAttrs.version}.tar.gz"; - sha256 = "14460zhacxhswnzb36qfpd1f2wbk10qvksvm6wyq5hpvdgnw7ymv"; + src = fetchFromCodeberg { + owner = "tenacityteam"; + repo = "libmad"; + tag = finalAttrs.version; + hash = "sha256-zfjfP5xiijRTVaYauVTY6Pwsq4XhjYMpHZ/aH0e5Tds="; }; outputs = [ @@ -28,51 +31,14 @@ stdenv.mkDerivation (finalAttrs: { "dev" ]; - patches = [ - (fetchpatch { - url = "https://github.com/openwrt/packages/raw/openwrt-19.07/libs/libmad/patches/001-mips_removal_h_constraint.patch"; - sha256 = "0layswr6qg6axf4vyz6xrv73jwga34mkma3ifk9w9vrk41454hr5"; - }) - (fetchpatch { - url = "https://github.com/KaOSx/main/raw/1270b8080f37fb6cca562829a521991800b0a497/libmad/libmad.patch"; - sha256 = "0rysq0sn3dfdz6pa6bfqkmk4ymc4rzk5ym7p16dyk37sldg1pbzs"; - }) - (fetchpatch { - url = "https://github.com/KaOSx/main/raw/1270b8080f37fb6cca562829a521991800b0a497/libmad/amd64-64bit.diff"; - sha256 = "0mx56dmkbvw3zxnqd2hjng48q0d7q7473pns4n0ksdam29b0c5ar"; - }) - (fetchpatch { - name = "CVE-2017-8372-CVE-2017-8373.patch"; - url = "https://github.com/openwrt/packages/raw/openwrt-19.07/libs/libmad/patches/102-CVE-2017-8373-CVE-2017-8372-md-size.patch"; - sha256 = "0p6mkpn66h1ds8jvww28q4vlr58jwm58m9vb7pkvvyvy764agqnk"; - }) - (fetchpatch { - name = "CVE-2017-8374.patch"; - url = "https://github.com/openwrt/packages/raw/openwrt-19.07/libs/libmad/patches/101-CVE-2017-8374-length-check.patch"; - sha256 = "1j1ssxwmx9nfahzl62frbzck93xrjc2v3w30c12vmk29iflf1890"; - }) - ] - # optimize.diff is taken from https://projects.archlinux.org/svntogit/packages.git/tree/trunk/optimize.diff?h=packages/libmad - # It is included here in order to fix a build failure in Clang - # But it may be useful to fix other, currently unknown problems as well - ++ lib.optionals stdenv.cc.isClang [ - (fetchpatch { - url = "https://github.com/KaOSx/main/raw/1270b8080f37fb6cca562829a521991800b0a497/libmad/optimize.diff"; - sha256 = "0hcxzz9ql1fizyqbsgdchdwi7bvchfr72172j43hpyj53p0yabc6"; - }) - ]; - - # The -fforce-mem flag has been removed in GCC 4.3. - postPatch = '' - substituteInPlace configure.ac --replace "-fforce-mem" "" - substituteInPlace configure.ac --replace "arch=\"-march=i486\"" "" - ''; - - nativeBuildInputs = [ autoconf ]; - strictDeps = true; - preConfigure = "autoconf"; + nativeBuildInputs = [ + cmake + ninja + ]; + + cmakeFlags = [ (lib.cmakeBool "EXAMPLE" false) ]; passthru.tests = { inherit @@ -83,15 +49,20 @@ stdenv.mkDerivation (finalAttrs: { vlc ; ocaml-mad = ocamlPackages.mad; + pkg-cconfig = testers.hasPkgConfigModules { + package = finalAttrs.finalPackage; + versionCheck = true; + }; }; __structuredAttrs = true; meta = { - homepage = "https://sourceforge.net/projects/mad/"; + homepage = "https://codeberg.org/tenacityteam/libmad"; description = "High-quality, fixed-point MPEG audio decoder supporting MPEG-1 and MPEG-2"; - license = lib.licenses.gpl2; + license = lib.licenses.gpl2Plus; maintainers = [ ]; + pkgConfigModules = [ "mad" ]; platforms = lib.platforms.unix; }; }) From 3466008f7998f920dc02de80a299252377799b07 Mon Sep 17 00:00:00 2001 From: whispers Date: Sat, 5 Sep 2026 00:42:14 -0400 Subject: [PATCH 2106/2378] libpsl: 0.21.5 -> 0.23.3 changelog: https://github.com/rockdaboot/libpsl/blob/0.23.3/NEWS also, switched to meson since it's already in the closure for gtk-doc and in general it's less cursed than autotools. --- pkgs/by-name/li/libpsl/package.nix | 63 ++++++++++++------------------ 1 file changed, 24 insertions(+), 39 deletions(-) diff --git a/pkgs/by-name/li/libpsl/package.nix b/pkgs/by-name/li/libpsl/package.nix index bd488b29599c..87c5bc3f80df 100644 --- a/pkgs/by-name/li/libpsl/package.nix +++ b/pkgs/by-name/li/libpsl/package.nix @@ -1,53 +1,46 @@ { lib, stdenv, - fetchurl, - fetchpatch, - autoreconfHook, + fetchFromGitHub, + buildPackages, docbook_xsl, docbook_xml_dtd_43, gtk-doc, - lzip, + meson, + ninja, + pkg-config, libidn2, libunistring, libxslt, - pkg-config, - buildPackages, publicsuffix-list, }: stdenv.mkDerivation (finalAttrs: { pname = "libpsl"; - version = "0.21.5"; + version = "0.23.3"; - src = fetchurl { - url = "https://github.com/rockdaboot/libpsl/releases/download/${finalAttrs.version}/libpsl-${finalAttrs.version}.tar.lz"; - hash = "sha256-mp9qjG7bplDPnqVUdc0XLdKEhzFoBOnHMgLZdXLNOi0="; + src = fetchFromGitHub { + owner = "rockdaboot"; + repo = "libpsl"; + tag = finalAttrs.version; + hash = "sha256-Me22tepjCn1IvILw/Q286QemXs+B5q/h8xxtUs6bLss="; }; - patches = [ - # Can be dropped on next release, or if we switch to Meson for - # this package. Test pkgsStatic.curl still builds. - (fetchpatch { - name = "static.patch"; - url = "https://github.com/rockdaboot/libpsl/commit/490bd6f98a2addcade55028ea60c36cce07e21e4.patch"; - hash = "sha256-7Uu9gaVuA9Aly2mmnhUVgv2BYQTSBODJ2rDl5xp0uVY="; - }) - ]; - outputs = [ "out" "dev" ]; + depsBuildBuild = [ buildPackages.stdenv.cc ]; + nativeBuildInputs = [ - autoreconfHook - docbook_xsl docbook_xml_dtd_43 + docbook_xsl gtk-doc - lzip - pkg-config libxslt + meson + ninja + pkg-config ]; buildInputs = [ @@ -62,27 +55,19 @@ stdenv.mkDerivation (finalAttrs: { publicsuffix-list ]; + mesonFlags = [ + (lib.mesonBool "docs" true) + (lib.mesonOption "psl_distfile" "${publicsuffix-list}/share/publicsuffix/public_suffix_list.dat") + (lib.mesonOption "psl_file" "${publicsuffix-list}/share/publicsuffix/public_suffix_list.dat") + (lib.mesonOption "psl_testfile" "${publicsuffix-list}/share/publicsuffix/test_psl.txt") + ]; + # bin/psl-make-dafsa brings a large runtime closure through python3 # use the libpsl-with-scripts package if you need this postInstall = '' rm $out/bin/psl-make-dafsa $out/share/man/man1/psl-make-dafsa* ''; - preAutoreconf = '' - gtkdocize - ''; - - configureFlags = [ - # "--enable-gtk-doc" - "--enable-man" - "--with-psl-distfile=${publicsuffix-list}/share/publicsuffix/public_suffix_list.dat" - "--with-psl-file=${publicsuffix-list}/share/publicsuffix/public_suffix_list.dat" - "--with-psl-testfile=${publicsuffix-list}/share/publicsuffix/test_psl.txt" - "PYTHON=${lib.getExe buildPackages.python3}" - ]; - - enableParallelBuilding = true; - doCheck = true; __structuredAttrs = true; From 0d4067d2bd93330b0fb3fabc48214cf995606598 Mon Sep 17 00:00:00 2001 From: whispers Date: Thu, 10 Sep 2026 15:07:29 -0400 Subject: [PATCH 2107/2378] automake{,116x}: move to by-name, automake118x: make alias part of a general movement towards using by-name where possible. this is preparation for nixpkgs-vet disliking introducing the soon-to-be-introduced `automake119x` outside of by-name. since we have one primary automake version at any given time, we decided to make the "main" version just be filed as `automake` and then just make `automake118x` an alias for it. --- .../automake-1.18.x.nix => by-name/au/automake/package.nix} | 0 .../tools/misc => by-name/au}/automake/setup-hook.sh | 0 .../au/automake116x/package.nix} | 3 ++- pkgs/top-level/aliases.nix | 1 + pkgs/top-level/all-packages.nix | 6 ------ 5 files changed, 3 insertions(+), 7 deletions(-) rename pkgs/{development/tools/misc/automake/automake-1.18.x.nix => by-name/au/automake/package.nix} (100%) rename pkgs/{development/tools/misc => by-name/au}/automake/setup-hook.sh (100%) rename pkgs/{development/tools/misc/automake/automake-1.16.x.nix => by-name/au/automake116x/package.nix} (96%) diff --git a/pkgs/development/tools/misc/automake/automake-1.18.x.nix b/pkgs/by-name/au/automake/package.nix similarity index 100% rename from pkgs/development/tools/misc/automake/automake-1.18.x.nix rename to pkgs/by-name/au/automake/package.nix diff --git a/pkgs/development/tools/misc/automake/setup-hook.sh b/pkgs/by-name/au/automake/setup-hook.sh similarity index 100% rename from pkgs/development/tools/misc/automake/setup-hook.sh rename to pkgs/by-name/au/automake/setup-hook.sh diff --git a/pkgs/development/tools/misc/automake/automake-1.16.x.nix b/pkgs/by-name/au/automake116x/package.nix similarity index 96% rename from pkgs/development/tools/misc/automake/automake-1.16.x.nix rename to pkgs/by-name/au/automake116x/package.nix index 11ca834015a7..c9444f1a5f13 100644 --- a/pkgs/development/tools/misc/automake/automake-1.16.x.nix +++ b/pkgs/by-name/au/automake116x/package.nix @@ -4,6 +4,7 @@ fetchurl, perl, autoconf, + automake, updateAutotoolsGnuConfigScriptsHook, }: @@ -24,7 +25,7 @@ stdenv.mkDerivation (finalAttrs: { ]; buildInputs = [ autoconf ]; - setupHook = ./setup-hook.sh; + inherit (automake) setupHook; doCheck = false; # takes _a lot_ of time, fails 3 out of 2698 tests, all seem to be related to paths doInstallCheck = false; # runs the same thing, fails the same tests diff --git a/pkgs/top-level/aliases.nix b/pkgs/top-level/aliases.nix index a18ed814e3c1..3d1268e008b7 100644 --- a/pkgs/top-level/aliases.nix +++ b/pkgs/top-level/aliases.nix @@ -376,6 +376,7 @@ mapAliases { autoconf264 = throw "'autoconf264' has been removed in favor of 'autoconf'"; # Added 2025-07-21 autoconf271 = throw "'autoconf271' has been removed in favor of 'autoconf'"; # Added 2026-03-29 automake111x = throw "'automake111x' has been removed in favor of 'automake'"; # Added 2025-07-21 + automake118x = automake; # Added 2026-09-10 autopanosiftc = throw "'autopanosiftc' has been removed, as it is unmaintained upstream"; # Added 2025-10-07 autoreconfHook264 = throw "'autoreconfHook264' has been removed in favor of 'autoreconfHook'"; # Added 2025-07-21 autoreconfHook271 = throw "'autoreconfHook271' has been removed in favor of 'autoreconfHook'"; # Added 2026-03-29 diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index ef92d1d03e96..1962edb5fad5 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -4674,12 +4674,6 @@ with pkgs; electron-bin = electron_43-bin; electron-chromedriver = electron-chromedriver_43; - automake = automake118x; - - automake116x = callPackage ../development/tools/misc/automake/automake-1.16.x.nix { }; - - automake118x = callPackage ../development/tools/misc/automake/automake-1.18.x.nix { }; - bandit = with python3Packages; toPythonApplication bandit; bazel = bazel_7; From 0512153661a42535b5a64e781be74677a45e9a23 Mon Sep 17 00:00:00 2001 From: whispers Date: Thu, 10 Sep 2026 10:21:43 -0400 Subject: [PATCH 2108/2378] automake: 1.18.1 -> 1.19 https://lists.gnu.org/archive/html/info-gnu/2026-09/msg00000.html --- pkgs/by-name/au/automake/package.nix | 6 +++--- pkgs/top-level/aliases.nix | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/pkgs/by-name/au/automake/package.nix b/pkgs/by-name/au/automake/package.nix index 1149cf78bde1..7951427e4dd3 100644 --- a/pkgs/by-name/au/automake/package.nix +++ b/pkgs/by-name/au/automake/package.nix @@ -9,11 +9,11 @@ stdenv.mkDerivation (finalAttrs: { pname = "automake"; - version = "1.18.1"; + version = "1.19"; src = fetchurl { url = "mirror://gnu/automake/automake-${finalAttrs.version}.tar.xz"; - hash = "sha256-FoqjYyeDUbia9WaERI9SWlvOUHnQtoQr2RD90/FkaIc="; + hash = "sha256-4+LC46vzeJgTjbW2wdHcNckWDFl4vnlH0sdBcFJR1EU="; }; strictDeps = true; @@ -39,7 +39,7 @@ stdenv.mkDerivation (finalAttrs: { __structuredAttrs = true; meta = { - branch = "1.18"; + branch = "1.19"; homepage = "https://www.gnu.org/software/automake/"; description = "GNU standard-compliant makefile generator"; license = lib.licenses.gpl2Plus; diff --git a/pkgs/top-level/aliases.nix b/pkgs/top-level/aliases.nix index 3d1268e008b7..902526abea03 100644 --- a/pkgs/top-level/aliases.nix +++ b/pkgs/top-level/aliases.nix @@ -376,7 +376,7 @@ mapAliases { autoconf264 = throw "'autoconf264' has been removed in favor of 'autoconf'"; # Added 2025-07-21 autoconf271 = throw "'autoconf271' has been removed in favor of 'autoconf'"; # Added 2026-03-29 automake111x = throw "'automake111x' has been removed in favor of 'automake'"; # Added 2025-07-21 - automake118x = automake; # Added 2026-09-10 + automake118x = throw "'automake118x' has been removed in favor of 'automake'"; # Added 2026-09-10 autopanosiftc = throw "'autopanosiftc' has been removed, as it is unmaintained upstream"; # Added 2025-10-07 autoreconfHook264 = throw "'autoreconfHook264' has been removed in favor of 'autoreconfHook'"; # Added 2025-07-21 autoreconfHook271 = throw "'autoreconfHook271' has been removed in favor of 'autoreconfHook'"; # Added 2026-03-29 From ac95ac9c5d3647f8ee5cebeba899637040fd0a18 Mon Sep 17 00:00:00 2001 From: Sergei Trofimovich Date: Mon, 28 Sep 2026 21:42:30 +0100 Subject: [PATCH 2109/2378] hunspell: 1.7.3 -> 1.7.5 Changes: - https://github.com/hunspell/hunspell/releases/tag/v1.7.4 - https://github.com/hunspell/hunspell/releases/tag/v1.7.5 --- ...ok-in-XDG_DATA_DIRS-for-dictionaries.patch | 37 ------------------- pkgs/by-name/hu/hunspell/package.nix | 6 +-- 2 files changed, 2 insertions(+), 41 deletions(-) delete mode 100644 pkgs/by-name/hu/hunspell/0001-Make-hunspell-look-in-XDG_DATA_DIRS-for-dictionaries.patch diff --git a/pkgs/by-name/hu/hunspell/0001-Make-hunspell-look-in-XDG_DATA_DIRS-for-dictionaries.patch b/pkgs/by-name/hu/hunspell/0001-Make-hunspell-look-in-XDG_DATA_DIRS-for-dictionaries.patch deleted file mode 100644 index 4607f8b8ee09..000000000000 --- a/pkgs/by-name/hu/hunspell/0001-Make-hunspell-look-in-XDG_DATA_DIRS-for-dictionaries.patch +++ /dev/null @@ -1,37 +0,0 @@ -From 8c67f314de2684d77315eecd99ef091d441f17dd Mon Sep 17 00:00:00 2001 -From: Matthew Bauer -Date: Wed, 24 Jul 2019 15:35:18 -0400 -Subject: [PATCH] Make hunspell look in XDG_DATA_DIRS for dictionaries - -Some dictionaries may exist but only show up under XDG_DATA_DIRS. For -instance, $HOME/.local/share/hunspell could contain some dictionaries. - -This patch adds each directory in the hunspell subdir of each -XDG_DATA_DIRS to the lookup path. - -Upstream pr is available at: https://github.com/hunspell/hunspell/pull/637 ---- - src/tools/hunspell.cxx | 7 +++++++ - 1 file changed, 7 insertions(+) - -diff --git a/src/tools/hunspell.cxx b/src/tools/hunspell.cxx -index 690e34a..6cd127e 100644 ---- a/src/tools/hunspell.cxx -+++ b/src/tools/hunspell.cxx -@@ -2044,6 +2044,13 @@ int main(int argc, char** argv) { - if (getenv("DICPATH")) { - path_std_str.append(getenv("DICPATH")).append(PATHSEP); - } -+ if (getenv("XDG_DATA_DIRS")) { -+ char* dir = strtok(getenv("XDG_DATA_DIRS"), ":"); -+ while (dir != NULL) { -+ path_std_str.append(dir).append("/hunspell:"); -+ dir = strtok(NULL, ":"); -+ } -+ } - path_std_str.append(LIBDIR).append(PATHSEP); - if (HOME) { - const char * userooodir[] = USEROOODIR; --- -2.22.0 - diff --git a/pkgs/by-name/hu/hunspell/package.nix b/pkgs/by-name/hu/hunspell/package.nix index 3414a43b2e29..7690d93c9c52 100644 --- a/pkgs/by-name/hu/hunspell/package.nix +++ b/pkgs/by-name/hu/hunspell/package.nix @@ -13,7 +13,7 @@ stdenv.mkDerivation (finalAttrs: { pname = "hunspell"; - version = "1.7.3"; + version = "1.7.5"; outputs = [ "bin" @@ -26,11 +26,9 @@ stdenv.mkDerivation (finalAttrs: { owner = "hunspell"; repo = "hunspell"; rev = "v${finalAttrs.version}"; - hash = "sha256-NoLlH+4Hb6w+HYl2fSBzroav1Pb3GojFSTJGBxlteBM="; + hash = "sha256-K7r7t1ZIy1/LD1c24hpPEG8/+M9lmuwo2yVJ08I3YPE="; }; - patches = [ ./0001-Make-hunspell-look-in-XDG_DATA_DIRS-for-dictionaries.patch ]; - postPatch = '' patchShebangs tests ''; From 0488eb972e42824459f47efe94331db2ef6bdf55 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Vladim=C3=ADr=20=C4=8Cun=C3=A1t?= Date: Fri, 23 Oct 2026 09:55:09 +0200 Subject: [PATCH 2110/2378] python313: 3.13.16 -> 3.13.17 Looks trivial, single change, for security: https://docs.python.org/release/3.13.17/whatsnew/changelog.html Tested building python313 on staging-next-26.05 (x86_64-linux; there it rebuilds stdenvs) --- pkgs/development/interpreters/python/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/interpreters/python/default.nix b/pkgs/development/interpreters/python/default.nix index 25c27319dc4c..96296c58a8b1 100644 --- a/pkgs/development/interpreters/python/default.nix +++ b/pkgs/development/interpreters/python/default.nix @@ -59,10 +59,10 @@ sourceVersion = { major = "3"; minor = "13"; - patch = "16"; + patch = "17"; suffix = ""; }; - hash = "sha256-9LG/s8ebW7EbjSKKElBBY7TA2rTWeYKNj18mtstqs10=="; + hash = "sha256-YCC9EK/zv0ghvhbwiOuxWRvre4EdzY+rHaj3wip7J+c="; inherit passthruFun; }; From e84c772f3d0172ea49388a832dd102098b82ab19 Mon Sep 17 00:00:00 2001 From: Robbe Van Petegem Date: Fri, 23 Oct 2026 09:53:24 +0200 Subject: [PATCH 2111/2378] ruby_3_4: 3.4.11 -> 3.4.12 https://github.com/ruby/ruby/releases/tag/v3_4_12 --- pkgs/development/interpreters/ruby/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/interpreters/ruby/default.nix b/pkgs/development/interpreters/ruby/default.nix index 669e3104acee..41f63aadf453 100644 --- a/pkgs/development/interpreters/ruby/default.nix +++ b/pkgs/development/interpreters/ruby/default.nix @@ -399,8 +399,8 @@ in mkRuby = generic; ruby_3_4 = generic { - version = rubyVersion "3" "4" "11" ""; - hash = "sha256-XCK+RFJDErPUM9aHObzFMGM7HaXvi6CvoKN2gNoX094="; + version = rubyVersion "3" "4" "12" ""; + hash = "sha256-Xl2FrZOwrczLrUdzNoD0iSvQB44zQkN/e6vOAcGHJHk="; cargoHash = "sha256-5Tp8Kth0yO89/LIcU8K01z6DdZRr8MAA0DPKqDEjIt0="; }; From d436275a8c015cc86f383445cb3a84c55b297ead Mon Sep 17 00:00:00 2001 From: Florian Brandes Date: Fri, 23 Oct 2026 18:59:02 +0200 Subject: [PATCH 2112/2378] python3Packages.dnspython: 2.8.0 -> 2.9.0 fixes https://github.com/NixOS/nixpkgs/issues/577788 Signed-off-by: Florian Brandes --- .../python-modules/dnspython/default.nix | 17 ++++++++++------- 1 file changed, 10 insertions(+), 7 deletions(-) diff --git a/pkgs/development/python-modules/dnspython/default.nix b/pkgs/development/python-modules/dnspython/default.nix index 6204b0dd25e3..9eece529b0a5 100644 --- a/pkgs/development/python-modules/dnspython/default.nix +++ b/pkgs/development/python-modules/dnspython/default.nix @@ -6,28 +6,28 @@ fetchPypi, h2, httpcore, - httpx, + httpx2, idna, - hatchling, + uv-build, pytestCheckHook, trio, }: buildPythonPackage rec { pname = "dnspython"; - version = "2.8.0"; + version = "2.9.0"; pyproject = true; src = fetchPypi { inherit pname version; - hash = "sha256-GB08aZZFLLEYnEBGxhWZuEpahuCZVi/9530mmE/ybQ8="; + hash = "sha256-tE3GsY8HqLHFZnahn7/bUglBWwRqnOzihrqvqH/z9/E="; }; - build-system = [ hatchling ]; + build-system = [ uv-build ]; optional-dependencies = { doh = [ - httpx + httpx2 h2 httpcore ]; @@ -37,7 +37,10 @@ buildPythonPackage rec { doq = [ aioquic ]; }; - nativeCheckInputs = [ pytestCheckHook ]; + nativeCheckInputs = [ + pytestCheckHook + idna + ]; disabledTests = [ # dns.exception.SyntaxError: protocol not found From 72c7f6b676be93ee90f42378b1fe4c5c5dda8036 Mon Sep 17 00:00:00 2001 From: Moraxyc Date: Fri, 23 Oct 2026 23:56:19 +0800 Subject: [PATCH 2113/2378] cargo-nextest: 0.9.148 -> 0.9.149 --- pkgs/by-name/ca/cargo-nextest/package.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pkgs/by-name/ca/cargo-nextest/package.nix b/pkgs/by-name/ca/cargo-nextest/package.nix index cfad66091491..4f7a63ecbc5b 100644 --- a/pkgs/by-name/ca/cargo-nextest/package.nix +++ b/pkgs/by-name/ca/cargo-nextest/package.nix @@ -10,13 +10,13 @@ }: rustPlatform.buildRustPackage (finalAttrs: { pname = "cargo-nextest"; - version = "0.9.148"; + version = "0.9.149"; src = fetchFromGitHub { owner = "nextest-rs"; repo = "nextest"; tag = "cargo-nextest-${finalAttrs.version}"; - hash = "sha256-JcDSd3VswTuAhmHibwFJjJMSEbSReQ/SONrEcyEGYD4="; + hash = "sha256-63Ub21JqjnKAhpIXpVUvM6sVa+xGaB15N+3NjrA+vzc="; }; # FIXME: we don't support dtrace probe generation on macOS until we have a dtrace build: https://github.com/NixOS/nixpkgs/pull/392918 @@ -24,7 +24,7 @@ rustPlatform.buildRustPackage (finalAttrs: { ./no-dtrace-macos.patch ]; - cargoHash = "sha256-MW2cM2XjfAquhdeDNwvizk6owl1sVwK5mfCiSpjJN6E="; + cargoHash = "sha256-Qss1AxTNR68C0F/OT8qLHhKdxwzr+b/TeIIQQRfHdfQ="; nativeBuildInputs = [ pkg-config ]; From 0e4209f7504810f96f2f00f9bcb8e1e8efbe0c6c Mon Sep 17 00:00:00 2001 From: Moraxyc Date: Sat, 24 Oct 2026 00:45:29 +0800 Subject: [PATCH 2114/2378] cargo-nextest: disable self-update --- pkgs/by-name/ca/cargo-nextest/package.nix | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/pkgs/by-name/ca/cargo-nextest/package.nix b/pkgs/by-name/ca/cargo-nextest/package.nix index 4f7a63ecbc5b..31a0b3c04c22 100644 --- a/pkgs/by-name/ca/cargo-nextest/package.nix +++ b/pkgs/by-name/ca/cargo-nextest/package.nix @@ -37,6 +37,11 @@ rustPlatform.buildRustPackage (finalAttrs: { "-p" "cargo-nextest" ]; + # Upstream recommends this feature set for distributor builds: + # https://github.com/nextest-rs/nextest/blob/cargo-nextest-0.9.149/cargo-nextest/Cargo.toml#L63-L65 + buildNoDefaultFeatures = true; + buildFeatures = [ "default-no-update" ]; + cargoTestFlags = [ "-p" "cargo-nextest" From 4d30087afb8af9ec8b81f76fd94b3ea48af779c4 Mon Sep 17 00:00:00 2001 From: Ross Smyth <18294397+RossSmyth@users.noreply.github.com> Date: Fri, 23 Oct 2026 13:41:48 -0400 Subject: [PATCH 2115/2378] cargo-auditable: 0.7.6 -> 0.7.7 --- pkgs/by-name/ca/cargo-auditable/package.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pkgs/by-name/ca/cargo-auditable/package.nix b/pkgs/by-name/ca/cargo-auditable/package.nix index 8f20da716052..d3a1e3845698 100644 --- a/pkgs/by-name/ca/cargo-auditable/package.nix +++ b/pkgs/by-name/ca/cargo-auditable/package.nix @@ -19,9 +19,9 @@ let auditable-bootstrap = bootstrap; }; - version = "0.7.6"; - hash = "sha256-vQks5XIrKnYiK71kNA5BaOO51L/l+witMbvVFuNNGsQ="; - cargoHash = "sha256-82cPKy3CHddMvNBCObns3ycOn6iaZ8QDhf06HvhZZhc="; + version = "0.7.7"; + hash = "sha256-N/adXtdMJWaKiV2kc36RgDMEJ5Kx8ly+S7GrGabqjMI="; + cargoHash = "sha256-A2gKYWy2MA0kZSbhgunoEhjO4V15X+NORQdBAoB1SeQ="; # cargo-auditable cannot be built with cargo-auditable until cargo-auditable is built bootstrap = auditableBuilder { From 234b278be7a977d57fa6e482a5e03e78136c8901 Mon Sep 17 00:00:00 2001 From: Sergei Trofimovich Date: Fri, 23 Oct 2026 20:32:13 +0100 Subject: [PATCH 2116/2378] zvbi: 0.2.45 -> 0.2.46 Changes: https://github.com/zapping-vbi/zvbi/compare/v0.2.45...v0.2.46 --- pkgs/by-name/zv/zvbi/package.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/by-name/zv/zvbi/package.nix b/pkgs/by-name/zv/zvbi/package.nix index ea33b1e12e8e..a41a77d2faa2 100644 --- a/pkgs/by-name/zv/zvbi/package.nix +++ b/pkgs/by-name/zv/zvbi/package.nix @@ -13,13 +13,13 @@ stdenv.mkDerivation (finalAttrs: { pname = "zvbi"; - version = "0.2.45"; + version = "0.2.46"; src = fetchFromGitHub { owner = "zapping-vbi"; repo = "zvbi"; rev = "v${finalAttrs.version}"; - hash = "sha256-Nkg/Y7tHYAEi3ndbiJwwutVrGCOIE5RUCNQW3j12BkM="; + hash = "sha256-7x14IzU5qSY4Tu1LQtqnlbUjbIyMnI8zOtMYRc3m5d8="; }; configureFlags = lib.optionals (!lib.systems.equals stdenv.buildPlatform stdenv.hostPlatform) [ From b9a04271edbdbbbbc70bc792850c65af08d91642 Mon Sep 17 00:00:00 2001 From: "R. Ryantm" Date: Fri, 23 Oct 2026 23:14:40 +0000 Subject: [PATCH 2117/2378] libaom: 3.15.1 -> 3.15.2 --- pkgs/by-name/li/libaom/package.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/by-name/li/libaom/package.nix b/pkgs/by-name/li/libaom/package.nix index fb5976f23267..15a5afaaa49f 100644 --- a/pkgs/by-name/li/libaom/package.nix +++ b/pkgs/by-name/li/libaom/package.nix @@ -23,11 +23,11 @@ let in stdenv.mkDerivation (finalAttrs: { pname = "libaom"; - version = "3.15.1"; + version = "3.15.2"; src = fetchzip { url = "https://aomedia.googlesource.com/aom/+archive/v${finalAttrs.version}.tar.gz"; - hash = "sha256-TlAgiu+vv2DkxVYvnPyX4UqYFyewkSuNB73gZCifCYM="; + hash = "sha256-RjAg0vm4uPQPiM48pObD6A87HMhBiwyV9CZ3a3qeJCo="; stripRoot = false; }; From 0d1293192b7b5f244e8ced64287ba33f8ead4888 Mon Sep 17 00:00:00 2001 From: Jan Tojnar Date: Thu, 22 Oct 2026 00:35:26 +0200 Subject: [PATCH 2118/2378] =?UTF-8?q?xkeyboard-config:=202.48=20=E2=86=92?= =?UTF-8?q?=202.49?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit https://lists.x.org/archives/xorg-announce/2026-October/003758.html https://gitlab.freedesktop.org/xkeyboard-config/xkeyboard-config/-/compare/xkeyboard-config-2.48...xkeyboard-config-2.49 --- pkgs/by-name/xk/xkeyboard-config/package.nix | 26 ++++++++------------ 1 file changed, 10 insertions(+), 16 deletions(-) diff --git a/pkgs/by-name/xk/xkeyboard-config/package.nix b/pkgs/by-name/xk/xkeyboard-config/package.nix index 685de9619f8c..cf93fe8e0946 100644 --- a/pkgs/by-name/xk/xkeyboard-config/package.nix +++ b/pkgs/by-name/xk/xkeyboard-config/package.nix @@ -1,7 +1,7 @@ { lib, stdenv, - fetchurl, + fetchFromGitLab, pkg-config, meson, ninja, @@ -9,15 +9,18 @@ perl, libxslt, gettext, - writeScript, + gitUpdater, }: stdenv.mkDerivation (finalAttrs: { pname = "xkeyboard-config"; - version = "2.48"; + version = "2.49"; - src = fetchurl { - url = "mirror://xorg/individual/data/xkeyboard-config/xkeyboard-config-${finalAttrs.version}.tar.xz"; - hash = "sha256-t3BBMk8BCfdxYe5DdD/gS6pIWGavhGDTHkdq0/dkj9U="; + src = fetchFromGitLab { + domain = "gitlab.freedesktop.org"; + owner = "xkeyboard-config"; + repo = "xkeyboard-config"; + tag = "xkeyboard-config-${finalAttrs.version}"; + hash = "sha256-55CigEgcPNc3YQlwFVKv+fV5W9JYwnsi9ZPgs13Z14w="; }; strictDeps = true; @@ -48,16 +51,7 @@ stdenv.mkDerivation (finalAttrs: { ''; passthru = { - updateScript = writeScript "update-${finalAttrs.pname}" '' - #!/usr/bin/env nix-shell - #!nix-shell -i bash -p common-updater-scripts - - version="$(list-directory-versions --pname ${finalAttrs.pname} \ - --url https://xorg.freedesktop.org/releases/individual/data/xkeyboard-config/ \ - | sort -V | tail -n1)" - - update-source-version ${finalAttrs.pname} "$version" - ''; + updateScript = gitUpdater { }; }; meta = { From 0acf71d85a84fa2cf03bfd5ccc8da9bdc1e4ebf2 Mon Sep 17 00:00:00 2001 From: Yiyu Zhou Date: Fri, 16 Oct 2026 01:35:54 -0700 Subject: [PATCH 2119/2378] asciidoc: replace deprecated --replace --- pkgs/by-name/as/asciidoc/package.nix | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/pkgs/by-name/as/asciidoc/package.nix b/pkgs/by-name/as/asciidoc/package.nix index 1c211ea0b1eb..6568f5319bc8 100644 --- a/pkgs/by-name/as/asciidoc/package.nix +++ b/pkgs/by-name/as/asciidoc/package.nix @@ -283,10 +283,10 @@ python3.pkgs.buildPythonApplication (finalAttrs: { ) + '' # Fix tests - for f in $(grep -R --files-with-matches "2002-11-25") ; do - substituteInPlace $f --replace "2002-11-25" "1980-01-02" - substituteInPlace $f --replace "00:37:42" "00:00:00" - done + substituteInPlace $(grep -R --files-with-matches "2002-11-25" tests/data) \ + --replace-fail "2002-11-25" "1980-01-02" + substituteInPlace $(grep -R --files-with-matches "00:37:42" tests/data) \ + --replace-fail "00:37:42" "00:00:00" '' + lib.optionalString (stdenv.buildPlatform != stdenv.hostPlatform) '' # We want to use asciidoc from the build platform to build the documentation. From ebfc8e5b2c03d6da20f80ba61414ada342dbbd4b Mon Sep 17 00:00:00 2001 From: Xu Colin Date: Sat, 5 Sep 2026 12:49:05 +0800 Subject: [PATCH 2120/2378] python3Packages.mypy: 2.1.0 -> 2.3.1 https://github.com/python/mypy/blob/refs/tags/v2.3.1/CHANGELOG.md Signed-off-by: Xu Colin --- pkgs/development/python-modules/mypy/default.nix | 15 +++------------ 1 file changed, 3 insertions(+), 12 deletions(-) diff --git a/pkgs/development/python-modules/mypy/default.nix b/pkgs/development/python-modules/mypy/default.nix index a50eb9c32761..29bb56efc2e3 100644 --- a/pkgs/development/python-modules/mypy/default.nix +++ b/pkgs/development/python-modules/mypy/default.nix @@ -6,7 +6,6 @@ gitUpdater, pythonAtLeast, isPyPy, - fetchpatch, # build-system pathspec, @@ -37,7 +36,7 @@ buildPythonPackage rec { pname = "mypy"; - version = "2.1.0"; + version = "2.3.1"; pyproject = true; # relies on several CPython internals @@ -47,18 +46,9 @@ buildPythonPackage rec { owner = "python"; repo = "mypy"; tag = "v${version}"; - hash = "sha256-sm/pxQGxH5XuPH7B8i3fpp30KaFU9aSp6BT67UcDPvU="; + hash = "sha256-EkZVBWlT8l3oIC9UuDEJua6dxFDIL0o9k/3FJJFqMB4="; }; - patches = [ - # fix build w/ glibc-2.44 - # If Python.h isn't included first, a const redefinition error now occurs otherwise. - (fetchpatch { - url = "https://github.com/python/mypy/commit/46acbe85c0e1703ebf2e6d4c699772edcdcf4652.patch"; - hash = "sha256-KslHiKqinvvXZoxvCnZXOhCm7i8577PbSdNGudCsjZE="; - }) - ]; - passthru.updateScript = gitUpdater { rev-prefix = "v"; }; @@ -78,6 +68,7 @@ buildPythonPackage rec { ]; dependencies = [ + ast-serialize librt mypy-extensions pathspec From eb046a76af500a702dca33f6f0d1a17079ddfd76 Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sat, 24 Oct 2026 11:27:09 +0200 Subject: [PATCH 2121/2378] zvbi: enable strictDeps --- pkgs/by-name/zv/zvbi/package.nix | 2 ++ 1 file changed, 2 insertions(+) diff --git a/pkgs/by-name/zv/zvbi/package.nix b/pkgs/by-name/zv/zvbi/package.nix index ea33b1e12e8e..c7eb6b5ee968 100644 --- a/pkgs/by-name/zv/zvbi/package.nix +++ b/pkgs/by-name/zv/zvbi/package.nix @@ -41,6 +41,8 @@ stdenv.mkDerivation (finalAttrs: { tzdata ]; + strictDeps = true; + outputs = [ "out" "dev" From ee615e6fe2bb112492a3214b94f16531596e4502 Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sat, 24 Oct 2026 11:27:30 +0200 Subject: [PATCH 2122/2378] zvbi: enable structuredAttrs --- pkgs/by-name/zv/zvbi/package.nix | 2 ++ 1 file changed, 2 insertions(+) diff --git a/pkgs/by-name/zv/zvbi/package.nix b/pkgs/by-name/zv/zvbi/package.nix index c7eb6b5ee968..07e7b3d4a287 100644 --- a/pkgs/by-name/zv/zvbi/package.nix +++ b/pkgs/by-name/zv/zvbi/package.nix @@ -63,6 +63,8 @@ stdenv.mkDerivation (finalAttrs: { updateScript = gitUpdater { rev-prefix = "v"; }; }; + __structuredAttrs = true; + meta = { description = "Vertical Blanking Interval (VBI) utilities"; homepage = "https://github.com/zapping-vbi/zvbi"; From 16f1b0063792488d8623342a5f6b4701d39bc00e Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sat, 24 Oct 2026 11:31:47 +0200 Subject: [PATCH 2123/2378] openapv: enable strictDeps --- pkgs/by-name/op/openapv/package.nix | 2 ++ 1 file changed, 2 insertions(+) diff --git a/pkgs/by-name/op/openapv/package.nix b/pkgs/by-name/op/openapv/package.nix index b9147f8ba2e6..08ea5a3050f4 100644 --- a/pkgs/by-name/op/openapv/package.nix +++ b/pkgs/by-name/op/openapv/package.nix @@ -29,6 +29,8 @@ stdenv.mkDerivation (finalAttrs: { nativeBuildInputs = [ cmake ]; + strictDeps = true; + doCheck = true; passthru = { From af694e174c012e9b2e646466184f897a97901dc6 Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sat, 24 Oct 2026 11:32:00 +0200 Subject: [PATCH 2124/2378] openapv: enable structuredAttrs --- pkgs/by-name/op/openapv/package.nix | 2 ++ 1 file changed, 2 insertions(+) diff --git a/pkgs/by-name/op/openapv/package.nix b/pkgs/by-name/op/openapv/package.nix index 08ea5a3050f4..cffac636b5fe 100644 --- a/pkgs/by-name/op/openapv/package.nix +++ b/pkgs/by-name/op/openapv/package.nix @@ -38,6 +38,8 @@ stdenv.mkDerivation (finalAttrs: { updateScript = nix-update-script { }; }; + __structuredAttrs = true; + meta = { changelog = "https://github.com/AcademySoftwareFoundation/openapv/releases/tag/v${finalAttrs.version}"; description = "Reference implementation of the APV codec"; From f05f625bf71dc373f550603b5cda904a19b49b07 Mon Sep 17 00:00:00 2001 From: "R. Ryantm" Date: Sat, 24 Oct 2026 09:59:13 +0000 Subject: [PATCH 2125/2378] javaPackages.compiler.openjdk21: 21.0.12.1+1 -> 21.0.13.0.2+1 --- pkgs/development/compilers/openjdk/21/source.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/compilers/openjdk/21/source.json b/pkgs/development/compilers/openjdk/21/source.json index c157d6a64e4a..c64ed8dd5550 100644 --- a/pkgs/development/compilers/openjdk/21/source.json +++ b/pkgs/development/compilers/openjdk/21/source.json @@ -1,6 +1,6 @@ { - "hash": "sha256-vy4Q3hr3M+imeGnlZrpjG/tHFaVRelaVy4rtDAF6Z80=", + "hash": "sha256-IpAIDFoo21ap2hdTxjdN40hZbAE1qDqr6kWlyg83PoQ=", "owner": "openjdk", "repo": "jdk21u", - "rev": "refs/tags/jdk-21.0.12.1+1" + "rev": "refs/tags/jdk-21.0.13.0.2+1" } From 919c8bd8d8b9f92770b75e3f068a09e6c3c209db Mon Sep 17 00:00:00 2001 From: "R. Ryantm" Date: Sat, 24 Oct 2026 11:25:06 +0000 Subject: [PATCH 2126/2378] linuxHeaders: 7.2 -> 7.3 --- pkgs/os-specific/linux/kernel-headers/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/os-specific/linux/kernel-headers/default.nix b/pkgs/os-specific/linux/kernel-headers/default.nix index b1fdeae6ca1a..b879dd5a93f1 100644 --- a/pkgs/os-specific/linux/kernel-headers/default.nix +++ b/pkgs/os-specific/linux/kernel-headers/default.nix @@ -159,13 +159,13 @@ in linuxHeaders = let - version = "7.2"; + version = "7.3"; in makeLinuxHeaders { inherit version; src = fetchurl { url = "mirror://kernel/linux/kernel/v${lib.versions.major version}.x/linux-${version}.tar.xz"; - hash = "sha256-+f7z0UwN9TgZAm9L50RZg1wqCw3L9bW72eoZ8IKUArM="; + hash = "sha256-hzY8JPEOBjIes2J2VSEJTpRHH2v/i84taz5A858ASVM="; }; patches = [ ./no-relocs.patch # for building x86 kernel headers on non-ELF platforms From 137f4550ad08c546b1bcfa0606f6a846662888cf Mon Sep 17 00:00:00 2001 From: Popax21 Date: Fri, 23 Oct 2026 21:41:40 +0200 Subject: [PATCH 2127/2378] buildFHSEnv: bind /etc/egl for nvidia-x11 drivers Bind `/etc/egl` into FHS enviroments as a generic fix for #372135.\ This is required for EGL / OpenGL-on-Wayland to work properly in such environments on NVIDIA systems, where the drivers hardcode `/etc/egl/egl_external_platform.d:/usr/share/egl/egl_external_platform.d` as the default search path. --- pkgs/build-support/build-fhsenv-bubblewrap/default.nix | 2 ++ 1 file changed, 2 insertions(+) diff --git a/pkgs/build-support/build-fhsenv-bubblewrap/default.nix b/pkgs/build-support/build-fhsenv-bubblewrap/default.nix index efa20e5343ad..f730e517d5fd 100644 --- a/pkgs/build-support/build-fhsenv-bubblewrap/default.nix +++ b/pkgs/build-support/build-fhsenv-bubblewrap/default.nix @@ -129,6 +129,8 @@ lib.makeOverridable ( "pki" # Custom dconf profiles "dconf" + # EGL platform definitions (required by nvidia-x11) + "egl" ]; in map (path: "/etc/${path}") files; From eae1a75aee18235ada04893a212153fd9de40922 Mon Sep 17 00:00:00 2001 From: Popax21 Date: Fri, 23 Oct 2026 21:44:55 +0200 Subject: [PATCH 2128/2378] osu-lazer-bin: drop EGL bwrap override Reverts #462052 in favor of a more generic fix in `buildFHSEnv`. --- pkgs/by-name/os/osu-lazer-bin/package.nix | 5 ----- 1 file changed, 5 deletions(-) diff --git a/pkgs/by-name/os/osu-lazer-bin/package.nix b/pkgs/by-name/os/osu-lazer-bin/package.nix index 8f19305cc174..8aeda1cf114a 100644 --- a/pkgs/by-name/os/osu-lazer-bin/package.nix +++ b/pkgs/by-name/os/osu-lazer-bin/package.nix @@ -85,11 +85,6 @@ else extraPkgs = pkgs: with pkgs; [ icu ]; - # fix OpenGL renderer on nvidia + wayland - extraBwrapArgs = [ - "--ro-bind-try /etc/egl/egl_external_platform.d /etc/egl/egl_external_platform.d" - ]; - extraInstallCommands = '' . ${makeWrapper}/nix-support/setup-hook mv -v $out/bin/${pname} $out/bin/osu! From c5c5060ea6965db12a9fadebb1da906c6df5ef2c Mon Sep 17 00:00:00 2001 From: Adam Dinwoodie Date: Sat, 24 Oct 2026 20:23:36 +0100 Subject: [PATCH 2129/2378] Reapply "python3Packages.hatchling: 1.31.0 -> 1.32.0" This reverts commit cd1c8ff298246911f18367f0cc6ab3117f94b0b3. The reversion was to avoid problems that were already resolved in b9cba33d74a9 (python3Packages.hatchling: 1.31.0 -> 1.32.0, 2026-08-20). --- pkgs/development/python-modules/hatchling/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/hatchling/default.nix b/pkgs/development/python-modules/hatchling/default.nix index 6b92181d680d..217361b822d3 100644 --- a/pkgs/development/python-modules/hatchling/default.nix +++ b/pkgs/development/python-modules/hatchling/default.nix @@ -20,12 +20,12 @@ buildPythonPackage (finalAttrs: { pname = "hatchling"; - version = "1.31.0"; + version = "1.32.0"; pyproject = true; src = fetchPypi { inherit (finalAttrs) pname version; - hash = "sha256-a0itQGikgu1yObOoIVvFW0eq0zRdWN/JTlU8XS1GIRs="; + hash = "sha256-C9veSlKwbDfj7KOV+Fp2K/DvBv43T9iuQp3GvhAjD18="; }; # listed in backend/pyproject.toml From 436f37320c143a9c7788d79f080ffd5bc62d7c2b Mon Sep 17 00:00:00 2001 From: Ben Siraphob Date: Fri, 23 Oct 2026 10:28:56 -0400 Subject: [PATCH 2130/2378] umple-lsp: fix cross compilation Assisted-by: Pi (gpt-6.1-sol) --- pkgs/by-name/um/umple-lsp/package.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/by-name/um/umple-lsp/package.nix b/pkgs/by-name/um/umple-lsp/package.nix index 04cfa0351ebf..6fe5c84fa468 100644 --- a/pkgs/by-name/um/umple-lsp/package.nix +++ b/pkgs/by-name/um/umple-lsp/package.nix @@ -5,7 +5,7 @@ versionCheckHook, jre_headless, nodejs, - tree-sitter, + buildPackages, umple, withUmple ? true, }: @@ -34,7 +34,7 @@ buildNpmPackage (finalAttrs: { nativeBuildInputs = [ nodejs - (tree-sitter.override { wasmSupport = true; }) + (buildPackages.tree-sitter.override { wasmSupport = true; }) ]; dontNpmBuild = true; From 1eed044fcddf202600b313e3b63b035d076634c4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Robert=20Sch=C3=BCtz?= Date: Sat, 24 Oct 2026 15:20:27 -0700 Subject: [PATCH 2131/2378] python3Packages.brotlicffi: 1.2.0.1 -> 1.2.1.0 Diff: https://github.com/python-hyper/brotlicffi/compare/v1.2.0.1...v1.2.1.0 Changelog: https://github.com/python-hyper/brotlicffi/blob/v1.2.1.0/HISTORY.rst --- pkgs/development/python-modules/brotlicffi/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/brotlicffi/default.nix b/pkgs/development/python-modules/brotlicffi/default.nix index 03cf43842f9b..dac352486917 100644 --- a/pkgs/development/python-modules/brotlicffi/default.nix +++ b/pkgs/development/python-modules/brotlicffi/default.nix @@ -14,14 +14,14 @@ buildPythonPackage rec { pname = "brotlicffi"; - version = "1.2.0.1"; + version = "1.2.1.0"; pyproject = true; src = fetchFromGitHub { owner = "python-hyper"; repo = "brotlicffi"; tag = "v${version}"; - hash = "sha256-NRPjTtAlsDohdn5PQ6TOYCrm2xlU9mpfMIplNv4zVMk="; + hash = "sha256-N2zxPLsCaXcLpthGvbaKerWayo3ZGMOQ0Is5cpgXGKA="; }; build-system = [ setuptools ]; From 0ee4d0bbd4b1a6bed1665b58238ff0d3f818b9f0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Robert=20Sch=C3=BCtz?= Date: Sat, 24 Oct 2026 16:32:37 -0700 Subject: [PATCH 2132/2378] python3Packages.pytz: 2026.3.post1 -> 2026.5 Changelog: https://launchpad.net/pytz/+announcements --- pkgs/development/python-modules/pytz/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/pytz/default.nix b/pkgs/development/python-modules/pytz/default.nix index e964418374f9..8be2558b5c48 100644 --- a/pkgs/development/python-modules/pytz/default.nix +++ b/pkgs/development/python-modules/pytz/default.nix @@ -9,13 +9,13 @@ buildPythonPackage (finalAttrs: { pname = "pytz"; - version = "2026.3.post1"; + version = "2026.5"; pyproject = true; src = fetchPypi { pname = "pytz"; inherit (finalAttrs) version; - hash = "sha256-IhHT/Pmnl9NAXKyWrH9h2A5qZE9yozCWBygv6KIBDF0="; + hash = "sha256-+iNyS5xIZUO5/1SjJ+51aayDreVLua/Q/BhnZiBAHIY="; }; postPatch = '' From ad15abd940bb45dd7e0dedb7a798720b2718833b Mon Sep 17 00:00:00 2001 From: Ben Siraphob Date: Fri, 23 Oct 2026 23:29:25 -0400 Subject: [PATCH 2133/2378] wasmtime: fix system libs Assisted-by: Pi (gpt-6.1-sol) --- pkgs/by-name/wa/wasmtime/package.nix | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/pkgs/by-name/wa/wasmtime/package.nix b/pkgs/by-name/wa/wasmtime/package.nix index abe3f4dd55d8..ffd8b28600ef 100644 --- a/pkgs/by-name/wa/wasmtime/package.nix +++ b/pkgs/by-name/wa/wasmtime/package.nix @@ -5,6 +5,8 @@ fetchFromGitHub, buildPackages, cmake, + pkg-config, + zstd, installShellFiles, versionCheckHook, _experimental-update-script-combinators, @@ -69,9 +71,12 @@ rustPlatform.buildRustPackage (finalAttrs: { nativeBuildInputs = [ cmake + pkg-config installShellFiles ]; + buildInputs = [ zstd ]; + doCheck = with stdenv.buildPlatform; # SIMD tests are only executed on platforms that support all From 97f93996c620c94ef313b06335b0ce911094dc9b Mon Sep 17 00:00:00 2001 From: "R. Ryantm" Date: Sun, 25 Oct 2026 12:37:38 +0000 Subject: [PATCH 2134/2378] libslirp: 4.9.5 -> 4.9.6 --- pkgs/by-name/li/libslirp/package.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/by-name/li/libslirp/package.nix b/pkgs/by-name/li/libslirp/package.nix index d531927e1799..44b36d55b495 100644 --- a/pkgs/by-name/li/libslirp/package.nix +++ b/pkgs/by-name/li/libslirp/package.nix @@ -10,14 +10,14 @@ stdenv.mkDerivation (finalAttrs: { pname = "libslirp"; - version = "4.9.5"; + version = "4.9.6"; src = fetchFromGitLab { domain = "gitlab.freedesktop.org"; owner = "slirp"; repo = "libslirp"; tag = "v${finalAttrs.version}"; - hash = "sha256-iWu3/Klsm8e9MH147BJhn9Vqyneq5ROqPvll1cnieL0="; + hash = "sha256-nfR5eQrcpbkmn2tx/8l649NVPOsIFSFSBkW/vw0meCM="; }; separateDebugInfo = true; From 016d1c11221c4b9cc81fafc8ce2cb25349f4a03f Mon Sep 17 00:00:00 2001 From: "R. Ryantm" Date: Sun, 25 Oct 2026 13:55:49 +0000 Subject: [PATCH 2135/2378] openexr: 3.5.1 -> 3.5.2 --- pkgs/by-name/op/openexr/package.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/by-name/op/openexr/package.nix b/pkgs/by-name/op/openexr/package.nix index 0c96a7eaae03..a78f6e95c33b 100644 --- a/pkgs/by-name/op/openexr/package.nix +++ b/pkgs/by-name/op/openexr/package.nix @@ -14,13 +14,13 @@ stdenv.mkDerivation (finalAttrs: { pname = "openexr"; - version = "3.5.1"; + version = "3.5.2"; src = fetchFromGitHub { owner = "AcademySoftwareFoundation"; repo = "openexr"; tag = "v${finalAttrs.version}"; - hash = "sha256-a+OWifnXplV9SLicOnVOpaSD8+lwBx6j1/I40O26p/s="; + hash = "sha256-6COvxY+LU4YxubpqjNTnYXMfDmMWXslQUYvd68+GgMQ="; }; outputs = [ From 45e574d8f183196619e88a0ab89e9aed4e0f4b19 Mon Sep 17 00:00:00 2001 From: Aliaksandr Date: Sun, 25 Oct 2026 17:02:24 +0200 Subject: [PATCH 2136/2378] make-initrd-ng: handle dlopen SONAME alternatives Assisted-by: codex with gpt-5.6-sol-high --- .../kernel/make-initrd-ng/src/main.rs | 57 ++++++++++++------- 1 file changed, 36 insertions(+), 21 deletions(-) diff --git a/pkgs/build-support/kernel/make-initrd-ng/src/main.rs b/pkgs/build-support/kernel/make-initrd-ng/src/main.rs index b04e546d388a..00567a96dcc1 100644 --- a/pkgs/build-support/kernel/make-initrd-ng/src/main.rs +++ b/pkgs/build-support/kernel/make-initrd-ng/src/main.rs @@ -80,6 +80,23 @@ impl NonRepeatingQueue { } } +fn find_library( + sonames: &[String], + rpaths: &[Box], + is_available: impl Fn(&Path) -> bool, +) -> Option { + for soname in sonames { + for rpath in rpaths { + let library = rpath.join(soname); + if is_available(&library) { + return Some(library); + } + } + } + + None +} + fn add_dependencies + AsRef + std::fmt::Debug>( source: P, elf: Elf, @@ -109,7 +126,7 @@ fn add_dependencies + AsRef + std::fmt::Debug>( .position(|x| *x == 0) .unwrap_or(note.desc.len())]; let parsed = serde_json::from_slice::>(payload)?; - for mut parsed_note in parsed { + for parsed_note in parsed { if dlopen.use_priority >= parsed_note.priority.unwrap_or(DLOpenPriority::Recommended) || parsed_note @@ -117,7 +134,9 @@ fn add_dependencies + AsRef + std::fmt::Debug>( .map(|f| dlopen.features.contains(&f)) .unwrap_or(false) { - dlopen_libraries.append(&mut parsed_note.soname); + // SONAMEs in one note are ordered alternatives, not + // independent dependencies. + dlopen_libraries.push(parsed_note.soname); } } } @@ -137,39 +156,35 @@ fn add_dependencies + AsRef + std::fmt::Debug>( .map(|p| Box::::from(Path::new(p))) .collect::>(); - for line in elf + for sonames in elf .libraries .into_iter() - .map(|s| s.to_string()) + .map(|s| vec![s.to_string()]) .chain(dlopen_libraries) { - let mut found = false; - for path in &rpaths_as_path { - let lib = path.join(&line); - if lib.exists() { - // No need to recurse. The queue will bring it back round. - queue.push_back(StorePath { - path: Box::from(lib.as_path()), - dlopen: dlopen.clone(), - }); - found = true; - break; - } - } - if !found { + if let Some(library) = find_library(&sonames, &rpaths_as_path, Path::exists) { + // No need to recurse. The queue will bring it back round. + queue.push_back(StorePath { + path: library.into_boxed_path(), + dlopen: dlopen.clone(), + }); + } else { // In Nix, glibc's own libraries lack rpath entries pointing to // themselves, so the dynamic linker (ld-linux-*.so.*) and libc.so.* // can never be resolved through rpath alone. They are always present // in the initrd: the linker via elf.interpreter above, and libc via // at least one binary's rpath. Suppress these known-benign cases. // See also: the ld*.so.? skip in stage-1.nix findLibs. - let is_glibc_runtime = (line.starts_with("ld-") && line.contains(".so")) - || line.starts_with("libc.so"); + let is_glibc_runtime = sonames.len() == 1 && { + let soname = &sonames[0]; + (soname.starts_with("ld-") && soname.contains(".so")) + || soname.starts_with("libc.so") + }; if !is_glibc_runtime { eprintln!( "Warning: Couldn't satisfy dependency {} for {:?}", - line, + sonames.join(" or "), OsStr::new(&source) ); } From 880665b558a7aeddfb8fa38fe18f04e53fa6eb52 Mon Sep 17 00:00:00 2001 From: Ben Siraphob Date: Sun, 25 Oct 2026 11:05:13 -0400 Subject: [PATCH 2137/2378] mcfly: fix system libs Assisted-by: Pi (gpt-6.1-sol) --- pkgs/by-name/mc/mcfly/package.nix | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/pkgs/by-name/mc/mcfly/package.nix b/pkgs/by-name/mc/mcfly/package.nix index 86be40333611..3a800afd474e 100644 --- a/pkgs/by-name/mc/mcfly/package.nix +++ b/pkgs/by-name/mc/mcfly/package.nix @@ -2,6 +2,8 @@ lib, rustPlatform, fetchFromGitHub, + pkg-config, + sqlite, }: rustPlatform.buildRustPackage (finalAttrs: { @@ -23,6 +25,9 @@ rustPlatform.buildRustPackage (finalAttrs: { cargoHash = "sha256-9oNfXNQywvgTREa0G1UbId4ezLSCem4IBkqE5X234hE="; + nativeBuildInputs = [ pkg-config ]; + buildInputs = [ sqlite ]; + meta = { homepage = "https://github.com/cantino/mcfly"; description = "Upgraded ctrl-r where history results make sense for what you're working on right now"; From 4c8c971fd4c551cd5b749a4eb03c7ad996cf47f5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Robert=20Sch=C3=BCtz?= Date: Sun, 25 Oct 2026 09:47:12 -0700 Subject: [PATCH 2138/2378] python3Packages.typing-inspection: 0.4.3 -> 0.4.4 Diff: https://github.com/pydantic/typing-inspection/compare/v0.4.3...v0.4.4 Changelog: https://github.com/pydantic/typing-inspection/blob/v0.4.4/HISTORY.md --- pkgs/development/python-modules/typing-inspection/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/typing-inspection/default.nix b/pkgs/development/python-modules/typing-inspection/default.nix index f763f5f68778..7a0433c2054c 100644 --- a/pkgs/development/python-modules/typing-inspection/default.nix +++ b/pkgs/development/python-modules/typing-inspection/default.nix @@ -9,14 +9,14 @@ buildPythonPackage (finalAttrs: { pname = "typing-inspection"; - version = "0.4.3"; + version = "0.4.4"; pyproject = true; src = fetchFromGitHub { owner = "pydantic"; repo = "typing-inspection"; tag = "v${finalAttrs.version}"; - hash = "sha256-jNAMYV9mpUnClLOahQyLisBkOfELcmjKavKJgyxkQr4="; + hash = "sha256-VqRn+m+7McD9gNy1SaDG5DqUFqBdId2vLcAPB41mMu8="; }; build-system = [ hatchling ]; From 9ed93405acb79e8be1f23e8a00660153af01151f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Robert=20Sch=C3=BCtz?= Date: Sun, 25 Oct 2026 09:55:56 -0700 Subject: [PATCH 2139/2378] python3Packages.tomlkit: 0.15.1 -> 0.15.2 Changelog: https://github.com/python-poetry/tomlkit/blob/0.15.2/CHANGELOG.md --- pkgs/development/python-modules/tomlkit/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/tomlkit/default.nix b/pkgs/development/python-modules/tomlkit/default.nix index c2df343ec360..69833309102f 100644 --- a/pkgs/development/python-modules/tomlkit/default.nix +++ b/pkgs/development/python-modules/tomlkit/default.nix @@ -17,13 +17,13 @@ buildPythonPackage (finalAttrs: { pname = "tomlkit"; - version = "0.15.1"; + version = "0.15.2"; pyproject = true; # github fetcher causes infinite recursion via gtk-doc src = fetchPypi { inherit (finalAttrs) pname version; - hash = "sha256-4lu/OIQwBSRiEKEpgndvJ/mcub5nFg4UQ00MDSHuHpc="; + hash = "sha256-g+MnVbodINk0C9Bp7pfp9iMrojRrY//LpCXeAffjJ6Y="; }; build-system = [ poetry-core ]; From 25de9d7148af2361d6e57e0f536bdcee3e0c200c Mon Sep 17 00:00:00 2001 From: Ben Siraphob Date: Sun, 25 Oct 2026 11:05:07 -0400 Subject: [PATCH 2140/2378] python3Packages.pydantic-monty: fix system libs Assisted-by: Pi (gpt-6.1-sol) --- pkgs/development/python-modules/pydantic-monty/default.nix | 5 +++++ pkgs/top-level/python-packages.nix | 4 +++- 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/pkgs/development/python-modules/pydantic-monty/default.nix b/pkgs/development/python-modules/pydantic-monty/default.nix index 8ac44051cf43..48d23051d3fa 100644 --- a/pkgs/development/python-modules/pydantic-monty/default.nix +++ b/pkgs/development/python-modules/pydantic-monty/default.nix @@ -2,6 +2,8 @@ lib, buildPythonPackage, fetchFromGitHub, + zstd, + pkg-config, pytestCheckHook, rustPlatform, @@ -33,10 +35,13 @@ buildPythonPackage (finalAttrs: { dependencies = [ typing-extensions ]; nativeBuildInputs = [ + pkg-config rustPlatform.cargoSetupHook rustPlatform.maturinBuildHook ]; + buildInputs = [ zstd ]; + maturinBuildFlags = [ "-m" "crates/monty-python/Cargo.toml" diff --git a/pkgs/top-level/python-packages.nix b/pkgs/top-level/python-packages.nix index 378a677b40eb..1b009d94bb8c 100644 --- a/pkgs/top-level/python-packages.nix +++ b/pkgs/top-level/python-packages.nix @@ -14873,7 +14873,9 @@ self: super: with self; { pydantic-graph = callPackage ../development/python-modules/pydantic-graph { }; - pydantic-monty = callPackage ../development/python-modules/pydantic-monty { }; + pydantic-monty = callPackage ../development/python-modules/pydantic-monty { + inherit (pkgs) zstd; + }; pydantic-scim = callPackage ../development/python-modules/pydantic-scim { }; From 5dc88bc743002408b7aaa2c9f64518181a6f88f2 Mon Sep 17 00:00:00 2001 From: Ben Siraphob Date: Sun, 25 Oct 2026 11:05:10 -0400 Subject: [PATCH 2141/2378] python3Packages.cramjam: fix system libs Assisted-by: Pi (gpt-6.1-sol) --- pkgs/development/python-modules/cramjam/default.nix | 5 +++++ pkgs/top-level/python-packages.nix | 4 +++- 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/pkgs/development/python-modules/cramjam/default.nix b/pkgs/development/python-modules/cramjam/default.nix index ee023f979a2a..67230b6a4821 100644 --- a/pkgs/development/python-modules/cramjam/default.nix +++ b/pkgs/development/python-modules/cramjam/default.nix @@ -4,6 +4,8 @@ fetchFromGitHub, pyprojectVersionPatchHook, rustPlatform, + pkg-config, + zstd, # tests hypothesis, @@ -33,8 +35,11 @@ buildPythonPackage (finalAttrs: { rustPlatform.cargoSetupHook rustPlatform.maturinBuildHook pyprojectVersionPatchHook + pkg-config ]; + buildInputs = [ zstd ]; + nativeCheckInputs = [ hypothesis numpy diff --git a/pkgs/top-level/python-packages.nix b/pkgs/top-level/python-packages.nix index 378a677b40eb..290b2678130d 100644 --- a/pkgs/top-level/python-packages.nix +++ b/pkgs/top-level/python-packages.nix @@ -3779,7 +3779,9 @@ self: super: with self; { cram = callPackage ../development/python-modules/cram { }; - cramjam = callPackage ../development/python-modules/cramjam { }; + cramjam = callPackage ../development/python-modules/cramjam { + inherit (pkgs) zstd; + }; crashtest = callPackage ../development/python-modules/crashtest { }; From 7637e086a071f5a9bce7ed36e4c8244d00a82685 Mon Sep 17 00:00:00 2001 From: Ben Siraphob Date: Sun, 25 Oct 2026 11:05:16 -0400 Subject: [PATCH 2142/2378] python3Packages.pyiceberg-core: fix system libs Assisted-by: Pi (gpt-6.1-sol) --- pkgs/development/python-modules/pyiceberg-core/default.nix | 5 +++++ pkgs/top-level/python-packages.nix | 4 +++- 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/pkgs/development/python-modules/pyiceberg-core/default.nix b/pkgs/development/python-modules/pyiceberg-core/default.nix index e73f3345e1c8..40b1d2199a4d 100644 --- a/pkgs/development/python-modules/pyiceberg-core/default.nix +++ b/pkgs/development/python-modules/pyiceberg-core/default.nix @@ -3,6 +3,8 @@ buildPythonPackage, fetchFromGitHub, rustPlatform, + pkg-config, + zstd, # tests datafusion, @@ -47,8 +49,11 @@ buildPythonPackage (finalAttrs: { nativeBuildInputs = [ rustPlatform.cargoSetupHook rustPlatform.maturinBuildHook + pkg-config ]; + buildInputs = [ zstd ]; + pythonImportsCheck = [ "pyiceberg_core" ]; nativeCheckInputs = [ diff --git a/pkgs/top-level/python-packages.nix b/pkgs/top-level/python-packages.nix index 378a677b40eb..24f75e8e39a6 100644 --- a/pkgs/top-level/python-packages.nix +++ b/pkgs/top-level/python-packages.nix @@ -15299,7 +15299,9 @@ self: super: with self; { pyiceberg = callPackage ../development/python-modules/pyiceberg { }; - pyiceberg-core = callPackage ../development/python-modules/pyiceberg-core { }; + pyiceberg-core = callPackage ../development/python-modules/pyiceberg-core { + inherit (pkgs) zstd; + }; pyicloud = callPackage ../development/python-modules/pyicloud { }; From 2dc69778512cc4b5510b9ef975e27134d4bcc39e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Robert=20Sch=C3=BCtz?= Date: Sun, 25 Oct 2026 10:16:40 -0700 Subject: [PATCH 2143/2378] python3Packages.pytest-mock: 3.15.1 -> 3.17.0 Diff: https://github.com/pytest-dev/pytest-mock/compare/v3.15.1...v3.17.0 Changelog: https://github.com/pytest-dev/pytest-mock/blob/v3.17.0/CHANGELOG.rst --- .../python-modules/pytest-mock/default.nix | 13 ++----------- 1 file changed, 2 insertions(+), 11 deletions(-) diff --git a/pkgs/development/python-modules/pytest-mock/default.nix b/pkgs/development/python-modules/pytest-mock/default.nix index f6a89f265a05..00e5835f8b6a 100644 --- a/pkgs/development/python-modules/pytest-mock/default.nix +++ b/pkgs/development/python-modules/pytest-mock/default.nix @@ -2,7 +2,6 @@ lib, buildPythonPackage, fetchFromGitHub, - fetchpatch, pytest, pytest-asyncio, pytestCheckHook, @@ -12,24 +11,16 @@ buildPythonPackage rec { pname = "pytest-mock"; - version = "3.15.1"; + version = "3.17.0"; pyproject = true; src = fetchFromGitHub { owner = "pytest-dev"; repo = "pytest-mock"; tag = "v${version}"; - hash = "sha256-9h5/cssWs4F0LKnFLjWDsEjB2AYczLvnSjiUdsaEcBQ="; + hash = "sha256-scJGIydFhvg9R6BPjlWkrpAaYvSuQMj7yQm3gwvRGCQ="; }; - patches = [ - (fetchpatch { - name = "pytest-9.1-compat.patch"; - url = "https://github.com/pytest-dev/pytest-mock/commit/1d42981a1577207db5919852f30ef08c97208496.patch"; - hash = "sha256-9/vQi/VvZRrIUSq1e90MvLB0idkc+tT4R6q1Ut4HKnY="; - }) - ]; - build-system = [ setuptools setuptools-scm From ba8f7294a3b2ca6aed4b873adf22a973c3981c44 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Robert=20Sch=C3=BCtz?= Date: Sun, 25 Oct 2026 10:18:47 -0700 Subject: [PATCH 2144/2378] python3Packages.pytest-mock: use finalAttrs --- pkgs/development/python-modules/pytest-mock/default.nix | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/pkgs/development/python-modules/pytest-mock/default.nix b/pkgs/development/python-modules/pytest-mock/default.nix index 00e5835f8b6a..afc305b69e14 100644 --- a/pkgs/development/python-modules/pytest-mock/default.nix +++ b/pkgs/development/python-modules/pytest-mock/default.nix @@ -9,7 +9,7 @@ setuptools-scm, }: -buildPythonPackage rec { +buildPythonPackage (finalAttrs: { pname = "pytest-mock"; version = "3.17.0"; pyproject = true; @@ -17,7 +17,7 @@ buildPythonPackage rec { src = fetchFromGitHub { owner = "pytest-dev"; repo = "pytest-mock"; - tag = "v${version}"; + tag = "v${finalAttrs.version}"; hash = "sha256-scJGIydFhvg9R6BPjlWkrpAaYvSuQMj7yQm3gwvRGCQ="; }; @@ -38,8 +38,8 @@ buildPythonPackage rec { meta = { description = "Thin wrapper around the mock package for easier use with pytest"; homepage = "https://github.com/pytest-dev/pytest-mock"; - changelog = "https://github.com/pytest-dev/pytest-mock/blob/${src.tag}/CHANGELOG.rst"; + changelog = "https://github.com/pytest-dev/pytest-mock/blob/${finalAttrs.src.tag}/CHANGELOG.rst"; license = lib.licenses.mit; maintainers = with lib.maintainers; [ dotlambda ]; }; -} +}) From fe4909ad88eb8d8e21e25af5bfdd5d1748f2c4e9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Robert=20Sch=C3=BCtz?= Date: Sun, 25 Oct 2026 10:21:36 -0700 Subject: [PATCH 2145/2378] python3Packages.pluggy: 1.6.0 -> 1.7.0 Diff: https://github.com/pytest-dev/pluggy/compare/1.6.0...1.7.0 Changelog: https://github.com/pytest-dev/pluggy/blob/refs/tags/1.7.0/CHANGELOG.rst --- pkgs/development/python-modules/pluggy/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/pluggy/default.nix b/pkgs/development/python-modules/pluggy/default.nix index 0a7eaabb2100..039c396cfda9 100644 --- a/pkgs/development/python-modules/pluggy/default.nix +++ b/pkgs/development/python-modules/pluggy/default.nix @@ -8,7 +8,7 @@ buildPythonPackage rec { pname = "pluggy"; - version = "1.6.0"; + version = "1.7.0"; pyproject = true; @@ -16,7 +16,7 @@ buildPythonPackage rec { owner = "pytest-dev"; repo = "pluggy"; tag = version; - hash = "sha256-pkQjPJuSASWmzwzp9H/UTJBQDr2r2RiofxpF135lAgc="; + hash = "sha256-wQr2dFG8gh58v9CbmNhLX3Znuj+JeBAm3SHXJXMztXA="; }; build-system = [ setuptools-scm ]; From efefc92000c0a7371907be983931aff82497b401 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Robert=20Sch=C3=BCtz?= Date: Sun, 25 Oct 2026 10:22:54 -0700 Subject: [PATCH 2146/2378] python3Packages.pluggy: use finalAttrs --- pkgs/development/python-modules/pluggy/default.nix | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/pkgs/development/python-modules/pluggy/default.nix b/pkgs/development/python-modules/pluggy/default.nix index 039c396cfda9..276bbc86429d 100644 --- a/pkgs/development/python-modules/pluggy/default.nix +++ b/pkgs/development/python-modules/pluggy/default.nix @@ -6,7 +6,7 @@ callPackage, }: -buildPythonPackage rec { +buildPythonPackage (finalAttrs: { pname = "pluggy"; version = "1.7.0"; @@ -15,7 +15,7 @@ buildPythonPackage rec { src = fetchFromGitHub { owner = "pytest-dev"; repo = "pluggy"; - tag = version; + tag = finalAttrs.version; hash = "sha256-wQr2dFG8gh58v9CbmNhLX3Znuj+JeBAm3SHXJXMztXA="; }; @@ -28,10 +28,10 @@ buildPythonPackage rec { }; meta = { - changelog = "https://github.com/pytest-dev/pluggy/blob/${src.rev}/CHANGELOG.rst"; + changelog = "https://github.com/pytest-dev/pluggy/blob/${finalAttrs.src.tag}/CHANGELOG.rst"; description = "Plugin and hook calling mechanisms for Python"; homepage = "https://github.com/pytest-dev/pluggy"; license = lib.licenses.mit; maintainers = with lib.maintainers; [ dotlambda ]; }; -} +}) From a9715a3fdd046d11c4f8d4c3094361ae7f38db86 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Robert=20Sch=C3=BCtz?= Date: Sun, 25 Oct 2026 10:26:27 -0700 Subject: [PATCH 2147/2378] python3Packages.pkginfo: 1.12.1.2 -> 1.13.3 Changelog: https://pypi.org/project/pkginfo/#pkginfo-changelog --- pkgs/development/python-modules/pkginfo/default.nix | 13 ++----------- 1 file changed, 2 insertions(+), 11 deletions(-) diff --git a/pkgs/development/python-modules/pkginfo/default.nix b/pkgs/development/python-modules/pkginfo/default.nix index 5106a6865554..f10e6a258a55 100644 --- a/pkgs/development/python-modules/pkginfo/default.nix +++ b/pkgs/development/python-modules/pkginfo/default.nix @@ -8,27 +8,18 @@ buildPythonPackage rec { pname = "pkginfo"; - version = "1.12.1.2"; + version = "1.13.3"; pyproject = true; src = fetchPypi { inherit pname version; - hash = "sha256-XNlXgkrDbxQCYJZOujxr5kQqg1m4xI9K35AhDzOgS3s="; + hash = "sha256-rXTMgYSyi3ewbMzEk2H9D9xW/YfjB0Jc4cK3WW2+MYU="; }; build-system = [ setuptools ]; nativeCheckInputs = [ pytestCheckHook ]; - disabledTests = [ - # wheel metadata version mismatch 2.1 vs 2.2 - "test_get_metadata_w_module" - "test_get_metadata_w_package_name" - "test_installed_ctor_w_dist_info" - "test_installed_ctor_w_name" - "test_installed_ctor_w_package" - ]; - pythonImportsCheck = [ "pkginfo" ]; meta = { From 5a52902a1b52713c7d41d2bcf2d16b306210e38e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Robert=20Sch=C3=BCtz?= Date: Sun, 25 Oct 2026 10:28:42 -0700 Subject: [PATCH 2148/2378] python3Packages.pkginfo: use finalAttrs --- pkgs/development/python-modules/pkginfo/default.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pkgs/development/python-modules/pkginfo/default.nix b/pkgs/development/python-modules/pkginfo/default.nix index f10e6a258a55..3e949638c754 100644 --- a/pkgs/development/python-modules/pkginfo/default.nix +++ b/pkgs/development/python-modules/pkginfo/default.nix @@ -6,13 +6,13 @@ pytestCheckHook, }: -buildPythonPackage rec { +buildPythonPackage (finalAttrs: { pname = "pkginfo"; version = "1.13.3"; pyproject = true; src = fetchPypi { - inherit pname version; + inherit (finalAttrs) pname version; hash = "sha256-rXTMgYSyi3ewbMzEk2H9D9xW/YfjB0Jc4cK3WW2+MYU="; }; @@ -38,4 +38,4 @@ buildPythonPackage rec { license = lib.licenses.mit; maintainers = with lib.maintainers; [ dotlambda ]; }; -} +}) From 5486f5428d416f1d64ed5139b79c3a7739d03b5a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Robert=20Sch=C3=BCtz?= Date: Sun, 25 Oct 2026 10:31:27 -0700 Subject: [PATCH 2149/2378] python3Packages.multipart: 2.0.0 -> 2.0.1 Diff: https://github.com/defnull/multipart/compare/v2.0.0...v2.0.1 Changelog: https://github.com/defnull/multipart/blob/v2.0.1/CHANGELOG.rst --- pkgs/development/python-modules/multipart/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/multipart/default.nix b/pkgs/development/python-modules/multipart/default.nix index 439de00b98cc..691fbf5b4687 100644 --- a/pkgs/development/python-modules/multipart/default.nix +++ b/pkgs/development/python-modules/multipart/default.nix @@ -8,14 +8,14 @@ buildPythonPackage (finalAttrs: { pname = "multipart"; - version = "2.0.0"; + version = "2.0.1"; pyproject = true; src = fetchFromGitHub { owner = "defnull"; repo = "multipart"; tag = "v${finalAttrs.version}"; - hash = "sha256-1/G8qUnY7i5OvxkTSebC2pae9lzzfvnozJSVVylqB7w="; + hash = "sha256-Klo2HaIBo3xrCzQT2BxVpRCdaaKqCT1vtITMPABE6s0="; }; build-system = [ flit-core ]; From aa0cf492b8fbf63b2bfb5ad0fbe070c5a85ba1fb Mon Sep 17 00:00:00 2001 From: Michael Daniels Date: Sun, 25 Oct 2026 17:46:33 -0400 Subject: [PATCH 2150/2378] rustc: use llvmPackages_23 See item number 2 at the top of the file, and https://github.com/rust-lang/rust/blob/1.99.1/.gitmodules#L28. Fixes cargo-binstall 1.26.1, which failed to compile its `adler32furious` dependency because of the following error (caused by the LLVM version mismatch): ``` intrinsic signature mismatch for `llvm.x86.avx512.vpdpbusd.256`: expected signature `<8 x i32> (<8 x i32>, <8 x i32>, <8 x i32>)`, found `<8 x i32> (<8 x i32>, <32 x i8>, <32 x i8>)` ``` --- pkgs/development/compilers/rust/1_99.nix | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/pkgs/development/compilers/rust/1_99.nix b/pkgs/development/compilers/rust/1_99.nix index 175012dbdfe4..96c649e83907 100644 --- a/pkgs/development/compilers/rust/1_99.nix +++ b/pkgs/development/compilers/rust/1_99.nix @@ -25,7 +25,7 @@ pkgsTargetTarget, makeRustPlatform, wrapRustcWith, - llvmPackages, + llvmPackages_23, llvm, cargo-auditable, wrapCCWith, @@ -35,7 +35,7 @@ let llvmSharedFor = pkgSet: - pkgSet.llvmPackages.libllvm.override ( + pkgSet.llvmPackages_23.libllvm.override ( { enableSharedLibraries = true; } @@ -43,7 +43,7 @@ let # Force LLVM to compile using clang + LLVM libs when targeting pkgsLLVM stdenv = pkgSet.stdenv.override { allowedRequisites = null; - cc = pkgSet.pkgsBuildHost.llvmPackages.clangUseLLVM; + cc = pkgSet.pkgsBuildHost.llvmPackages_23.clangUseLLVM; }; } ); @@ -56,8 +56,9 @@ import ./default.nix llvmSharedForBuild = llvmSharedFor pkgsBuildBuild; llvmSharedForHost = llvmSharedFor pkgsBuildHost; llvmSharedForTarget = llvmSharedFor pkgsBuildTarget; + llvmPackages = llvmPackages_23; - inherit llvmPackages cargo-auditable; + inherit cargo-auditable; # For use at runtime llvmShared = llvmSharedFor pkgsHostTarget; @@ -93,7 +94,7 @@ import ./default.nix ( removeAttrs args [ - "llvmPackages" + "llvmPackages_23" "llvm" "wrapCCWith" "overrideCC" From fd239a58fd5b9ac52e323f79d385faa4c0500317 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Robert=20Sch=C3=BCtz?= Date: Sun, 25 Oct 2026 17:29:54 -0700 Subject: [PATCH 2151/2378] python3Packages.pytest-asyncio: 1.4.0 -> 1.4.1 Diff: https://github.com/pytest-dev/pytest-asyncio/compare/v1.4.0...v1.4.1 Changelog: https://github.com/pytest-dev/pytest-asyncio/blob/v1.4.1/docs/reference/changelog.rst --- pkgs/development/python-modules/pytest-asyncio/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/pytest-asyncio/default.nix b/pkgs/development/python-modules/pytest-asyncio/default.nix index 9a295b067093..d9b204882ea6 100644 --- a/pkgs/development/python-modules/pytest-asyncio/default.nix +++ b/pkgs/development/python-modules/pytest-asyncio/default.nix @@ -11,14 +11,14 @@ buildPythonPackage rec { pname = "pytest-asyncio"; - version = "1.4.0"; # N.B.: when updating, tests bleak and aioesphomeapi tests + version = "1.4.1"; # N.B.: when updating, tests bleak and aioesphomeapi tests pyproject = true; src = fetchFromGitHub { owner = "pytest-dev"; repo = "pytest-asyncio"; tag = "v${version}"; - hash = "sha256-MuTLCRHCuD9TwJkMiFIC5Xv5Xz6NL8j4JZpW8BA45SI="; + hash = "sha256-gXBxFf+DcSTufQxSCZmLWdBKOM5ZtL9OEehp05hS5hc="; }; outputs = [ From 7009389f570ce3da28ddecd224267e925517a81d Mon Sep 17 00:00:00 2001 From: Ihar Hrachyshka Date: Sun, 4 Oct 2026 15:53:25 -0400 Subject: [PATCH 2152/2378] openssl: fall back to the default profile CA bundle Prefer the system bundle on Linux and Darwin. Fall back to the default Nix profile only when it is absent, preserving explicit overrides and failures for unusable system bundles. This lets Git find the nix-darwin bundle when sudo clears NIX_SSL_CERT_FILE. Add Linux VM coverage for bundle selection and override precedence. This should render hacks like github.com/nix-darwin/nix-darwin/pull/1868 unnecessary. Assisted-by: Codex, GPT-6.1-Sol medium --- .../3.5/use-etc-ssl-certs-darwin.patch | 13 -- .../openssl/3.5/use-etc-ssl-certs.patch | 23 +++ .../development/libraries/openssl/default.nix | 30 ++-- .../openssl/tests/certificate-discovery.nix | 144 ++++++++++++++++++ 4 files changed, 182 insertions(+), 28 deletions(-) delete mode 100644 pkgs/development/libraries/openssl/3.5/use-etc-ssl-certs-darwin.patch create mode 100644 pkgs/development/libraries/openssl/tests/certificate-discovery.nix diff --git a/pkgs/development/libraries/openssl/3.5/use-etc-ssl-certs-darwin.patch b/pkgs/development/libraries/openssl/3.5/use-etc-ssl-certs-darwin.patch deleted file mode 100644 index bb2d048542cb..000000000000 --- a/pkgs/development/libraries/openssl/3.5/use-etc-ssl-certs-darwin.patch +++ /dev/null @@ -1,13 +0,0 @@ -diff --git a/include/internal/common.h b/include/internal/common.h -index 15666f1..d91e25b 100644 ---- a/include/internal/common.h -+++ b/include/internal/common.h -@@ -83,7 +83,7 @@ __owur static ossl_inline int ossl_assert_int(int expr, const char *exprstr, - #ifndef OPENSSL_SYS_VMS - #define X509_CERT_AREA OPENSSLDIR - #define X509_CERT_DIR OPENSSLDIR "/certs" --#define X509_CERT_FILE OPENSSLDIR "/cert.pem" -+#define X509_CERT_FILE "/nix/var/nix/profiles/default/etc/ssl/certs/ca-bundle.crt" - #define X509_PRIVATE_DIR OPENSSLDIR "/private" - #define CTLOG_FILE OPENSSLDIR "/ct_log_list.cnf" - #else diff --git a/pkgs/development/libraries/openssl/3.5/use-etc-ssl-certs.patch b/pkgs/development/libraries/openssl/3.5/use-etc-ssl-certs.patch index e0fb994161de..748fb0105ad4 100644 --- a/pkgs/development/libraries/openssl/3.5/use-etc-ssl-certs.patch +++ b/pkgs/development/libraries/openssl/3.5/use-etc-ssl-certs.patch @@ -11,3 +11,26 @@ index 15666f1..d91e25b 100644 #define X509_PRIVATE_DIR OPENSSLDIR "/private" #define CTLOG_FILE OPENSSLDIR "/ct_log_list.cnf" #else +diff --git a/crypto/x509/x509_def.c b/crypto/x509/x509_def.c +--- a/crypto/x509/x509_def.c ++++ b/crypto/x509/x509_def.c +@@ -9,4 +9,6 @@ + #include ++#include ++#include + #include "internal/e_os.h" + #include "internal/cryptlib.h" + #include "internal/thread_once.h" +@@ -95,6 +97,12 @@ const char *X509_get_default_cert_file(void) + RUN_ONCE(&openssldir_setup_init, do_openssldir_setup); + return x509_cert_fileptr; + #else ++ struct stat st; ++ ++ /* Preserve the system trust policy whenever its bundle exists. */ ++ if (stat(X509_CERT_FILE, &st) < 0 && errno == ENOENT) ++ return "/nix/var/nix/profiles/default/etc/ssl/certs/ca-bundle.crt"; ++ + return X509_CERT_FILE; + #endif + } diff --git a/pkgs/development/libraries/openssl/default.nix b/pkgs/development/libraries/openssl/default.nix index 6fa3912ed099..ac5ae609d848 100644 --- a/pkgs/development/libraries/openssl/default.nix +++ b/pkgs/development/libraries/openssl/default.nix @@ -377,7 +377,17 @@ let rm -rf $dev/lib/cmake ''; - passthru.tests.pkg-config = testers.testMetaPkgConfig finalAttrs.finalPackage; + passthru.tests = { + pkg-config = testers.testMetaPkgConfig finalAttrs.finalPackage; + } + // lib.optionalAttrs stdenv.hostPlatform.isLinux { + certificate-discovery = testers.runNixOSTest ( + import ./tests/certificate-discovery.nix { + inherit lib; + openssl = finalAttrs.finalPackage; + } + ); + }; strictDeps = true; __structuredAttrs = true; @@ -424,13 +434,8 @@ in # This patch disables build-time detection. ./3.5/openssl-disable-kernel-detection.patch - # Look up SSL certificates in /etc rather than the immutable installation directory - ( - if stdenv.hostPlatform.isDarwin then - ./3.5/use-etc-ssl-certs-darwin.patch - else - ./3.5/use-etc-ssl-certs.patch - ) + # Prefer the system CA bundle, then fall back to the default Nix profile. + ./3.5/use-etc-ssl-certs.patch ]; withDocs = true; @@ -449,13 +454,8 @@ in # This patch disables build-time detection. ./3.5/openssl-disable-kernel-detection.patch - # Look up SSL certificates in /etc rather than the immutable installation directory - ( - if stdenv.hostPlatform.isDarwin then - ./3.5/use-etc-ssl-certs-darwin.patch - else - ./3.5/use-etc-ssl-certs.patch - ) + # Prefer the system CA bundle, then fall back to the default Nix profile. + ./3.5/use-etc-ssl-certs.patch ]; withDocs = true; diff --git a/pkgs/development/libraries/openssl/tests/certificate-discovery.nix b/pkgs/development/libraries/openssl/tests/certificate-discovery.nix new file mode 100644 index 000000000000..32d75d4e1a7a --- /dev/null +++ b/pkgs/development/libraries/openssl/tests/certificate-discovery.nix @@ -0,0 +1,144 @@ +{ lib, openssl }: + +{ + name = "openssl-${openssl.version}-certificate-discovery"; + + nodes.machine = { + security.pki.installCACerts = false; + users.users.verifier.isNormalUser = true; + }; + + testScript = '' + import shlex + from enum import Enum + + class State(Enum): + UNSET = "unset" + MISSING = "missing" + VALID = "valid" + INVALID = "invalid" + UNREADABLE = "unreadable" + DANGLING = "dangling" + EMPTY = "empty" + + start_all() + + system_bundle = "/etc/ssl/certs/ca-certificates.crt" + profile_bundle = "/nix/var/nix/profiles/default/etc/ssl/certs/ca-bundle.crt" + authorities = ["system", "profile", "ssl", "nix"] + + machine.succeed("mkdir -p /tmp/certificates /etc/ssl/certs /nix/var/nix/profiles/default/etc/ssl/certs") + for authority in authorities: + machine.succeed( + "${lib.getExe openssl} req -x509 -newkey rsa:2048 -noenc -days 1 " + f"-subj /CN={authority} -keyout /tmp/certificates/{authority}.key " + f"-out /tmp/certificates/{authority}.pem" + ) + + machine.succeed("printf 'invalid certificate bundle' > /tmp/certificates/invalid.pem") + machine.succeed("install -m 000 /tmp/certificates/nix.pem /tmp/certificates/unreadable.pem") + + def set_bundle(path: str, state: State, authority: str): + machine.succeed(f"rm -f {path}") + match state: + case State.MISSING: + return + case State.DANGLING: + machine.succeed(f"ln -s /tmp/certificates/missing.pem {path}") + return + case State.VALID: + source, mode = authority, "644" + case State.INVALID: + source, mode = "invalid", "644" + case State.UNREADABLE: + source, mode = authority, "000" + case _: + raise ValueError(f"Unsupported bundle state: {state}") + + machine.succeed(f"install -m {mode} /tmp/certificates/{source}.pem {path}") + + def check_trust(expected, overrides=None, explicit_bundle=None): + environment = "env -u NIX_SSL_CERT_FILE -u SSL_CERT_FILE" + for name, path in (overrides or {}).items(): + environment += " " + shlex.quote(f"{name}={path}") + + # Run without root privileges so unreadable bundles really are unreadable. + command = ( + "runuser -u verifier -- " + environment + + " ${lib.getExe openssl} verify -no-CApath -no-CAstore" + ) + if explicit_bundle is not None: + command += " -CAfile " + shlex.quote(explicit_bundle) + + for authority in authorities: + verify = command + f" /tmp/certificates/{authority}.pem" + if authority == expected: + machine.succeed(verify) + else: + machine.fail(verify) + + states = [State.MISSING, State.VALID, State.INVALID, State.UNREADABLE, State.DANGLING] + for system_state in states: + for profile_state in states: + with subtest(f"system={system_state.value}, profile={profile_state.value}"): + set_bundle(system_bundle, system_state, "system") + set_bundle(profile_bundle, profile_state, "profile") + match system_state, profile_state: + case State.VALID, _: + expected = "system" + case State.MISSING | State.DANGLING, State.VALID: + expected = "profile" + case _: + expected = None + check_trust(expected) + + set_bundle(system_bundle, State.VALID, "system") + set_bundle(profile_bundle, State.VALID, "profile") + + def override_path(state: State, authority: str): + match state: + case State.VALID: + return f"/tmp/certificates/{authority}.pem" + case State.EMPTY: + return "" + case State.INVALID | State.MISSING | State.UNREADABLE: + return f"/tmp/certificates/{state.value}.pem" + case _: + raise ValueError(f"Unsupported override state: {state}") + + # Explicit environment overrides must not fall back, even when unusable. + override_states = [State.UNSET, State.VALID, State.INVALID, State.MISSING, State.UNREADABLE, State.EMPTY] + for nix_state in override_states: + for ssl_state in override_states: + with subtest(f"NIX_SSL_CERT_FILE={nix_state.value}, SSL_CERT_FILE={ssl_state.value}"): + overrides = {} + if ssl_state is not State.UNSET: + overrides["SSL_CERT_FILE"] = override_path(ssl_state, "ssl") + if nix_state is not State.UNSET: + overrides["NIX_SSL_CERT_FILE"] = override_path(nix_state, "nix") + + match nix_state, ssl_state: + case State.VALID, _: + expected = "nix" + case State.UNSET, State.VALID: + expected = "ssl" + case State.UNSET, State.UNSET: + expected = "system" + case _: + expected = None + check_trust(expected, overrides) + + for state in [State.VALID, State.INVALID, State.MISSING, State.UNREADABLE, State.EMPTY]: + with subtest(f"explicit CAfile={state.value} takes precedence over environment overrides"): + match state: + case State.VALID: + expected = "profile" + case _: + expected = None + check_trust( + expected, + {"NIX_SSL_CERT_FILE": "/tmp/certificates/nix.pem", "SSL_CERT_FILE": "/tmp/certificates/ssl.pem"}, + override_path(state, "profile"), + ) + ''; +} From cc982e7215ac78603ef88ed2fa0efff6c06169f4 Mon Sep 17 00:00:00 2001 From: Ihar Hrachyshka Date: Wed, 21 Oct 2026 20:38:34 -0400 Subject: [PATCH 2153/2378] doc/rl-2611: document openssl CA bundle discovery changes --- doc/release-notes/rl-2611.section.md | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/doc/release-notes/rl-2611.section.md b/doc/release-notes/rl-2611.section.md index 8c72cdab155e..9e4e22b0598a 100644 --- a/doc/release-notes/rl-2611.section.md +++ b/doc/release-notes/rl-2611.section.md @@ -52,6 +52,11 @@ - `moon` has been updated to `2.x` and needs manual migration. See the [migration guide](https://moonrepo.dev/docs/migrate/2.0) for instructions. +- OpenSSL now prefers the system CA bundle at `/etc/ssl/certs/ca-certificates.crt` on both Linux and Darwin, falling back to `/nix/var/nix/profiles/default/etc/ssl/certs/ca-bundle.crt` only when the system bundle is absent. + Previously, Darwin used the default Nix profile bundle directly. + An existing but unreadable or invalid system bundle does not trigger the fallback. + Explicit `NIX_SSL_CERT_FILE` and `SSL_CERT_FILE` overrides still take precedence. + - `hyperfine` has been updated from 1.21.0 to 2.0.0, which contains several breaking changes: - Benchmarked commands are now executed directly instead of through an intermediate shell. Pass `-S`/`--shell=default` to restore the previous behavior. - The `--export-json` format has changed (schema version 2); tools consuming the exported JSON must be updated. From 7b68a3f2a31ce670db7bc8b5a48f3c09c5dcb258 Mon Sep 17 00:00:00 2001 From: Connor Baker Date: Wed, 21 Oct 2026 23:46:25 -0700 Subject: [PATCH 2154/2378] python3Packages.typer: fix test_file_error with many xdist workers test_file_error checks that the tmp_path file name appears in the error panel. From pytest-xdist worker gw10 onwards the path is one character longer, and rich wraps it at the default 80 columns in the middle of "cannot-open.txt", so the check fails whenever the build has 11 or more cores. Hydra builds with 2 workers, which is why it passes there. Upstream's scripts/test.sh sets TERMINAL_WIDTH=3000 before running pytest; do the same. Assisted-by: Claude Code (Claude Opus 5.5) --- pkgs/development/python-modules/typer/default.nix | 13 ++++++++++--- 1 file changed, 10 insertions(+), 3 deletions(-) diff --git a/pkgs/development/python-modules/typer/default.nix b/pkgs/development/python-modules/typer/default.nix index cc8c577597c0..ab4c0454a754 100644 --- a/pkgs/development/python-modules/typer/default.nix +++ b/pkgs/development/python-modules/typer/default.nix @@ -65,10 +65,17 @@ buildPythonPackage rec { procps ]; - preCheck = '' + preCheck = # Fix "No module named 'tests'" error in tests/test_types_file.py::test_binary_stderr - export PYTHONPATH="$PWD:$PYTHONPATH" - ''; + '' + export PYTHONPATH="$PWD:$PYTHONPATH" + '' + # Match upstream's scripts/test.sh. Otherwise rich wraps output at 80 columns, and + # test_file_error fails with 11 or more xdist workers (popen-gw10 and up), whose longer tmp_path + # gets split mid-name. + + '' + export TERMINAL_WIDTH=3000 + ''; pythonImportsCheck = [ "typer" ]; From bf1f33ba079a4bda547538c88169f6eb711cab3e Mon Sep 17 00:00:00 2001 From: Gaetan Lepage Date: Mon, 26 Oct 2026 08:27:30 +0000 Subject: [PATCH 2155/2378] python3Packages.typer: cleanup --- .../development/python-modules/typer/default.nix | 16 +++++++++------- 1 file changed, 9 insertions(+), 7 deletions(-) diff --git a/pkgs/development/python-modules/typer/default.nix b/pkgs/development/python-modules/typer/default.nix index ab4c0454a754..0a413f8a1024 100644 --- a/pkgs/development/python-modules/typer/default.nix +++ b/pkgs/development/python-modules/typer/default.nix @@ -19,7 +19,7 @@ procps, }: -buildPythonPackage rec { +buildPythonPackage (finalAttrs: { pname = "typer"; version = "0.27.2"; pyproject = true; @@ -27,7 +27,7 @@ buildPythonPackage rec { src = fetchFromGitHub { owner = "fastapi"; repo = "typer"; - tag = version; + tag = finalAttrs.version; hash = "sha256-vBHSJoyIQawkqqhbPJGKzPjBPm42OR/Ref/k6XFJTi8="; }; @@ -37,9 +37,11 @@ buildPythonPackage rec { sed -z -i 's/"-m",\n\?\s*"coverage",\n\?\s*"run",//g' "$f" sed -i 's/-m coverage run//g' "$f" done - # These are already included in the PYTHONPATH. - # Overriding PYTHONPATH breaks the tests when executed by Nix - # ("No module named 'typer'" error) because it's used to find `typer` too. + '' + # These are already included in the PYTHONPATH. + # Overriding PYTHONPATH breaks the tests when executed by Nix ("No module named 'typer'" error) + # because it's used to find `typer` too. + + '' substituteInPlace tests/test_tutorial/test_subcommands/test_tutorial001.py \ --replace-fail 'env["PYTHONPATH"] = ":".join(list(tutorial001_py310.__path__))' "" substituteInPlace tests/test_tutorial/test_subcommands/test_tutorial003.py \ @@ -82,8 +84,8 @@ buildPythonPackage rec { meta = { description = "Library for building CLI applications"; homepage = "https://typer.tiangolo.com/"; - changelog = "https://github.com/tiangolo/typer/releases/tag/${version}"; + changelog = "https://github.com/tiangolo/typer/releases/tag/${finalAttrs.src.tag}"; license = lib.licenses.mit; maintainers = with lib.maintainers; [ winpat ]; }; -} +}) From 2b2bf40de26b229db832339f0025c68ab4e1b7ad Mon Sep 17 00:00:00 2001 From: Vincent Laporte Date: Mon, 26 Oct 2026 10:19:23 +0100 Subject: [PATCH 2156/2378] =?UTF-8?q?ocaml:=205.5.1=20=E2=86=92=205.5.2?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pkgs/development/compilers/ocaml/5.5.nix | 4 ++-- pkgs/development/tools/ocaml/merlin/4.x.nix | 1 + 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/pkgs/development/compilers/ocaml/5.5.nix b/pkgs/development/compilers/ocaml/5.5.nix index 704a00a50cfa..6534b6810e3e 100644 --- a/pkgs/development/compilers/ocaml/5.5.nix +++ b/pkgs/development/compilers/ocaml/5.5.nix @@ -1,6 +1,6 @@ import ./generic.nix { major_version = "5"; minor_version = "5"; - patch_version = "1"; - sha256 = "sha256-zQqXvb/JnwD1P07khJGWTHNievsJ7Y5N4jC6RIij1rk="; + patch_version = "2"; + sha256 = "sha256-VQPhuq2LYl2jXx/nHUdVgBT6NiU65fGiLMOhj6sEHg0="; } diff --git a/pkgs/development/tools/ocaml/merlin/4.x.nix b/pkgs/development/tools/ocaml/merlin/4.x.nix index b8b250bcb330..947c7a99aa5f 100644 --- a/pkgs/development/tools/ocaml/merlin/4.x.nix +++ b/pkgs/development/tools/ocaml/merlin/4.x.nix @@ -36,6 +36,7 @@ "5.4.1" = "5.7.1-504"; "5.5.0" = "5.8-505"; "5.5.1" = "5.8-505"; + "5.5.2" = "5.8-505"; } ."${ocaml.version}", }: From 56aac92a1e1d4273273ac86e839d71a753222179 Mon Sep 17 00:00:00 2001 From: "R. Ryantm" Date: Mon, 26 Oct 2026 09:44:20 +0000 Subject: [PATCH 2157/2378] s2n-tls: 1.7.9 -> 1.7.12 --- pkgs/by-name/s2/s2n-tls/package.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/by-name/s2/s2n-tls/package.nix b/pkgs/by-name/s2/s2n-tls/package.nix index 4a7d5a0ffa9b..ae4cb7d41f0f 100644 --- a/pkgs/by-name/s2/s2n-tls/package.nix +++ b/pkgs/by-name/s2/s2n-tls/package.nix @@ -9,13 +9,13 @@ stdenv.mkDerivation (finalAttrs: { pname = "s2n-tls"; - version = "1.7.9"; + version = "1.7.12"; src = fetchFromGitHub { owner = "aws"; repo = "s2n-tls"; tag = "v${finalAttrs.version}"; - hash = "sha256-OGEqKjhl+gf8dq9ddIir+P4fUO+c9FGo/IsqDCCltqQ="; + hash = "sha256-2DbRhS4TQCK8ttFLVlIL9QYa1LHMJSoZWF9q7qVqGaY="; }; nativeBuildInputs = [ cmake ]; From 9cd7da7aeb32e847bfd06e8e717e2a361d0cddab Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Thu, 22 Oct 2026 00:17:00 +0200 Subject: [PATCH 2158/2378] game-music-emu: enable structuredAttrs --- pkgs/by-name/ga/game-music-emu/package.nix | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/pkgs/by-name/ga/game-music-emu/package.nix b/pkgs/by-name/ga/game-music-emu/package.nix index 6a69d9184cd6..8a4f9154bfad 100644 --- a/pkgs/by-name/ga/game-music-emu/package.nix +++ b/pkgs/by-name/ga/game-music-emu/package.nix @@ -27,12 +27,14 @@ stdenv.mkDerivation (finalAttrs: { # It used to reference it, in the past, but thanks to the postFixup hook, now # it doesn't. - disallowedReferences = [ stdenv.cc.cc ]; + outputChecks.out.disallowedReferences = [ stdenv.cc.cc ]; postFixup = lib.optionalString stdenv.hostPlatform.isLinux '' remove-references-to -t ${stdenv.cc.cc} "$(readlink -f $out/lib/libgme.so)" ''; + __structuredAttrs = true; + meta = { homepage = "https://github.com/libgme/game-music-emu/"; description = "Collection of video game music file emulators"; From 964fe9bf7456c904296339cd70915bcac100f02e Mon Sep 17 00:00:00 2001 From: Randy Eckenrode Date: Mon, 26 Oct 2026 08:06:58 -0400 Subject: [PATCH 2159/2378] Revert "python3Packages.anki-mac-helper: use Swift platform triple" This reverts commit 47a56e43a685dca07884ae8c512a605320775ff9. --- pkgs/development/python-modules/anki-mac-helper/default.nix | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/pkgs/development/python-modules/anki-mac-helper/default.nix b/pkgs/development/python-modules/anki-mac-helper/default.nix index 4287f9b82303..cfc16f2d3eac 100644 --- a/pkgs/development/python-modules/anki-mac-helper/default.nix +++ b/pkgs/development/python-modules/anki-mac-helper/default.nix @@ -10,9 +10,7 @@ buildPythonPackage (finalAttrs: { pname = "anki-mac-helper"; - version = "0.1.1"; - - inherit (anki) src; + inherit (anki) version src; pyproject = true; sourceRoot = "${finalAttrs.src.name}/qt/mac"; From 629ce2a144ba7ef67eea7f6c430cd4ad49d76c18 Mon Sep 17 00:00:00 2001 From: whispers Date: Sun, 25 Oct 2026 21:10:23 -0400 Subject: [PATCH 2160/2378] openssl_3_5: disable afalg engine the linux kernel starting at 7.3 restricts access to AF_ALG and probably will drop this interface in the future. 4.0 and above dropped it along with engine support in https://github.com/openssl/openssl/commit/2db3f8cf8b432f0c39b619dd92269a732256449e. this seems extremely unlikely to cause breakage, as this is a nichely used API which was already linux-only and we had disabled on aarch64-linux as well. Co-authored-by: Markus Theil --- pkgs/development/libraries/openssl/default.nix | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/pkgs/development/libraries/openssl/default.nix b/pkgs/development/libraries/openssl/default.nix index e2a921322408..d23cf48b322d 100644 --- a/pkgs/development/libraries/openssl/default.nix +++ b/pkgs/development/libraries/openssl/default.nix @@ -209,7 +209,11 @@ let # We select KTLS here instead of the configure-time detection (which we patch out). # KTLS should work on FreeBSD 13+ as well, so we could enable it if someone tests it. ++ lib.optional enableKTLS "enable-ktls" - ++ lib.optional stdenv.hostPlatform.isAarch64 "no-afalgeng" + # Linux kernel starting with 7.3 restricts the access to AF_ALG and + # probably will drop this interface in the future. 4.0 and above dropped + # it along with engine support in + # https://github.com/openssl/openssl/commit/2db3f8cf8b432f0c39b619dd92269a732256449e + ++ lib.optional (lib.versionOlder version "4.0") "no-afalgeng" # OpenSSL needs a specific `no-shared` configure flag. # See https://wiki.openssl.org/index.php/Compilation_and_Installation#Configure_Options # for a comprehensive list of configuration options. From c0d41caac2f1164efbc8a0b75297e5e93f47aadf Mon Sep 17 00:00:00 2001 From: "R. Ryantm" Date: Sun, 25 Oct 2026 00:57:45 +0000 Subject: [PATCH 2161/2378] gnupatch: 2.8 -> 2.8.1 Co-authored-by: Michael Daniels --- pkgs/by-name/gn/gnupatch/CVE-2026-56288.patch | 72 ------------------- pkgs/by-name/gn/gnupatch/CVE-2026-56289.patch | 33 --------- pkgs/by-name/gn/gnupatch/package.nix | 13 +--- 3 files changed, 2 insertions(+), 116 deletions(-) delete mode 100644 pkgs/by-name/gn/gnupatch/CVE-2026-56288.patch delete mode 100644 pkgs/by-name/gn/gnupatch/CVE-2026-56289.patch diff --git a/pkgs/by-name/gn/gnupatch/CVE-2026-56288.patch b/pkgs/by-name/gn/gnupatch/CVE-2026-56288.patch deleted file mode 100644 index 00495586e74d..000000000000 --- a/pkgs/by-name/gn/gnupatch/CVE-2026-56288.patch +++ /dev/null @@ -1,72 +0,0 @@ -From e6d6a4e021660679d7fc9150f981d4920f722313 Mon Sep 17 00:00:00 2001 -From: Paul Eggert -Date: Tue, 21 Apr 2026 10:05:02 -0700 -Subject: Avoid null pointer derefence with bad hunks -MIME-Version: 1.0 -Content-Type: text/plain; charset=UTF-8 -Content-Transfer-Encoding: 8bit - -Problem reported by Michał Majchrowicz. -* src/pch.c (another_hunk): Keep chars_read positive -even with malformed hunks. ---- - src/pch.c | 15 ++++++++++----- - 1 file changed, 10 insertions(+), 5 deletions(-) - -diff --git a/src/pch.c b/src/pch.c -index e1319db..b83253c 100644 ---- a/src/pch.c -+++ b/src/pch.c -@@ -1694,7 +1694,8 @@ another_hunk (enum diff difftype, bool rev) - p_end = filldst-1; - malformed (); - } -- chars_read -= fillsrc == p_ptrn_lines && incomplete_line (); -+ chars_read -= (1 < chars_read && fillsrc == p_ptrn_lines -+ && incomplete_line ()); - p_Char[fillsrc] = ch; - p_line[fillsrc] = s; - p_len[fillsrc++] = chars_read; -@@ -1711,7 +1712,8 @@ another_hunk (enum diff difftype, bool rev) - malformed (); - } - context++; -- chars_read -= fillsrc == p_ptrn_lines && incomplete_line (); -+ chars_read -= (1 < chars_read && fillsrc == p_ptrn_lines -+ && incomplete_line ()); - p_Char[fillsrc] = ch; - p_line[fillsrc] = s; - p_len[fillsrc++] = chars_read; -@@ -1725,7 +1727,8 @@ another_hunk (enum diff difftype, bool rev) - p_end = fillsrc-1; - malformed (); - } -- chars_read -= filldst == p_end && incomplete_line (); -+ chars_read -= (1 < chars_read && filldst == p_end -+ && incomplete_line ()); - p_Char[filldst] = ch; - p_line[filldst] = s; - p_len[filldst++] = chars_read; -@@ -1808,7 +1811,8 @@ another_hunk (enum diff difftype, bool rev) - fatal (("'<' followed by space or tab expected" - " at line %td of patch"), - p_input_line); -- chars_read -= 2 + (i == p_ptrn_lines && incomplete_line ()); -+ chars_read -= 2 + (3 < chars_read && i == p_ptrn_lines -+ && incomplete_line ()); - p_len[i] = chars_read; - p_line[i] = savebuf (patchbuf + 2, chars_read); - p_Char[i] = '-'; -@@ -1833,7 +1837,8 @@ another_hunk (enum diff difftype, bool rev) - fatal (("'>' followed by space or tab expected" - " at line %td of patch"), - p_input_line); -- chars_read -= 2 + (i == p_end && incomplete_line ()); -+ chars_read -= 2 + (3 < chars_read && i == p_end -+ && incomplete_line ()); - p_len[i] = chars_read; - p_line[i] = savebuf (patchbuf + 2, chars_read); - p_Char[i] = '+'; --- -cgit v1.3 - diff --git a/pkgs/by-name/gn/gnupatch/CVE-2026-56289.patch b/pkgs/by-name/gn/gnupatch/CVE-2026-56289.patch deleted file mode 100644 index 19a228726ff0..000000000000 --- a/pkgs/by-name/gn/gnupatch/CVE-2026-56289.patch +++ /dev/null @@ -1,33 +0,0 @@ -From faba04ef4f2b410257f76c1b9dc85e350929c4b9 Mon Sep 17 00:00:00 2001 -From: Paul Eggert -Date: Tue, 21 Apr 2026 13:16:10 -0700 -Subject: Don’t infloop on null ranges -MIME-Version: 1.0 -Content-Type: text/plain; charset=UTF-8 -Content-Transfer-Encoding: 8bit - -Problem reported by Michał Majchrowicz. -* src/patch.c (locate_hunk): Don’t attempt to optimize -matches of a null range. Instead, apply all the checks -we apply to non-null ranges. ---- - src/patch.c | 3 --- - 1 file changed, 3 deletions(-) - -diff --git a/src/patch.c b/src/patch.c -index 16aa5f5..0985af0 100644 ---- a/src/patch.c -+++ b/src/patch.c -@@ -1170,9 +1170,6 @@ locate_hunk (idx_t fuzz) - ptrdiff_t max_offset = MAX (max_pos_offset, max_neg_offset); - ptrdiff_t min_offset; - -- if (!pat_lines) /* null range matches always */ -- return first_guess; -- - /* Do not try lines <= 0. */ - if (first_guess <= max_neg_offset) - max_neg_offset = first_guess - 1; --- -cgit v1.3 - diff --git a/pkgs/by-name/gn/gnupatch/package.nix b/pkgs/by-name/gn/gnupatch/package.nix index 7350143d877e..b52a9cedee7e 100644 --- a/pkgs/by-name/gn/gnupatch/package.nix +++ b/pkgs/by-name/gn/gnupatch/package.nix @@ -13,22 +13,13 @@ stdenv.mkDerivation (finalAttrs: { pname = "patch"; - version = "2.8"; + version = "2.8.1"; src = fetchurl { url = "mirror://gnu/patch/patch-${finalAttrs.version}.tar.xz"; - hash = "sha256-+Hzuae7CtPy/YKOWsDCtaqNBXxkqpffuhMrV4R9/WuM="; + hash = "sha256-MkDHlZxTR8jtNH48QgHAM3v0JA1c8J1oiJ5Y7qujDhc="; }; - patches = [ - # Avoid a null pointer dereference with bad hunks. - # https://cgit.git.savannah.gnu.org/cgit/patch.git/commit/?id=e6d6a4e021660679d7fc9150f981d4920f722313 - ./CVE-2026-56288.patch - # Do not loop forever on null ranges. - # https://cgit.git.savannah.gnu.org/cgit/patch.git/commit/?id=faba04ef4f2b410257f76c1b9dc85e350929c4b9 - ./CVE-2026-56289.patch - ]; - # This test is filesystem-dependent - observed failing on ZFS. # It is also just plain flaky: it has been observed failing about 10% # of the time on btrfs and ext4 too. From b90c6b865aa84d4e9919e96f905188aa416ae587 Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Mon, 26 Oct 2026 14:39:10 +0100 Subject: [PATCH 2162/2378] grpc: enable strictDeps --- pkgs/by-name/gr/grpc/package.nix | 2 ++ 1 file changed, 2 insertions(+) diff --git a/pkgs/by-name/gr/grpc/package.nix b/pkgs/by-name/gr/grpc/package.nix index 44efb2a1ecf7..248b77f85c87 100644 --- a/pkgs/by-name/gr/grpc/package.nix +++ b/pkgs/by-name/gr/grpc/package.nix @@ -68,6 +68,8 @@ stdenv.mkDerivation (finalAttrs: { ] ++ lib.optionals stdenv.hostPlatform.isLinux [ libnsl ]; + strictDeps = true; + cmakeFlags = [ "-DgRPC_ZLIB_PROVIDER=package" "-DgRPC_CARES_PROVIDER=package" From 77ffea1f058c353e39a8e4e6ddd8f7e79baed826 Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Mon, 26 Oct 2026 14:39:17 +0100 Subject: [PATCH 2163/2378] grpc: enable structuredAttrs --- pkgs/by-name/gr/grpc/package.nix | 2 ++ 1 file changed, 2 insertions(+) diff --git a/pkgs/by-name/gr/grpc/package.nix b/pkgs/by-name/gr/grpc/package.nix index 248b77f85c87..43659bc3ef36 100644 --- a/pkgs/by-name/gr/grpc/package.nix +++ b/pkgs/by-name/gr/grpc/package.nix @@ -133,6 +133,8 @@ stdenv.mkDerivation (finalAttrs: { inherit arrow-cpp; }; + __structuredAttrs = true; + meta = { description = "C based gRPC (C++, Python, Ruby, Objective-C, PHP, C#)"; license = lib.licenses.asl20; From 096c92c2a24d70719aded395062fab0d77968cd5 Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sat, 17 Oct 2026 18:36:51 +0200 Subject: [PATCH 2164/2378] rustPlatform.importCargoLock: enable strictDeps / structuredAttrs in various runCommand This looks scarier than it is due to the required nixfmt reformatting. --- pkgs/build-support/rust/import-cargo-lock.nix | 125 ++++++++++-------- 1 file changed, 68 insertions(+), 57 deletions(-) diff --git a/pkgs/build-support/rust/import-cargo-lock.nix b/pkgs/build-support/rust/import-cargo-lock.nix index 0c140d3235a7..206732840ac4 100644 --- a/pkgs/build-support/rust/import-cargo-lock.nix +++ b/pkgs/build-support/rust/import-cargo-lock.nix @@ -187,13 +187,18 @@ let let crateTarball = fetchCrate pkg registries.${registryIndexUrl}; in - runCommand "${pkg.name}-${pkg.version}" { } '' - mkdir $out - tar xf "${crateTarball}" -C $out --strip-components=1 + runCommand "${pkg.name}-${pkg.version}" + { + strictDeps = true; + __structuredAttrs = true; + } + '' + mkdir $out + tar xf "${crateTarball}" -C $out --strip-components=1 - # Cargo is happy with largely empty metadata. - printf '{"files":{},"package":"${crateTarball.outputHash}"}' > "$out/.cargo-checksum.json" - '' + # Cargo is happy with largely empty metadata. + printf '{"files":{},"package":"${crateTarball.outputHash}"}' > "$out/.cargo-checksum.json" + '' else if gitParts != null then let missingHash = throw '' @@ -224,66 +229,71 @@ let else missingHash; in - runCommand "${pkg.name}-${pkg.version}" { } '' - tree=${tree} + runCommand "${pkg.name}-${pkg.version}" + { + strictDeps = true; + __structuredAttrs = true; + } + '' + tree=${tree} - # If the target package is in a workspace, or if it's the top-level - # crate, we should find the crate path using `cargo metadata`. - # Some packages do not have a Cargo.toml at the top-level, - # but only in nested directories. - # Only check the top-level Cargo.toml, if it actually exists - if [[ -f $tree/Cargo.toml ]]; then - crateCargoTOML=$(cd "$tree" && ${cargo}/bin/cargo metadata --format-version 1 --no-deps --manifest-path $tree/Cargo.toml | \ - ${jq}/bin/jq -r '.packages[] | select(.name == "${pkg.name}") | .manifest_path') - fi - - # If the repository is not a workspace the package might be in a subdirectory. - if [[ -z $crateCargoTOML ]]; then - for manifest in $(find $tree -name "Cargo.toml"); do - echo Looking at $manifest - crateCargoTOML=$(cd "$(dirname "$manifest")" && ${cargo}/bin/cargo metadata --format-version 1 --no-deps --manifest-path "$manifest" | ${jq}/bin/jq -r '.packages[] | select(.name == "${pkg.name}") | .manifest_path' || :) - if [[ ! -z $crateCargoTOML ]]; then - break - fi - done - - if [[ -z $crateCargoTOML ]]; then - >&2 echo "Cannot find path for crate '${pkg.name}-${pkg.version}' in the tree in: $tree" - exit 1 + # If the target package is in a workspace, or if it's the top-level + # crate, we should find the crate path using `cargo metadata`. + # Some packages do not have a Cargo.toml at the top-level, + # but only in nested directories. + # Only check the top-level Cargo.toml, if it actually exists + if [[ -f $tree/Cargo.toml ]]; then + crateCargoTOML=$(cd "$tree" && ${cargo}/bin/cargo metadata --format-version 1 --no-deps --manifest-path $tree/Cargo.toml | \ + ${jq}/bin/jq -r '.packages[] | select(.name == "${pkg.name}") | .manifest_path') fi - fi - echo Found crate ${pkg.name} at $crateCargoTOML - tree=$(dirname $crateCargoTOML) + # If the repository is not a workspace the package might be in a subdirectory. + if [[ -z $crateCargoTOML ]]; then + for manifest in $(find $tree -name "Cargo.toml"); do + echo Looking at $manifest + crateCargoTOML=$(cd "$(dirname "$manifest")" && ${cargo}/bin/cargo metadata --format-version 1 --no-deps --manifest-path "$manifest" | ${jq}/bin/jq -r '.packages[] | select(.name == "${pkg.name}") | .manifest_path' || :) + if [[ ! -z $crateCargoTOML ]]; then + break + fi + done - cp -prvL "$tree" "$out" || echo "Warning: certain files couldn't be copied!" >&2 - chmod u+w $out + if [[ -z $crateCargoTOML ]]; then + >&2 echo "Cannot find path for crate '${pkg.name}-${pkg.version}' in the tree in: $tree" + exit 1 + fi + fi - if grep -q workspace "$out/Cargo.toml"; then - chmod u+w "$out/Cargo.toml" - ${replaceWorkspaceValues} "$out/Cargo.toml" "$(cd "$tree" && ${cargo}/bin/cargo metadata --format-version 1 --no-deps --manifest-path $crateCargoTOML | ${jq}/bin/jq -r .workspace_root)/Cargo.toml" - fi + echo Found crate ${pkg.name} at $crateCargoTOML + tree=$(dirname $crateCargoTOML) - # Cargo is happy with empty metadata. - printf '{"files":{},"package":null}' > "$out/.cargo-checksum.json" + cp -prvL "$tree" "$out" || echo "Warning: certain files couldn't be copied!" >&2 + chmod u+w $out - ${optionalString (gitParts ? type) '' - gitPartsValue=${escapeShellArg gitParts.value} - # starting with lockfile version v4 the git source url contains encoded query parameters - # our regex parser does not know how to unescape them to get the actual value, so we do it here - ${optionalString (lockFileVersion >= 4) '' - gitPartsValue=$(${getExe python3Packages.python} -c "import sys, urllib.parse; print(urllib.parse.unquote(sys.argv[1]))" "$gitPartsValue") + if grep -q workspace "$out/Cargo.toml"; then + chmod u+w "$out/Cargo.toml" + ${replaceWorkspaceValues} "$out/Cargo.toml" "$(cd "$tree" && ${cargo}/bin/cargo metadata --format-version 1 --no-deps --manifest-path $crateCargoTOML | ${jq}/bin/jq -r .workspace_root)/Cargo.toml" + fi + + # Cargo is happy with empty metadata. + printf '{"files":{},"package":null}' > "$out/.cargo-checksum.json" + + ${optionalString (gitParts ? type) '' + gitPartsValue=${escapeShellArg gitParts.value} + # starting with lockfile version v4 the git source url contains encoded query parameters + # our regex parser does not know how to unescape them to get the actual value, so we do it here + ${optionalString (lockFileVersion >= 4) '' + gitPartsValue=$(${getExe python3Packages.python} -c "import sys, urllib.parse; print(urllib.parse.unquote(sys.argv[1]))" "$gitPartsValue") + ''} ''} - ''} - # Set up configuration for the vendor directory. - cat > $out/.cargo-config < $out/.cargo-config < Date: Mon, 26 Oct 2026 10:01:42 -0700 Subject: [PATCH 2165/2378] python3Packages.pytest-asyncio: fix passthru.tests --- .../python-modules/pytest-asyncio/default.nix | 36 ++++++++++--------- .../python-modules/pytest-asyncio/tests.nix | 29 --------------- 2 files changed, 20 insertions(+), 45 deletions(-) delete mode 100644 pkgs/development/python-modules/pytest-asyncio/tests.nix diff --git a/pkgs/development/python-modules/pytest-asyncio/default.nix b/pkgs/development/python-modules/pytest-asyncio/default.nix index d9b204882ea6..00696aaeb989 100644 --- a/pkgs/development/python-modules/pytest-asyncio/default.nix +++ b/pkgs/development/python-modules/pytest-asyncio/default.nix @@ -1,31 +1,30 @@ { lib, + aioesphomeapi, + bleak, buildPythonPackage, callPackage, fetchFromGitHub, + hypothesis, pythonOlder, pytest, + pytestCheckHook, setuptools-scm, typing-extensions, }: -buildPythonPackage rec { +buildPythonPackage (finalAttrs: { pname = "pytest-asyncio"; - version = "1.4.1"; # N.B.: when updating, tests bleak and aioesphomeapi tests + version = "1.4.1"; pyproject = true; src = fetchFromGitHub { owner = "pytest-dev"; repo = "pytest-asyncio"; - tag = "v${version}"; + tag = "v${finalAttrs.version}"; hash = "sha256-gXBxFf+DcSTufQxSCZmLWdBKOM5ZtL9OEehp05hS5hc="; }; - outputs = [ - "out" - "testout" - ]; - build-system = [ setuptools-scm ]; pythonRelaxDeps = [ "pytest" ]; @@ -36,25 +35,30 @@ buildPythonPackage rec { typing-extensions ]; - postInstall = '' - mkdir $testout - cp -R tests $testout/tests - ''; - doCheck = false; passthru = { # bulk updater uses wrong tag skipBulkUpdate = true; - tests.pytest = callPackage ./tests.nix { }; + tests = { + inherit aioesphomeapi bleak; + pytest = finalAttrs.finalPackage.overrideAttrs { + doInstallCheck = true; + }; + }; }; + nativeCheckInputs = [ + hypothesis + pytestCheckHook + ]; + pythonImportsCheck = [ "pytest_asyncio" ]; meta = { description = "Library for testing asyncio code with pytest"; homepage = "https://github.com/pytest-dev/pytest-asyncio"; - changelog = "https://github.com/pytest-dev/pytest-asyncio/blob/${src.tag}/docs/reference/changelog.rst"; + changelog = "https://github.com/pytest-dev/pytest-asyncio/blob/${finalAttrs.src.tag}/docs/reference/changelog.rst"; license = lib.licenses.asl20; maintainers = with lib.maintainers; [ dotlambda ]; }; -} +}) diff --git a/pkgs/development/python-modules/pytest-asyncio/tests.nix b/pkgs/development/python-modules/pytest-asyncio/tests.nix deleted file mode 100644 index 051f710af1a8..000000000000 --- a/pkgs/development/python-modules/pytest-asyncio/tests.nix +++ /dev/null @@ -1,29 +0,0 @@ -{ - buildPythonPackage, - flaky, - hypothesis, - pytest-asyncio, - pytest-trio, - pytestCheckHook, -}: - -buildPythonPackage { - pname = "pytest-asyncio-tests"; - inherit (pytest-asyncio) version; - - pyproject = false; - - src = pytest-asyncio.testout; - - dontBuild = true; - dontInstall = true; - - propagatedBuildInputs = [ pytest-asyncio ]; - - nativeCheckInputs = [ - flaky - hypothesis - pytest-trio - pytestCheckHook - ]; -} From 868c1917719db67a7cc241ec2264feb440b2f862 Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Mon, 26 Oct 2026 19:39:54 +0100 Subject: [PATCH 2166/2378] libraw: enable strictDeps --- pkgs/by-name/li/libraw/package.nix | 2 ++ 1 file changed, 2 insertions(+) diff --git a/pkgs/by-name/li/libraw/package.nix b/pkgs/by-name/li/libraw/package.nix index 14698f0cff7e..82f955a6407b 100644 --- a/pkgs/by-name/li/libraw/package.nix +++ b/pkgs/by-name/li/libraw/package.nix @@ -38,6 +38,8 @@ stdenv.mkDerivation (finalAttrs: { pkg-config ]; + strictDeps = true; + enableParallelBuilding = true; postPatch = lib.optionalString stdenv.hostPlatform.isFreeBSD '' From 7e8ea4aa51656749d1be57c3deb515b825b6ae5b Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Mon, 26 Oct 2026 19:40:06 +0100 Subject: [PATCH 2167/2378] libraw: enable structuredAttrs --- pkgs/by-name/li/libraw/package.nix | 2 ++ 1 file changed, 2 insertions(+) diff --git a/pkgs/by-name/li/libraw/package.nix b/pkgs/by-name/li/libraw/package.nix index 82f955a6407b..7da54d5d5f41 100644 --- a/pkgs/by-name/li/libraw/package.nix +++ b/pkgs/by-name/li/libraw/package.nix @@ -52,6 +52,8 @@ stdenv.mkDerivation (finalAttrs: { inherit (python3.pkgs) rawkit; }; + __structuredAttrs = true; + meta = { description = "Library for reading RAW files obtained from digital photo cameras (CRW/CR2, NEF, RAF, DNG, and others)"; homepage = "https://www.libraw.org/"; From 997ee3e6956a3b9d686a1ef3f3804168f1f6e71f Mon Sep 17 00:00:00 2001 From: rntpts Date: Mon, 26 Oct 2026 20:16:41 +0100 Subject: [PATCH 2168/2378] buildGoModule: use concatTo for checkFlags to support structuredAttrs --- pkgs/build-support/go/module.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkgs/build-support/go/module.nix b/pkgs/build-support/go/module.nix index bbe918684a0f..2fa7f24e5906 100644 --- a/pkgs/build-support/go/module.nix +++ b/pkgs/build-support/go/module.nix @@ -302,7 +302,7 @@ lib.extendMkDerivation { if [ "$cmd" = "test" ]; then flags+=(-vet=off) - flags+=($checkFlags) + concatTo flags checkFlags fi local OUT From 651ebd75e2785a4d3d21fd76c8117fe29d410678 Mon Sep 17 00:00:00 2001 From: Ihar Hrachyshka Date: Wed, 14 Oct 2026 19:17:45 -0400 Subject: [PATCH 2169/2378] bigloo: mark unbroken on darwin --- pkgs/by-name/bi/bigloo/package.nix | 1 - 1 file changed, 1 deletion(-) diff --git a/pkgs/by-name/bi/bigloo/package.nix b/pkgs/by-name/bi/bigloo/package.nix index b1b40e8d0bfb..6e0b54cbca75 100644 --- a/pkgs/by-name/bi/bigloo/package.nix +++ b/pkgs/by-name/bi/bigloo/package.nix @@ -71,7 +71,6 @@ stdenv.mkDerivation (finalAttrs: { license = lib.licenses.gpl2Plus; platforms = lib.platforms.unix; maintainers = with lib.maintainers; [ thoughtpolice ]; - broken = stdenv.hostPlatform.isDarwin && stdenv.hostPlatform.isAarch64; # segfault during build longDescription = '' Bigloo is a Scheme implementation devoted to one goal: enabling From ad4ea73728dccf8adcb13dd67eb341b9dd8c4fe0 Mon Sep 17 00:00:00 2001 From: Ihar Hrachyshka Date: Mon, 26 Oct 2026 20:12:53 -0400 Subject: [PATCH 2170/2378] xhyve: drop It only supported x86_64-darwin, which is no longer supported in 26.11. --- pkgs/by-name/xh/xhyve/package.nix | 48 ------------------------------- pkgs/top-level/aliases.nix | 1 + 2 files changed, 1 insertion(+), 48 deletions(-) delete mode 100644 pkgs/by-name/xh/xhyve/package.nix diff --git a/pkgs/by-name/xh/xhyve/package.nix b/pkgs/by-name/xh/xhyve/package.nix deleted file mode 100644 index e7e9bb506de2..000000000000 --- a/pkgs/by-name/xh/xhyve/package.nix +++ /dev/null @@ -1,48 +0,0 @@ -{ - stdenv, - lib, - fetchFromGitHub, - zlib, -}: - -stdenv.mkDerivation rec { - pname = "xhyve"; - version = "20210203"; - - src = fetchFromGitHub { - owner = "machyve"; - repo = "xhyve"; - rev = "83516a009c692ea5d2993d1071e68d05d359b11e"; - sha256 = "1pjdg4ppy6qh3vr1ls5zyw3jzcvwny9wydnmfpadwij1hvns7lj3"; - }; - - buildInputs = [ - zlib - ]; - - # Don't use git to determine version - prePatch = '' - substituteInPlace Makefile \ - --replace 'shell git describe --abbrev=6 --dirty --always --tags' "$version" - ''; - - makeFlags = [ - "CFLAGS+=-Wno-shift-sign-overflow" - ''CFLAGS+=-DVERSION=\"${version}\"'' - ]; - - installPhase = '' - mkdir -p $out/bin - cp build/xhyve $out/bin - ''; - - meta = { - description = "Lightweight Virtualization on macOS Based on bhyve"; - homepage = "https://github.com/mist64/xhyve"; - maintainers = [ ]; - license = lib.licenses.bsd2; - platforms = lib.platforms.darwin; - # never built on aarch64-darwin since first introduction in nixpkgs - broken = stdenv.hostPlatform.isDarwin && stdenv.hostPlatform.isAarch64; - }; -} diff --git a/pkgs/top-level/aliases.nix b/pkgs/top-level/aliases.nix index e93aea5303c0..ab8e993666ce 100644 --- a/pkgs/top-level/aliases.nix +++ b/pkgs/top-level/aliases.nix @@ -2972,6 +2972,7 @@ mapAliases { xflux = throw "'xflux' has been removed as it was unmaintained"; # Added 2025-08-22 xflux-gui = throw "'xflux-gui' has been removed as it was unmaintained"; # Added 2025-08-22 xhtml1 = throw "'xhtml1' has been removed because it was superseded in 2018"; # Added 2026-07-24 + xhyve = throw "'xhyve' has been removed because x86_64-darwin is no longer supported"; # Added 2026-10-26 xinput_calibrator = xinput-calibrator; # Added 2025-08-28 xjump = throw "'xjump' has been removed as it is unmaintained"; # Added 2025-08-22 xkeyboardconfig = xkeyboard-config; # Added 2026-02-04 From dabcce9f72286d44fdf521018efa3c24ffbd659a Mon Sep 17 00:00:00 2001 From: Ihar Hrachyshka Date: Fri, 9 Oct 2026 19:43:05 -0400 Subject: [PATCH 2171/2378] treewide: remove obsolete x86_64-darwin code 26.11 no longer supports x86_64-darwin. Hence: - simplify: darwin && aarch64 -> darwin - remove: darwin && x86_64 Assisted-by: Codex, GPT-6.1-Sol medium --- nixos/modules/services/misc/tabby.nix | 2 +- pkgs/by-name/_7/_7kaa/package.nix | 2 +- pkgs/by-name/_9/_9base/package.nix | 2 +- pkgs/by-name/ac/acpica-tools/package.nix | 4 +- pkgs/by-name/ar/arrow-cpp/package.nix | 6 --- pkgs/by-name/as/asl/package.nix | 2 +- pkgs/by-name/av/avalonia-ilspy/package.nix | 2 +- pkgs/by-name/ba/batmon/package.nix | 2 +- pkgs/by-name/ba/bazel_7/package.nix | 9 +--- pkgs/by-name/ba/bazel_8/package.nix | 5 +- pkgs/by-name/ba/bazel_9/package.nix | 5 +- pkgs/by-name/bi/bic/package.nix | 2 +- pkgs/by-name/bi/bicep-lsp/package.nix | 2 +- pkgs/by-name/bi/bitcoin-knots/package.nix | 2 +- pkgs/by-name/bi/bitcoin/package.nix | 2 +- pkgs/by-name/bo/boehmgc/package.nix | 9 +--- pkgs/by-name/bu/buildkite-cli/package.nix | 6 --- pkgs/by-name/ca/cabinpkg/package.nix | 1 - pkgs/by-name/ca/cakelisp/package.nix | 2 +- pkgs/by-name/ca/cargo-watch/package.nix | 7 --- pkgs/by-name/ca/catalyst/package.nix | 11 ++--- pkgs/by-name/ca/catboost/package.nix | 7 +-- pkgs/by-name/cd/cdrtools/package.nix | 2 +- pkgs/by-name/ce/certdump/package.nix | 2 +- pkgs/by-name/ch/chez/package.nix | 2 +- pkgs/by-name/ci/circt/package.nix | 17 +------ pkgs/by-name/cl/clightning/package.nix | 7 --- pkgs/by-name/de/dejagnu/package.nix | 2 +- pkgs/by-name/di/diffutils/package.nix | 6 +-- pkgs/by-name/dl/dlib/package.nix | 2 +- pkgs/by-name/dm/dmd/generic.nix | 3 -- pkgs/by-name/do/dockutil/package.nix | 4 +- pkgs/by-name/ec/echidna/package.nix | 2 +- pkgs/by-name/ed/edk2-uefi-shell/package.nix | 2 +- pkgs/by-name/el/elements/package.nix | 4 +- pkgs/by-name/fl/flopoco/package.nix | 4 -- .../by-name/fm/fmi-reference-fmus/package.nix | 2 +- pkgs/by-name/fv/fverb/package.nix | 2 +- pkgs/by-name/fx/fx/package.nix | 5 -- .../gc/gcc-arm-embedded-13/package.nix | 49 ++++++------------- pkgs/by-name/gd/gdal/package.nix | 3 +- pkgs/by-name/gd/gdb/package.nix | 6 +-- pkgs/by-name/ge/gemini-cli-bin/package.nix | 4 -- pkgs/by-name/ge/geos/package.nix | 5 -- pkgs/by-name/gf/gforth/package.nix | 3 -- pkgs/by-name/gh/ghostie/package.nix | 1 - pkgs/by-name/gi/git-spice/package.nix | 6 --- pkgs/by-name/gi/git/package.nix | 2 +- .../github-copilot-intellij-agent/package.nix | 5 +- pkgs/by-name/gi/github-runner/package.nix | 2 +- pkgs/by-name/gi/gitit/package.nix | 2 +- pkgs/by-name/gl/gleam/package.nix | 21 -------- pkgs/by-name/gn/gnugrep/package.nix | 3 -- pkgs/by-name/go/go-mockery/package.nix | 7 --- pkgs/by-name/gr/groestlcoin/package.nix | 2 +- pkgs/by-name/gt/gtk4/package.nix | 3 -- pkgs/by-name/gu/gurk-rs/package.nix | 4 -- pkgs/by-name/gw/gwyddion/package.nix | 2 +- pkgs/by-name/gz/gz-math/package.nix | 2 +- pkgs/by-name/hc/hci/package.nix | 8 +-- pkgs/by-name/he/hercules-ci-agent/package.nix | 2 +- pkgs/by-name/il/ilspycmd/package.nix | 2 +- pkgs/by-name/in/inform7/package.nix | 3 +- pkgs/by-name/in/inngest/package.nix | 2 +- pkgs/by-name/io/iozone/package.nix | 2 - pkgs/by-name/is/isabelle/package.nix | 4 -- pkgs/by-name/ja/jameica/package.nix | 2 - pkgs/by-name/je/jemalloc/package.nix | 5 +- pkgs/by-name/ju/julec/package.nix | 2 - pkgs/by-name/k9/k9s/package.nix | 2 +- pkgs/by-name/kv/kvrocks/package.nix | 2 +- pkgs/by-name/la/lapack-reference/package.nix | 2 +- pkgs/by-name/la/lapack/package.nix | 4 -- pkgs/by-name/lc/lcdproc/package.nix | 2 +- pkgs/by-name/ld/ldc/bootstrap.nix | 3 +- pkgs/by-name/li/libffi_3_3/package.nix | 2 +- pkgs/by-name/li/libgcrypt/package.nix | 4 +- pkgs/by-name/li/libglvnd/package.nix | 2 +- pkgs/by-name/li/libjxl/package.nix | 4 +- pkgs/by-name/li/libmspub/package.nix | 2 +- pkgs/by-name/li/liboil/package.nix | 6 --- pkgs/by-name/li/libplist/package.nix | 2 +- pkgs/by-name/li/libredirect/package.nix | 4 +- pkgs/by-name/li/lighthouse/package.nix | 2 +- pkgs/by-name/li/link-grammar/package.nix | 3 +- pkgs/by-name/lp/lp_solve/package.nix | 5 +- pkgs/by-name/lu/lucky-commit/package.nix | 2 +- pkgs/by-name/ma/matrix-conduit/package.nix | 4 +- pkgs/by-name/mc/mc/package.nix | 2 +- pkgs/by-name/mi/micropython/package.nix | 4 +- pkgs/by-name/mi/mistral-rs/package.nix | 5 +- pkgs/by-name/mk/mkp224o/package.nix | 2 +- pkgs/by-name/mo/motion/package.nix | 2 +- pkgs/by-name/ms/msedit/package.nix | 7 --- pkgs/by-name/na/namecoind/package.nix | 2 +- pkgs/by-name/nd/ndcurves/package.nix | 3 -- pkgs/by-name/ne/nest-cli/package.nix | 2 +- pkgs/by-name/ni/nim-unwrapped/package.nix | 2 +- pkgs/by-name/nl/nlojet/package.nix | 4 +- pkgs/by-name/ns/ns-3/package.nix | 3 +- pkgs/by-name/nt/ntpd-rs/package.nix | 2 - pkgs/by-name/nu/nusmv/package.nix | 24 +++------ pkgs/by-name/oa/oama/package.nix | 7 +-- pkgs/by-name/op/openlist/package.nix | 6 --- pkgs/by-name/op/openscreen/package.nix | 4 -- .../or/oracle-instantclient/package.nix | 6 +-- pkgs/by-name/or/orc/package.nix | 5 -- pkgs/by-name/pa/papilo/package.nix | 23 ++++----- pkgs/by-name/pc/pc-ble-driver/package.nix | 2 +- pkgs/by-name/pi/pixelflasher/package.nix | 6 +-- pkgs/by-name/pl/platformio-core/package.nix | 2 +- pkgs/by-name/po/poetry/unwrapped.nix | 4 +- pkgs/by-name/pr/presenterm/package.nix | 18 ++----- pkgs/by-name/qr/qrupdate/package.nix | 13 ++--- pkgs/by-name/ra/rav1e/package.nix | 8 --- .../re/reattach-to-user-namespace/package.nix | 4 +- pkgs/by-name/re/renameutils/package.nix | 2 +- pkgs/by-name/rl/rlottie/package.nix | 4 +- pkgs/by-name/ro/rotonda/package.nix | 19 +++---- pkgs/by-name/rs/rs-reticulum/package.nix | 2 +- pkgs/by-name/sa/sacrifice/package.nix | 2 +- .../by-name/sa/sagittarius-scheme/package.nix | 4 -- pkgs/by-name/sd/sdl12-compat/package.nix | 2 +- pkgs/by-name/sh/shaderc/package.nix | 2 +- pkgs/by-name/si/sile/package.nix | 2 +- pkgs/by-name/so/soupault/package.nix | 2 +- .../st/stable-diffusion-cpp/package.nix | 2 +- pkgs/by-name/st/starboard/package.nix | 4 -- pkgs/by-name/st/starship/package.nix | 2 +- pkgs/by-name/st/stockfish/package.nix | 6 +-- pkgs/by-name/st/stoolap/package.nix | 2 +- pkgs/by-name/sv/svix-server/package.nix | 2 - pkgs/by-name/sw/swt/package.nix | 2 - pkgs/by-name/ta/tab-rs/package.nix | 2 +- pkgs/by-name/ta/tabby/package.nix | 12 ++--- pkgs/by-name/ta/tachyon/package.nix | 2 - pkgs/by-name/td/tdlib/package.nix | 2 +- .../te/telepathy-mission-control/package.nix | 4 +- pkgs/by-name/te/temporal-cli/package.nix | 3 +- pkgs/by-name/te/texture-synthesis/package.nix | 2 +- pkgs/by-name/ti/tinycc/package.nix | 4 +- pkgs/by-name/ti/tinygo/package.nix | 2 +- pkgs/by-name/to/tootik/package.nix | 2 +- pkgs/by-name/ub/ubus/package.nix | 6 --- pkgs/by-name/um/umurmur/package.nix | 2 +- pkgs/by-name/un/unicorn/package.nix | 2 +- .../universal-android-debloater/package.nix | 1 - pkgs/by-name/uw/uwsgi/package.nix | 2 +- pkgs/by-name/vl/vlc-bin/package.nix | 19 +------ pkgs/by-name/vo/volantes-cursors/package.nix | 2 +- pkgs/by-name/wa/wasmer/package.nix | 5 +- pkgs/by-name/wh/whisper-cpp/package.nix | 2 +- pkgs/by-name/x1/x16/rom.nix | 2 +- pkgs/by-name/xe/xemu/package.nix | 14 ++---- pkgs/by-name/xp/xplr/package.nix | 6 --- pkgs/by-name/ya/yaneuraou/package.nix | 7 +-- pkgs/by-name/zb/zbctl/package.nix | 7 +-- pkgs/by-name/zc/zcash/package.nix | 2 +- .../compilers/chicken/4/chicken.nix | 2 +- .../compilers/chicken/common/chicken.nix | 2 +- pkgs/development/compilers/gcc/default.nix | 4 +- .../compilers/ghc/common-hadrian.nix | 2 +- .../ghc/common-make-native-bignum.nix | 2 +- .../compilers/julia/generic-bin.nix | 6 --- pkgs/development/compilers/mono/generic.nix | 6 +-- pkgs/development/compilers/ocaml/generic.nix | 6 +-- pkgs/development/compilers/rust/rustc.nix | 9 ---- pkgs/development/compilers/sbcl/default.nix | 13 +---- .../haskell-modules/configuration-common.nix | 13 +---- .../haskell-modules/configuration-darwin.nix | 19 ------- .../haskell-modules/configuration-nix.nix | 2 +- .../interpreters/erlang/generic-builder.nix | 4 +- .../development/libraries/libubox/default.nix | 6 --- pkgs/development/libraries/opencv/4.x.nix | 15 +++--- .../libraries/qt-5/modules/qt3d.nix | 4 +- .../libraries/qt-5/modules/qtdatavis3d.nix | 4 +- .../ocaml-modules/mirage-crypto/rng.nix | 10 ---- .../ocaml-modules/sail/default.nix | 2 +- .../python-modules/accelerate/default.nix | 4 -- .../python-modules/ax-platform/default.nix | 5 -- .../python-modules/bambi/default.nix | 2 +- .../boost-histogram/default.nix | 2 +- .../python-modules/botorch/default.nix | 2 +- .../development/python-modules/capstone/4.nix | 2 +- .../python-modules/capstone/default.nix | 2 +- .../python-modules/captum/default.nix | 2 +- .../python-modules/debugpy/default.nix | 4 +- .../python-modules/devito/default.nix | 7 +-- .../python-modules/dmsuite/default.nix | 2 +- .../python-modules/flask-session/default.nix | 4 +- .../python-modules/gpytorch/default.nix | 8 --- .../python-modules/httpx/default.nix | 2 +- .../python-modules/jaxlib/default.nix | 2 - .../python-modules/librosa/default.nix | 2 +- .../python-modules/maestral/default.nix | 3 +- .../python-modules/mmcv/default.nix | 4 -- .../python-modules/mpmath/default.nix | 11 ----- .../python-modules/mygpoclient/default.nix | 5 -- .../python-modules/narwhals/default.nix | 6 --- .../python-modules/numpy/default.nix | 4 -- .../python-modules/pandas-stubs/default.nix | 2 +- .../python-modules/pandas/default.nix | 2 +- .../python-modules/picos/default.nix | 2 +- .../python-modules/pip-tools/default.nix | 2 +- .../piper-phonemize/default.nix | 2 - .../python-modules/pomegranate/default.nix | 8 --- .../python-modules/pycurl/default.nix | 2 +- pkgs/development/python-modules/pyqt/5.x.nix | 2 +- .../python-modules/pytest-forked/default.nix | 2 - .../python-modules/rapidfuzz/default.nix | 4 -- .../python-modules/requests/default.nix | 4 +- .../development/python-modules/rq/default.nix | 3 +- .../python-modules/scikit-image/default.nix | 2 +- .../scikit-survival/default.nix | 2 +- .../python-modules/scipy/default.nix | 6 +-- .../python-modules/shapely/default.nix | 2 +- .../python-modules/sourmash/default.nix | 2 +- .../python-modules/tinygrad/default.nix | 12 +---- .../python-modules/torch/source/default.nix | 2 +- .../python-modules/torchao/default.nix | 17 ++----- .../python-modules/txtorcon/default.nix | 2 +- .../python-modules/typesense/default.nix | 2 - .../python-modules/unicorn/default.nix | 2 +- .../python-modules/vector/default.nix | 4 -- .../python-modules/watchdog/default.nix | 13 ----- .../python-modules/xgrammar/default.nix | 2 +- .../python-modules/xmlsec/default.nix | 6 --- .../ruby-modules/gem-config/default.nix | 4 +- pkgs/servers/sql/mariadb/default.nix | 13 ++--- pkgs/test/default.nix | 10 ++-- pkgs/tools/misc/hdf5/default.nix | 6 +-- pkgs/tools/misc/tdarr/node.nix | 1 - pkgs/tools/misc/tdarr/server.nix | 1 - .../package-management/akku/overrides.nix | 3 -- pkgs/tools/security/ghidra/build.nix | 5 +- pkgs/top-level/all-packages.nix | 44 +++-------------- 236 files changed, 262 insertions(+), 880 deletions(-) diff --git a/nixos/modules/services/misc/tabby.nix b/nixos/modules/services/misc/tabby.nix index dce695d6fd2e..8b9cbcfb9832 100644 --- a/nixos/modules/services/misc/tabby.nix +++ b/nixos/modules/services/misc/tabby.nix @@ -98,7 +98,7 @@ in - nixpkgs.config.cudaSupport - nixpkgs.config.rocmSupport - - if stdenv.hostPlatform.isDarwin && stdenv.hostPlatform.isAarch64 + - if stdenv.hostPlatform.isDarwin IFF multiple acceleration methods are found to be enabled or if you haven't set either `cudaSupport or rocmSupport` you will have to diff --git a/pkgs/by-name/_7/_7kaa/package.nix b/pkgs/by-name/_7/_7kaa/package.nix index cad0e77f4535..01484e610084 100644 --- a/pkgs/by-name/_7/_7kaa/package.nix +++ b/pkgs/by-name/_7/_7kaa/package.nix @@ -66,7 +66,7 @@ gccStdenv.mkDerivation (finalAttrs: { autoupdate ''; - hardeningDisable = lib.optionals (stdenv.hostPlatform.isAarch64 && stdenv.hostPlatform.isDarwin) [ + hardeningDisable = lib.optionals stdenv.hostPlatform.isDarwin [ "stackprotector" ]; diff --git a/pkgs/by-name/_9/_9base/package.nix b/pkgs/by-name/_9/_9base/package.nix index fdd517414828..26bd8cf0ed4a 100644 --- a/pkgs/by-name/_9/_9base/package.nix +++ b/pkgs/by-name/_9/_9base/package.nix @@ -92,6 +92,6 @@ stdenv.mkDerivation { platforms = lib.platforms.unix; # needs additional work to support aarch64-darwin # due to usage of _DARWIN_NO_64_BIT_INODE - broken = stdenv.hostPlatform.isAarch64 && stdenv.hostPlatform.isDarwin; + broken = stdenv.hostPlatform.isDarwin; }; } diff --git a/pkgs/by-name/ac/acpica-tools/package.nix b/pkgs/by-name/ac/acpica-tools/package.nix index 4271e2057e39..6c789e80bb02 100644 --- a/pkgs/by-name/ac/acpica-tools/package.nix +++ b/pkgs/by-name/ac/acpica-tools/package.nix @@ -45,9 +45,7 @@ stdenv.mkDerivation (finalAttrs: { # ACPICA emits packed structs that produce unaligned pointers. Apple's # arm64 linker rejects these under chained fixups; opt back into the # legacy fixup format so the link succeeds. - NIX_LDFLAGS = lib.optionalString ( - stdenv.hostPlatform.isDarwin && stdenv.hostPlatform.isAarch64 - ) "-no_fixup_chains"; + NIX_LDFLAGS = lib.optionalString stdenv.hostPlatform.isDarwin "-no_fixup_chains"; # i686 builds fail with hardening enabled (due to -Wformat-overflow). Disable # -Werror altogether to make this derivation less fragile to toolchain diff --git a/pkgs/by-name/ar/arrow-cpp/package.nix b/pkgs/by-name/ar/arrow-cpp/package.nix index 11512ff8e5c8..076f34e74b76 100644 --- a/pkgs/by-name/ar/arrow-cpp/package.nix +++ b/pkgs/by-name/ar/arrow-cpp/package.nix @@ -172,10 +172,6 @@ stdenv.mkDerivation (finalAttrs: { "TestS3FS.*" "TestS3FSGeneric.*" "TestS3FSHTTPS.*" # Needs Minio - ] - ++ lib.optionals (stdenv.hostPlatform.isDarwin && stdenv.hostPlatform.isx86_64) [ - # https://github.com/apache/arrow/issues/41505 - "TestAzuriteGeneric.Empty" ]; in "-${lib.concatStringsSep ":" filteredTests}"; @@ -352,8 +348,6 @@ stdenv.mkDerivation (finalAttrs: { __structuredAttrs = true; meta = { - # https://hydra.nixos.org/job/nixpkgs/unstable/arrow-cpp.x86_64-darwin/all - broken = stdenv.hostPlatform.isDarwin && stdenv.hostPlatform.isx86_64; description = "Cross-language development platform for in-memory data"; homepage = "https://arrow.apache.org/docs/cpp/"; changelog = "https://arrow.apache.org/release/${finalAttrs.version}.html"; diff --git a/pkgs/by-name/as/asl/package.nix b/pkgs/by-name/as/asl/package.nix index d8696bc13cf4..4bd40c3c51b7 100644 --- a/pkgs/by-name/as/asl/package.nix +++ b/pkgs/by-name/as/asl/package.nix @@ -32,7 +32,7 @@ stdenv.mkDerivation (finalAttrs: { lib.optionalString (!buildDocs) '' substituteInPlace Makefile --replace "all: binaries docs" "all: binaries" '' - + lib.optionalString (stdenv.hostPlatform.isDarwin && stdenv.hostPlatform.isAarch64) '' + + lib.optionalString stdenv.hostPlatform.isDarwin '' substituteInPlace sysdefs.h --replace "x86_64" "aarch64" ''; diff --git a/pkgs/by-name/av/avalonia-ilspy/package.nix b/pkgs/by-name/av/avalonia-ilspy/package.nix index ac02744718ea..ee26e230b28a 100644 --- a/pkgs/by-name/av/avalonia-ilspy/package.nix +++ b/pkgs/by-name/av/avalonia-ilspy/package.nix @@ -51,7 +51,7 @@ buildDotnetModule rec { bintools fixDarwinDylibNames ] - ++ lib.optionals (stdenv.hostPlatform.isDarwin && stdenv.hostPlatform.isAarch64) [ + ++ lib.optionals stdenv.hostPlatform.isDarwin [ autoSignDarwinBinariesHook ]; diff --git a/pkgs/by-name/ba/batmon/package.nix b/pkgs/by-name/ba/batmon/package.nix index 992d31348105..3a4c0b8de02b 100644 --- a/pkgs/by-name/ba/batmon/package.nix +++ b/pkgs/by-name/ba/batmon/package.nix @@ -28,7 +28,7 @@ rustPlatform.buildRustPackage (finalAttrs: { license = lib.licenses.asl20; mainProgram = "batmon"; platforms = with lib.platforms; unix ++ windows; - broken = stdenv.hostPlatform.isDarwin && stdenv.hostPlatform.isAarch64; + broken = stdenv.hostPlatform.isDarwin; maintainers = with lib.maintainers; [ _6543 ]; }; }) diff --git a/pkgs/by-name/ba/bazel_7/package.nix b/pkgs/by-name/ba/bazel_7/package.nix index 13ea1b2659d0..662c8ed5dbcd 100644 --- a/pkgs/by-name/ba/bazel_7/package.nix +++ b/pkgs/by-name/ba/bazel_7/package.nix @@ -118,11 +118,6 @@ let url = "https://github.com/bazelbuild/bazel/releases/download/${version}/bazel_nojdk-${version}-linux-arm64"; hash = "sha256-wfuZLSHa77wr0A4ZLF5DqH7qyOljYNXM2a5imoS+nGQ"; } - else if stdenv.hostPlatform.system == "x86_64-darwin" then - fetchurl { - url = "https://github.com/bazelbuild/bazel/releases/download/${version}/bazel-${version}-darwin-x86_64"; - hash = "sha256-qAb9s6R5+EbqVfWHUT7sk1sOrbDEPv4EhgXH7nC46Zw="; - } else fetchurl { # stdenv.hostPlatform.system == "aarch64-darwin" @@ -284,12 +279,12 @@ let platforms = lib.platforms.linux ++ lib.platforms.darwin; - inherit (stdenv.hostPlatform) isDarwin isAarch64; + inherit (stdenv.hostPlatform) isDarwin; system = if isDarwin then "darwin" else "linux"; # on aarch64 Darwin, `uname -m` returns "arm64" - arch = with stdenv.hostPlatform; if isDarwin && isAarch64 then "arm64" else parsed.cpu.name; + arch = if isDarwin then stdenv.hostPlatform.darwinArch else stdenv.hostPlatform.parsed.cpu.name; bazelRC = writeTextFile { name = "bazel-rc"; diff --git a/pkgs/by-name/ba/bazel_8/package.nix b/pkgs/by-name/ba/bazel_8/package.nix index 5c0609ec4cf1..5e70ea63142d 100644 --- a/pkgs/by-name/ba/bazel_8/package.nix +++ b/pkgs/by-name/ba/bazel_8/package.nix @@ -36,12 +36,13 @@ let inherit (callPackage ./build-support/patching.nix { }) addFilePatch; - inherit (stdenv.hostPlatform) isDarwin isAarch64; + inherit (stdenv.hostPlatform) isDarwin; bazelSystem = if isDarwin then "darwin" else "linux"; # on aarch64 Darwin, `uname -m` returns "arm64" - bazelArch = if isDarwin && isAarch64 then "arm64" else stdenv.hostPlatform.parsed.cpu.name; + bazelArch = + if isDarwin then stdenv.hostPlatform.darwinArch else stdenv.hostPlatform.parsed.cpu.name; src = fetchzip { url = "https://github.com/bazelbuild/bazel/releases/download/${version}/bazel-${version}-dist.zip"; diff --git a/pkgs/by-name/ba/bazel_9/package.nix b/pkgs/by-name/ba/bazel_9/package.nix index 70ebc60e7a66..627d92408c22 100644 --- a/pkgs/by-name/ba/bazel_9/package.nix +++ b/pkgs/by-name/ba/bazel_9/package.nix @@ -34,7 +34,7 @@ let inherit (callPackage ./build-support/patching.nix { }) addFilePatch; - inherit (stdenv.hostPlatform) isDarwin isAarch64; + inherit (stdenv.hostPlatform) isDarwin; defaultShellUtils = # Keep this list conservative. For more exotic tools, prefer to use @@ -85,7 +85,8 @@ let bazelSystem = if isDarwin then "darwin" else "linux"; # on aarch64 Darwin, `uname -m` returns "arm64" - bazelArch = if isDarwin && isAarch64 then "arm64" else stdenv.hostPlatform.parsed.cpu.name; + bazelArch = + if isDarwin then stdenv.hostPlatform.darwinArch else stdenv.hostPlatform.parsed.cpu.name; src = fetchzip { url = "https://github.com/bazelbuild/bazel/releases/download/${version}/bazel-${version}-dist.zip"; diff --git a/pkgs/by-name/bi/bic/package.nix b/pkgs/by-name/bi/bic/package.nix index 130894cd6d09..1b9612fdd131 100644 --- a/pkgs/by-name/bi/bic/package.nix +++ b/pkgs/by-name/bi/bic/package.nix @@ -59,6 +59,6 @@ stdenv.mkDerivation { platforms = lib.platforms.unix; maintainers = with lib.maintainers; [ hexagonal-sun ]; # never built on aarch64-darwin since first introduction in nixpkgs - broken = stdenv.hostPlatform.isDarwin && stdenv.hostPlatform.isAarch64; + broken = stdenv.hostPlatform.isDarwin; }; } diff --git a/pkgs/by-name/bi/bicep-lsp/package.nix b/pkgs/by-name/bi/bicep-lsp/package.nix index 12d948f10bfe..29488f90efcb 100644 --- a/pkgs/by-name/bi/bicep-lsp/package.nix +++ b/pkgs/by-name/bi/bicep-lsp/package.nix @@ -43,7 +43,7 @@ buildDotnetModule rec { stdenv.cc.cc.lib ]; - doCheck = !(stdenv.hostPlatform.isDarwin && stdenv.hostPlatform.isAarch64); # mono is not available on aarch64-darwin + doCheck = !stdenv.hostPlatform.isDarwin; # mono is not available on aarch64-darwin meta = { description = "Domain Specific Language (DSL) for deploying Azure resources declaratively"; diff --git a/pkgs/by-name/bi/bitcoin-knots/package.nix b/pkgs/by-name/bi/bitcoin-knots/package.nix index c9164397ef75..26eeabd1da65 100644 --- a/pkgs/by-name/bi/bitcoin-knots/package.nix +++ b/pkgs/by-name/bi/bitcoin-knots/package.nix @@ -49,7 +49,7 @@ stdenv.mkDerivation (finalAttrs: { installShellFiles gnupg ] - ++ lib.optionals (stdenv.hostPlatform.isDarwin && stdenv.hostPlatform.isAarch64) [ + ++ lib.optionals stdenv.hostPlatform.isDarwin [ darwin.autoSignDarwinBinariesHook ] ++ lib.optionals withGui [ diff --git a/pkgs/by-name/bi/bitcoin/package.nix b/pkgs/by-name/bi/bitcoin/package.nix index c56669f26f38..86ba77d79989 100644 --- a/pkgs/by-name/bi/bitcoin/package.nix +++ b/pkgs/by-name/bi/bitcoin/package.nix @@ -62,7 +62,7 @@ stdenv.mkDerivation (finalAttrs: { installShellFiles gnupg ] - ++ lib.optionals (stdenv.hostPlatform.isDarwin && stdenv.hostPlatform.isAarch64) [ + ++ lib.optionals stdenv.hostPlatform.isDarwin [ autoSignDarwinBinariesHook ] ++ lib.optionals withGui [ qt6.wrapQtAppsHook ]; diff --git a/pkgs/by-name/bo/boehmgc/package.nix b/pkgs/by-name/bo/boehmgc/package.nix index 9a0d3c9d34d5..9748f7a255de 100644 --- a/pkgs/by-name/bo/boehmgc/package.nix +++ b/pkgs/by-name/bo/boehmgc/package.nix @@ -74,13 +74,8 @@ stdenv.mkDerivation (finalAttrs: { export NIX_LDFLAGS="$NIX_LDFLAGS -T $TMP/openbsd.ldscript" ''; - # `gctest` fails under x86_64 emulation on aarch64-darwin - # and also on aarch64-linux (qemu-user) - doCheck = - !( - (stdenv.hostPlatform.isDarwin && stdenv.hostPlatform.isx86_64) - || (stdenv.hostPlatform.isLinux && stdenv.hostPlatform.isAarch64) - ); + # `gctest` fails on aarch64-linux under qemu-user. + doCheck = !(stdenv.hostPlatform.isLinux && stdenv.hostPlatform.isAarch64); enableParallelBuilding = true; diff --git a/pkgs/by-name/bu/buildkite-cli/package.nix b/pkgs/by-name/bu/buildkite-cli/package.nix index d9e28154027f..73bb4cd57f4e 100644 --- a/pkgs/by-name/bu/buildkite-cli/package.nix +++ b/pkgs/by-name/bu/buildkite-cli/package.nix @@ -1,6 +1,5 @@ { lib, - stdenv, buildGoModule, fetchFromGitHub, gitMinimal, @@ -42,11 +41,6 @@ buildGoModule (finalAttrs: { "TestResolvePipelinesFromPath" "TestPreflightCmd_Run" "TestSnapshotContext_CancelsPush" - ] - ++ lib.optionals (stdenv.hostPlatform.isDarwin && stdenv.hostPlatform.isx86_64) [ - # Expected timeout error but got none - "TestPollJobStatus" - "TestPollJobStatusTimeout" ]; in [ diff --git a/pkgs/by-name/ca/cabinpkg/package.nix b/pkgs/by-name/ca/cabinpkg/package.nix index 74167a55ccdf..e6b302727010 100644 --- a/pkgs/by-name/ca/cabinpkg/package.nix +++ b/pkgs/by-name/ca/cabinpkg/package.nix @@ -66,7 +66,6 @@ stdenv.mkDerivation rec { installFlags = [ "PREFIX=${placeholder "out"}" ]; meta = { - broken = (stdenv.hostPlatform.isDarwin && stdenv.hostPlatform.isx86_64); homepage = "https://cabinpkg.com"; description = "Package manager and build system for C++"; license = lib.licenses.asl20; diff --git a/pkgs/by-name/ca/cakelisp/package.nix b/pkgs/by-name/ca/cakelisp/package.nix index 14670c844564..860d4bfd7998 100644 --- a/pkgs/by-name/ca/cakelisp/package.nix +++ b/pkgs/by-name/ca/cakelisp/package.nix @@ -57,6 +57,6 @@ stdenv.mkDerivation { platforms = lib.platforms.darwin ++ lib.platforms.linux; maintainers = [ lib.maintainers.sbond75 ]; # never built on aarch64-darwin since first introduction in nixpkgs - broken = stdenv.hostPlatform.isDarwin && stdenv.hostPlatform.isAarch64; + broken = stdenv.hostPlatform.isDarwin; }; } diff --git a/pkgs/by-name/ca/cargo-watch/package.nix b/pkgs/by-name/ca/cargo-watch/package.nix index e7f66426c570..b5244e772488 100644 --- a/pkgs/by-name/ca/cargo-watch/package.nix +++ b/pkgs/by-name/ca/cargo-watch/package.nix @@ -18,13 +18,6 @@ rustPlatform.buildRustPackage (finalAttrs: { cargoHash = "sha256-4AVZ747d6lOjxHN+co0A7APVB5Xj6g5p/Al5fLbgPnc="; - env = lib.optionalAttrs (stdenv.hostPlatform.isDarwin && stdenv.hostPlatform.isx86_64) { - NIX_LDFLAGS = toString [ - "-framework" - "AppKit" - ]; - }; - # `test with_cargo` tries to call cargo-watch as a cargo subcommand # (calling cargo-watch with command `cargo watch`) preCheck = '' diff --git a/pkgs/by-name/ca/catalyst/package.nix b/pkgs/by-name/ca/catalyst/package.nix index f9a1a7e58402..66bf23b3947b 100644 --- a/pkgs/by-name/ca/catalyst/package.nix +++ b/pkgs/by-name/ca/catalyst/package.nix @@ -75,13 +75,10 @@ stdenv.mkDerivation (finalAttrs: { nativeCheckInputs = [ ctestCheckHook ] ++ lib.optional mpiSupport mpiCheckPhaseHook; - disabledTests = - lib.optionals (fortranSupport || stdenv.hostPlatform.isDarwin && stdenv.hostPlatform.isx86_64) - [ - # unexpected fortran binding symbol *__iso_c_binding_C_ptr - # unexpected symbol in libc++ from darwin sdk - "catalyst-abi-nm" - ]; + disabledTests = lib.optionals fortranSupport [ + # unexpected fortran binding symbol *__iso_c_binding_C_ptr + "catalyst-abi-nm" + ]; pythonImportsCheck = [ "catalyst" ]; diff --git a/pkgs/by-name/ca/catboost/package.nix b/pkgs/by-name/ca/catboost/package.nix index 347904227bf2..a562abe4d1dd 100644 --- a/pkgs/by-name/ca/catboost/package.nix +++ b/pkgs/by-name/ca/catboost/package.nix @@ -135,10 +135,7 @@ stdenv.mkDerivation (finalAttrs: { natsukium ]; mainProgram = "catboost"; - broken = - # See: - cudaSupport - # /nix/store/hzxiynjmmj35fpy3jla7vcqwmzj9i449-Libsystem-1238.60.2/include/sys/_types/_mbstate_t.h:31:9: error: unknown type name '__darwin_mbstate_t' - || (stdenv.hostPlatform.isDarwin && stdenv.hostPlatform.isx86_64); + # See: https://github.com/catboost/catboost/issues/2755 + broken = cudaSupport; }; }) diff --git a/pkgs/by-name/cd/cdrtools/package.nix b/pkgs/by-name/cd/cdrtools/package.nix index ed58c6e850cb..52fcaf66825c 100644 --- a/pkgs/by-name/cd/cdrtools/package.nix +++ b/pkgs/by-name/cd/cdrtools/package.nix @@ -30,7 +30,7 @@ stdenv.mkDerivation (finalAttrs: { "-std=gnu89" # Isn't compatible with C23 ] # https://github.com/macports/macports-ports/commit/656932616eebe60f4e8cfd96d8268801dad8224d - ++ lib.optionals (stdenv.hostPlatform.isDarwin && stdenv.hostPlatform.isAarch64) [ + ++ lib.optionals stdenv.hostPlatform.isDarwin [ "-DNO_SCANSTACK" ] ); diff --git a/pkgs/by-name/ce/certdump/package.nix b/pkgs/by-name/ce/certdump/package.nix index c1d6985d6d88..7afa09ab5eaa 100644 --- a/pkgs/by-name/ce/certdump/package.nix +++ b/pkgs/by-name/ce/certdump/package.nix @@ -35,6 +35,6 @@ buildDotnetModule { ''; license = lib.licenses.asl20; maintainers = [ lib.maintainers.baloo ]; - broken = stdenv.hostPlatform.isAarch64 && stdenv.hostPlatform.isDarwin; + broken = stdenv.hostPlatform.isDarwin; }; } diff --git a/pkgs/by-name/ch/chez/package.nix b/pkgs/by-name/ch/chez/package.nix index 645746d78052..e9aa739a8cc8 100644 --- a/pkgs/by-name/ch/chez/package.nix +++ b/pkgs/by-name/ch/chez/package.nix @@ -51,7 +51,7 @@ stdenv.mkDerivation (finalAttrs: { lib.optionals stdenv.hostPlatform.isDarwin [ cctools ] - ++ lib.optionals (stdenv.hostPlatform.isDarwin && stdenv.hostPlatform.isAarch64) [ + ++ lib.optionals stdenv.hostPlatform.isDarwin [ darwin.autoSignDarwinBinariesHook ]; diff --git a/pkgs/by-name/ci/circt/package.nix b/pkgs/by-name/ci/circt/package.nix index e34ffb994240..5fa68d5082f6 100644 --- a/pkgs/by-name/ci/circt/package.nix +++ b/pkgs/by-name/ci/circt/package.nix @@ -84,22 +84,7 @@ stdenv.mkDerivation (finalAttrs: { # https://github.com/NixOS/nixpkgs/issues/214945 discusses this issue. # # As a temporary fix, we disabled these tests when using clang stdenv - lib.optionals stdenv.cc.isClang [ "CIRCT :: Target/ExportSystemC/.*\\.mlir" ] - # Disable some tests on x86_64-darwin - ++ lib.optionals (stdenv.hostPlatform.system == "x86_64-darwin") [ - # These test seem to pass on hydra (rosetta) but not on x86_64-darwin machines - "CIRCT :: Target/ExportSMTLIB/.*\\.mlir" - "CIRCT :: circt-bmc/.*\\.mlir" - # These tests were having issues on rosetta - "CIRCT :: Dialect/.*/Reduction/.*\\.mlir" - "CIRCT :: Dialect/SMT/.*\\.mlir" - "CIRCT :: circt-as-dis/.*\\.mlir" - "CIRCT :: circt-reduce/.*\\.mlir" - "CIRCT :: circt-test/basic.mlir" - "CIRCT :: firld/.*\\.mlir" - "CIRCT :: Tools/domaintool/clock-spec-json.mlir" - ] - ++ [ + lib.optionals stdenv.cc.isClang [ "CIRCT :: Target/ExportSystemC/.*\\.mlir" ] ++ [ # Temporarily disable for bump: https://github.com/llvm/circt/issues/8000 "CIRCT :: Dialect/FIRRTL/SFCTests/ExtractSeqMems/Compose.fir" "CIRCT :: Dialect/FIRRTL/SFCTests/ExtractSeqMems/Simple2.fir" diff --git a/pkgs/by-name/cl/clightning/package.nix b/pkgs/by-name/cl/clightning/package.nix index 036e4160064e..32d6a41fb699 100644 --- a/pkgs/by-name/cl/clightning/package.nix +++ b/pkgs/by-name/cl/clightning/package.nix @@ -96,13 +96,6 @@ stdenv.mkDerivation (finalAttrs: { enableParallelBuilding = true; - # workaround for build issue, happens only x86_64-darwin, not aarch64-darwin - # ccan/ccan/fdpass/fdpass.c:16:8: error: variable length array folded to constant array as an extension [-Werror,-Wgnu-folding-constant] - # char buf[CMSG_SPACE(sizeof(fd))]; - env.NIX_CFLAGS_COMPILE = lib.optionalString ( - stdenv.hostPlatform.isDarwin && stdenv.hostPlatform.isx86_64 - ) "-Wno-error=gnu-folding-constant"; - passthru.updateScript = ./update.sh; meta = { diff --git a/pkgs/by-name/de/dejagnu/package.nix b/pkgs/by-name/de/dejagnu/package.nix index c97753f7d780..85333e550652 100644 --- a/pkgs/by-name/de/dejagnu/package.nix +++ b/pkgs/by-name/de/dejagnu/package.nix @@ -36,7 +36,7 @@ stdenv.mkDerivation (finalAttrs: { ''; configureScript = "../configure"; - doCheck = !(with stdenv.hostPlatform; isDarwin && isAarch64); + doCheck = !stdenv.hostPlatform.isDarwin; # Note: The test-suite *requires* /dev/pts among the `build-chroot-dirs' of # the build daemon when building in a chroot. See diff --git a/pkgs/by-name/di/diffutils/package.nix b/pkgs/by-name/di/diffutils/package.nix index 8684bdaeddec..10777df19e70 100644 --- a/pkgs/by-name/di/diffutils/package.nix +++ b/pkgs/by-name/di/diffutils/package.nix @@ -46,8 +46,6 @@ stdenv.mkDerivation (finalAttrs: { strictDeps = true; enableParallelBuilding = true; - # Disable stack-related gnulib tests on x86_64-darwin because they have problems running under - # Rosetta 2: test-c-stack hangs, test-sigsegv-catch-stackoverflow and test-sigaction fail. # Disable all gnulib tests when building on Darwin due to test-nl_langinfo-mt failure # known by upstream https://www.mail-archive.com/bug-gnulib@gnu.org/msg50806.html postPatch = @@ -55,9 +53,7 @@ stdenv.mkDerivation (finalAttrs: { '' sed -i 's:gnulib-tests::g' Makefile.in '' - else if - ((stdenv.hostPlatform.isDarwin && stdenv.hostPlatform.isx86_64) || (stdenv.hostPlatform.isAarch32)) - then + else if stdenv.hostPlatform.isAarch32 then '' sed -i -E 's:[[:space:]]test-c-stack2?\.sh::g' gnulib-tests/Makefile.in sed -i -E 's:[[:space:]]test-sigsegv-catch-stackoverflow[12]\$\(EXEEXT\)::g' gnulib-tests/Makefile.in diff --git a/pkgs/by-name/dl/dlib/package.nix b/pkgs/by-name/dl/dlib/package.nix index 9372713c7ae0..60d30ac9f959 100644 --- a/pkgs/by-name/dl/dlib/package.nix +++ b/pkgs/by-name/dl/dlib/package.nix @@ -40,7 +40,7 @@ (lib.cmakeBool "USE_AVX_INSTRUCTIONS" avxSupport) (lib.cmakeBool "DLIB_USE_CUDA" cudaSupport) ] - ++ lib.optionals (stdenv.hostPlatform.isDarwin && stdenv.hostPlatform.isAarch64) [ + ++ lib.optionals stdenv.hostPlatform.isDarwin [ (lib.cmakeBool "USE_NEON_INSTRUCTIONS" false) ] ++ lib.optionals cudaSupport [ diff --git a/pkgs/by-name/dm/dmd/generic.nix b/pkgs/by-name/dm/dmd/generic.nix index 6c70caaefaa5..4d033bbba9f3 100644 --- a/pkgs/by-name/dm/dmd/generic.nix +++ b/pkgs/by-name/dm/dmd/generic.nix @@ -235,8 +235,5 @@ stdenv.mkDerivation (finalAttrs: { "x86_64-linux" "i686-linux" ]; - # ld: section __DATA/__thread_bss has type zero-fill but non-zero file offset file '/private/tmp/nix-build-dmd-2.109.1.drv-0/.rdmd-301/rdmd-build.d-A1CF043A7D87C5E88A58F3C0EF5A0DF7/objs/build.o' for architecture x86_64 - # clang-16: error: linker command failed with exit code 1 (use -v to see invocation) - broken = stdenv.hostPlatform.isDarwin && stdenv.hostPlatform.isx86_64; }; }) diff --git a/pkgs/by-name/do/dockutil/package.nix b/pkgs/by-name/do/dockutil/package.nix index d573cf585df6..2ad06c52b17c 100644 --- a/pkgs/by-name/do/dockutil/package.nix +++ b/pkgs/by-name/do/dockutil/package.nix @@ -9,9 +9,7 @@ swiftpm2nix, libarchive, p7zip, - # Building from source on x86_64 fails (among other things) due to: - # error: cannot load underlying module for 'Darwin' - fromSource ? (stdenv.system != "x86_64-darwin"), + fromSource ? true, }: let diff --git a/pkgs/by-name/ec/echidna/package.nix b/pkgs/by-name/ec/echidna/package.nix index e23895064382..d2e9677df84e 100644 --- a/pkgs/by-name/ec/echidna/package.nix +++ b/pkgs/by-name/ec/echidna/package.nix @@ -97,7 +97,7 @@ haskellPackages.mkDerivation rec { postInstall = with haskellPackages; # https://github.com/NixOS/nixpkgs/pull/304352 - lib.optionalString (stdenv.hostPlatform.isDarwin && stdenv.hostPlatform.isAarch64) '' + lib.optionalString stdenv.hostPlatform.isDarwin '' remove-references-to -t ${warp.out} "$out/bin/echidna" remove-references-to -t ${wreq.out} "$out/bin/echidna" '' diff --git a/pkgs/by-name/ed/edk2-uefi-shell/package.nix b/pkgs/by-name/ed/edk2-uefi-shell/package.nix index 47ad2e5196b2..bcb59b8bea0a 100644 --- a/pkgs/by-name/ed/edk2-uefi-shell/package.nix +++ b/pkgs/by-name/ed/edk2-uefi-shell/package.nix @@ -56,6 +56,6 @@ edk2.mkDerivation "ShellPkg/ShellPkg.dsc" (finalAttrs: { LunNova mjoerg ]; - broken = stdenv.hostPlatform.isDarwin && stdenv.hostPlatform.isAarch64; + broken = stdenv.hostPlatform.isDarwin; }; }) diff --git a/pkgs/by-name/el/elements/package.nix b/pkgs/by-name/el/elements/package.nix index 33c5fde1127c..ccaaf190f008 100644 --- a/pkgs/by-name/el/elements/package.nix +++ b/pkgs/by-name/el/elements/package.nix @@ -38,7 +38,7 @@ stdenv.mkDerivation (finalAttrs: { ] ++ lib.optionals stdenv.hostPlatform.isLinux [ util-linux ] ++ lib.optionals stdenv.hostPlatform.isDarwin [ hexdump ] - ++ lib.optionals (stdenv.hostPlatform.isDarwin && stdenv.hostPlatform.isAarch64) [ + ++ lib.optionals stdenv.hostPlatform.isDarwin [ darwin.autoSignDarwinBinariesHook ] ++ lib.optionals withGui [ qt5.wrapQtAppsHook ]; @@ -78,7 +78,7 @@ stdenv.mkDerivation (finalAttrs: { # fix "Killed: 9 test/test_bitcoin" # https://github.com/NixOS/nixpkgs/issues/179474 - hardeningDisable = lib.optionals (stdenv.hostPlatform.isAarch64 && stdenv.hostPlatform.isDarwin) [ + hardeningDisable = lib.optionals stdenv.hostPlatform.isDarwin [ "fortify" "stackprotector" ]; diff --git a/pkgs/by-name/fl/flopoco/package.nix b/pkgs/by-name/fl/flopoco/package.nix index 1455ce84dc2d..d15a2cfa8aa8 100644 --- a/pkgs/by-name/fl/flopoco/package.nix +++ b/pkgs/by-name/fl/flopoco/package.nix @@ -46,10 +46,6 @@ stdenv.mkDerivation { }) ]; - postPatch = lib.optionalString (stdenv.hostPlatform.isDarwin && stdenv.hostPlatform.isx86_64) '' - sed -i "s/-pg//g" {,src/Apps/TaMaDi/}CMakeLists.txt - ''; - strictDeps = true; nativeBuildInputs = [ diff --git a/pkgs/by-name/fm/fmi-reference-fmus/package.nix b/pkgs/by-name/fm/fmi-reference-fmus/package.nix index e23d33330e52..4d4771f3bfbc 100644 --- a/pkgs/by-name/fm/fmi-reference-fmus/package.nix +++ b/pkgs/by-name/fm/fmi-reference-fmus/package.nix @@ -37,7 +37,7 @@ stdenv.mkDerivation (finalAttrs: { # CMakeLists.txt explicitly states support for aarch64-darwin, but # the build fails in a Nix environment. C.f. # . - broken = with stdenv.hostPlatform; isAarch64 && isDarwin; + broken = stdenv.hostPlatform.isDarwin; description = "Functional Mock-up Units for development, testing and debugging"; homepage = "https://github.com/modelica/Reference-FMUs"; license = lib.licenses.bsd2; diff --git a/pkgs/by-name/fv/fverb/package.nix b/pkgs/by-name/fv/fverb/package.nix index 0328cddf74cb..3f9a78c06f6d 100644 --- a/pkgs/by-name/fv/fverb/package.nix +++ b/pkgs/by-name/fv/fverb/package.nix @@ -37,6 +37,6 @@ stdenv.mkDerivation { platforms = lib.platforms.unix; # clang++: error: unsupported option '-mfpu=' for target 'arm64-apple-darwin' # clang++: error: unsupported option '-mfloat-abi=' for target 'arm64-apple-darwin' - broken = stdenv.hostPlatform.isDarwin && stdenv.hostPlatform.isAarch64; + broken = stdenv.hostPlatform.isDarwin; }; } diff --git a/pkgs/by-name/fx/fx/package.nix b/pkgs/by-name/fx/fx/package.nix index 770a6817b883..c8fb83aa14f4 100644 --- a/pkgs/by-name/fx/fx/package.nix +++ b/pkgs/by-name/fx/fx/package.nix @@ -32,11 +32,6 @@ buildGoModule (finalAttrs: { --zsh <($out/bin/fx --comp zsh) ''; - checkFlags = lib.optionals (stdenv.hostPlatform.system == "x86_64-darwin") [ - # flaky only on x86_64 darwin, https://hydra.nixos.org/build/319903711 - "-skip=^TestSearchCaching" - ]; - nativeInstallCheckInputs = [ versionCheckHook writableTmpDirAsHomeHook diff --git a/pkgs/by-name/gc/gcc-arm-embedded-13/package.nix b/pkgs/by-name/gc/gcc-arm-embedded-13/package.nix index c76a49d4357c..ce3ab36c637d 100644 --- a/pkgs/by-name/gc/gcc-arm-embedded-13/package.nix +++ b/pkgs/by-name/gc/gcc-arm-embedded-13/package.nix @@ -4,10 +4,6 @@ fetchurl, ncurses5, libxcrypt-legacy, - xz, - zstd, - makeBinaryWrapper, - darwin, }: let @@ -41,11 +37,6 @@ stdenv.mkDerivation (finalAttrs: { ./info-fix.patch ]; - nativeBuildInputs = lib.optionals (stdenv.hostPlatform.isDarwin && stdenv.hostPlatform.isx86_64) [ - makeBinaryWrapper - darwin.sigtool - ]; - dontConfigure = true; dontBuild = true; dontPatchELF = true; @@ -60,32 +51,20 @@ stdenv.mkDerivation (finalAttrs: { # Set RPATH before the interpreter to work around a patchelf bug: # https://github.com/NixOS/patchelf/issues/674 - preFixup = - lib.optionalString stdenv.hostPlatform.isLinux '' - find $out -type f | while read f; do - patchelf "$f" > /dev/null 2>&1 || continue - patchelf --set-rpath ${ - lib.makeLibraryPath [ - "$out" - stdenv.cc.cc - ncurses5 - libxcrypt-legacy - ] - } "$f" || true - patchelf --set-interpreter $(cat ${stdenv.cc}/nix-support/dynamic-linker) "$f" || true - done - '' - + lib.optionalString (stdenv.hostPlatform.isDarwin && stdenv.hostPlatform.isx86_64) '' - find "$out" -executable -type f | while read executable; do - ( \ - install_name_tool \ - -change "/usr/local/opt/zstd/lib/libzstd.1.dylib" "${lib.getLib zstd}/lib/libzstd.1.dylib" \ - -change "/usr/local/opt/xz/lib/liblzma.5.dylib" "${lib.getLib xz}/lib/liblzma.5.dylib" \ - "$executable" \ - && codesign -f -s - "$executable" \ - ) || true - done - ''; + preFixup = lib.optionalString stdenv.hostPlatform.isLinux '' + find $out -type f | while read f; do + patchelf "$f" > /dev/null 2>&1 || continue + patchelf --set-rpath ${ + lib.makeLibraryPath [ + "$out" + stdenv.cc.cc + ncurses5 + libxcrypt-legacy + ] + } "$f" || true + patchelf --set-interpreter $(cat ${stdenv.cc}/nix-support/dynamic-linker) "$f" || true + done + ''; meta = { description = "Pre-built GNU toolchain from ARM Cortex-M & Cortex-R processors"; diff --git a/pkgs/by-name/gd/gdal/package.nix b/pkgs/by-name/gd/gdal/package.nix index 9fb0081b3197..10e2182d8125 100644 --- a/pkgs/by-name/gd/gdal/package.nix +++ b/pkgs/by-name/gd/gdal/package.nix @@ -16,8 +16,7 @@ useNetCDF ? (!useMinimalFeatures), usePoppler ? (!useMinimalFeatures), usePostgres ? (!useMinimalFeatures), - useTiledb ? - (!useMinimalFeatures) && !(stdenv.hostPlatform.isDarwin && stdenv.hostPlatform.isx86_64), + useTiledb ? (!useMinimalFeatures), ant, armadillo, diff --git a/pkgs/by-name/gd/gdb/package.nix b/pkgs/by-name/gd/gdb/package.nix index 7a36ca783523..592afe0fe227 100644 --- a/pkgs/by-name/gd/gdb/package.nix +++ b/pkgs/by-name/gd/gdb/package.nix @@ -136,7 +136,7 @@ stdenv.mkDerivation (finalAttrs: { env.NIX_CFLAGS_COMPILE = "-Wno-format-nonliteral"; # Workaround for Apple Silicon, configurePlatforms must be disabled - configurePlatforms = optionals (!(stdenv.hostPlatform.isDarwin && stdenv.hostPlatform.isAarch64)) [ + configurePlatforms = optionals (!stdenv.hostPlatform.isDarwin) [ "build" "host" "target" @@ -191,9 +191,7 @@ stdenv.mkDerivation (finalAttrs: { ++ optional stdenv.hostPlatform.isStatic "--disable-inprocess-agent" ++ optional (!hostCpuOnly) "--enable-targets=all" # Workaround for Apple Silicon, "--target" must be "faked", see eg: https://github.com/Homebrew/homebrew-core/pull/209753 - ++ optional ( - stdenv.hostPlatform.isDarwin && stdenv.hostPlatform.isAarch64 - ) "--target=x86_64-apple-darwin"; + ++ optional stdenv.hostPlatform.isDarwin "--target=x86_64-apple-darwin"; postInstall = '' # Remove Info files already provided by Binutils and other packages. diff --git a/pkgs/by-name/ge/gemini-cli-bin/package.nix b/pkgs/by-name/ge/gemini-cli-bin/package.nix index c32fd5d6ba6e..5471dd51fa2f 100644 --- a/pkgs/by-name/ge/gemini-cli-bin/package.nix +++ b/pkgs/by-name/ge/gemini-cli-bin/package.nix @@ -3,7 +3,6 @@ stdenvNoCC, fetchzip, nodejs, - sysctl, writableTmpDirAsHomeHook, nix-update-script, ripgrep, @@ -72,9 +71,6 @@ stdenvNoCC.mkDerivation (finalAttrs: { doInstallCheck = true; nativeInstallCheckInputs = [ writableTmpDirAsHomeHook - ] - ++ lib.optionals (with stdenvNoCC.hostPlatform; isDarwin && isx86_64) [ - sysctl ]; # versionCheckHook cannot be used because it assumes the executable is hermetic, diff --git a/pkgs/by-name/ge/geos/package.nix b/pkgs/by-name/ge/geos/package.nix index 7abde2aca165..7d34f8ee7afb 100644 --- a/pkgs/by-name/ge/geos/package.nix +++ b/pkgs/by-name/ge/geos/package.nix @@ -23,11 +23,6 @@ stdenv.mkDerivation (finalAttrs: { strictDeps = true; - # https://github.com/libgeos/geos/issues/930 - cmakeFlags = lib.optionals (stdenv.hostPlatform.isDarwin && stdenv.hostPlatform.isx86_64) [ - "-DCMAKE_CTEST_ARGUMENTS=--exclude-regex;unit-geom-Envelope" - ]; - doCheck = true; passthru.tests = { diff --git a/pkgs/by-name/gf/gforth/package.nix b/pkgs/by-name/gf/gforth/package.nix index a00552bf28fe..925e0b94dcb1 100644 --- a/pkgs/by-name/gf/gforth/package.nix +++ b/pkgs/by-name/gf/gforth/package.nix @@ -50,9 +50,6 @@ stdenv.mkDerivation (finalAttrs: { configureFlags = [ "--with-lispdir=${lispDir}" ] - ++ lib.optionals (stdenv.hostPlatform.isDarwin && stdenv.hostPlatform.isx86_64) [ - "--build=x86_64-apple-darwin" - ] ++ lib.optionals (!stdenv.buildPlatform.canExecute stdenv.hostPlatform) [ # Tries to run ./engine/gforth-ll "--without-check" diff --git a/pkgs/by-name/gh/ghostie/package.nix b/pkgs/by-name/gh/ghostie/package.nix index aab545e2f0c3..594e859c92d3 100644 --- a/pkgs/by-name/gh/ghostie/package.nix +++ b/pkgs/by-name/gh/ghostie/package.nix @@ -43,7 +43,6 @@ rustPlatform.buildRustPackage (finalAttrs: { changelog = "https://github.com/attriaayush/ghostie/releases/tag/v${finalAttrs.version}"; license = lib.licenses.mit; maintainers = with lib.maintainers; [ matthiasbeyer ]; - broken = stdenv.hostPlatform.isx86_64 && stdenv.hostPlatform.isDarwin; mainProgram = "ghostie"; }; }) diff --git a/pkgs/by-name/gi/git-spice/package.nix b/pkgs/by-name/gi/git-spice/package.nix index d408fd3fa2f7..a0bee176b0a9 100644 --- a/pkgs/by-name/gi/git-spice/package.nix +++ b/pkgs/by-name/gi/git-spice/package.nix @@ -36,12 +36,6 @@ buildGoModule (finalAttrs: { __darwinAllowLocalNetworking = true; - preCheck = lib.optionalString (stdenv.hostPlatform.isDarwin && stdenv.hostPlatform.isx86_64) '' - # timeout - rm testdata/script/branch_submit_remote_prompt.txt - rm testdata/script/branch_submit_multiple_pr_templates.txt - ''; - postInstall = lib.optionalString (stdenv.buildPlatform.canExecute stdenv.hostPlatform) '' installShellCompletion --cmd gs \ --bash <($out/bin/gs shell completion bash) \ diff --git a/pkgs/by-name/gi/git/package.nix b/pkgs/by-name/gi/git/package.nix index e4404ea00bb3..3b1d0f57ad8e 100644 --- a/pkgs/by-name/gi/git/package.nix +++ b/pkgs/by-name/gi/git/package.nix @@ -597,7 +597,7 @@ stdenv.mkDerivation (finalAttrs: { # not ok 1 - populate workdir (with 2.33.1 on x86_64-darwin) disable_test t5003-archive-zip '' - + lib.optionalString (stdenv.hostPlatform.isDarwin && stdenv.hostPlatform.isAarch64) '' + + lib.optionalString stdenv.hostPlatform.isDarwin '' disable_test t7527-builtin-fsmonitor '' + diff --git a/pkgs/by-name/gi/github-copilot-intellij-agent/package.nix b/pkgs/by-name/gi/github-copilot-intellij-agent/package.nix index 0748ab05d59d..6a7c22b12a9c 100644 --- a/pkgs/by-name/gi/github-copilot-intellij-agent/package.nix +++ b/pkgs/by-name/gi/github-copilot-intellij-agent/package.nix @@ -24,10 +24,7 @@ stdenv.mkDerivation rec { mkdir -p $out/bin unzip -p $src github-copilot-intellij/copilot-agent/bin/copilot-agent-${ - if stdenv.hostPlatform.isDarwin then - (if stdenv.hostPlatform.isAarch64 then "macos-arm64" else "macos") - else - "linux" + if stdenv.hostPlatform.isDarwin then "macos-arm64" else "linux" } | install -m755 /dev/stdin $out/bin/copilot-agent runHook postInstall diff --git a/pkgs/by-name/gi/github-runner/package.nix b/pkgs/by-name/gi/github-runner/package.nix index ac61119269a8..f5bb90f528c1 100644 --- a/pkgs/by-name/gi/github-runner/package.nix +++ b/pkgs/by-name/gi/github-runner/package.nix @@ -128,7 +128,7 @@ buildDotnetModule (finalAttrs: { # needed for `uname` coreutils ] - ++ lib.optionals (stdenv.hostPlatform.isDarwin && stdenv.hostPlatform.isAarch64) [ + ++ lib.optionals stdenv.hostPlatform.isDarwin [ darwin.autoSignDarwinBinariesHook ]; diff --git a/pkgs/by-name/gi/gitit/package.nix b/pkgs/by-name/gi/gitit/package.nix index 9d874e817483..fbaf695d37a9 100644 --- a/pkgs/by-name/gi/gitit/package.nix +++ b/pkgs/by-name/gi/gitit/package.nix @@ -26,7 +26,7 @@ let # Removes erroneous references from dead code that GHC can't eliminate aarch64DarwinFix = overrideCabal ( drv: - lib.optionalAttrs (stdenv.hostPlatform.isDarwin && stdenv.hostPlatform.isAarch64) { + lib.optionalAttrs stdenv.hostPlatform.isDarwin { postInstall = '' ${drv.postInstall or ""} remove-references-to -t ${haskellPackages.HTTP} "$out/bin/gitit" diff --git a/pkgs/by-name/gl/gleam/package.nix b/pkgs/by-name/gl/gleam/package.nix index 989be3a944d6..5c23929799e4 100644 --- a/pkgs/by-name/gl/gleam/package.nix +++ b/pkgs/by-name/gl/gleam/package.nix @@ -1,6 +1,5 @@ { lib, - stdenv, rustPlatform, fetchFromGitHub, @@ -53,26 +52,6 @@ rustPlatform.buildRustPackage (finalAttrs: { "--skip=tests::escript_success_with_dependency" # checks files that would be gitignored, but we're not in a git repo "--skip=tests::all_files_have_copyright_notice" - ] - ++ lib.optionals (stdenv.hostPlatform.isDarwin && stdenv.hostPlatform.isx86_64) [ - # Snapshot tests fail because a warning is shown on stdout - # warn: CPU lacks AVX support, strange crashes may occur. Reinstall Bun or use *-baseline build: - # https://github.com/oven-sh/bun/releases/download/bun-v1.3.1/bun-darwin-x64-baseline.zip - "--skip=tests::output::echo_bitarray" - "--skip=tests::output::echo_bool" - "--skip=tests::output::echo_charlist" - "--skip=tests::output::echo_circular_reference" - "--skip=tests::output::echo_custom_type" - "--skip=tests::output::echo_float" - "--skip=tests::output::echo_function" - "--skip=tests::output::echo_importing_module_named_inspect" - "--skip=tests::output::echo_int" - "--skip=tests::output::echo_list" - "--skip=tests::output::echo_nil" - "--skip=tests::output::echo_singleton" - "--skip=tests::output::echo_string" - "--skip=tests::output::echo_tuple" - "--skip=tests::output::echo_with_message" ]; doInstallCheck = true; diff --git a/pkgs/by-name/gn/gnugrep/package.nix b/pkgs/by-name/gn/gnugrep/package.nix index 03b965b7268b..191b30fd6125 100644 --- a/pkgs/by-name/gn/gnugrep/package.nix +++ b/pkgs/by-name/gn/gnugrep/package.nix @@ -33,7 +33,6 @@ stdenv.mkDerivation (finalAttrs: { # Some gnulib tests fail # - on Musl: https://github.com/NixOS/nixpkgs/pull/228714 - # - on x86_64-darwin: https://github.com/NixOS/nixpkgs/pull/228714#issuecomment-1576826330 # - when building on Darwin (cross-compilation): test-nl_langinfo-mt fails postPatch = lib.optionalString (stdenv.hostPlatform.isMusl || stdenv.buildPlatform.isDarwin) '' substituteInPlace Makefile.in --replace-fail "gnulib-tests" "" @@ -59,12 +58,10 @@ stdenv.mkDerivation (finalAttrs: { # cygwin: FAIL: multibyte-white-space # freebsd: FAIL mb-non-UTF8-performance - # x86_64-darwin: fails 'stack-overflow' tests on Rosetta 2 emulator # aarch32: fails 'stack-overflow' when run on qemu under x86_64 doCheck = !stdenv.hostPlatform.isCygwin && !stdenv.hostPlatform.isFreeBSD - && !(stdenv.hostPlatform.isDarwin && stdenv.hostPlatform.isx86_64) && !stdenv.buildPlatform.isRiscV64 && !stdenv.hostPlatform.isAarch32; diff --git a/pkgs/by-name/go/go-mockery/package.nix b/pkgs/by-name/go/go-mockery/package.nix index d1bc89c818d8..02fc8ad8e920 100644 --- a/pkgs/by-name/go/go-mockery/package.nix +++ b/pkgs/by-name/go/go-mockery/package.nix @@ -3,7 +3,6 @@ # version that mockery supports rather than buildGoLatestModule. # This should be bumped when a mockery release includes support for a new version of Go. lib, - stdenv, buildGo127Module, fetchFromGitHub, versionCheckHook, @@ -82,12 +81,6 @@ buildGo127Module (finalAttrs: { checkPhase = '' runHook preCheck - ${ - # TestRemoteTemplates/schema_validation_OK fails only on x86_64-darwin - (lib.optionalString ( - stdenv.hostPlatform.isDarwin && stdenv.hostPlatform.isx86 - ) "rm -rf e2e/test_remote_templates/") - } # run unit tests and e2e tests plus pre-gen necessary mocks task test.ci diff --git a/pkgs/by-name/gr/groestlcoin/package.nix b/pkgs/by-name/gr/groestlcoin/package.nix index c5d4818514a8..fcc2a35288f1 100644 --- a/pkgs/by-name/gr/groestlcoin/package.nix +++ b/pkgs/by-name/gr/groestlcoin/package.nix @@ -45,7 +45,7 @@ stdenv.mkDerivation (finalAttrs: { pkg-config installShellFiles ] - ++ lib.optionals (stdenv.hostPlatform.isDarwin && stdenv.hostPlatform.isAarch64) [ + ++ lib.optionals stdenv.hostPlatform.isDarwin [ darwin.autoSignDarwinBinariesHook ] ++ lib.optionals withGui [ qt5.wrapQtAppsHook ]; diff --git a/pkgs/by-name/gt/gtk4/package.nix b/pkgs/by-name/gt/gtk4/package.nix index 12e4f7024d85..57032714ce70 100644 --- a/pkgs/by-name/gt/gtk4/package.nix +++ b/pkgs/by-name/gt/gtk4/package.nix @@ -196,9 +196,6 @@ stdenv.mkDerivation (finalAttrs: { (lib.mesonEnable "vulkan" vulkanSupport) (lib.mesonEnable "print-cups" cupsSupport) (lib.mesonBool "x11-backend" x11Support) - ] - ++ lib.optionals (stdenv.hostPlatform.isDarwin && !stdenv.hostPlatform.isAarch64) [ - "-Dmedia-gstreamer=disabled" # requires gstreamer-gl ]; doCheck = false; # needs X11 diff --git a/pkgs/by-name/gu/gurk-rs/package.nix b/pkgs/by-name/gu/gurk-rs/package.nix index ca85b78132cc..8e5acb96812b 100644 --- a/pkgs/by-name/gu/gurk-rs/package.nix +++ b/pkgs/by-name/gu/gurk-rs/package.nix @@ -1,5 +1,4 @@ { - stdenvNoCC, lib, protobuf, rustPlatform, @@ -39,9 +38,6 @@ rustPlatform.buildRustPackage (finalAttrs: { buildInputs = [ openssl ]; env = { - NIX_LDFLAGS = lib.optionalString ( - with stdenvNoCC.hostPlatform; (isDarwin && isx86_64) - ) "-framework AppKit"; OPENSSL_NO_VENDOR = true; PROTOC = "${lib.getExe pkgsBuildHost.protobuf}"; }; diff --git a/pkgs/by-name/gw/gwyddion/package.nix b/pkgs/by-name/gw/gwyddion/package.nix index 5664c4d6c203..08b0dbd696f6 100644 --- a/pkgs/by-name/gw/gwyddion/package.nix +++ b/pkgs/by-name/gw/gwyddion/package.nix @@ -83,6 +83,6 @@ stdenv.mkDerivation (finalAttrs: { platforms = with lib.platforms; linux ++ darwin; maintainers = [ ]; # never built on aarch64-darwin since first introduction in nixpkgs - broken = stdenv.hostPlatform.isDarwin && stdenv.hostPlatform.isAarch64; + broken = stdenv.hostPlatform.isDarwin; }; }) diff --git a/pkgs/by-name/gz/gz-math/package.nix b/pkgs/by-name/gz/gz-math/package.nix index 58eadd924ce8..e40567f58b9e 100644 --- a/pkgs/by-name/gz/gz-math/package.nix +++ b/pkgs/by-name/gz/gz-math/package.nix @@ -54,7 +54,7 @@ stdenv.mkDerivation (finalAttrs: { python3Packages.python ]; - disabledTests = lib.optionals (stdenv.hostPlatform.isDarwin && stdenv.hostPlatform.isAarch64) [ + disabledTests = lib.optionals stdenv.hostPlatform.isDarwin [ # Non-deterministic random tests fail on aarch64-darwin "GaussMarkovProcess_TEST.rb" "Rand_TEST.rb" diff --git a/pkgs/by-name/hc/hci/package.nix b/pkgs/by-name/hc/hci/package.nix index 2429e32d1d76..b8fdfb2c3032 100644 --- a/pkgs/by-name/hc/hci/package.nix +++ b/pkgs/by-name/hc/hci/package.nix @@ -45,13 +45,9 @@ let addBuildTools [ makeWrapper ] # TODO: Erroneous references to GHC on aarch64-darwin: https://github.com/NixOS/nixpkgs/issues/318013 ( - ( - if stdenv.hostPlatform.isDarwin && stdenv.hostPlatform.isAarch64 then - lib.id - else - haskell.lib.compose.justStaticExecutables + (if stdenv.hostPlatform.isDarwin then lib.id else haskell.lib.compose.justStaticExecutables) ( + haskellPackages.hercules-ci-cli.override overrides ) - (haskellPackages.hercules-ci-cli.override overrides) ) ); in diff --git a/pkgs/by-name/he/hercules-ci-agent/package.nix b/pkgs/by-name/he/hercules-ci-agent/package.nix index 00a0fc7cfad3..103b86a53f9a 100644 --- a/pkgs/by-name/he/hercules-ci-agent/package.nix +++ b/pkgs/by-name/he/hercules-ci-agent/package.nix @@ -28,7 +28,7 @@ let overrideCabal (o: { postInstall = '' ${o.postInstall or ""} - ${lib.optionalString (stdenv.hostPlatform.isDarwin && stdenv.hostPlatform.isAarch64) '' + ${lib.optionalString stdenv.hostPlatform.isDarwin '' remove-references-to -t ${haskellPackages.hercules-ci-cnix-expr} $out/bin/hercules-ci-agent remove-references-to -t ${haskellPackages.hercules-ci-cnix-expr} $out/bin/hercules-ci-agent-worker ''} diff --git a/pkgs/by-name/il/ilspycmd/package.nix b/pkgs/by-name/il/ilspycmd/package.nix index 58ed7373d0fd..1bbf1742bad8 100644 --- a/pkgs/by-name/il/ilspycmd/package.nix +++ b/pkgs/by-name/il/ilspycmd/package.nix @@ -22,7 +22,7 @@ buildDotnetModule (finalAttrs: { nativeBuildInputs = [ powershell ] - ++ lib.optionals (stdenvNoCC.hostPlatform.isDarwin && stdenvNoCC.hostPlatform.isAarch64) [ + ++ lib.optionals stdenvNoCC.hostPlatform.isDarwin [ darwin.autoSignDarwinBinariesHook ]; diff --git a/pkgs/by-name/in/inform7/package.nix b/pkgs/by-name/in/inform7/package.nix index bd536931b852..72c8520aea40 100644 --- a/pkgs/by-name/in/inform7/package.nix +++ b/pkgs/by-name/in/inform7/package.nix @@ -44,7 +44,6 @@ stdenv.mkDerivation { platforms = lib.platforms.unix; # never built on aarch64-darwin since first introduction in nixpkgs broken = - (stdenv.hostPlatform.isDarwin && stdenv.hostPlatform.isAarch64) - || (stdenv.hostPlatform.isLinux && stdenv.hostPlatform.isAarch64); + stdenv.hostPlatform.isDarwin || (stdenv.hostPlatform.isLinux && stdenv.hostPlatform.isAarch64); }; } diff --git a/pkgs/by-name/in/inngest/package.nix b/pkgs/by-name/in/inngest/package.nix index 089d1669572a..25ff6ed5bee1 100644 --- a/pkgs/by-name/in/inngest/package.nix +++ b/pkgs/by-name/in/inngest/package.nix @@ -104,6 +104,6 @@ buildGoModule (finalAttrs: { kikos0 ]; mainProgram = "inngest"; - platforms = lib.lists.remove "x86_64-darwin" lib.platforms.all; + platforms = lib.platforms.all; }; }) diff --git a/pkgs/by-name/io/iozone/package.nix b/pkgs/by-name/io/iozone/package.nix index 510489a16a99..8b554ac0ea71 100644 --- a/pkgs/by-name/io/iozone/package.nix +++ b/pkgs/by-name/io/iozone/package.nix @@ -11,8 +11,6 @@ let "linux" else if stdenv.hostPlatform.system == "x86_64-linux" then "linux-AMD64" - else if stdenv.hostPlatform.system == "x86_64-darwin" then - "macosx" else if stdenv.hostPlatform.system == "aarch64-linux" then "linux-arm" # iozone has no riscv64 so use linux diff --git a/pkgs/by-name/is/isabelle/package.nix b/pkgs/by-name/is/isabelle/package.nix index 112dbfc00805..aa2b19b6fc2f 100644 --- a/pkgs/by-name/is/isabelle/package.nix +++ b/pkgs/by-name/is/isabelle/package.nix @@ -245,10 +245,6 @@ stdenv.mkDerivation (finalAttrs: { rm -r heaps '' - + lib.optionalString (stdenv.hostPlatform.system == "x86_64-darwin") '' - substituteInPlace lib/scripts/isabelle-platform \ - --replace-fail 'ISABELLE_APPLE_PLATFORM64=arm64-darwin' "" - '' + lib.optionalString stdenv.hostPlatform.isLinux '' arch=${ if stdenv.hostPlatform.system == "aarch64-linux" then "arm64-linux" else stdenv.hostPlatform.system diff --git a/pkgs/by-name/ja/jameica/package.nix b/pkgs/by-name/ja/jameica/package.nix index e8d99bf3996e..817f1f1fe850 100644 --- a/pkgs/by-name/ja/jameica/package.nix +++ b/pkgs/by-name/ja/jameica/package.nix @@ -22,8 +22,6 @@ let "linux64" else if stdenv.hostPlatform.system == "aarch64-linux" then "linux-arm64" - else if stdenv.hostPlatform.system == "x86_64-darwin" then - "macos64" else if stdenv.hostPlatform.system == "aarch64-darwin" then "macos-aarch64" else diff --git a/pkgs/by-name/je/jemalloc/package.nix b/pkgs/by-name/je/jemalloc/package.nix index 56c26cc29d1b..353a43bbacfc 100644 --- a/pkgs/by-name/je/jemalloc/package.nix +++ b/pkgs/by-name/je/jemalloc/package.nix @@ -87,10 +87,7 @@ stdenv.mkDerivation (finalAttrs: { # https://sources.debian.org/src/jemalloc/5.3.0-3/debian/rules/ ++ [ "--with-lg-page=${toString pageSizeMap."${toString pageSizeKiB}"}" - ] - # See https://github.com/jemalloc/jemalloc/issues/1997 - # Using a value of 48 should work on both emulated and native x86_64-darwin. - ++ lib.optional (stdenv.hostPlatform.isDarwin && stdenv.hostPlatform.isx86_64) "--with-lg-vaddr=48"; + ]; env.NIX_CFLAGS_COMPILE = lib.optionalString stdenv.hostPlatform.isDarwin "-Wno-error=array-bounds"; diff --git a/pkgs/by-name/ju/julec/package.nix b/pkgs/by-name/ju/julec/package.nix index 1204eb46cc68..2aafd5c367c7 100644 --- a/pkgs/by-name/ju/julec/package.nix +++ b/pkgs/by-name/ju/julec/package.nix @@ -13,8 +13,6 @@ let "linux-arm64.cpp" else if clangStdenv.hostPlatform.system == "i686-linux" then "linux-i386.cpp" - else if clangStdenv.hostPlatform.system == "x86_64-darwin" then - "darwin-amd64.cpp" else if clangStdenv.hostPlatform.system == "aarch64-darwin" then "darwin-arm64.cpp" else diff --git a/pkgs/by-name/k9/k9s/package.nix b/pkgs/by-name/k9/k9s/package.nix index c354f2441e8f..1fb2a8b6b23c 100644 --- a/pkgs/by-name/k9/k9s/package.nix +++ b/pkgs/by-name/k9/k9s/package.nix @@ -37,7 +37,7 @@ buildGoModule (finalAttrs: { vendorHash = "sha256-PkYDJK2oGl+siCG9p4R8shC0e5BhGFdJsc+ksL9J5zw="; # TODO investigate why some config tests are failing - doCheck = !(stdenv.hostPlatform.isDarwin && stdenv.hostPlatform.isAarch64); + doCheck = !stdenv.hostPlatform.isDarwin; # For arch != x86 # {"level":"fatal","error":"could not create any of the following paths: /homeless-shelter/.config, /etc/xdg","time":"2022-06-28T15:52:36Z","message":"Unable to create configuration directory for k9s"} diff --git a/pkgs/by-name/kv/kvrocks/package.nix b/pkgs/by-name/kv/kvrocks/package.nix index 0ff130ae0eab..f7e4ef29010d 100644 --- a/pkgs/by-name/kv/kvrocks/package.nix +++ b/pkgs/by-name/kv/kvrocks/package.nix @@ -102,7 +102,7 @@ let # RocksDB's startup path via unique_ptr bounds checks. hardeningDisable = (oldAttrs.hardeningDisable or [ ]) - ++ (lib.optionals (stdenv.hostPlatform.isDarwin && stdenv.hostPlatform.isAarch64) [ + ++ (lib.optionals stdenv.hostPlatform.isDarwin [ "libcxxhardeningfast" ]); }); diff --git a/pkgs/by-name/la/lapack-reference/package.nix b/pkgs/by-name/la/lapack-reference/package.nix index c0de4ce76a46..2e03a1e46a75 100644 --- a/pkgs/by-name/la/lapack-reference/package.nix +++ b/pkgs/by-name/la/lapack-reference/package.nix @@ -27,7 +27,7 @@ stdenv.mkDerivation (finalAttrs: { ]; # Configure stage fails on aarch64-darwin otherwise, due to either clang 11 or gfortran 10. - hardeningDisable = lib.optionals (stdenv.hostPlatform.isDarwin && stdenv.hostPlatform.isAarch64) [ + hardeningDisable = lib.optionals stdenv.hostPlatform.isDarwin [ "stackprotector" ]; diff --git a/pkgs/by-name/la/lapack/package.nix b/pkgs/by-name/la/lapack/package.nix index ba24b000b827..41ad359d895e 100644 --- a/pkgs/by-name/la/lapack/package.nix +++ b/pkgs/by-name/la/lapack/package.nix @@ -50,10 +50,6 @@ stdenv.mkDerivation { implementation = lapackImplementation; }; - # TODO: drop this forced rebuild, as it was needed just once. - rebuild_salt = - if stdenv.hostPlatform.isDarwin && stdenv.hostPlatform.isx86_64 then "J4AQ" else null; - dontBuild = true; dontConfigure = true; unpackPhase = "src=$PWD"; diff --git a/pkgs/by-name/lc/lcdproc/package.nix b/pkgs/by-name/lc/lcdproc/package.nix index 306126129217..0d9cc9cf5987 100644 --- a/pkgs/by-name/lc/lcdproc/package.nix +++ b/pkgs/by-name/lc/lcdproc/package.nix @@ -88,6 +88,6 @@ stdenv.mkDerivation (finalAttrs: { maintainers = with lib.maintainers; [ peterhoeg ]; platforms = lib.platforms.unix; # never built on aarch64-darwin since first introduction in nixpkgs - broken = stdenv.hostPlatform.isDarwin && stdenv.hostPlatform.isAarch64; + broken = stdenv.hostPlatform.isDarwin; }; }) diff --git a/pkgs/by-name/ld/ldc/bootstrap.nix b/pkgs/by-name/ld/ldc/bootstrap.nix index 8652ac18c47b..12264240dab8 100644 --- a/pkgs/by-name/ld/ldc/bootstrap.nix +++ b/pkgs/by-name/ld/ldc/bootstrap.nix @@ -12,8 +12,7 @@ let inherit (stdenv) hostPlatform; OS = if hostPlatform.isDarwin then "osx" else hostPlatform.parsed.kernel.name; - ARCH = - if hostPlatform.isDarwin && hostPlatform.isAarch64 then "arm64" else hostPlatform.parsed.cpu.name; + ARCH = if hostPlatform.isDarwin then hostPlatform.darwinArch else hostPlatform.parsed.cpu.name; version = "1.42.0"; hashes = { # Get these from `nix store prefetch-file https://github.com/ldc-developers/ldc/releases/download/v1.19.0/ldc2-1.19.0-osx-x86_64.tar.xz` etc.. diff --git a/pkgs/by-name/li/libffi_3_3/package.nix b/pkgs/by-name/li/libffi_3_3/package.nix index 791799bc3337..c275ed085da7 100644 --- a/pkgs/by-name/li/libffi_3_3/package.nix +++ b/pkgs/by-name/li/libffi_3_3/package.nix @@ -80,6 +80,6 @@ stdenv.mkDerivation (finalAttrs: { maintainers = with lib.maintainers; [ armeenm ]; platforms = lib.platforms.all; # never built on aarch64-darwin since first introduction in nixpkgs - broken = stdenv.hostPlatform.isDarwin && stdenv.hostPlatform.isAarch64; + broken = stdenv.hostPlatform.isDarwin; }; }) diff --git a/pkgs/by-name/li/libgcrypt/package.nix b/pkgs/by-name/li/libgcrypt/package.nix index b78c294706fb..0b3c35895961 100644 --- a/pkgs/by-name/li/libgcrypt/package.nix +++ b/pkgs/by-name/li/libgcrypt/package.nix @@ -55,9 +55,7 @@ stdenv.mkDerivation (finalAttrs: { configureFlags = [ "--with-libgpg-error-prefix=${libgpg-error.dev}" ] - ++ lib.optional ( - stdenv.hostPlatform.isMusl || (stdenv.hostPlatform.isDarwin && stdenv.hostPlatform.isAarch64) - ) "--disable-asm" # for darwin see https://dev.gnupg.org/T5157 + ++ lib.optional (stdenv.hostPlatform.isMusl || stdenv.hostPlatform.isDarwin) "--disable-asm" # for darwin see https://dev.gnupg.org/T5157 # Fix undefined reference errors with version script under LLVM. ++ lib.optional ( stdenv.cc.bintools.isLLVM && lib.versionAtLeast stdenv.cc.bintools.version "17" diff --git a/pkgs/by-name/li/libglvnd/package.nix b/pkgs/by-name/li/libglvnd/package.nix index 2e4fd20dd83a..4d049173991a 100644 --- a/pkgs/by-name/li/libglvnd/package.nix +++ b/pkgs/by-name/li/libglvnd/package.nix @@ -76,7 +76,7 @@ stdenv.mkDerivation (finalAttrs: { # Indirectly: https://bugs.freedesktop.org/show_bug.cgi?id=35268 ++ lib.optional stdenv.hostPlatform.isMusl "--disable-tls" # Remove when aarch64-darwin asm support is upstream: https://gitlab.freedesktop.org/glvnd/libglvnd/-/issues/216 - ++ lib.optional (stdenv.hostPlatform.isDarwin && stdenv.hostPlatform.isAarch64) "--disable-asm"; + ++ lib.optional stdenv.hostPlatform.isDarwin "--disable-asm"; outputs = [ "out" diff --git a/pkgs/by-name/li/libjxl/package.nix b/pkgs/by-name/li/libjxl/package.nix index 92806f98b041..c0f412da3128 100644 --- a/pkgs/by-name/li/libjxl/package.nix +++ b/pkgs/by-name/li/libjxl/package.nix @@ -171,9 +171,7 @@ stdenv.mkDerivation rec { CXXFLAGS = "-mfp16-format=ieee"; }; - # FIXME x86_64-darwin: - # https://github.com/NixOS/nixpkgs/pull/204030#issuecomment-1352768690 - doCheck = with stdenv.hostPlatform; !(isi686 || isDarwin && isx86_64); + doCheck = with stdenv.hostPlatform; !isi686; disabledTests = lib.optionals stdenv.hostPlatform.isBigEndian [ # https://github.com/libjxl/libjxl/issues/3629 diff --git a/pkgs/by-name/li/libmspub/package.nix b/pkgs/by-name/li/libmspub/package.nix index cab88cdc233e..95a94751a567 100644 --- a/pkgs/by-name/li/libmspub/package.nix +++ b/pkgs/by-name/li/libmspub/package.nix @@ -53,6 +53,6 @@ stdenv.mkDerivation (finalAttrs: { license = lib.licenses.mpl20; maintainers = [ ]; platforms = lib.platforms.all; - broken = stdenv.hostPlatform.isDarwin && stdenv.hostPlatform.isAarch64; + broken = stdenv.hostPlatform.isDarwin; }; }) diff --git a/pkgs/by-name/li/liboil/package.nix b/pkgs/by-name/li/liboil/package.nix index 62a9d328de65..a20cb91595c3 100644 --- a/pkgs/by-name/li/liboil/package.nix +++ b/pkgs/by-name/li/liboil/package.nix @@ -25,12 +25,6 @@ stdenv.mkDerivation (finalAttrs: { nativeBuildInputs = [ pkg-config ]; - # fix "argb_paint_i386.c:53:Incorrect register `%rax' used with `l' suffix" - # errors - configureFlags = lib.optional ( - stdenv.hostPlatform.isDarwin && stdenv.hostPlatform.isx86_64 - ) "--build=x86_64"; - # fixes a cast in inline asm: easier than patching buildFlags = lib.optional stdenv.hostPlatform.isDarwin "CFLAGS=-fheinous-gnu-extensions"; diff --git a/pkgs/by-name/li/libplist/package.nix b/pkgs/by-name/li/libplist/package.nix index 91b60fc95f71..66a78b3d711c 100644 --- a/pkgs/by-name/li/libplist/package.nix +++ b/pkgs/by-name/li/libplist/package.nix @@ -49,7 +49,7 @@ stdenv.mkDerivation (finalAttrs: { ]; # Tests segfault on aarch64-darwin: https://hydra.nixos.org/build/323410364 - doCheck = !(stdenv.hostPlatform.isDarwin && stdenv.hostPlatform.isAarch64); + doCheck = !stdenv.hostPlatform.isDarwin; postFixup = lib.optionalString enablePython '' moveToOutput "lib/${python3.libPrefix}" "$py" diff --git a/pkgs/by-name/li/libredirect/package.nix b/pkgs/by-name/li/libredirect/package.nix index 2981d4d41a20..a8102b2861d9 100644 --- a/pkgs/by-name/li/libredirect/package.nix +++ b/pkgs/by-name/li/libredirect/package.nix @@ -43,7 +43,7 @@ else runHook preBuild ${ - if stdenv.hostPlatform.isDarwin && stdenv.hostPlatform.isAarch64 then + if stdenv.hostPlatform.isDarwin then '' # We need the unwrapped binutils and clang: # We also want to build a fat library with x86_64, arm64, arm64e in there. @@ -93,7 +93,7 @@ else install -vD "$libName" "$out/lib/$libName" '' - + lib.optionalString (stdenv.hostPlatform.isDarwin && stdenv.hostPlatform.isAarch64) '' + + lib.optionalString stdenv.hostPlatform.isDarwin '' # dylib will be rejected unless dylib rpath gets explicitly set install_name_tool \ -change $libName $out/lib/$libName \ diff --git a/pkgs/by-name/li/lighthouse/package.nix b/pkgs/by-name/li/lighthouse/package.nix index b4194ccb81c6..5699b77e4aab 100644 --- a/pkgs/by-name/li/lighthouse/package.nix +++ b/pkgs/by-name/li/lighthouse/package.nix @@ -320,7 +320,7 @@ rustPlatform.buildRustPackage rec { "--skip=move_validators::test::two_validators_move_one_where_one_is_a_duplicate" "--skip=move_validators::test::two_validators_move_one_with_identical_password_files" ] - ++ lib.optionals (stdenv.hostPlatform.isAarch64 && stdenv.hostPlatform.isDarwin) [ + ++ lib.optionals stdenv.hostPlatform.isDarwin [ "--skip=subnet_service::tests::attestation_service::test_subscribe_same_subnet_several_slots_apart" "--skip=subnet_service::tests::sync_committee_service::same_subscription_with_lower_until_epoch" "--skip=subnet_service::tests::sync_committee_service::subscribe_and_unsubscribe" diff --git a/pkgs/by-name/li/link-grammar/package.nix b/pkgs/by-name/li/link-grammar/package.nix index ab5d87c6f85d..ba53637582ee 100644 --- a/pkgs/by-name/li/link-grammar/package.nix +++ b/pkgs/by-name/li/link-grammar/package.nix @@ -57,8 +57,7 @@ let export DYLD_LIBRARY_PATH=$(pwd)/link-grammar/.libs ''; - # multi-dict test randomly fails on x86_64-darwin - doCheck = stdenv.hostPlatform.system != "x86_64-darwin"; + doCheck = true; passthru.tests = { quick = diff --git a/pkgs/by-name/lp/lp_solve/package.nix b/pkgs/by-name/lp/lp_solve/package.nix index 4274eb570642..908e69dc2203 100644 --- a/pkgs/by-name/lp/lp_solve/package.nix +++ b/pkgs/by-name/lp/lp_solve/package.nix @@ -29,15 +29,12 @@ stdenv.mkDerivation (finalAttrs: { cctools fixDarwinDylibNames ] - ++ lib.optionals (stdenv.hostPlatform.isDarwin && stdenv.hostPlatform.isAarch64) [ + ++ lib.optionals stdenv.hostPlatform.isDarwin [ darwin.autoSignDarwinBinariesHook ]; env = { NIX_CFLAGS_COMPILE = "-Wno-error=implicit-int"; - } - // lib.optionalAttrs (stdenv.hostPlatform.isDarwin && stdenv.hostPlatform.isx86_64) { - NIX_LDFLAGS = "-headerpad_max_install_names"; }; dontConfigure = true; diff --git a/pkgs/by-name/lu/lucky-commit/package.nix b/pkgs/by-name/lu/lucky-commit/package.nix index e18b7ed7de1e..46e497355367 100644 --- a/pkgs/by-name/lu/lucky-commit/package.nix +++ b/pkgs/by-name/lu/lucky-commit/package.nix @@ -21,7 +21,7 @@ rustPlatform.buildRustPackage (finalAttrs: { cargoHash = "sha256-zuWPkaYltxOOLaR6NTVkf1WbKzUQByml45jNL+e5UJ0="; # LLVM Apple assembler rejects `:lo12:` combined with `@PAGEOFF`. - postPatch = lib.optionalString (stdenv.hostPlatform.isDarwin && stdenv.hostPlatform.isAarch64) '' + postPatch = lib.optionalString stdenv.hostPlatform.isDarwin '' substituteInPlace "$cargoDepsCopy"/*/sha1-asm-*/src/aarch64_apple.S \ --replace-fail "#:lo12:.K0@PAGEOFF" ".K0@PAGEOFF" \ --replace-fail "#:lo12:.K1@PAGEOFF" ".K1@PAGEOFF" \ diff --git a/pkgs/by-name/ma/matrix-conduit/package.nix b/pkgs/by-name/ma/matrix-conduit/package.nix index ab8556ab79b5..ca1a04388ff1 100644 --- a/pkgs/by-name/ma/matrix-conduit/package.nix +++ b/pkgs/by-name/ma/matrix-conduit/package.nix @@ -4,7 +4,6 @@ fetchFromGitLab, pkg-config, sqlite, - stdenv, nixosTests, rocksdb, rust-jemalloc-sys, @@ -45,8 +44,7 @@ rustPlatform.buildRustPackage (finalAttrs: { ROCKSDB_LIB_DIR = "${rocksdb}/lib"; }; - # tests failed on x86_64-darwin with SIGILL: illegal instruction - doCheck = !(stdenv.hostPlatform.isx86_64 && stdenv.hostPlatform.isDarwin); + doCheck = true; passthru.tests = { inherit (nixosTests) matrix-conduit; diff --git a/pkgs/by-name/mc/mc/package.nix b/pkgs/by-name/mc/mc/package.nix index fa63ec0295b2..269b632bce78 100644 --- a/pkgs/by-name/mc/mc/package.nix +++ b/pkgs/by-name/mc/mc/package.nix @@ -40,7 +40,7 @@ stdenv.mkDerivation (finalAttrs: { ] # The preFixup hook rewrites the binary, which invaliates the code # signature. Add the fixup hook to sign the output. - ++ lib.optionals (stdenv.hostPlatform.isDarwin && stdenv.hostPlatform.isAarch64) [ + ++ lib.optionals stdenv.hostPlatform.isDarwin [ darwin.autoSignDarwinBinariesHook ]; diff --git a/pkgs/by-name/mi/micropython/package.nix b/pkgs/by-name/mi/micropython/package.nix index 38df77b5a981..8ffebb9b0fb6 100644 --- a/pkgs/by-name/mi/micropython/package.nix +++ b/pkgs/by-name/mi/micropython/package.nix @@ -119,9 +119,7 @@ stdenv.mkDerivation rec { skippedTests = " -e select_poll_fd" - + - lib.optionalString (stdenv.hostPlatform.isDarwin && stdenv.hostPlatform.isAarch64) - " -e ffi_callback -e float_parse -e float_parse_doubleproc -e 'thread/stress_*' -e select_poll_eintr" + + lib.optionalString stdenv.hostPlatform.isDarwin " -e ffi_callback -e float_parse -e float_parse_doubleproc -e 'thread/stress_*' -e select_poll_eintr" + lib.optionalString ( stdenv.hostPlatform.isLinux && stdenv.hostPlatform.isAarch64 ) " -e float_parse"; diff --git a/pkgs/by-name/mi/mistral-rs/package.nix b/pkgs/by-name/mi/mistral-rs/package.nix index 0b15cbb7e591..495faa072e20 100644 --- a/pkgs/by-name/mi/mistral-rs/package.nix +++ b/pkgs/by-name/mi/mistral-rs/package.nix @@ -68,8 +68,7 @@ let metalSupport = assert accelIsValid; - (acceleration == "metal") - || (hostPlatform.isDarwin && hostPlatform.isAarch64 && (acceleration == null)); + (acceleration == "metal") || (hostPlatform.isDarwin && (acceleration == null)); in rustPlatform.buildRustPackage (finalAttrs: { @@ -263,7 +262,7 @@ rustPlatform.buildRustPackage (finalAttrs: { mistral-rs.override { acceleration = "mkl"; } ); withCuda = lib.optionalAttrs hostPlatform.isLinux (mistral-rs.override { acceleration = "cuda"; }); - withMetal = lib.optionalAttrs (hostPlatform.isDarwin && hostPlatform.isAarch64) ( + withMetal = lib.optionalAttrs hostPlatform.isDarwin ( mistral-rs.override { acceleration = "metal"; } ); }; diff --git a/pkgs/by-name/mk/mkp224o/package.nix b/pkgs/by-name/mk/mkp224o/package.nix index 671917201b64..989065cf7d43 100644 --- a/pkgs/by-name/mk/mkp224o/package.nix +++ b/pkgs/by-name/mk/mkp224o/package.nix @@ -40,7 +40,7 @@ stdenv.mkDerivation rec { configureFlags = [ "--enable-donna-sse2" ]; } ] - ++ lib.optionals (!stdenv.hostPlatform.isDarwin && stdenv.hostPlatform.isx86_64) [ + ++ lib.optionals stdenv.hostPlatform.isx86_64 [ { suffix = "amd64-51-30k"; configureFlags = [ "--enable-amd64-51-30k" ]; diff --git a/pkgs/by-name/mo/motion/package.nix b/pkgs/by-name/mo/motion/package.nix index 83a86f860361..7b81bcdf3b83 100644 --- a/pkgs/by-name/mo/motion/package.nix +++ b/pkgs/by-name/mo/motion/package.nix @@ -48,7 +48,7 @@ stdenv.mkDerivation (finalAttrs: { ]; platforms = lib.platforms.unix; # never built on aarch64-darwin since first introduction in nixpkgs - broken = stdenv.hostPlatform.isDarwin && stdenv.hostPlatform.isAarch64; + broken = stdenv.hostPlatform.isDarwin; mainProgram = "motion"; }; }) diff --git a/pkgs/by-name/ms/msedit/package.nix b/pkgs/by-name/ms/msedit/package.nix index 4606cf1318e1..631f5d34af98 100644 --- a/pkgs/by-name/ms/msedit/package.nix +++ b/pkgs/by-name/ms/msedit/package.nix @@ -23,13 +23,6 @@ rustPlatform.buildRustPackage (finalAttrs: { # Requires nightly features env = { RUSTC_BOOTSTRAP = 1; - # Without -headerpad, the following error occurs on x86_64-darwin - # error: install_name_tool: changing install names or rpaths can't be redone for: ... because larger updated load commands do not fit (the program must be relinked, and you may need to use -headerpad or -headerpad_max_install_names) - NIX_LDFLAGS = toString ( - lib.optionals (with stdenv.hostPlatform; isDarwin && isx86_64) [ - "-headerpad_max_install_names" - ] - ); } // lib.optionalAttrs stdenv.hostPlatform.isLinux { # https://github.com/microsoft/edit/releases/tag/v2.0.0 diff --git a/pkgs/by-name/na/namecoind/package.nix b/pkgs/by-name/na/namecoind/package.nix index 6db4f489064e..8507b5533795 100644 --- a/pkgs/by-name/na/namecoind/package.nix +++ b/pkgs/by-name/na/namecoind/package.nix @@ -38,7 +38,7 @@ stdenv.mkDerivation (finalAttrs: { ] ++ lib.optionals stdenv.hostPlatform.isLinux [ util-linux ] ++ lib.optionals stdenv.hostPlatform.isDarwin [ hexdump ] - ++ lib.optionals (stdenv.hostPlatform.isDarwin && stdenv.hostPlatform.isAarch64) [ + ++ lib.optionals stdenv.hostPlatform.isDarwin [ darwin.autoSignDarwinBinariesHook ]; diff --git a/pkgs/by-name/nd/ndcurves/package.nix b/pkgs/by-name/nd/ndcurves/package.nix index 27f7cc704195..d4bb2d67e682 100644 --- a/pkgs/by-name/nd/ndcurves/package.nix +++ b/pkgs/by-name/nd/ndcurves/package.nix @@ -51,9 +51,6 @@ stdenv.mkDerivation (finalAttrs: { ] ++ lib.optional stdenv.hostPlatform.isAarch64 ( lib.cmakeFeature "CMAKE_CTEST_ARGUMENTS" "--exclude-regex;'curves_tests|python-curves'" - ) - ++ lib.optional (stdenv.hostPlatform.isDarwin && stdenv.hostPlatform.isx86_64) ( - lib.cmakeFeature "CMAKE_CTEST_ARGUMENTS" "--exclude-regex;'test-so3-smooth'" ); doCheck = true; diff --git a/pkgs/by-name/ne/nest-cli/package.nix b/pkgs/by-name/ne/nest-cli/package.nix index f6ec900387a2..9335ad849847 100644 --- a/pkgs/by-name/ne/nest-cli/package.nix +++ b/pkgs/by-name/ne/nest-cli/package.nix @@ -28,7 +28,7 @@ buildNpmPackage (finalAttrs: { nativeBuildInputs = [ python3 ] - ++ lib.optionals (stdenv.hostPlatform.isDarwin && stdenv.hostPlatform.isAarch64) [ clang_20 ]; # clang_21 breaks gyp builds + ++ lib.optionals stdenv.hostPlatform.isDarwin [ clang_20 ]; # clang_21 breaks gyp builds meta = { changelog = "https://github.com/nestjs/nest-cli/releases/tag/${finalAttrs.version}"; diff --git a/pkgs/by-name/ni/nim-unwrapped/package.nix b/pkgs/by-name/ni/nim-unwrapped/package.nix index 2ccc7547b001..51b8f21a5af8 100644 --- a/pkgs/by-name/ni/nim-unwrapped/package.nix +++ b/pkgs/by-name/ni/nim-unwrapped/package.nix @@ -77,7 +77,7 @@ stdenv.mkDerivation (finalAttrs: { "-d:release" ]; - preBuild = lib.optionalString (stdenv.hostPlatform.isDarwin && stdenv.hostPlatform.isAarch64) '' + preBuild = lib.optionalString stdenv.hostPlatform.isDarwin '' substituteInPlace makefile \ --replace "aarch64" "arm64" ''; diff --git a/pkgs/by-name/nl/nlojet/package.nix b/pkgs/by-name/nl/nlojet/package.nix index 975fe5d33fc2..cece7a15604e 100644 --- a/pkgs/by-name/nl/nlojet/package.nix +++ b/pkgs/by-name/nl/nlojet/package.nix @@ -20,9 +20,7 @@ stdenv.mkDerivation (finalAttrs: { env.CXXFLAGS = "-std=c++11"; # error: no member named 'finite' in the global namespace; did you mean simply 'finite'? - env.NIX_CFLAGS_COMPILE = lib.optionalString ( - stdenv.hostPlatform.isDarwin && stdenv.hostPlatform.isAarch64 - ) "-Dfinite=isfinite"; + env.NIX_CFLAGS_COMPILE = lib.optionalString stdenv.hostPlatform.isDarwin "-Dfinite=isfinite"; meta = { homepage = "http://www.desy.de/~znagy/Site/NLOJet++.html"; diff --git a/pkgs/by-name/ns/ns-3/package.nix b/pkgs/by-name/ns/ns-3/package.nix index 175bb064996d..268a692197a9 100644 --- a/pkgs/by-name/ns/ns-3/package.nix +++ b/pkgs/by-name/ns/ns-3/package.nix @@ -169,7 +169,6 @@ stdenv.mkDerivation (finalAttrs: { ]; # never built on aarch64-darwin since first introduction in nixpkgs broken = - (stdenv.hostPlatform.isDarwin && stdenv.hostPlatform.isAarch64) - || (stdenv.hostPlatform.isLinux && stdenv.hostPlatform.isAarch64); + stdenv.hostPlatform.isDarwin || (stdenv.hostPlatform.isLinux && stdenv.hostPlatform.isAarch64); }; }) diff --git a/pkgs/by-name/nt/ntpd-rs/package.nix b/pkgs/by-name/nt/ntpd-rs/package.nix index 9c49e4b37a17..0b8922d2d240 100644 --- a/pkgs/by-name/nt/ntpd-rs/package.nix +++ b/pkgs/by-name/nt/ntpd-rs/package.nix @@ -99,7 +99,5 @@ rustPlatform.buildRustPackage (finalAttrs: { getchoo ]; mainProgram = "ntp-ctl"; - # note: Undefined symbols for architecture x86_64: "_ntp_adjtime" - broken = stdenv.hostPlatform.isDarwin && stdenv.hostPlatform.isx86_64; }; }) diff --git a/pkgs/by-name/nu/nusmv/package.nix b/pkgs/by-name/nu/nusmv/package.nix index 6d1866720adc..0133f667044d 100644 --- a/pkgs/by-name/nu/nusmv/package.nix +++ b/pkgs/by-name/nu/nusmv/package.nix @@ -9,24 +9,12 @@ stdenv.mkDerivation (finalAttrs: { pname = "NuSMV"; version = "2.7.0"; - src = - with stdenv.hostPlatform; - fetchurl ( - if isx86_64 && isLinux then - { - url = "https://nusmv.fbk.eu/distrib/${finalAttrs.version}/NuSMV-${finalAttrs.version}-linux64.tar.xz"; - sha256 = "019d1pa5aw58n11is1024hs8d520b3pp2iyix78vp04yv7wd42l8"; - } - else if isx86_64 && isDarwin then - { - url = "https://nusmv.fbk.eu/distrib/${finalAttrs.version}/NuSMV-${finalAttrs.version}-macos-universal.tar.xz"; - sha256 = "098wllv4yx284qv9nsi8kd5pgh10cr1hig01a1p2rxgfmrki52wm"; - } - else - throw "only linux and mac x86_64 are currently supported" - ); + src = fetchurl { + url = "https://nusmv.fbk.eu/distrib/${finalAttrs.version}/NuSMV-${finalAttrs.version}-linux64.tar.xz"; + sha256 = "019d1pa5aw58n11is1024hs8d520b3pp2iyix78vp04yv7wd42l8"; + }; - nativeBuildInputs = lib.optionals stdenv.hostPlatform.isLinux [ autoPatchelfHook ]; + nativeBuildInputs = [ autoPatchelfHook ]; installPhase = '' install -m755 -D bin/NuSMV $out/bin/NuSMV @@ -40,7 +28,7 @@ stdenv.mkDerivation (finalAttrs: { homepage = "https://nusmv.fbk.eu/"; maintainers = with lib.maintainers; [ mgttlinger ]; sourceProvenance = with lib.sourceTypes; [ binaryNativeCode ]; - platforms = lib.platforms.linux ++ lib.platforms.darwin; + platforms = [ "x86_64-linux" ]; license = lib.licenses.lgpl21Plus; }; }) diff --git a/pkgs/by-name/oa/oama/package.nix b/pkgs/by-name/oa/oama/package.nix index 04ff98d32e7e..8b7e0b49aca3 100644 --- a/pkgs/by-name/oa/oama/package.nix +++ b/pkgs/by-name/oa/oama/package.nix @@ -42,10 +42,5 @@ lib.pipe raw-pkg [ (overrideCabal overrides) # FIXME: eliminate all erroneous references on aarch64-darwin manually, # see https://github.com/NixOS/nixpkgs/issues/318013 - ( - if stdenv.hostPlatform.isDarwin && stdenv.hostPlatform.isAarch64 then - lib.id - else - justStaticExecutables - ) + (if stdenv.hostPlatform.isDarwin then lib.id else justStaticExecutables) ] diff --git a/pkgs/by-name/op/openlist/package.nix b/pkgs/by-name/op/openlist/package.nix index 4e33a807105f..292802a235e8 100644 --- a/pkgs/by-name/op/openlist/package.nix +++ b/pkgs/by-name/op/openlist/package.nix @@ -77,12 +77,6 @@ buildGoModule (finalAttrs: { "TestWebsocketAll" "TestWebsocketCaller" "TestDownloadOrder" - ] - ++ lib.optionals (stdenv.hostPlatform.isDarwin && stdenv.hostPlatform.isx86_64) [ - # --- FAIL: TestTask_Cancel (0.01s) - # task_test.go:48: task is running - # task_test.go:61: task status not canceled: canceling - "TestTask_Cancel" ]; in [ "-skip=^${builtins.concatStringsSep "$|^" skippedTests}$" ]; diff --git a/pkgs/by-name/op/openscreen/package.nix b/pkgs/by-name/op/openscreen/package.nix index 00d900702312..662d9fc15fe2 100644 --- a/pkgs/by-name/op/openscreen/package.nix +++ b/pkgs/by-name/op/openscreen/package.nix @@ -6,7 +6,6 @@ copyDesktopItems, makeWrapper, makeDesktopItem, - xcbuild, electron_41, nodejs_22, nix-update-script, @@ -35,9 +34,6 @@ buildNpmPackage (finalAttrs: { nativeBuildInputs = [ makeWrapper copyDesktopItems - ] - ++ lib.optionals (stdenv.hostPlatform.isDarwin && stdenv.hostPlatform.isx86_64) [ - xcbuild ]; env.ELECTRON_SKIP_BINARY_DOWNLOAD = "1"; diff --git a/pkgs/by-name/or/oracle-instantclient/package.nix b/pkgs/by-name/or/oracle-instantclient/package.nix index 9d1d30d9d04e..44a34cafe290 100644 --- a/pkgs/by-name/or/oracle-instantclient/package.nix +++ b/pkgs/by-name/or/oracle-instantclient/package.nix @@ -124,7 +124,7 @@ let (fetcher (srcFilename component arch version rels.${component} or "") hashes.${component} or "") ) components; - isDarwinAarch64 = stdenv.hostPlatform.system == "aarch64-darwin"; + inherit (stdenv.hostPlatform) isDarwin; pname = "oracle-instantclient"; extLib = stdenv.hostPlatform.extensions.sharedLibrary; @@ -140,7 +140,7 @@ stdenv.mkDerivation { nativeBuildInputs = [ makeWrapper - (if isDarwinAarch64 then _7zz else unzip) + (if isDarwin then _7zz else unzip) ] ++ optional stdenv.hostPlatform.isLinux autoPatchelfHook ++ optional stdenv.hostPlatform.isDarwin fixDarwinDylibNames; @@ -151,7 +151,7 @@ stdenv.mkDerivation { "lib" ]; - unpackCmd = if isDarwinAarch64 then "7zz x $curSrc -aoa -oinstantclient" else "unzip $curSrc"; + unpackCmd = if isDarwin then "7zz x $curSrc -aoa -oinstantclient" else "unzip $curSrc"; installPhase = '' mkdir -p "$out/"{bin,include,lib,"share/java","share/${pname}-${version}/demo/"} $lib/lib diff --git a/pkgs/by-name/or/orc/package.nix b/pkgs/by-name/or/orc/package.nix index de84f842a94d..12f3974d486d 100644 --- a/pkgs/by-name/or/orc/package.nix +++ b/pkgs/by-name/or/orc/package.nix @@ -40,11 +40,6 @@ stdenv.mkDerivation (finalAttrs: { hash = "sha256-/fWXR9LuINXwVMXCAGVm4H6I+Lut1u43rz+xmV+5cVs="; }; - postPatch = lib.optionalString (stdenv.hostPlatform.isDarwin && stdenv.hostPlatform.isx86_64) '' - # This benchmark times out on Hydra.nixos.org - sed -i '/memcpy_speed/d' testsuite/meson.build - ''; - mesonFlags = lib.mapAttrsToList lib.mesonEnable { examples = false; benchmarks = false; diff --git a/pkgs/by-name/pa/papilo/package.nix b/pkgs/by-name/pa/papilo/package.nix index fa41728b16c0..a3165944a7c1 100644 --- a/pkgs/by-name/pa/papilo/package.nix +++ b/pkgs/by-name/pa/papilo/package.nix @@ -19,20 +19,15 @@ stdenv.mkDerivation (finalAttrs: { }; # skip SEGFAULT tests - postPatch = - lib.optionalString stdenv.hostPlatform.isDarwin '' - substituteInPlace test/CMakeLists.txt \ - --replace-fail '"matrix-buffer"' "" \ - --replace-fail '"vector-comparisons"' "" \ - --replace-fail '"matrix-comparisons"' "" \ - --replace-fail '"presolve-activity-is-updated-correctly-huge-values"' "" \ - --replace-fail '"problem-comparisons"' "" \ - --replace-fail "Boost_IOSTREAMS_FOUND" "FALSE" - '' - + (lib.optionalString (stdenv.hostPlatform.isDarwin && stdenv.hostPlatform.isx86_64) '' - substituteInPlace test/CMakeLists.txt \ - --replace-fail '"happy-path-replace-variable"' "" - ''); + postPatch = lib.optionalString stdenv.hostPlatform.isDarwin '' + substituteInPlace test/CMakeLists.txt \ + --replace-fail '"matrix-buffer"' "" \ + --replace-fail '"vector-comparisons"' "" \ + --replace-fail '"matrix-comparisons"' "" \ + --replace-fail '"presolve-activity-is-updated-correctly-huge-values"' "" \ + --replace-fail '"problem-comparisons"' "" \ + --replace-fail "Boost_IOSTREAMS_FOUND" "FALSE" + ''; nativeBuildInputs = [ cmake ]; diff --git a/pkgs/by-name/pc/pc-ble-driver/package.nix b/pkgs/by-name/pc/pc-ble-driver/package.nix index f2b4ff953fc0..35775286d68d 100644 --- a/pkgs/by-name/pc/pc-ble-driver/package.nix +++ b/pkgs/by-name/pc/pc-ble-driver/package.nix @@ -38,7 +38,7 @@ stdenv.mkDerivation rec { cmakeFlags = [ "-DNRF_BLE_DRIVER_VERSION=${version}" ] - ++ lib.optionals (stdenv.hostPlatform.isDarwin && stdenv.hostPlatform.isAarch64) [ + ++ lib.optionals stdenv.hostPlatform.isDarwin [ "-DARCH=arm64" ]; diff --git a/pkgs/by-name/pi/pixelflasher/package.nix b/pkgs/by-name/pi/pixelflasher/package.nix index 8e5695933802..ea70380881f6 100644 --- a/pkgs/by-name/pi/pixelflasher/package.nix +++ b/pkgs/by-name/pi/pixelflasher/package.nix @@ -61,11 +61,7 @@ python3Packages.buildPythonApplication (finalAttrs: { buildPhase = let - specFile = - if stdenv.hostPlatform.isDarwin then - if stdenv.hostPlatform.isAarch64 then "build-on-mac" else "build-on-mac-intel-only" - else - "build-on-linux"; + specFile = if stdenv.hostPlatform.isDarwin then "build-on-mac" else "build-on-linux"; in '' runHook preBuild diff --git a/pkgs/by-name/pl/platformio-core/package.nix b/pkgs/by-name/pl/platformio-core/package.nix index f358173398ce..1e6b0ef18495 100644 --- a/pkgs/by-name/pl/platformio-core/package.nix +++ b/pkgs/by-name/pl/platformio-core/package.nix @@ -119,7 +119,7 @@ buildPythonApplication rec { wsproto zeroconf ] - ++ lib.optionals (stdenv.hostPlatform.isDarwin && stdenv.hostPlatform.isAarch64) [ + ++ lib.optionals stdenv.hostPlatform.isDarwin [ chardet ]; diff --git a/pkgs/by-name/po/poetry/unwrapped.nix b/pkgs/by-name/po/poetry/unwrapped.nix index 1c055472dc53..b5f15ebc18e7 100644 --- a/pkgs/by-name/po/poetry/unwrapped.nix +++ b/pkgs/by-name/po/poetry/unwrapped.nix @@ -113,13 +113,13 @@ buildPythonPackage rec { '' export HOME=$TMPDIR '' - + lib.optionalString (stdenv.hostPlatform.isDarwin && stdenv.hostPlatform.isAarch64) '' + + lib.optionalString stdenv.hostPlatform.isDarwin '' # https://github.com/python/cpython/issues/74570#issuecomment-1093748531 export no_proxy='*'; '' ); - postCheck = lib.optionalString (stdenv.hostPlatform.isDarwin && stdenv.hostPlatform.isAarch64) '' + postCheck = lib.optionalString stdenv.hostPlatform.isDarwin '' unset no_proxy ''; diff --git a/pkgs/by-name/pr/presenterm/package.nix b/pkgs/by-name/pr/presenterm/package.nix index 8822bc7a76f9..c4df31937611 100644 --- a/pkgs/by-name/pr/presenterm/package.nix +++ b/pkgs/by-name/pr/presenterm/package.nix @@ -4,13 +4,9 @@ rustPlatform, fetchFromGitHub, makeBinaryWrapper, - lld, versionCheckHook, nix-update-script, }: -let - inherit (stdenv.hostPlatform) isDarwin isx86_64; -in rustPlatform.buildRustPackage (finalAttrs: { pname = "presenterm"; version = "0.16.1"; @@ -22,20 +18,12 @@ rustPlatform.buildRustPackage (finalAttrs: { hash = "sha256-mIJktrgBweaaLD2YaRcs0vP5hKRy/kMN/HEnwO323DA="; }; - nativeBuildInputs = - lib.optionals isDarwin [ - makeBinaryWrapper - ] - ++ lib.optionals (isDarwin && isx86_64) [ - lld - ]; + nativeBuildInputs = lib.optionals stdenv.hostPlatform.isDarwin [ + makeBinaryWrapper + ]; cargoHash = "sha256-OlZXf8Wg32mXGDGbavLVf1ELoqqSmc8z9DNpvGOfAJ8="; - env = lib.optionalAttrs (isDarwin && isx86_64) { - NIX_CFLAGS_LINK = "-fuse-ld=lld"; - }; - checkFlags = [ # failed to load .tmpEeeeaQ: No such file or directory (os error 2) "--skip=external_snippet" diff --git a/pkgs/by-name/qr/qrupdate/package.nix b/pkgs/by-name/qr/qrupdate/package.nix index ef293c9ba37c..330dbbbe6df2 100644 --- a/pkgs/by-name/qr/qrupdate/package.nix +++ b/pkgs/by-name/qr/qrupdate/package.nix @@ -70,15 +70,10 @@ stdenv.mkDerivation (finalAttrs: { ctestCheckHook ]; - disabledTests = - lib.optionals (stdenv.hostPlatform.isAarch64 && stdenv.hostPlatform.isLinux) [ - # https://github.com/mpimd-csc/qrupdate-ng/issues/7 - "test_tchshx" - ] - ++ lib.optionals (stdenv.hostPlatform.isx86_64 && stdenv.hostPlatform.isDarwin) [ - # https://github.com/mpimd-csc/qrupdate-ng/issues/4 - "test_tch1dn" - ]; + disabledTests = lib.optionals (stdenv.hostPlatform.isAarch64 && stdenv.hostPlatform.isLinux) [ + # https://github.com/mpimd-csc/qrupdate-ng/issues/7 + "test_tchshx" + ]; meta = { description = "Library for fast updating of qr and cholesky decompositions"; diff --git a/pkgs/by-name/ra/rav1e/package.nix b/pkgs/by-name/ra/rav1e/package.nix index bfe1e64d7cf4..600268b69e99 100644 --- a/pkgs/by-name/ra/rav1e/package.nix +++ b/pkgs/by-name/ra/rav1e/package.nix @@ -30,14 +30,6 @@ rustPlatform.buildRustPackage (finalAttrs: { postPatch = '' # remove feature that requires libgit2 and is only used to print a version string substituteInPlace Cargo.toml --replace-fail '"git_version",' "" - '' - + lib.optionalString (stdenv.hostPlatform.isDarwin && stdenv.hostPlatform.isx86_64) '' - # Darwin uses `llvm-strip`, which results in link errors when using `-x` to strip the asm library - # and linking it with cctools ld64. - substituteInPlace build.rs --replace-fail '.arg("-x")' '.arg("-S")' - - # Thin LTO doesn’t appear to work with Rust 1.79. rav1e fail to build when building fern. - substituteInPlace Cargo.toml --replace-fail 'lto = "thin"' 'lto = "fat"' ''; checkType = "debug"; diff --git a/pkgs/by-name/re/reattach-to-user-namespace/package.nix b/pkgs/by-name/re/reattach-to-user-namespace/package.nix index 9e5d6419fd9b..0052507605f5 100644 --- a/pkgs/by-name/re/reattach-to-user-namespace/package.nix +++ b/pkgs/by-name/re/reattach-to-user-namespace/package.nix @@ -16,9 +16,7 @@ stdenv.mkDerivation rec { }; buildFlags = - if stdenv.hostPlatform.system == "x86_64-darwin" then - [ "ARCHES=x86_64" ] - else if stdenv.hostPlatform.system == "aarch64-darwin" then + if stdenv.hostPlatform.isDarwin then [ "ARCHES=arm64" ] else throw "reattach-to-user-namespace isn't being built for ${stdenv.hostPlatform.system} yet."; diff --git a/pkgs/by-name/re/renameutils/package.nix b/pkgs/by-name/re/renameutils/package.nix index 21c8679f3c1e..8199c7d8921e 100644 --- a/pkgs/by-name/re/renameutils/package.nix +++ b/pkgs/by-name/re/renameutils/package.nix @@ -33,7 +33,7 @@ stdenv.mkDerivation (finalAttrs: { nativeBuildInputs = [ readline ]; - preConfigure = lib.optionalString (stdenv.hostPlatform.isDarwin && stdenv.hostPlatform.isAarch64) '' + preConfigure = lib.optionalString stdenv.hostPlatform.isDarwin '' export ac_cv_func_lstat64=no ''; diff --git a/pkgs/by-name/rl/rlottie/package.nix b/pkgs/by-name/rl/rlottie/package.nix index d5768270efbd..858dad309e85 100644 --- a/pkgs/by-name/rl/rlottie/package.nix +++ b/pkgs/by-name/rl/rlottie/package.nix @@ -31,9 +31,7 @@ stdenv.mkDerivation { ./rename_format_to_run-clang-format.patch ]; - env.NIX_CFLAGS_COMPILE = lib.optionalString ( - stdenv.hostPlatform.isDarwin && stdenv.hostPlatform.isAarch64 - ) "-U__ARM_NEON__"; + env.NIX_CFLAGS_COMPILE = lib.optionalString stdenv.hostPlatform.isDarwin "-U__ARM_NEON__"; passthru.updateScript = unstableGitUpdater { tagPrefix = "v"; diff --git a/pkgs/by-name/ro/rotonda/package.nix b/pkgs/by-name/ro/rotonda/package.nix index 31f31285c994..7a8011b783d8 100644 --- a/pkgs/by-name/ro/rotonda/package.nix +++ b/pkgs/by-name/ro/rotonda/package.nix @@ -26,17 +26,14 @@ rustPlatform.buildRustPackage (finalAttrs: { "--skip=http_api_responses_multiple_gets" "--skip=representation::genoutput_json" ] - ++ - lib.optionals - (stdenv.hostPlatform.system == "aarch64-darwin" || stdenv.hostPlatform.system == "x86_64-darwin") - [ - # Attempted to create a NULL object. - "--skip=manager::tests::added_target_should_be_spawned" - # Lazy instance has previously been poisoned - "--skip=manager::tests::modified_settings_are_correctly_announced" - "--skip=manager::tests::removed_target_should_be_terminated" - "--skip=manager::tests::unused_unit_should_not_be_spawned" - ]; + ++ lib.optionals stdenv.hostPlatform.isDarwin [ + # Attempted to create a NULL object. + "--skip=manager::tests::added_target_should_be_spawned" + # Lazy instance has previously been poisoned + "--skip=manager::tests::modified_settings_are_correctly_announced" + "--skip=manager::tests::removed_target_should_be_terminated" + "--skip=manager::tests::unused_unit_should_not_be_spawned" + ]; passthru = { updateScript = nix-update-script { }; diff --git a/pkgs/by-name/rs/rs-reticulum/package.nix b/pkgs/by-name/rs/rs-reticulum/package.nix index e9e14973a2a7..7b422895e0e5 100644 --- a/pkgs/by-name/rs/rs-reticulum/package.nix +++ b/pkgs/by-name/rs/rs-reticulum/package.nix @@ -40,7 +40,7 @@ rustPlatform.buildRustPackage (finalAttrs: { __darwinAllowLocalNetworking = true; - checkFlags = lib.optionals (stdenv.hostPlatform.isDarwin && stdenv.hostPlatform.isAarch64) [ + checkFlags = lib.optionals stdenv.hostPlatform.isDarwin [ # Broken since 0.9.4 "--skip=actor::tests::test_rate_tracking" ]; diff --git a/pkgs/by-name/sa/sacrifice/package.nix b/pkgs/by-name/sa/sacrifice/package.nix index 62353e481ea7..08284533a678 100644 --- a/pkgs/by-name/sa/sacrifice/package.nix +++ b/pkgs/by-name/sa/sacrifice/package.nix @@ -64,6 +64,6 @@ stdenv.mkDerivation { platforms = lib.platforms.unix; maintainers = with lib.maintainers; [ veprbl ]; # never built on aarch64-darwin since first introduction in nixpkgs - broken = stdenv.hostPlatform.isDarwin && stdenv.hostPlatform.isAarch64; + broken = stdenv.hostPlatform.isDarwin; }; } diff --git a/pkgs/by-name/sa/sagittarius-scheme/package.nix b/pkgs/by-name/sa/sagittarius-scheme/package.nix index 97541be796a3..c85fff946e19 100644 --- a/pkgs/by-name/sa/sagittarius-scheme/package.nix +++ b/pkgs/by-name/sa/sagittarius-scheme/package.nix @@ -57,10 +57,6 @@ stdenv.mkDerivation (finalAttrs: { lib.optionals stdenv.hostPlatform.isDarwin [ "-Wno-error=int-conversion" ] - ++ lib.optionals (stdenv.hostPlatform.isDarwin && stdenv.hostPlatform.isx86_64) [ - # error: '__builtin_ia32_aeskeygenassist128' needs target feature aes - "-maes" - ] ); meta = { diff --git a/pkgs/by-name/sd/sdl12-compat/package.nix b/pkgs/by-name/sd/sdl12-compat/package.nix index 636e2641ca83..94f3a663afee 100644 --- a/pkgs/by-name/sd/sdl12-compat/package.nix +++ b/pkgs/by-name/sd/sdl12-compat/package.nix @@ -43,7 +43,7 @@ stdenv.mkDerivation (finalAttrs: { cmake pkg-config ] - ++ lib.optionals (stdenv.hostPlatform.isDarwin && stdenv.hostPlatform.isAarch64) [ + ++ lib.optionals stdenv.hostPlatform.isDarwin [ autoSignDarwinBinariesHook ]; diff --git a/pkgs/by-name/sh/shaderc/package.nix b/pkgs/by-name/sh/shaderc/package.nix index 97e1f69018bf..63fcc8f11e88 100644 --- a/pkgs/by-name/sh/shaderc/package.nix +++ b/pkgs/by-name/sh/shaderc/package.nix @@ -51,7 +51,7 @@ stdenv.mkDerivation (finalAttrs: { python3 ] ++ lib.optionals stdenv.hostPlatform.isDarwin [ cctools ] - ++ lib.optionals (stdenv.hostPlatform.isDarwin && stdenv.hostPlatform.isAarch64) [ + ++ lib.optionals stdenv.hostPlatform.isDarwin [ darwin.autoSignDarwinBinariesHook ]; diff --git a/pkgs/by-name/si/sile/package.nix b/pkgs/by-name/si/sile/package.nix index 7981bc0ee861..e2723d561001 100644 --- a/pkgs/by-name/si/sile/package.nix +++ b/pkgs/by-name/si/sile/package.nix @@ -154,7 +154,7 @@ stdenv.mkDerivation (finalAttrs: { luaEnv = luajit.withPackages (ps: lib.attrVals finalAttrs.finalPackage.passthru.luaPackages ps); # Copied from Makefile.am - tests.test = lib.optionalAttrs (!(stdenv.hostPlatform.isDarwin && stdenv.hostPlatform.isAarch64)) ( + tests.test = lib.optionalAttrs (!stdenv.hostPlatform.isDarwin) ( runCommand "${finalAttrs.pname}-test" { nativeBuildInputs = [ diff --git a/pkgs/by-name/so/soupault/package.nix b/pkgs/by-name/so/soupault/package.nix index 5e45df5959d4..e2d94d4da34e 100644 --- a/pkgs/by-name/so/soupault/package.nix +++ b/pkgs/by-name/so/soupault/package.nix @@ -27,7 +27,7 @@ ocamlPackages.buildDunePackage (finalAttrs: { nativeBuildInputs = [ removeReferencesTo ] - ++ lib.optionals (stdenv.hostPlatform.isDarwin && stdenv.hostPlatform.isAarch64) [ + ++ lib.optionals stdenv.hostPlatform.isDarwin [ darwin.sigtool ]; diff --git a/pkgs/by-name/st/stable-diffusion-cpp/package.nix b/pkgs/by-name/st/stable-diffusion-cpp/package.nix index c911edb8e3e8..36b30e100448 100644 --- a/pkgs/by-name/st/stable-diffusion-cpp/package.nix +++ b/pkgs/by-name/st/stable-diffusion-cpp/package.nix @@ -25,7 +25,7 @@ vulkan-loader, spirv-tools, - metalSupport ? (stdenv.hostPlatform.isDarwin && stdenv.hostPlatform.isAarch64), + metalSupport ? stdenv.hostPlatform.isDarwin, darwin, apple-sdk, }: diff --git a/pkgs/by-name/st/starboard/package.nix b/pkgs/by-name/st/starboard/package.nix index f1c13405c302..16ee6a780f1c 100644 --- a/pkgs/by-name/st/starboard/package.nix +++ b/pkgs/by-name/st/starboard/package.nix @@ -50,10 +50,6 @@ buildGoModule (finalAttrs: { preCheck = '' # Remove test that requires networking rm pkg/plugin/aqua/client/client_integration_test.go - ${lib.optionalString (stdenv.hostPlatform.isDarwin && stdenv.hostPlatform.isx86_64) '' - # Remove "[It] should make a request to fetch registries" test that fails on x86_64-darwin - rm pkg/plugin/aqua/client/client_test.go - ''} # Feed in all but the integration tests for testing # This is because subPackages above limits what is built to just what we diff --git a/pkgs/by-name/st/starship/package.nix b/pkgs/by-name/st/starship/package.nix index ba85e7d5d6fd..5703d6fa87cc 100644 --- a/pkgs/by-name/st/starship/package.nix +++ b/pkgs/by-name/st/starship/package.nix @@ -24,7 +24,7 @@ rustPlatform.buildRustPackage (finalAttrs: { nativeBuildInputs = [ installShellFiles ]; - buildInputs = lib.optionals (stdenv.hostPlatform.isDarwin && stdenv.hostPlatform.isAarch64) [ + buildInputs = lib.optionals stdenv.hostPlatform.isDarwin [ writableTmpDirAsHomeHook ]; diff --git a/pkgs/by-name/st/stockfish/package.nix b/pkgs/by-name/st/stockfish/package.nix index 824e83bd8150..621e66abec94 100644 --- a/pkgs/by-name/st/stockfish/package.nix +++ b/pkgs/by-name/st/stockfish/package.nix @@ -12,13 +12,9 @@ }: let - # The x86-64-modern may need to be refined further in the future - # but stdenv.hostPlatform CPU flags do not currently work on Darwin - # https://discourse.nixos.org/t/darwin-system-and-stdenv-hostplatform-features/9745 - archDarwin = if stdenv.hostPlatform.isx86_64 then "x86-64-modern" else "apple-silicon"; arch = if stdenv.hostPlatform.isDarwin then - archDarwin + "apple-silicon" else if stdenv.hostPlatform.isx86_64 then "x86-64" else if stdenv.hostPlatform.isi686 then diff --git a/pkgs/by-name/st/stoolap/package.nix b/pkgs/by-name/st/stoolap/package.nix index 68ccef88b2c3..79c8ad5b3ccc 100644 --- a/pkgs/by-name/st/stoolap/package.nix +++ b/pkgs/by-name/st/stoolap/package.nix @@ -21,7 +21,7 @@ rustPlatform.buildRustPackage (finalAttrs: { # On aarch64-darwin, dev target needs to set panic strategy to abort # However this must be set while the flag `-Zpanic_abort_tests` is also set, # which could only be done in Rust nightly toolchain. - doCheck = !(with stdenv.hostPlatform; isDarwin && isAarch64); + doCheck = !stdenv.hostPlatform.isDarwin; meta = { description = "Modern Embedded SQL Database written in Rust"; diff --git a/pkgs/by-name/sv/svix-server/package.nix b/pkgs/by-name/sv/svix-server/package.nix index e2c67a77aab1..177fe74ffb25 100644 --- a/pkgs/by-name/sv/svix-server/package.nix +++ b/pkgs/by-name/sv/svix-server/package.nix @@ -5,7 +5,6 @@ pkg-config, openssl, protobuf, - stdenv, }: rustPlatform.buildRustPackage (finalAttrs: { @@ -48,6 +47,5 @@ rustPlatform.buildRustPackage (finalAttrs: { changelog = "https://github.com/svix/svix-webhooks/releases/tag/v${finalAttrs.version}"; license = lib.licenses.mit; maintainers = with lib.maintainers; [ techknowlogick ]; - broken = stdenv.hostPlatform.isx86_64 && stdenv.hostPlatform.isDarwin; # aws-lc-sys currently broken on darwin x86_64 }; }) diff --git a/pkgs/by-name/sw/swt/package.nix b/pkgs/by-name/sw/swt/package.nix index 3223a7bffd2d..04c228b2f46f 100644 --- a/pkgs/by-name/sw/swt/package.nix +++ b/pkgs/by-name/sw/swt/package.nix @@ -153,7 +153,5 @@ stdenv.mkDerivation (finalAttrs: { lib.sourceTypes.binaryNativeCode ]; platforms = lib.attrNames finalAttrs.passthru.srcMetadataByPlatform; - # Fails with: `java.nio.file.NoSuchFileException: ../swt.jar` - broken = stdenv.hostPlatform.isDarwin && stdenv.hostPlatform.isx86_64; }; }) diff --git a/pkgs/by-name/ta/tab-rs/package.nix b/pkgs/by-name/ta/tab-rs/package.nix index e6e612ac501a..8b87ab0abe03 100644 --- a/pkgs/by-name/ta/tab-rs/package.nix +++ b/pkgs/by-name/ta/tab-rs/package.nix @@ -27,6 +27,6 @@ rustPlatform.buildRustPackage (finalAttrs: { license = lib.licenses.mit; maintainers = [ ]; mainProgram = "tab"; - broken = (stdenv.hostPlatform.isDarwin && stdenv.hostPlatform.isAarch64); # Added 2023-11-13 + broken = stdenv.hostPlatform.isDarwin; # Added 2023-11-13 }; }) diff --git a/pkgs/by-name/ta/tabby/package.nix b/pkgs/by-name/ta/tabby/package.nix index 6ae1b447c375..3769773a906b 100644 --- a/pkgs/by-name/ta/tabby/package.nix +++ b/pkgs/by-name/ta/tabby/package.nix @@ -20,7 +20,7 @@ cudaSupport ? config.cudaSupport, rocmSupport ? config.rocmSupport, - metalSupport ? stdenv.hostPlatform.isDarwin && stdenv.hostPlatform.isAarch64, + metalSupport ? stdenv.hostPlatform.isDarwin, # one of [ null "cpu" "rocm" "cuda" "metal" ]; acceleration ? null, }: @@ -56,7 +56,7 @@ let # If user did not not override the acceleration attribute, then try to use one of # - nixpkgs.config.cudaSupport # - nixpkgs.config.rocmSupport - # - metal if (stdenv.hostPlatform.isDarwin && stdenv.hostPlatform.isAarch64) + # - metal if stdenv.hostPlatform.isDarwin # !! warn if multiple acceleration methods are enabled and default to the first one in the list featureDevice = if (isNull acceleration) then @@ -70,11 +70,11 @@ let "building tabby with `${api}` is only supported on linux; falling back to cpu" stdenv.hostPlatform.isLinux ); - warnIfNotDarwinAarch64 = + warnIfNotDarwin = api: - (lib.warnIfNot (stdenv.hostPlatform.isDarwin && stdenv.hostPlatform.isAarch64) + (lib.warnIfNot stdenv.hostPlatform.isDarwin "building tabby with `${api}` is only supported on Darwin-aarch64; falling back to cpu" - (stdenv.hostPlatform.isDarwin && stdenv.hostPlatform.isAarch64) + stdenv.hostPlatform.isDarwin ); validAccel = lib.assertOneOf "tabby.featureDevice" featureDevice [ @@ -88,7 +88,7 @@ let # The would result in a startup failure of the service module. enableRocm = validAccel && (featureDevice == "rocm") && (warnIfNotLinux "rocm"); enableCuda = validAccel && (featureDevice == "cuda") && (warnIfNotLinux "cuda"); - enableMetal = validAccel && (featureDevice == "metal") && (warnIfNotDarwinAarch64 "metal"); + enableMetal = validAccel && (featureDevice == "metal") && (warnIfNotDarwin "metal"); # We have to use override here because tabby doesn't actually tell llama-cpp # to use a specific device type as it is relying on llama-cpp only being diff --git a/pkgs/by-name/ta/tachyon/package.nix b/pkgs/by-name/ta/tachyon/package.nix index f18bf083cd27..0c63f6bc2b08 100644 --- a/pkgs/by-name/ta/tachyon/package.nix +++ b/pkgs/by-name/ta/tachyon/package.nix @@ -50,8 +50,6 @@ stdenv.mkDerivation rec { "linux-arm" else if stdenv.hostPlatform.system == "aarch64-darwin" then "macosx" - else if stdenv.hostPlatform.system == "x86_64-darwin" then - "macosx-x86-64-thr" else if stdenv.hostPlatform.system == "i686-cygwin" then "win32" else if stdenv.hostPlatform.system == "x86_64-freebsd" then diff --git a/pkgs/by-name/td/tdlib/package.nix b/pkgs/by-name/td/tdlib/package.nix index 427ea07cd324..49c71fef3bcc 100644 --- a/pkgs/by-name/td/tdlib/package.nix +++ b/pkgs/by-name/td/tdlib/package.nix @@ -88,7 +88,7 @@ stdenv.mkDerivation { --replace '\$'{prefix}/'$'{CMAKE_INSTALL_LIBDIR} '$'{CMAKE_INSTALL_FULL_LIBDIR} \ --replace '\$'{prefix}/'$'{CMAKE_INSTALL_INCLUDEDIR} '$'{CMAKE_INSTALL_FULL_INCLUDEDIR} '' - + lib.optionalString (stdenv.hostPlatform.isDarwin && stdenv.hostPlatform.isAarch64) '' + + lib.optionalString stdenv.hostPlatform.isDarwin '' sed -i "/vptr/d" test/CMakeLists.txt ''; diff --git a/pkgs/by-name/te/telepathy-mission-control/package.nix b/pkgs/by-name/te/telepathy-mission-control/package.nix index 61dce816b613..e7f16df4218e 100644 --- a/pkgs/by-name/te/telepathy-mission-control/package.nix +++ b/pkgs/by-name/te/telepathy-mission-control/package.nix @@ -36,7 +36,7 @@ stdenv.mkDerivation (finalAttrs: { libxslt makeWrapper ] - ++ lib.optionals (stdenv.hostPlatform.isDarwin && stdenv.hostPlatform.isAarch64) [ + ++ lib.optionals stdenv.hostPlatform.isDarwin [ autoreconfHook gtk-doc ]; @@ -61,7 +61,5 @@ stdenv.mkDerivation (finalAttrs: { license = lib.licenses.lgpl21Only; maintainers = [ ]; platforms = lib.platforms.unix; - # The last successful Darwin Hydra build was in 2024 - broken = stdenv.hostPlatform.isDarwin && stdenv.hostPlatform.isx86_64; }; }) diff --git a/pkgs/by-name/te/temporal-cli/package.nix b/pkgs/by-name/te/temporal-cli/package.nix index 9427244084f5..989e9743dec5 100644 --- a/pkgs/by-name/te/temporal-cli/package.nix +++ b/pkgs/by-name/te/temporal-cli/package.nix @@ -36,8 +36,7 @@ buildGoModule (finalAttrs: { "-X github.com/temporalio/cli/internal/temporalcli.Version=${finalAttrs.version}" ]; - # Tests fail with x86 on macOS Rosetta 2 - doCheck = !(stdenv.hostPlatform.isDarwin && stdenv.hostPlatform.isx86_64); + doCheck = true; nativeCheckInputs = [ writableTmpDirAsHomeHook ]; diff --git a/pkgs/by-name/te/texture-synthesis/package.nix b/pkgs/by-name/te/texture-synthesis/package.nix index 184ff05330be..4595ccc02c42 100644 --- a/pkgs/by-name/te/texture-synthesis/package.nix +++ b/pkgs/by-name/te/texture-synthesis/package.nix @@ -26,7 +26,7 @@ rustPlatform.buildRustPackage (finalAttrs: { ]; # tests fail for unknown reasons on aarch64-darwin - doCheck = !(stdenv.hostPlatform.isDarwin && stdenv.hostPlatform.isAarch64); + doCheck = !stdenv.hostPlatform.isDarwin; meta = { description = "Example-based texture synthesis written in Rust"; diff --git a/pkgs/by-name/ti/tinycc/package.nix b/pkgs/by-name/ti/tinycc/package.nix index 0c90fa703339..6bdc2846971e 100644 --- a/pkgs/by-name/ti/tinycc/package.nix +++ b/pkgs/by-name/ti/tinycc/package.nix @@ -83,7 +83,7 @@ stdenv.mkDerivation (finalAttrs: { # build cross compilers "--enable-cross" ] - ++ lib.optionals (stdenv.hostPlatform.isDarwin && stdenv.hostPlatform.isAarch64) [ + ++ lib.optionals stdenv.hostPlatform.isDarwin [ # The bounds checker has an unresolved arm64 atomic helper on Darwin. "--config-bcheck=no" ] @@ -93,7 +93,7 @@ stdenv.mkDerivation (finalAttrs: { enableParallelBuilding = true; - preBuild = lib.optionalString (stdenv.hostPlatform.isDarwin && stdenv.hostPlatform.isAarch64) '' + preBuild = lib.optionalString stdenv.hostPlatform.isDarwin '' # TCC cannot cross-compile x86 long double constants from aarch64-darwin. makeFlagsArray+=("TCC_X=i386-win32 x86_64-win32 arm arm64 arm-wince c67 riscv64 arm64-osx") ''; diff --git a/pkgs/by-name/ti/tinygo/package.nix b/pkgs/by-name/ti/tinygo/package.nix index 609f8fdc3236..1ff12d55301a 100644 --- a/pkgs/by-name/ti/tinygo/package.nix +++ b/pkgs/by-name/ti/tinygo/package.nix @@ -128,7 +128,7 @@ buildGoModule (finalAttrs: { openocd binaryen ] - ++ lib.optionals (!(stdenv.hostPlatform.isDarwin && stdenv.hostPlatform.isAarch64)) [ gdb ]; + ++ lib.optionals (!stdenv.hostPlatform.isDarwin) [ gdb ]; installPhase = '' runHook preInstall diff --git a/pkgs/by-name/to/tootik/package.nix b/pkgs/by-name/to/tootik/package.nix index e69a2aba90fc..208be65a835f 100644 --- a/pkgs/by-name/to/tootik/package.nix +++ b/pkgs/by-name/to/tootik/package.nix @@ -34,7 +34,7 @@ buildGoModule (finalAttrs: { tags = [ "fts5" ]; - doCheck = !(stdenv.hostPlatform.isDarwin && stdenv.hostPlatform.isAarch64); + doCheck = !stdenv.hostPlatform.isDarwin; nativeInstallCheckInputs = [ versionCheckHook ]; doInstallCheck = true; diff --git a/pkgs/by-name/ub/ubus/package.nix b/pkgs/by-name/ub/ubus/package.nix index d64e5688da27..f45f84cbe192 100644 --- a/pkgs/by-name/ub/ubus/package.nix +++ b/pkgs/by-name/ub/ubus/package.nix @@ -24,12 +24,6 @@ stdenv.mkDerivation { ]; nativeBuildInputs = [ cmake ]; - env.NIX_CFLAGS_COMPILE = toString ( - lib.optionals (stdenv.hostPlatform.isDarwin && stdenv.hostPlatform.isx86_64) [ - "-Wno-error=gnu-folding-constant" - ] - ); - meta = { description = "OpenWrt system message/RPC bus"; homepage = "https://git.openwrt.org/?p=project/ubus.git;a=summary"; diff --git a/pkgs/by-name/um/umurmur/package.nix b/pkgs/by-name/um/umurmur/package.nix index dc5a88d2bfbc..5d01356b1d6c 100644 --- a/pkgs/by-name/um/umurmur/package.nix +++ b/pkgs/by-name/um/umurmur/package.nix @@ -44,7 +44,7 @@ stdenv.mkDerivation (finalAttrs: { homepage = "https://github.com/umurmur/umurmur"; platforms = lib.platforms.all; # never built on aarch64-darwin since first introduction in nixpkgs - broken = stdenv.hostPlatform.isDarwin && stdenv.hostPlatform.isAarch64; + broken = stdenv.hostPlatform.isDarwin; maintainers = with lib.maintainers; [ _3JlOy-PYCCKUi ]; mainProgram = "umurmurd"; }; diff --git a/pkgs/by-name/un/unicorn/package.nix b/pkgs/by-name/un/unicorn/package.nix index 156ca182d110..e712b88e9da2 100644 --- a/pkgs/by-name/un/unicorn/package.nix +++ b/pkgs/by-name/un/unicorn/package.nix @@ -31,7 +31,7 @@ stdenv.mkDerivation (finalAttrs: { NIX_LDFLAGS = "-latomic"; }; - cmakeFlags = lib.optionals (stdenv.hostPlatform.isDarwin && stdenv.hostPlatform.isAarch64) [ + cmakeFlags = lib.optionals stdenv.hostPlatform.isDarwin [ # Some x86 tests are interrupted by signal 10 "-DCMAKE_CTEST_ARGUMENTS=--exclude-regex;test_x86" ]; diff --git a/pkgs/by-name/un/universal-android-debloater/package.nix b/pkgs/by-name/un/universal-android-debloater/package.nix index 1fadf2cd4bba..3949a23120ce 100644 --- a/pkgs/by-name/un/universal-android-debloater/package.nix +++ b/pkgs/by-name/un/universal-android-debloater/package.nix @@ -81,7 +81,6 @@ rustPlatform.buildRustPackage (finalAttrs: { license = lib.licenses.gpl3Only; mainProgram = "uad-ng"; maintainers = with lib.maintainers; [ lavafroth ]; - broken = with stdenv.hostPlatform; isDarwin && isx86_64; platforms = with lib.platforms; linux ++ darwin; }; }) diff --git a/pkgs/by-name/uw/uwsgi/package.nix b/pkgs/by-name/uw/uwsgi/package.nix index 874fb024edc2..5b451df11071 100644 --- a/pkgs/by-name/uw/uwsgi/package.nix +++ b/pkgs/by-name/uw/uwsgi/package.nix @@ -113,7 +113,7 @@ stdenv.mkDerivation (finalAttrs: { pcre2 libxcrypt ] - ++ lib.optionals (stdenv.hostPlatform.isDarwin && stdenv.hostPlatform.isAarch64) [ + ++ lib.optionals stdenv.hostPlatform.isDarwin [ expat zlib ] diff --git a/pkgs/by-name/vl/vlc-bin/package.nix b/pkgs/by-name/vl/vlc-bin/package.nix index 5aaf24f97a70..fe344eb98658 100644 --- a/pkgs/by-name/vl/vlc-bin/package.nix +++ b/pkgs/by-name/vl/vlc-bin/package.nix @@ -4,18 +4,11 @@ makeWrapper, stdenv, undmg, - variant ? - if (stdenv.hostPlatform.isDarwin && stdenv.hostPlatform.isAarch64) then - "arm64" - else if (stdenv.hostPlatform.isDarwin && stdenv.hostPlatform.isx86_64) then - "intel64" - else - "universal", # not reachable by normal means + variant ? if stdenv.hostPlatform.isDarwin then "arm64" else "universal", # not reachable by normal means }: assert builtins.elem variant [ "arm64" - "intel64" "universal" ]; stdenv.mkDerivation (finalAttrs: { @@ -27,7 +20,6 @@ stdenv.mkDerivation (finalAttrs: { hash = { "arm64" = "sha256-/G+sCNh/U4UX1ErKDF56JEtnyMTLWJv0eDY6cxX9Xg0="; - "intel64" = "sha256-7AFTDOadhJ3QV/uoh25orDm/J53CjeTpwE5K7BH8mNs="; "universal" = "sha256-Vu5lfDqvXHG0q31uT0p39uylRjPgv0KpO4EW6x0fbsk="; } .${variant}; @@ -57,14 +49,7 @@ stdenv.mkDerivation (finalAttrs: { license = lib.licenses.lgpl21Plus; mainProgram = "vlc"; maintainers = with lib.maintainers; [ pcasaretto ]; - platforms = lib.systems.inspect.patternLogicalAnd (lib.systems.inspect.patterns.isDarwin) ( - { - "arm64" = lib.systems.inspect.patterns.isAarch64; - "intel64" = lib.systems.inspect.patterns.isx86_64; - "universal" = lib.systems.inspect.patterns.isDarwin; - } - .${variant} - ); + platforms = lib.platforms.darwin; sourceProvenance = with lib.sourceTypes; [ binaryNativeCode ]; }; }) diff --git a/pkgs/by-name/vo/volantes-cursors/package.nix b/pkgs/by-name/vo/volantes-cursors/package.nix index 85fc0f90678a..9f2b1f6af4c0 100644 --- a/pkgs/by-name/vo/volantes-cursors/package.nix +++ b/pkgs/by-name/vo/volantes-cursors/package.nix @@ -35,6 +35,6 @@ stdenv.mkDerivation { license = lib.licenses.gpl2; maintainers = with lib.maintainers; [ jordanisaacs ]; platforms = lib.platforms.unix; - broken = stdenv.hostPlatform.isDarwin && stdenv.hostPlatform.isAarch64; # build timeout + broken = stdenv.hostPlatform.isDarwin; # build timeout }; } diff --git a/pkgs/by-name/wa/wasmer/package.nix b/pkgs/by-name/wa/wasmer/package.nix index 9f1b9afa5ad1..2498f4917b45 100644 --- a/pkgs/by-name/wa/wasmer/package.nix +++ b/pkgs/by-name/wa/wasmer/package.nix @@ -14,8 +14,7 @@ libffi, libxml2, fixDarwinDylibNames, - withLLVM ? - stdenv.hostPlatform.isLinux || (stdenv.hostPlatform.isDarwin && stdenv.hostPlatform.isx86_64), + withLLVM ? stdenv.hostPlatform.isLinux, withV8 ? (stdenv.hostPlatform.isLinux && stdenv.hostPlatform.isx86_64), }: @@ -38,7 +37,7 @@ let "v8-linux-musl.tar.xz" else if stdenv.hostPlatform.isLinux && stdenv.hostPlatform.isx86_64 then "v8-linux-amd64.tar.xz" - else if stdenv.hostPlatform.isDarwin && stdenv.hostPlatform.isAarch64 then + else if stdenv.hostPlatform.isDarwin then "v8-darwin-aarch64.tar.xz" else throw "withV8 = true is not supported on ${stdenv.hostPlatform.system}"; diff --git a/pkgs/by-name/wh/whisper-cpp/package.nix b/pkgs/by-name/wh/whisper-cpp/package.nix index 7cbf4689cb10..02724f0ac7ec 100644 --- a/pkgs/by-name/wh/whisper-cpp/package.nix +++ b/pkgs/by-name/wh/whisper-cpp/package.nix @@ -13,7 +13,7 @@ makeWrapper, nix-update-script, - metalSupport ? stdenv.hostPlatform.isDarwin && stdenv.hostPlatform.isAarch64, + metalSupport ? stdenv.hostPlatform.isDarwin, coreMLSupport ? stdenv.hostPlatform.isDarwin && true, config, diff --git a/pkgs/by-name/x1/x16/rom.nix b/pkgs/by-name/x1/x16/rom.nix index 9f291b5d9a95..111e5712798d 100644 --- a/pkgs/by-name/x1/x16/rom.nix +++ b/pkgs/by-name/x1/x16/rom.nix @@ -58,6 +58,6 @@ stdenv.mkDerivation (finalAttrs: { license = lib.licenses.bsd2; maintainers = with lib.maintainers; [ pluiedev ]; inherit (cc65.meta) platforms; - broken = stdenv.hostPlatform.isDarwin && stdenv.hostPlatform.isAarch64; + broken = stdenv.hostPlatform.isDarwin; }; }) diff --git a/pkgs/by-name/xe/xemu/package.nix b/pkgs/by-name/xe/xemu/package.nix index b70955b2f10d..d6b735c934a7 100644 --- a/pkgs/by-name/xe/xemu/package.nix +++ b/pkgs/by-name/xe/xemu/package.nix @@ -110,9 +110,6 @@ stdenv.mkDerivation (finalAttrs: { ++ lib.optionals stdenv.hostPlatform.isDarwin [ # As seen in the official build script ($src/build.sh) "--disable-cocoa" - ] - ++ lib.optionals (stdenv.hostPlatform.isDarwin && stdenv.hostPlatform.isx86_64) [ - "--enable-hvf" ]; buildFlags = [ "qemu-system-i386" ]; @@ -153,14 +150,9 @@ stdenv.mkDerivation (finalAttrs: { substituteInPlace ./build.ninja --replace /usr/bin/env $(which env) ''; - postBuild = - lib.optionalString (stdenv.hostPlatform.isDarwin && stdenv.hostPlatform.isx86_64) '' - # Needed for HVF acceleration - codesign --entitlements $src/accel/hvf/entitlements.plist -f -s - qemu-system-i386-unsigned - '' - + lib.optionalString stdenv.hostPlatform.isDarwin '' - mv qemu-system-i386-unsigned qemu-system-i386 - ''; + postBuild = lib.optionalString stdenv.hostPlatform.isDarwin '' + mv qemu-system-i386-unsigned qemu-system-i386 + ''; installPhase = '' runHook preInstall diff --git a/pkgs/by-name/xp/xplr/package.nix b/pkgs/by-name/xp/xplr/package.nix index e856d982e1bc..446284c54ee3 100644 --- a/pkgs/by-name/xp/xplr/package.nix +++ b/pkgs/by-name/xp/xplr/package.nix @@ -1,6 +1,5 @@ { lib, - stdenv, rustPlatform, fetchFromGitHub, }: @@ -17,11 +16,6 @@ rustPlatform.buildRustPackage (finalAttrs: { cargoHash = "sha256-3Bfpy8xqSHK5RUwXdFRbjs6/GDWT7c5k7MYbqEiROkM="; - # fixes `thread 'main' panicked at 'cannot find strip'` on x86_64-darwin - env = lib.optionalAttrs (stdenv.hostPlatform.isx86_64 && stdenv.hostPlatform.isDarwin) { - TARGET_STRIP = "${stdenv.cc.targetPrefix}strip"; - }; - # error: linker `aarch64-linux-gnu-gcc` not found postPatch = '' rm .cargo/config.toml diff --git a/pkgs/by-name/ya/yaneuraou/package.nix b/pkgs/by-name/ya/yaneuraou/package.nix index 644b503fad90..81853d89301e 100644 --- a/pkgs/by-name/ya/yaneuraou/package.nix +++ b/pkgs/by-name/ya/yaneuraou/package.nix @@ -7,12 +7,7 @@ targetLabel ? with stdenv.hostPlatform; if isDarwin then - if isAarch64 then - "APPLEM1" - else if avx2Support then - "APPLEAVX2" - else - "APPLESSE42" + "APPLEM1" else if isx86_64 then if avx512Support then "AVX512" diff --git a/pkgs/by-name/zb/zbctl/package.nix b/pkgs/by-name/zb/zbctl/package.nix index e2c1feee05b3..f95d874a6b00 100644 --- a/pkgs/by-name/zb/zbctl/package.nix +++ b/pkgs/by-name/zb/zbctl/package.nix @@ -9,12 +9,7 @@ stdenvNoCC.mkDerivation (finalAttrs: { version = "8.4.19"; src = - if stdenvNoCC.hostPlatform.system == "x86_64-darwin" then - fetchurl { - url = "https://github.com/camunda/zeebe/releases/download/${finalAttrs.version}/zbctl.darwin"; - hash = "sha256-RuZX9TWuXBxxegLw0La0l9/6zh96V/2trJvZUoCvTKk="; - } - else if stdenvNoCC.hostPlatform.system == "x86_64-linux" then + if stdenvNoCC.hostPlatform.system == "x86_64-linux" then fetchurl { url = "https://github.com/camunda/zeebe/releases/download/${finalAttrs.version}/zbctl"; hash = "sha256-NTJqmcOzpOzHjrtOHBU2J3u0f7sESBeZMbb8kx3zR38="; diff --git a/pkgs/by-name/zc/zcash/package.nix b/pkgs/by-name/zc/zcash/package.nix index f62290dfe9c0..178a2ab0941c 100644 --- a/pkgs/by-name/zc/zcash/package.nix +++ b/pkgs/by-name/zc/zcash/package.nix @@ -114,6 +114,6 @@ stdenv.mkDerivation (finalAttrs: { license = lib.licenses.mit; # https://github.com/zcash/zcash/issues/4405 - broken = stdenv.hostPlatform.isAarch64 && stdenv.hostPlatform.isDarwin; + broken = stdenv.hostPlatform.isDarwin; }; }) diff --git a/pkgs/development/compilers/chicken/4/chicken.nix b/pkgs/development/compilers/chicken/4/chicken.nix index fa96639f85db..62fe8920c7bc 100644 --- a/pkgs/development/compilers/chicken/4/chicken.nix +++ b/pkgs/development/compilers/chicken/4/chicken.nix @@ -65,7 +65,7 @@ stdenv.mkDerivation { nativeBuildInputs = [ makeWrapper ] - ++ lib.optionals (stdenv.hostPlatform.isDarwin && stdenv.hostPlatform.isAarch64) [ + ++ lib.optionals stdenv.hostPlatform.isDarwin [ darwin.autoSignDarwinBinariesHook ]; diff --git a/pkgs/development/compilers/chicken/common/chicken.nix b/pkgs/development/compilers/chicken/common/chicken.nix index 6c6f6c867ca5..72f0637083f3 100644 --- a/pkgs/development/compilers/chicken/common/chicken.nix +++ b/pkgs/development/compilers/chicken/common/chicken.nix @@ -75,7 +75,7 @@ stdenv.mkDerivation (finalAttrs: { nativeBuildInputs = [ makeWrapper ] - ++ lib.optionals (stdenv.hostPlatform.isDarwin && stdenv.hostPlatform.isAarch64) [ + ++ lib.optionals stdenv.hostPlatform.isDarwin [ darwin.autoSignDarwinBinariesHook ]; diff --git a/pkgs/development/compilers/gcc/default.nix b/pkgs/development/compilers/gcc/default.nix index a78b290c953d..60eea4f51325 100644 --- a/pkgs/development/compilers/gcc/default.nix +++ b/pkgs/development/compilers/gcc/default.nix @@ -52,9 +52,7 @@ buildPackages, pkgsBuildTarget, libxcrypt, - disableGdbPlugin ? - !enablePlugin - || (stdenv.targetPlatform.isAvr && stdenv.hostPlatform.isDarwin && stdenv.hostPlatform.isAarch64), + disableGdbPlugin ? !enablePlugin || (stdenv.targetPlatform.isAvr && stdenv.hostPlatform.isDarwin), nukeReferences, callPackage, majorMinorVersion, diff --git a/pkgs/development/compilers/ghc/common-hadrian.nix b/pkgs/development/compilers/ghc/common-hadrian.nix index d3049455a1d6..56d0dfda9c8c 100644 --- a/pkgs/development/compilers/ghc/common-hadrian.nix +++ b/pkgs/development/compilers/ghc/common-hadrian.nix @@ -791,7 +791,7 @@ stdenv.mkDerivation ( # Tool used to update GHC's settings file in postInstall bootPkgs.ghc-settings-edit ] - ++ lib.optionals (stdenv.hostPlatform.isDarwin && stdenv.hostPlatform.isAarch64) [ + ++ lib.optionals stdenv.hostPlatform.isDarwin [ autoSignDarwinBinariesHook ] ++ lib.optionals enableDocs [ diff --git a/pkgs/development/compilers/ghc/common-make-native-bignum.nix b/pkgs/development/compilers/ghc/common-make-native-bignum.nix index ad691d9f5247..8ac5c6ecb01e 100644 --- a/pkgs/development/compilers/ghc/common-make-native-bignum.nix +++ b/pkgs/development/compilers/ghc/common-make-native-bignum.nix @@ -579,7 +579,7 @@ stdenv.mkDerivation ( bootPkgs.hscolour bootPkgs.ghc-settings-edit ] - ++ lib.optionals (stdenv.hostPlatform.isDarwin && stdenv.hostPlatform.isAarch64) [ + ++ lib.optionals stdenv.hostPlatform.isDarwin [ autoSignDarwinBinariesHook ] ++ lib.optionals enableDocs [ diff --git a/pkgs/development/compilers/julia/generic-bin.nix b/pkgs/development/compilers/julia/generic-bin.nix index 5b2f3358c7b9..b7f359d9cbec 100644 --- a/pkgs/development/compilers/julia/generic-bin.nix +++ b/pkgs/development/compilers/julia/generic-bin.nix @@ -54,12 +54,6 @@ let # Test requires network access "Sockets" "Distributed" - ] - ++ lib.optionals (stdenv.hostPlatform.isDarwin && stdenv.hostPlatform.isx86_64) [ - # Test Failed at $out/share/julia/stdlib/v1.8/LinearAlgebra/test/blas.jl:702 - "LinearAlgebra/blas" - # Test Failed at $out/share/julia/test/misc.jl:724 - "misc" ]; in stdenv.mkDerivation { diff --git a/pkgs/development/compilers/mono/generic.nix b/pkgs/development/compilers/mono/generic.nix index 379d6129c55d..5b01d37dee17 100644 --- a/pkgs/development/compilers/mono/generic.nix +++ b/pkgs/development/compilers/mono/generic.nix @@ -103,11 +103,7 @@ stdenv.mkDerivation (finalAttrs: { # Per nixpkgs#151720 the build failures for aarch64-darwin are fixed since 6.12.0.129. # Cross build is broken due to attempt to execute cert-sync built for the host. broken = - ( - stdenv.hostPlatform.isDarwin - && stdenv.hostPlatform.isAarch64 - && lib.versionOlder finalAttrs.version "6.12.0.129" - ) + (stdenv.hostPlatform.isDarwin && lib.versionOlder finalAttrs.version "6.12.0.129") || !stdenv.buildPlatform.canExecute stdenv.hostPlatform; homepage = if lib.versionOlder finalAttrs.version "6.14.0" then diff --git a/pkgs/development/compilers/ocaml/generic.nix b/pkgs/development/compilers/ocaml/generic.nix index da3136eb456a..ccb158f74fea 100644 --- a/pkgs/development/compilers/ocaml/generic.nix +++ b/pkgs/development/compilers/ocaml/generic.nix @@ -143,11 +143,7 @@ stdenv.mkDerivation ( # does not exist. So, disable these configure flags on `aarch64-darwin`. # See #144785 for details. configurePlatforms = - lib.optionals - ( - lib.versionAtLeast version "4.08" - && !(stdenv.hostPlatform.isDarwin && stdenv.hostPlatform.isAarch64) - ) + lib.optionals (lib.versionAtLeast version "4.08" && !stdenv.hostPlatform.isDarwin) [ "host" "target" diff --git a/pkgs/development/compilers/rust/rustc.nix b/pkgs/development/compilers/rust/rustc.nix index a2cfbe1b4a9f..9bfca82c9eee 100644 --- a/pkgs/development/compilers/rust/rustc.nix +++ b/pkgs/development/compilers/rust/rustc.nix @@ -268,10 +268,6 @@ stdenv.mkDerivation (finalAttrs: { ++ optionals stdenv.targetPlatform.rust.isNoStdTarget [ "--disable-docs" ] - ++ optionals (stdenv.hostPlatform.isDarwin && stdenv.hostPlatform.isx86_64) [ - # https://github.com/rust-lang/rust/issues/92173 - "--set=rust.jemalloc" - ] ++ optionals (useLLVM && !stdenv.targetPlatform.isFreeBSD) [ # https://github.com/NixOS/nixpkgs/issues/311930 "--llvm-libunwind=${if withBundledLLVM then "in-tree" else "system"}" @@ -355,11 +351,6 @@ stdenv.mkDerivation (finalAttrs: { substituteInPlace compiler/rustc_codegen_ssa/src/back/link.rs \ --replace-fail "/usr/bin/strip" "${lib.getExe' llvmShared "llvm-strip"}" '' - + lib.optionalString (stdenv.hostPlatform.isDarwin && stdenv.hostPlatform.isx86_64) '' - # See https://github.com/jemalloc/jemalloc/issues/1997 - # Using a value of 48 should work on both emulated and native x86_64-darwin. - export JEMALLOC_SYS_WITH_LG_VADDR=48 - '' + lib.optionalString (!(finalAttrs.src.passthru.isReleaseTarball or false)) '' mkdir .cargo cat > .cargo/config.toml <<\EOF diff --git a/pkgs/development/compilers/sbcl/default.nix b/pkgs/development/compilers/sbcl/default.nix index 3f1eea139f66..b38d56a691dd 100644 --- a/pkgs/development/compilers/sbcl/default.nix +++ b/pkgs/development/compilers/sbcl/default.nix @@ -256,11 +256,6 @@ stdenv.mkDerivation (finalAttrs: { # Fails to find `O_LARGEFILE` otherwise. env.NIX_CFLAGS_COMPILE = "-D_GNU_SOURCE"; - # Set minimum macOS version to 10.12 for x86_64-darwin to support clock_gettime() - env.SBCL_MACOSX_VERSION_MIN = lib.optionalString ( - stdenv.hostPlatform.isDarwin && stdenv.hostPlatform.isx86_64 - ) "10.12"; - buildPhase = '' runHook preBuild @@ -271,11 +266,7 @@ stdenv.mkDerivation (finalAttrs: { runHook postBuild ''; - # Tests on ofBorg’s x86_64-darwin platforms are so unstable that a random one - # will fail every other run. There’s a deeper problem here; we might as well - # disable them entirely so at least the other platforms get to benefit from - # testing. - doCheck = stdenv.hostPlatform.system != "x86_64-darwin"; + doCheck = true; # From the INSTALL docs checkPhase = '' @@ -322,8 +313,6 @@ stdenv.mkDerivation (finalAttrs: { }; meta = { - # Broken since 2025-09-05 https://hydra.nixos.org/job/nixpkgs/staging-next/sbcl.x86_64-darwin - broken = stdenv.hostPlatform.isDarwin && stdenv.hostPlatform.isx86_64; description = "Common Lisp compiler"; homepage = "https://sbcl.org"; license = lib.licenses.publicDomain; # and FreeBSD diff --git a/pkgs/development/haskell-modules/configuration-common.nix b/pkgs/development/haskell-modules/configuration-common.nix index 538fa0212d03..cf50a2c5f350 100644 --- a/pkgs/development/haskell-modules/configuration-common.nix +++ b/pkgs/development/haskell-modules/configuration-common.nix @@ -106,7 +106,7 @@ with haskellLib; # to bogus references to some dependencies. overrideCabal ( old: - lib.optionalAttrs (pkgs.stdenv.hostPlatform.isDarwin && pkgs.stdenv.hostPlatform.isAarch64) { + lib.optionalAttrs pkgs.stdenv.hostPlatform.isDarwin { postInstall = '' ${old.postInstall or ""} remove-references-to -t ${scope.HTTP} "$out/bin/.cabal-wrapped" @@ -2855,16 +2855,7 @@ with haskellLib; monad-bayes = # Floating point precision issues. Test suite is only checked on x86_64. # https://github.com/tweag/monad-bayes/issues/368 - dontCheckIf - ( - let - inherit (pkgs.stdenv) hostPlatform; - in - !hostPlatform.isx86_64 - # Presumably because we emulate x86_64-darwin via Rosetta, x86_64-darwin - # also fails on Hydra - || hostPlatform.isDarwin - ) + dontCheckIf (!pkgs.stdenv.hostPlatform.isx86_64) # Too strict bounds on brick (<2.6), vty (<6.3) # https://github.com/tweag/monad-bayes/issues/378 (doJailbreak super.monad-bayes); diff --git a/pkgs/development/haskell-modules/configuration-darwin.nix b/pkgs/development/haskell-modules/configuration-darwin.nix index ea76a96800e8..a335355ea620 100644 --- a/pkgs/development/haskell-modules/configuration-darwin.nix +++ b/pkgs/development/haskell-modules/configuration-darwin.nix @@ -466,23 +466,4 @@ self: super: tmp-proc-postgres = dontCheck super.tmp-proc-postgres; } - // lib.optionalAttrs pkgs.stdenv.hostPlatform.isx86_64 { - # x86_64-darwin - - # tests appear to be failing to link or something: - # https://hydra.nixos.org/build/174540882/nixlog/9 - regex-rure = dontCheck super.regex-rure; - # same - # https://hydra.nixos.org/build/174540882/nixlog/9 - jacinda = dontCheck super.jacinda; - - # Greater floating point error on x86_64-darwin (!) for some reason - # https://github.com/ekmett/ad/issues/113 - ad = overrideCabal (drv: { - testFlags = drv.testFlags or [ ] ++ [ - "-p" - "!/issue-108/" - ]; - }) super.ad; - } ) diff --git a/pkgs/development/haskell-modules/configuration-nix.nix b/pkgs/development/haskell-modules/configuration-nix.nix index b108be58aa8a..af16d9d41373 100644 --- a/pkgs/development/haskell-modules/configuration-nix.nix +++ b/pkgs/development/haskell-modules/configuration-nix.nix @@ -1805,7 +1805,7 @@ builtins.intersectAttrs super { '' # Prevent erroneous references to other libraries that use Paths_ modules # on aarch64-darwin. Note that references to the data outputs are not removed. - + lib.optionalString (with pkgs.stdenv; hostPlatform.isDarwin && hostPlatform.isAarch64) '' + + lib.optionalString pkgs.stdenv.hostPlatform.isDarwin '' remove-references-to -t "${self.shake.out}" "$out/bin/.nvfetcher-wrapped" remove-references-to -t "${self.js-jquery.out}" "$out/bin/.nvfetcher-wrapped" remove-references-to -t "${self.js-flot.out}" "$out/bin/.nvfetcher-wrapped" diff --git a/pkgs/development/interpreters/erlang/generic-builder.nix b/pkgs/development/interpreters/erlang/generic-builder.nix index 646bf961f038..ab9eedebeaf4 100644 --- a/pkgs/development/interpreters/erlang/generic-builder.nix +++ b/pkgs/development/interpreters/erlang/generic-builder.nix @@ -133,9 +133,7 @@ stdenv.mkDerivation { ++ optional odbcSupport "--with-odbc=${unixodbc}" ++ optional wxSupport "--enable-wx" ++ optional enableSystemd "--enable-systemd" - ++ optional stdenv.hostPlatform.isDarwin "--enable-darwin-64bit" - # make[3]: *** [yecc.beam] Segmentation fault: 11 - ++ optional (stdenv.hostPlatform.isDarwin && stdenv.hostPlatform.isx86_64) "--disable-jit"; + ++ optional stdenv.hostPlatform.isDarwin "--enable-darwin-64bit"; installTargets = [ "install" diff --git a/pkgs/development/libraries/libubox/default.nix b/pkgs/development/libraries/libubox/default.nix index 36d031d7525f..765ba01d984f 100644 --- a/pkgs/development/libraries/libubox/default.nix +++ b/pkgs/development/libraries/libubox/default.nix @@ -43,12 +43,6 @@ stdenv.mkDerivation { done ''; - env.NIX_CFLAGS_COMPILE = toString ( - lib.optionals (stdenv.hostPlatform.isDarwin && stdenv.hostPlatform.isx86_64) [ - "-Wno-error=gnu-folding-constant" - ] - ); - meta = { description = "C utility functions for OpenWrt"; homepage = "https://git.openwrt.org/?p=project/libubox.git;a=summary"; diff --git a/pkgs/development/libraries/opencv/4.x.nix b/pkgs/development/libraries/opencv/4.x.nix index 13919ee6877d..10af6fa5af42 100644 --- a/pkgs/development/libraries/opencv/4.x.nix +++ b/pkgs/development/libraries/opencv/4.x.nix @@ -154,8 +154,6 @@ let { ${name "lnx_intel64"} = ""; } else if effectiveStdenv.hostPlatform.system == "i686-linux" then { ${name "lnx_ia32"} = ""; } - else if effectiveStdenv.hostPlatform.system == "x86_64-darwin" then - { ${name "mac_intel64"} = ""; } else throw "ICV is not available for this platform (or not yet supported by this package)"; dst = ".cache/ippicv"; @@ -645,13 +643,7 @@ effectiveStdenv.mkDerivation { tests = { inherit (gst_all_1) gst-plugins-bad; - } - // optionalAttrs (!effectiveStdenv.hostPlatform.isDarwin) { - inherit qimgv; - withIpp = opencv4.override { enableIpp = true; }; - } - // optionalAttrs (!enablePython) { pythonEnabled = pythonPackages.opencv4; } - // optionalAttrs (effectiveStdenv.buildPlatform != "x86_64-darwin") { + opencv4-tests = callPackage ./tests.nix { inherit enableGStreamer @@ -663,6 +655,11 @@ effectiveStdenv.mkDerivation { inherit opencv4; }; } + // optionalAttrs (!effectiveStdenv.hostPlatform.isDarwin) { + inherit qimgv; + withIpp = opencv4.override { enableIpp = true; }; + } + // optionalAttrs (!enablePython) { pythonEnabled = pythonPackages.opencv4; } // optionalAttrs enableCuda { no-libstdcxx-errors = callPackage ./libstdcxx-test.nix { attrName = "opencv4"; }; }; diff --git a/pkgs/development/libraries/qt-5/modules/qt3d.nix b/pkgs/development/libraries/qt-5/modules/qt3d.nix index f8fd88c1fc80..f416f8a5ef53 100644 --- a/pkgs/development/libraries/qt-5/modules/qt3d.nix +++ b/pkgs/development/libraries/qt-5/modules/qt3d.nix @@ -18,7 +18,5 @@ qtModule { "bin" ]; # error: use of undeclared identifier 'stat64' - env.NIX_CFLAGS_COMPILE = lib.optionalString ( - stdenv.hostPlatform.isDarwin && stdenv.hostPlatform.isAarch64 - ) "-Dstat64=stat"; + env.NIX_CFLAGS_COMPILE = lib.optionalString stdenv.hostPlatform.isDarwin "-Dstat64=stat"; } diff --git a/pkgs/development/libraries/qt-5/modules/qtdatavis3d.nix b/pkgs/development/libraries/qt-5/modules/qtdatavis3d.nix index a6979dfc7ef0..3dcdd9df4255 100644 --- a/pkgs/development/libraries/qt-5/modules/qtdatavis3d.nix +++ b/pkgs/development/libraries/qt-5/modules/qtdatavis3d.nix @@ -18,7 +18,5 @@ qtModule { "bin" ]; # error: use of undeclared identifier 'stat64' - env.NIX_CFLAGS_COMPILE = lib.optionalString ( - stdenv.hostPlatform.isDarwin && stdenv.hostPlatform.isAarch64 - ) "-Dstat64=stat"; + env.NIX_CFLAGS_COMPILE = lib.optionalString stdenv.hostPlatform.isDarwin "-Dstat64=stat"; } diff --git a/pkgs/development/ocaml-modules/mirage-crypto/rng.nix b/pkgs/development/ocaml-modules/mirage-crypto/rng.nix index 4c80fa46ca38..e8a22ce06571 100644 --- a/pkgs/development/ocaml-modules/mirage-crypto/rng.nix +++ b/pkgs/development/ocaml-modules/mirage-crypto/rng.nix @@ -1,6 +1,4 @@ { - lib, - stdenv, buildDunePackage, mirage-crypto, ohex, @@ -26,14 +24,6 @@ buildDunePackage { randomconv ]; - # test_entropy relies on timer jitter and is flaky on x86_64-darwin. - postPatch = lib.optionalString (stdenv.hostPlatform.isDarwin && stdenv.hostPlatform.isx86_64) '' - substituteInPlace tests/dune \ - --replace-fail \ - '(enabled_if (and (<> %{architecture} "arm64") (<> %{architecture} "riscv")))' \ - '(enabled_if false)' - ''; - buildInputs = [ dune-configurator ]; propagatedBuildInputs = [ digestif diff --git a/pkgs/development/ocaml-modules/sail/default.nix b/pkgs/development/ocaml-modules/sail/default.nix index 72c76e3e7ca7..1fe94518d3b5 100644 --- a/pkgs/development/ocaml-modules/sail/default.nix +++ b/pkgs/development/ocaml-modules/sail/default.nix @@ -43,7 +43,7 @@ buildDunePackage { menhir lem ] - ++ lib.optionals (stdenv.hostPlatform.isDarwin && stdenv.hostPlatform.isAarch64) [ + ++ lib.optionals stdenv.hostPlatform.isDarwin [ darwin.sigtool ]; diff --git a/pkgs/development/python-modules/accelerate/default.nix b/pkgs/development/python-modules/accelerate/default.nix index 8e0ba0aa790e..d24bb53c7297 100644 --- a/pkgs/development/python-modules/accelerate/default.nix +++ b/pkgs/development/python-modules/accelerate/default.nix @@ -179,10 +179,6 @@ buildPythonPackage (finalAttrs: { # ImportError: cannot import name 'PretrainedConfig' from 'transformers.modeling_utils' "test_nested_hook" - ] - ++ lib.optionals (stdenv.hostPlatform.isDarwin && stdenv.hostPlatform.isx86_64) [ - # RuntimeError: torch_shm_manager: execl failed: Permission denied - "CheckpointTest" ]; disabledTestPaths = [ diff --git a/pkgs/development/python-modules/ax-platform/default.nix b/pkgs/development/python-modules/ax-platform/default.nix index 8feebb490eed..e5381b7a7ed8 100644 --- a/pkgs/development/python-modules/ax-platform/default.nix +++ b/pkgs/development/python-modules/ax-platform/default.nix @@ -1,6 +1,5 @@ { lib, - stdenv, buildPythonPackage, fetchFromGitHub, @@ -130,10 +129,6 @@ buildPythonPackage (finalAttrs: { # Timeout "test_efficient_loo_cv_with_fully_bayesian_model" "test_fitting_auxiliary_experiment_dataset" - ] - ++ lib.optionals (stdenv.hostPlatform.isDarwin && stdenv.hostPlatform.isx86_64) [ - # flaky - "test_gen_with_expanded_parameter_space" ]; pythonImportsCheck = [ "ax" ]; diff --git a/pkgs/development/python-modules/bambi/default.nix b/pkgs/development/python-modules/bambi/default.nix index 2e4fd2a14fc8..7cb23f02ab71 100644 --- a/pkgs/development/python-modules/bambi/default.nix +++ b/pkgs/development/python-modules/bambi/default.nix @@ -132,7 +132,7 @@ buildPythonPackage (finalAttrs: { "test_with_groups" "test_with_user_values" ] - ++ lib.optionals (stdenv.hostPlatform.isDarwin && stdenv.hostPlatform.isAarch64) [ + ++ lib.optionals stdenv.hostPlatform.isDarwin [ # Python crash (in matplotlib) # Fatal Python error: Aborted "test_categorical_response" diff --git a/pkgs/development/python-modules/boost-histogram/default.nix b/pkgs/development/python-modules/boost-histogram/default.nix index 3f85509f057b..ba142d9c22be 100644 --- a/pkgs/development/python-modules/boost-histogram/default.nix +++ b/pkgs/development/python-modules/boost-histogram/default.nix @@ -72,7 +72,7 @@ buildPythonPackage (finalAttrs: { # Trace/BPT trap: 5 "test_round_trip_3d_histogram_json" ] - ++ lib.optionals (stdenv.hostPlatform.isDarwin && stdenv.hostPlatform.isAarch64) [ + ++ lib.optionals stdenv.hostPlatform.isDarwin [ # Segfaults: boost_histogram/_internal/hist.py", line 799 in sum # Fatal Python error: Segmentation fault "test_numpy_conversion_4" diff --git a/pkgs/development/python-modules/botorch/default.nix b/pkgs/development/python-modules/botorch/default.nix index d1fc495abf3a..2fb3294c0f80 100644 --- a/pkgs/development/python-modules/botorch/default.nix +++ b/pkgs/development/python-modules/botorch/default.nix @@ -114,7 +114,7 @@ buildPythonPackage (finalAttrs: { # RuntimeError: required keyword attribute 'value' has the wrong type "test_posterior_in_trace_mode" ] - ++ lib.optionals (stdenv.hostPlatform.isDarwin && stdenv.hostPlatform.isAarch64) [ + ++ lib.optionals stdenv.hostPlatform.isDarwin [ # Numerical error slightly above threshold # AssertionError: Tensor-likes are not close! "test_model_list_gpytorch_model" diff --git a/pkgs/development/python-modules/capstone/4.nix b/pkgs/development/python-modules/capstone/4.nix index 7d87a84526e5..18ced668b487 100644 --- a/pkgs/development/python-modules/capstone/4.nix +++ b/pkgs/development/python-modules/capstone/4.nix @@ -32,7 +32,7 @@ buildPythonPackage { # aarch64 only available from MacOS SDK 11 onwards, so fix the version tag. # otherwise, bdist_wheel may detect "macosx_10_6_arm64" which doesn't make sense. - setupPyBuildFlags = lib.optionals (stdenv.hostPlatform.isDarwin && stdenv.hostPlatform.isAarch64) [ + setupPyBuildFlags = lib.optionals stdenv.hostPlatform.isDarwin [ "--plat-name" "macosx_11_0" ]; diff --git a/pkgs/development/python-modules/capstone/default.nix b/pkgs/development/python-modules/capstone/default.nix index eaa600be1ba1..f8bd052fd1a4 100644 --- a/pkgs/development/python-modules/capstone/default.nix +++ b/pkgs/development/python-modules/capstone/default.nix @@ -24,7 +24,7 @@ buildPythonPackage rec { # aarch64 only available from MacOS SDK 11 onwards, so fix the version tag. # otherwise, bdist_wheel may detect "macosx_10_6_arm64" which doesn't make sense. - setupPyBuildFlags = lib.optionals (stdenv.hostPlatform.isDarwin && stdenv.hostPlatform.isAarch64) [ + setupPyBuildFlags = lib.optionals stdenv.hostPlatform.isDarwin [ "--plat-name" "macosx_11_0" ]; diff --git a/pkgs/development/python-modules/captum/default.nix b/pkgs/development/python-modules/captum/default.nix index 858e9abc4110..73ded35f5d8e 100644 --- a/pkgs/development/python-modules/captum/default.nix +++ b/pkgs/development/python-modules/captum/default.nix @@ -58,7 +58,7 @@ buildPythonPackage rec { # to hardcoded port number used for rendezvous "tests/attr/test_data_parallel.py" ] - ++ lib.optionals (stdenv.hostPlatform.isDarwin && stdenv.hostPlatform.isAarch64) [ + ++ lib.optionals stdenv.hostPlatform.isDarwin [ # Issue reported upstream at https://github.com/pytorch/captum/issues/1447 "tests/concept/test_tcav.py" ]; diff --git a/pkgs/development/python-modules/debugpy/default.nix b/pkgs/development/python-modules/debugpy/default.nix index 3e91f4bdf291..a4e842172b39 100644 --- a/pkgs/development/python-modules/debugpy/default.nix +++ b/pkgs/development/python-modules/debugpy/default.nix @@ -120,12 +120,12 @@ buildPythonPackage rec { typing-extensions ]; - preCheck = lib.optionalString (stdenv.hostPlatform.isDarwin && stdenv.hostPlatform.isAarch64) '' + preCheck = lib.optionalString stdenv.hostPlatform.isDarwin '' # https://github.com/python/cpython/issues/74570#issuecomment-1093748531 export no_proxy='*'; ''; - postCheck = lib.optionalString (stdenv.hostPlatform.isDarwin && stdenv.hostPlatform.isAarch64) '' + postCheck = lib.optionalString stdenv.hostPlatform.isDarwin '' unset no_proxy ''; diff --git a/pkgs/development/python-modules/devito/default.nix b/pkgs/development/python-modules/devito/default.nix index 68026c9214ad..4d3a42e17f14 100644 --- a/pkgs/development/python-modules/devito/default.nix +++ b/pkgs/development/python-modules/devito/default.nix @@ -112,15 +112,10 @@ buildPythonPackage (finalAttrs: { # AssertionError: assert(np.allclose(grad_u.data, grad_v.data, rtol=tolerance, atol=tolerance)) "test_gradient_equivalence" - ] - ++ lib.optionals (stdenv.hostPlatform.isDarwin && stdenv.hostPlatform.isAarch64) [ + # Numerical tests "test_lm_fb" "test_lm_ds" - ] - ++ lib.optionals (stdenv.hostPlatform.isDarwin && stdenv.hostPlatform.isx86_64) [ - # Numerical error - "test_pow_precision" ]; disabledTestPaths = diff --git a/pkgs/development/python-modules/dmsuite/default.nix b/pkgs/development/python-modules/dmsuite/default.nix index 3f0907a2eaab..cc18b6477a6e 100644 --- a/pkgs/development/python-modules/dmsuite/default.nix +++ b/pkgs/development/python-modules/dmsuite/default.nix @@ -35,7 +35,7 @@ buildPythonPackage rec { ]; # Slight precision error probably due to different BLAS backend on Darwin - disabledTests = lib.optionals (stdenv.hostPlatform.isDarwin && stdenv.hostPlatform.isAarch64) [ + disabledTests = lib.optionals stdenv.hostPlatform.isDarwin [ "test_cheb_scaled" ]; diff --git a/pkgs/development/python-modules/flask-session/default.nix b/pkgs/development/python-modules/flask-session/default.nix index 3f73e276b9c5..c2e7fcd81481 100644 --- a/pkgs/development/python-modules/flask-session/default.nix +++ b/pkgs/development/python-modules/flask-session/default.nix @@ -1,6 +1,5 @@ { lib, - stdenv, fetchFromGitHub, buildPythonPackage, @@ -67,8 +66,7 @@ buildPythonPackage rec { __darwinAllowLocalNetworking = true; - # Hang indefinitely - doCheck = !(stdenv.hostPlatform.isDarwin && stdenv.hostPlatform.isx86_64); + doCheck = true; meta = { description = "Flask extension that adds support for server-side sessions"; diff --git a/pkgs/development/python-modules/gpytorch/default.nix b/pkgs/development/python-modules/gpytorch/default.nix index a2256c02a1ce..3e43646b5baf 100644 --- a/pkgs/development/python-modules/gpytorch/default.nix +++ b/pkgs/development/python-modules/gpytorch/default.nix @@ -66,14 +66,6 @@ buildPythonPackage (finalAttrs: { "test_half" ]; - disabledTestPaths = lib.optionals (stdenv.hostPlatform.isDarwin && stdenv.hostPlatform.isx86_64) [ - # Hang forever - "test/examples/test_spectral_mixture_gp_regression.py" - "test/kernels/test_spectral_mixture_kernel.py" - "test/utils/test_nearest_neighbors.py" - "test/variational/test_nearest_neighbor_variational_strategy.py" - ]; - meta = { description = "Highly efficient and modular implementation of Gaussian Processes, with GPU acceleration"; homepage = "https://gpytorch.ai"; diff --git a/pkgs/development/python-modules/httpx/default.nix b/pkgs/development/python-modules/httpx/default.nix index 1fbeb83e6aa8..c2af61fcd52e 100644 --- a/pkgs/development/python-modules/httpx/default.nix +++ b/pkgs/development/python-modules/httpx/default.nix @@ -65,7 +65,7 @@ buildPythonPackage rec { }; # trustme uses pyopenssl - doCheck = !(stdenv.hostPlatform.isDarwin && stdenv.hostPlatform.isAarch64); + doCheck = !stdenv.hostPlatform.isDarwin; nativeCheckInputs = [ chardet diff --git a/pkgs/development/python-modules/jaxlib/default.nix b/pkgs/development/python-modules/jaxlib/default.nix index 767d8f5a1aee..25313e7a1af3 100644 --- a/pkgs/development/python-modules/jaxlib/default.nix +++ b/pkgs/development/python-modules/jaxlib/default.nix @@ -426,8 +426,6 @@ let platformTag = if effectiveStdenv.hostPlatform.isLinux then "manylinux2014_${arch}" - else if effectiveStdenv.system == "x86_64-darwin" then - "macosx_10_9_${arch}" else if effectiveStdenv.system == "aarch64-darwin" then "macosx_11_0_${arch}" else diff --git a/pkgs/development/python-modules/librosa/default.nix b/pkgs/development/python-modules/librosa/default.nix index 2a1603024264..05c9f69243b2 100644 --- a/pkgs/development/python-modules/librosa/default.nix +++ b/pkgs/development/python-modules/librosa/default.nix @@ -91,7 +91,7 @@ buildPythonPackage (finalAttrs: { "test_load_resample" "test_loadx" ] - ++ lib.optionals (stdenv.hostPlatform.isDarwin && stdenv.hostPlatform.isAarch64) [ + ++ lib.optionals stdenv.hostPlatform.isDarwin [ # AssertionError (numerical comparison fails) "test_beat_track_multi" "test_beat_track_multi_bpm_vector" diff --git a/pkgs/development/python-modules/maestral/default.nix b/pkgs/development/python-modules/maestral/default.nix index 7872d821bc2c..52683a021b1c 100644 --- a/pkgs/development/python-modules/maestral/default.nix +++ b/pkgs/development/python-modules/maestral/default.nix @@ -85,8 +85,7 @@ buildPythonPackage (finalAttrs: { nativeCheckInputs = [ pytestCheckHook ]; - # ModuleNotFoundError: No module named '_watchdog_fsevents' - doCheck = !(stdenv.hostPlatform.isDarwin && stdenv.hostPlatform.isx86_64); + doCheck = true; preCheck = '' export HOME=$(mktemp -d) diff --git a/pkgs/development/python-modules/mmcv/default.nix b/pkgs/development/python-modules/mmcv/default.nix index 4bfbb8e3e8ae..badbe4878b64 100644 --- a/pkgs/development/python-modules/mmcv/default.nix +++ b/pkgs/development/python-modules/mmcv/default.nix @@ -147,10 +147,6 @@ buildPythonPackage (finalAttrs: { "test_ycbcr2rgb" "test_ycbcr2bgr" "test_tensor2imgs" - ] - ++ lib.optionals (stdenv.hostPlatform.isDarwin && stdenv.hostPlatform.isx86_64) [ - # Fatal Python error: Segmentation fault - "test_transform" ]; meta = { diff --git a/pkgs/development/python-modules/mpmath/default.nix b/pkgs/development/python-modules/mpmath/default.nix index a1daf9120245..01c2299b1d8c 100644 --- a/pkgs/development/python-modules/mpmath/default.nix +++ b/pkgs/development/python-modules/mpmath/default.nix @@ -1,6 +1,5 @@ { lib, - stdenv, buildPythonPackage, fetchFromGitHub, gmpy2, @@ -47,16 +46,6 @@ buildPythonPackage (finalAttrs: { pexpect ]; - # Ugly hack to preserve the hash on non-`x86_64-darwin` platforms - ${if stdenv.hostPlatform.isDarwin && stdenv.hostPlatform.isx86_64 then "disabledTests" else null} = - [ - # Expected: - # -0.5440211108893698 - # Got: - # -0.5440211108893699 - "contexts.rst" - ]; - meta = { homepage = "https://mpmath.org/"; description = "Pure-Python library for multiprecision floating arithmetic"; diff --git a/pkgs/development/python-modules/mygpoclient/default.nix b/pkgs/development/python-modules/mygpoclient/default.nix index 5c18cb00ba2b..e826ad2eb2f7 100644 --- a/pkgs/development/python-modules/mygpoclient/default.nix +++ b/pkgs/development/python-modules/mygpoclient/default.nix @@ -1,6 +1,5 @@ { lib, - stdenv, buildPythonPackage, fetchFromGitHub, setuptools, @@ -29,10 +28,6 @@ buildPythonPackage rec { pytestCheckHook ]; - disabledTestPaths = lib.optionals (stdenv.hostPlatform.isDarwin && stdenv.hostPlatform.isx86_64) [ - "mygpoclient/http_test.py" - ]; - __darwinAllowLocalNetworking = true; meta = { diff --git a/pkgs/development/python-modules/narwhals/default.nix b/pkgs/development/python-modules/narwhals/default.nix index 35096f7f9bea..aefbe378e0e5 100644 --- a/pkgs/development/python-modules/narwhals/default.nix +++ b/pkgs/development/python-modules/narwhals/default.nix @@ -1,6 +1,5 @@ { lib, - stdenv, buildPythonPackage, dask, duckdb, @@ -100,11 +99,6 @@ buildPythonPackage (finalAttrs: { "test_backend_version[pyspark[connect]]" ]; - disabledTestPaths = lib.optionals (stdenv.hostPlatform.isDarwin && stdenv.hostPlatform.isx86_64) [ - # Segfault in included polars/lazyframe - "tests/tpch_q1_test.py" - ]; - pytestFlags = [ "-Wignore::DeprecationWarning" ]; diff --git a/pkgs/development/python-modules/numpy/default.nix b/pkgs/development/python-modules/numpy/default.nix index 97841e132ea2..3501ffc21155 100644 --- a/pkgs/development/python-modules/numpy/default.nix +++ b/pkgs/development/python-modules/numpy/default.nix @@ -166,10 +166,6 @@ buildPythonPackage (finalAttrs: { "test_floor_division_errors" # FloatingPointError: invalid value encountered in floor_divide "test_unary_spurious_fpexception" # AssertionError: Got warnings: [] ] - ++ lib.optionals (stdenv.hostPlatform.isDarwin && stdenv.hostPlatform.isx86_64) [ - # AssertionError: (np.int64(0), np.longdouble('9.9999999999999994515e-21'), np.longdouble('3.9696755572509052902e+20'), 'arctanh') - "test_loss_of_precision" - ] ++ lib.optionals (stdenv.hostPlatform.isPower64 && stdenv.hostPlatform.isBigEndian) [ # https://github.com/numpy/numpy/issues/29918 "test_sq_cases" diff --git a/pkgs/development/python-modules/pandas-stubs/default.nix b/pkgs/development/python-modules/pandas-stubs/default.nix index 2a516b537062..721b84fb3b61 100644 --- a/pkgs/development/python-modules/pandas-stubs/default.nix +++ b/pkgs/development/python-modules/pandas-stubs/default.nix @@ -101,7 +101,7 @@ buildPythonPackage (finalAttrs: { ++ lib.optionals stdenv.hostPlatform.isDarwin [ "test_clipboard" # FileNotFoundError: [Errno 2] No such file or directory: 'pbcopy' ] - ++ lib.optionals (stdenv.hostPlatform.isDarwin && stdenv.hostPlatform.isAarch64) [ + ++ lib.optionals stdenv.hostPlatform.isDarwin [ # Disable tests for types that are not supported on aarch64 in `numpy` < 2.0 "test_astype_float" # `f16` and `float128` "test_astype_complex" # `c32` and `complex256` diff --git a/pkgs/development/python-modules/pandas/default.nix b/pkgs/development/python-modules/pandas/default.nix index 1b3520df7820..789cd2820983 100644 --- a/pkgs/development/python-modules/pandas/default.nix +++ b/pkgs/development/python-modules/pandas/default.nix @@ -218,7 +218,7 @@ let # AssertionError: Did not see expected warning of class 'FutureWarning' "test_parsing_tzlocal_deprecated" ] - ++ lib.optionals (stdenv.hostPlatform.isDarwin && stdenv.hostPlatform.isAarch64) [ + ++ lib.optionals stdenv.hostPlatform.isDarwin [ # tests/generic/test_finalize.py::test_binops[and_-args4-right] - AssertionError: assert {} == {'a': 1} "test_binops" # These tests are unreliable on aarch64-darwin. See https://github.com/pandas-dev/pandas/issues/38921. diff --git a/pkgs/development/python-modules/picos/default.nix b/pkgs/development/python-modules/picos/default.nix index 25d3eb02d79f..d627ab20a334 100644 --- a/pkgs/development/python-modules/picos/default.nix +++ b/pkgs/development/python-modules/picos/default.nix @@ -36,7 +36,7 @@ buildPythonPackage rec { --replace-fail "mappingproxy(OrderedDict({'x': <3×1 Real Variable: x>}))" "mappingproxy(OrderedDict([('x', <3×1 Real Variable: x>)]))" '' # TypeError: '<=' not supported between instances of 'ComplexAffineExpression' and 'float' - + lib.optionalString (stdenv.hostPlatform.isDarwin && stdenv.hostPlatform.isAarch64) '' + + lib.optionalString stdenv.hostPlatform.isDarwin '' rm tests/ptest_quantentr.py ''; diff --git a/pkgs/development/python-modules/pip-tools/default.nix b/pkgs/development/python-modules/pip-tools/default.nix index 534823a37fa9..897b1309d94e 100644 --- a/pkgs/development/python-modules/pip-tools/default.nix +++ b/pkgs/development/python-modules/pip-tools/default.nix @@ -52,7 +52,7 @@ buildPythonPackage (finalAttrs: { tomli-w ]; - preCheck = lib.optionalString (stdenv.hostPlatform.isDarwin && stdenv.hostPlatform.isAarch64) '' + preCheck = lib.optionalString stdenv.hostPlatform.isDarwin '' # https://github.com/python/cpython/issues/74570#issuecomment-1093748531 export no_proxy='*'; ''; diff --git a/pkgs/development/python-modules/piper-phonemize/default.nix b/pkgs/development/python-modules/piper-phonemize/default.nix index 6ba5a0ebf495..6e78c4d81842 100644 --- a/pkgs/development/python-modules/piper-phonemize/default.nix +++ b/pkgs/development/python-modules/piper-phonemize/default.nix @@ -31,8 +31,6 @@ buildPythonPackage { doCheck = false; meta = { - # dylib import fails with no LC_RPATH's found - broken = stdenv.hostPlatform.isDarwin && stdenv.hostPlatform.isx86; description = "Phonemization library used by Piper text to speech system"; inherit (piper-phonemize-native.meta) homepage license maintainers; }; diff --git a/pkgs/development/python-modules/pomegranate/default.nix b/pkgs/development/python-modules/pomegranate/default.nix index 0c5ccd4eb5d5..c70e467da35b 100644 --- a/pkgs/development/python-modules/pomegranate/default.nix +++ b/pkgs/development/python-modules/pomegranate/default.nix @@ -1,6 +1,5 @@ { lib, - stdenv, buildPythonPackage, fetchFromGitHub, fetchpatch, @@ -52,13 +51,6 @@ buildPythonPackage rec { }) ]; - disabledTestPaths = lib.optionals (stdenv.hostPlatform.isDarwin && stdenv.hostPlatform.isx86_64) [ - # AssertionError: Arrays are not almost equal to 6 decimals - "tests/distributions/test_normal_full.py::test_fit" - "tests/distributions/test_normal_full.py::test_from_summaries" - "tests/distributions/test_normal_full.py::test_serialization" - ]; - disabledTests = [ # AssertionError: Arrays are not almost equal to 6 decimals "test_sample" diff --git a/pkgs/development/python-modules/pycurl/default.nix b/pkgs/development/python-modules/pycurl/default.nix index 2ec4c2da4391..522d5da807f2 100644 --- a/pkgs/development/python-modules/pycurl/default.nix +++ b/pkgs/development/python-modules/pycurl/default.nix @@ -91,7 +91,7 @@ buildPythonPackage rec { "test_clear_via_assign_none_inside_callback_resets_socketp" "test_multi_unassign_inside_socket_callback" ] - ++ lib.optionals (stdenv.hostPlatform.isDarwin && stdenv.hostPlatform.isAarch64) [ + ++ lib.optionals stdenv.hostPlatform.isDarwin [ # Fatal Python error: Segmentation fault "cadata_test" ]; diff --git a/pkgs/development/python-modules/pyqt/5.x.nix b/pkgs/development/python-modules/pyqt/5.x.nix index 8a572b910fc2..62bbc998f3c4 100644 --- a/pkgs/development/python-modules/pyqt/5.x.nix +++ b/pkgs/development/python-modules/pyqt/5.x.nix @@ -55,7 +55,7 @@ buildPythonPackage rec { # Due to bug in SIP .whl name generation we have to bump minimal macos sdk upto 11.0 for # aarch64-darwin. This patch can be removed once SIP will fix it in upstream, # see https://github.com/NixOS/nixpkgs/pull/186612#issuecomment-1214635456. - + lib.optionalString (stdenv.hostPlatform.isDarwin && stdenv.hostPlatform.isAarch64) '' + + lib.optionalString stdenv.hostPlatform.isDarwin '' minimum-macos-version = "11.0" '' + '' diff --git a/pkgs/development/python-modules/pytest-forked/default.nix b/pkgs/development/python-modules/pytest-forked/default.nix index 26c4123b0d74..aee511db335e 100644 --- a/pkgs/development/python-modules/pytest-forked/default.nix +++ b/pkgs/development/python-modules/pytest-forked/default.nix @@ -1,8 +1,6 @@ { lib, - stdenv, buildPythonPackage, - pythonAtLeast, fetchFromGitHub, setuptools, setuptools-scm, diff --git a/pkgs/development/python-modules/rapidfuzz/default.nix b/pkgs/development/python-modules/rapidfuzz/default.nix index 4179c6ab3c2a..cb2775dc6395 100644 --- a/pkgs/development/python-modules/rapidfuzz/default.nix +++ b/pkgs/development/python-modules/rapidfuzz/default.nix @@ -56,10 +56,6 @@ buildPythonPackage (finalAttrs: { env.RAPIDFUZZ_BUILD_EXTENSION = 1; - preBuild = lib.optionalString (stdenv.hostPlatform.isDarwin && stdenv.hostPlatform.isx86_64) '' - export CMAKE_ARGS="-DCMAKE_CXX_COMPILER_AR=$AR -DCMAKE_CXX_COMPILER_RANLIB=$RANLIB" - ''; - optional-dependencies = { all = [ numpy ]; }; diff --git a/pkgs/development/python-modules/requests/default.nix b/pkgs/development/python-modules/requests/default.nix index 6f5c636620f1..95ed8e1783ba 100644 --- a/pkgs/development/python-modules/requests/default.nix +++ b/pkgs/development/python-modules/requests/default.nix @@ -64,13 +64,13 @@ buildPythonPackage (finalAttrs: { "TestRequests" "TestTimeout" ] - ++ lib.optionals (stdenv.hostPlatform.isDarwin && stdenv.hostPlatform.isAarch64) [ + ++ lib.optionals stdenv.hostPlatform.isDarwin [ # Fatal Python error: Aborted "test_basic_response" "test_text_response" ]; - disabledTestPaths = lib.optionals (stdenv.hostPlatform.isDarwin && stdenv.hostPlatform.isAarch64) [ + disabledTestPaths = lib.optionals stdenv.hostPlatform.isDarwin [ # Fatal Python error: Aborted "tests/test_lowlevel.py" ]; diff --git a/pkgs/development/python-modules/rq/default.nix b/pkgs/development/python-modules/rq/default.nix index e7e774e60c49..6c5badf8b84b 100644 --- a/pkgs/development/python-modules/rq/default.nix +++ b/pkgs/development/python-modules/rq/default.nix @@ -55,8 +55,7 @@ buildPythonPackage (finalAttrs: { __darwinAllowLocalNetworking = true; - # redisTestHook does not work on darwin-x86_64 - doCheck = !(stdenv.hostPlatform.isDarwin && stdenv.hostPlatform.isx86_64); + doCheck = true; disabledTests = lib.optionals diff --git a/pkgs/development/python-modules/scikit-image/default.nix b/pkgs/development/python-modules/scikit-image/default.nix index fe4bd89a3e08..543775d956a6 100644 --- a/pkgs/development/python-modules/scikit-image/default.nix +++ b/pkgs/development/python-modules/scikit-image/default.nix @@ -127,7 +127,7 @@ let # See https://github.com/scikit-image/scikit-image/issues/7061 and https://github.com/scikit-image/scikit-image/issues/7104 "skimage/measure/tests/test_fit.py" ] - ++ lib.optionals (stdenv.hostPlatform.isDarwin && stdenv.hostPlatform.isAarch64) [ + ++ lib.optionals stdenv.hostPlatform.isDarwin [ # https://github.com/scikit-image/scikit-image/issues/7104 "skimage/measure/tests/test_moments.py" ]; diff --git a/pkgs/development/python-modules/scikit-survival/default.nix b/pkgs/development/python-modules/scikit-survival/default.nix index e49a81ab3ba8..ff530bfff8d0 100644 --- a/pkgs/development/python-modules/scikit-survival/default.nix +++ b/pkgs/development/python-modules/scikit-survival/default.nix @@ -42,7 +42,7 @@ let # Flaky numerical assertion (AssertionError) "test_baseline_predict" ] - ++ lib.optionals (stdenv.hostPlatform.isDarwin && stdenv.hostPlatform.isAarch64) [ + ++ lib.optionals stdenv.hostPlatform.isDarwin [ # floating point mismatch on aarch64 # 27079905.88052468 too far from 27079905.880496684 "test_coxnet" diff --git a/pkgs/development/python-modules/scipy/default.nix b/pkgs/development/python-modules/scipy/default.nix index 23b577be470f..96e14b033998 100644 --- a/pkgs/development/python-modules/scipy/default.nix +++ b/pkgs/development/python-modules/scipy/default.nix @@ -117,7 +117,7 @@ buildPythonPackage (finalAttrs: { # see: https://github.com/scipy/scipy/issues/25522 "test_convergence" ] - ++ lib.optionals (stdenv.hostPlatform.isDarwin && stdenv.hostPlatform.isAarch64) [ + ++ lib.optionals stdenv.hostPlatform.isDarwin [ # The following tests are broken on aarch64-darwin with newer compilers and library versions. # See https://github.com/scipy/scipy/issues/18308 "test_a_b_neg_int_after_euler_hypergeometric_transformation" @@ -144,7 +144,7 @@ buildPythonPackage (finalAttrs: { "test_support_moments_sample" ]; - doCheck = !(stdenv.hostPlatform.isx86_64 && stdenv.hostPlatform.isDarwin); + doCheck = true; preConfigure = '' # Helps parallelization a bit @@ -181,7 +181,7 @@ buildPythonPackage (finalAttrs: { # # ldr x0, [x0, ___stack_chk_guard];momd # - hardeningDisable = lib.optionals (stdenv.hostPlatform.isAarch64 && stdenv.hostPlatform.isDarwin) [ + hardeningDisable = lib.optionals stdenv.hostPlatform.isDarwin [ "stackprotector" ]; diff --git a/pkgs/development/python-modules/shapely/default.nix b/pkgs/development/python-modules/shapely/default.nix index 79d52056f024..f25b55a6fdd0 100644 --- a/pkgs/development/python-modules/shapely/default.nix +++ b/pkgs/development/python-modules/shapely/default.nix @@ -54,7 +54,7 @@ buildPythonPackage rec { cd $out ''; - disabledTests = lib.optionals (stdenv.hostPlatform.isDarwin && stdenv.hostPlatform.isAarch64) [ + disabledTests = lib.optionals stdenv.hostPlatform.isDarwin [ # FIXME(lf-): these logging tests are broken, which is definitely our # fault. I've tried figuring out the cause and failed. # diff --git a/pkgs/development/python-modules/sourmash/default.nix b/pkgs/development/python-modules/sourmash/default.nix index e046eff43734..562f75989cce 100644 --- a/pkgs/development/python-modules/sourmash/default.nix +++ b/pkgs/development/python-modules/sourmash/default.nix @@ -80,7 +80,7 @@ buildPythonPackage rec { # argparse subparser usage prefix changed in 3.14 "test_cmd_3" ] - ++ lib.optionals (stdenv.hostPlatform.isDarwin && stdenv.hostPlatform.isAarch64) [ + ++ lib.optionals stdenv.hostPlatform.isDarwin [ # rocksdb segfaults pytest workers "rocksdb" "disk_revindex" diff --git a/pkgs/development/python-modules/tinygrad/default.nix b/pkgs/development/python-modules/tinygrad/default.nix index b01ec4f2cad4..67ae9bd6a795 100644 --- a/pkgs/development/python-modules/tinygrad/default.nix +++ b/pkgs/development/python-modules/tinygrad/default.nix @@ -289,19 +289,9 @@ buildPythonPackage (finalAttrs: { # AttributeError: module 'tinygrad.runtime.autogen.libclang' has no attribute 'clang_parseTranslationUnit' "test_gen_from_header" "test_struct_ordering" - ] - ++ lib.optionals (stdenv.hostPlatform.isDarwin && stdenv.hostPlatform.isAarch64) [ + # Exception: forward pass failed shape (2, 3, 64, 64) "test_cast" - ] - ++ lib.optionals (stdenv.hostPlatform.isDarwin && stdenv.hostPlatform.isx86_64) [ - # AssertionError: Expected 1 operations, got 3 - # assert 3 == 1 - # + where 3 = len([ExecItem(ast=UOp(Ops.SINK, dtypes.void, arg=None, src=... - # + and 1 = len([{'cnt': 3, 'type': 'graph'}]) - # - # test/test_jit.py:695: AssertionError - "TestJitGraphSplit" ]; disabledTestPaths = [ diff --git a/pkgs/development/python-modules/torch/source/default.nix b/pkgs/development/python-modules/torch/source/default.nix index 4c4b1c6321af..6880a1315dd9 100644 --- a/pkgs/development/python-modules/torch/source/default.nix +++ b/pkgs/development/python-modules/torch/source/default.nix @@ -88,7 +88,7 @@ # Disable MKLDNN on aarch64-darwin, it negatively impacts performance, # this is also what official pytorch build does - mklDnnSupport ? !(stdenv.hostPlatform.isDarwin && stdenv.hostPlatform.isAarch64), + mklDnnSupport ? !stdenv.hostPlatform.isDarwin, # virtual pkg that consistently instantiates blas across nixpkgs # See https://github.com/NixOS/nixpkgs/pull/83888 diff --git a/pkgs/development/python-modules/torchao/default.nix b/pkgs/development/python-modules/torchao/default.nix index 1a072ccffc67..6084fdac3b7b 100644 --- a/pkgs/development/python-modules/torchao/default.nix +++ b/pkgs/development/python-modules/torchao/default.nix @@ -36,9 +36,7 @@ let isDarwin isLinux isAarch64 - isx86_64 ; - isAarch64Darwin = isDarwin && isAarch64; isAarch64Linux = isLinux && isAarch64; in buildPythonPackage (finalAttrs: { @@ -53,7 +51,7 @@ buildPythonPackage (finalAttrs: { hash = "sha256-szPyGqvvXSboDRcsLKAkXSBI+Kgx4Fganw/SlONimcY="; }; - patches = lib.optionals isAarch64Darwin [ + patches = lib.optionals isDarwin [ ./use-system-cpuinfo.patch (replaceVars ./use-llvm-openmp.patch { inherit (llvmPackages) openmp; @@ -64,12 +62,12 @@ buildPythonPackage (finalAttrs: { setuptools ]; - nativeBuildInputs = lib.optionals isAarch64Darwin [ + nativeBuildInputs = lib.optionals isDarwin [ cmake ]; dontUseCmakeConfigure = true; - buildInputs = lib.optionals isAarch64Darwin [ + buildInputs = lib.optionals isDarwin [ cpuinfo ]; @@ -287,15 +285,6 @@ buildPythonPackage (finalAttrs: { "test_workflow_e2e_numerics_config1" "test_workflow_e2e_numerics_config4" "test_workflow_e2e_numerics_config5" - ] - ++ lib.optionals (isDarwin && isx86_64) [ - # Flaky: [gw0] node down: keyboard-interrupt - "test_int8_weight_only_quant_with_freeze_0_cpu" - "test_int8_weight_only_quant_with_freeze_1_cpu" - "test_int8_weight_only_quant_with_freeze_2_cpu" - - # Illegal instruction in subclass_4bit.py::dequantize - "test_subclass_slice" ]; disabledTestPaths = [ diff --git a/pkgs/development/python-modules/txtorcon/default.nix b/pkgs/development/python-modules/txtorcon/default.nix index ab843692ac90..744d7a0c0d8d 100644 --- a/pkgs/development/python-modules/txtorcon/default.nix +++ b/pkgs/development/python-modules/txtorcon/default.nix @@ -41,7 +41,7 @@ buildPythonPackage rec { geoip ]; - doCheck = !(stdenv.hostPlatform.isDarwin && stdenv.hostPlatform.isAarch64); + doCheck = !stdenv.hostPlatform.isDarwin; pythonImportsCheck = [ "txtorcon" ]; diff --git a/pkgs/development/python-modules/typesense/default.nix b/pkgs/development/python-modules/typesense/default.nix index ebcb8f64419a..c9b256e36805 100644 --- a/pkgs/development/python-modules/typesense/default.nix +++ b/pkgs/development/python-modules/typesense/default.nix @@ -99,7 +99,5 @@ buildPythonPackage (finalAttrs: { homepage = "https://github.com/typesense/typesense-python"; license = lib.licenses.asl20; teams = [ lib.teams.ngi ]; - # on x86_64-darwin the typesense server doesn't start - badPlatforms = [ "x86_64-darwin" ]; }; }) diff --git a/pkgs/development/python-modules/unicorn/default.nix b/pkgs/development/python-modules/unicorn/default.nix index 661a9faa420c..8e27f4e29b21 100644 --- a/pkgs/development/python-modules/unicorn/default.nix +++ b/pkgs/development/python-modules/unicorn/default.nix @@ -30,7 +30,7 @@ buildPythonPackage rec { ] # aarch64 only available from MacOS SDK 11 onwards, so fix the version tag. # otherwise, bdist_wheel may detect "macosx_10_6_arm64" which doesn't make sense. - ++ lib.optionals (stdenv.hostPlatform.isDarwin && stdenv.hostPlatform.isAarch64) [ + ++ lib.optionals stdenv.hostPlatform.isDarwin [ "--plat-name" "macosx_11_0" ]; diff --git a/pkgs/development/python-modules/vector/default.nix b/pkgs/development/python-modules/vector/default.nix index 4f6d11c786af..99cecf6acb23 100644 --- a/pkgs/development/python-modules/vector/default.nix +++ b/pkgs/development/python-modules/vector/default.nix @@ -74,10 +74,6 @@ buildPythonPackage (finalAttrs: { "test_method_transform2D" "test_method_transform3D" "test_method_transform4D" - ] - ++ lib.optionals (stdenv.hostPlatform.isDarwin && stdenv.hostPlatform.isx86_64) [ - # AssertionError: assert 2.1073424255447017e-08 == 0.0 - "test_issue_463" ]; meta = { diff --git a/pkgs/development/python-modules/watchdog/default.nix b/pkgs/development/python-modules/watchdog/default.nix index eeecf41ef2da..a377a676a93a 100644 --- a/pkgs/development/python-modules/watchdog/default.nix +++ b/pkgs/development/python-modules/watchdog/default.nix @@ -47,22 +47,9 @@ buildPythonPackage rec { ++ lib.optionals (stdenv.hostPlatform.isDarwin) [ # segfaults the testsuite "tests/test_emitter.py" - # unsupported on x86_64-darwin "tests/test_fsevents.py" # fails to stop process in teardown "tests/test_0_watchmedo.py::test_auto_restart_subprocess_termination" - ] - ++ lib.optionals (stdenv.hostPlatform.isDarwin && stdenv.hostPlatform.isx86_64) [ - # FileCreationEvent != FileDeletionEvent - "tests/test_emitter.py::test_separate_consecutive_moves" - "tests/test_observers_polling.py::test___init__" - # segfaults - "tests/test_delayed_queue.py::test_delayed_get" - "tests/test_emitter.py::test_delete" - # AttributeError: '_thread.RLock' object has no attribute 'key'" - "tests/test_skip_repeats_queue.py::test_eventlet_monkey_patching" - ] - ++ lib.optionals (stdenv.hostPlatform.isDarwin && stdenv.hostPlatform.isAarch64) [ # segfaults "tests/test_delayed_queue.py::test_delayed_get" "tests/test_0_watchmedo.py::test_tricks_from_file" diff --git a/pkgs/development/python-modules/xgrammar/default.nix b/pkgs/development/python-modules/xgrammar/default.nix index 55271c0b264d..e0a9f6a924e9 100644 --- a/pkgs/development/python-modules/xgrammar/default.nix +++ b/pkgs/development/python-modules/xgrammar/default.nix @@ -60,7 +60,7 @@ buildPythonPackage (finalAttrs: { ]; optional-dependencies = { - metal = lib.optionals (stdenv.hostPlatform.isDarwin && stdenv.hostPlatform.isAarch64) [ + metal = lib.optionals stdenv.hostPlatform.isDarwin [ mlx-lm ]; }; diff --git a/pkgs/development/python-modules/xmlsec/default.nix b/pkgs/development/python-modules/xmlsec/default.nix index ab677396f6df..b2d1367f8ba8 100644 --- a/pkgs/development/python-modules/xmlsec/default.nix +++ b/pkgs/development/python-modules/xmlsec/default.nix @@ -1,6 +1,5 @@ { lib, - stdenv, buildPythonPackage, fetchFromGitHub, fetchpatch, @@ -87,11 +86,6 @@ buildPythonPackage (finalAttrs: { "tests/test_doc_examples.py" ]; - disabledTests = lib.optionals (stdenv.hostPlatform.isDarwin && stdenv.hostPlatform.isx86_64) [ - # AssertionError: memory leak detected - "test_reinitialize_module" - ]; - pythonImportsCheck = [ "xmlsec" ]; meta = { diff --git a/pkgs/development/ruby-modules/gem-config/default.nix b/pkgs/development/ruby-modules/gem-config/default.nix index e1a1937df9c2..df915aac506f 100644 --- a/pkgs/development/ruby-modules/gem-config/default.nix +++ b/pkgs/development/ruby-modules/gem-config/default.nix @@ -592,9 +592,7 @@ in ] ++ lib.optional stdenv.hostPlatform.isDarwin cctools ++ lib.optional ( - lib.versionAtLeast attrs.version "1.53.0" - && stdenv.hostPlatform.isDarwin - && stdenv.hostPlatform.isAarch64 + lib.versionAtLeast attrs.version "1.53.0" && stdenv.hostPlatform.isDarwin ) autoSignDarwinBinariesHook; buildInputs = [ openssl ]; hardeningDisable = [ "format" ]; diff --git a/pkgs/servers/sql/mariadb/default.nix b/pkgs/servers/sql/mariadb/default.nix index 33a24f016005..48fe659737a3 100644 --- a/pkgs/servers/sql/mariadb/default.nix +++ b/pkgs/servers/sql/mariadb/default.nix @@ -117,15 +117,10 @@ let prePatch = '' sed -i 's,[^"]*/var/log,/var/log,g' storage/mroonga/vendor/groonga/CMakeLists.txt ''; - env = - lib.optionalAttrs (stdenv.hostPlatform.isLinux && !stdenv.hostPlatform.isGnu) { - # MariaDB uses non-POSIX fopen64, which musl only conditionally defines. - NIX_CFLAGS_COMPILE = "-D_LARGEFILE64_SOURCE"; - } - // lib.optionalAttrs (stdenv.hostPlatform.isDarwin && stdenv.hostPlatform.isx86_64) { - # Detection of netdb.h doesnt work for some reason on x86_64-darwin - NIX_CFLAGS_COMPILE = "-DHAVE_NETDB_H"; - }; + env = lib.optionalAttrs (stdenv.hostPlatform.isLinux && !stdenv.hostPlatform.isGnu) { + # MariaDB uses non-POSIX fopen64, which musl only conditionally defines. + NIX_CFLAGS_COMPILE = "-D_LARGEFILE64_SOURCE"; + }; patches = [ ./patch/cmake-includedir.patch diff --git a/pkgs/test/default.nix b/pkgs/test/default.nix index 0ddb6047078b..aa956b03fb2d 100644 --- a/pkgs/test/default.nix +++ b/pkgs/test/default.nix @@ -228,12 +228,10 @@ in makeBinaryWrapper = pkgs.makeBinaryWrapper.override { # Enable sanitizers in the tests only, to avoid the performance cost in regular usage. # The sanitizers cause errors on aarch64-darwin, see https://github.com/NixOS/nixpkgs/pull/150079#issuecomment-994132734 - sanitizers = - optionals (!(pkgs.stdenv.hostPlatform.isDarwin && pkgs.stdenv.hostPlatform.isAarch64)) - [ - "undefined" - "address" - ]; + sanitizers = optionals (!pkgs.stdenv.hostPlatform.isDarwin) [ + "undefined" + "address" + ]; }; }; diff --git a/pkgs/tools/misc/hdf5/default.nix b/pkgs/tools/misc/hdf5/default.nix index f4233cfbe321..d06bb9a33126 100644 --- a/pkgs/tools/misc/hdf5/default.nix +++ b/pkgs/tools/misc/hdf5/default.nix @@ -95,11 +95,7 @@ stdenv.mkDerivation rec { (lib.cmakeBool "HDF5_BUILD_JAVA" javaSupport) (lib.cmakeBool "HDF5_ENABLE_THREADSAFE" threadsafe) (lib.cmakeBool "HDF5_BUILD_HL_LIB" (!threadsafe)) - # broken in nixpkgs since around 1.14.3 -> 1.14.4.3 - # https://github.com/HDFGroup/hdf5/issues/4208#issuecomment-2098698567 - (lib.cmakeBool "HDF5_ENABLE_NONSTANDARD_FEATURE_FLOAT16" ( - with stdenv.hostPlatform; !(isDarwin && isx86_64) - )) + (lib.cmakeBool "HDF5_ENABLE_NONSTANDARD_FEATURE_FLOAT16" true) ] ++ lib.optional (apiVersion != null) (lib.cmakeFeature "HDF5_DEFAULT_API_VERSION" apiVersion); diff --git a/pkgs/tools/misc/tdarr/node.nix b/pkgs/tools/misc/tdarr/node.nix index 7be9a1f11a28..89fac1ef1c5b 100644 --- a/pkgs/tools/misc/tdarr/node.nix +++ b/pkgs/tools/misc/tdarr/node.nix @@ -7,7 +7,6 @@ callPackage ./common.nix { } { hashes = { linux_x64 = "sha256-F7P0DZ4J10cgwbME1qcWYnJcMlcsALJ+z6u/eVTv5g0="; linux_arm64 = "sha256-oKapd+SjpercZecXCjojbsjHem5oWxctycj/woD0Bwc="; - darwin_x64 = "sha256-RmRngSwtU5ZMlE8yPy+Am6DzMmuiFihbeIk1yn/85Gc="; darwin_arm64 = "sha256-muqjEYYTDckM8FesRrE8rAxPOIzMyLcnXOSGcfKfw5Y="; }; diff --git a/pkgs/tools/misc/tdarr/server.nix b/pkgs/tools/misc/tdarr/server.nix index 6e2bb2390d7a..873a4afa89df 100644 --- a/pkgs/tools/misc/tdarr/server.nix +++ b/pkgs/tools/misc/tdarr/server.nix @@ -7,7 +7,6 @@ callPackage ./common.nix { } { hashes = { linux_x64 = "sha256-dAXcBPJ8wOxx4gg50mN6nEgUcDqEOn17eByX2FvphrQ="; linux_arm64 = "sha256-MDDhkSmMTiOEezKpInR86TItkVnX20IKblUf2JUKnKg="; - darwin_x64 = "sha256-faCNm8eeJzQq3Doyac/vtmx80dOTaWVMIErgNwz77xk="; darwin_arm64 = "sha256-NNEvCFZvPJFy6Elh7voeSe847bGVJpnOt/ac5nLEy7Y="; }; diff --git a/pkgs/tools/package-management/akku/overrides.nix b/pkgs/tools/package-management/akku/overrides.nix index 2cdc55e53c86..449c8f844931 100644 --- a/pkgs/tools/package-management/akku/overrides.nix +++ b/pkgs/tools/package-management/akku/overrides.nix @@ -20,9 +20,6 @@ let showLibs = pkg: old: { preCheck = "echo $CHEZSCHEMELIBDIRS"; }; runTests = pkg: old: { doCheck = true; }; brokenOnAarch64 = _: lib.addMetaAttrs { broken = stdenv.hostPlatform.isAarch64; }; - brokenOnx86_64Darwin = lib.addMetaAttrs { - broken = stdenv.hostPlatform.isDarwin && stdenv.hostPlatform.isx86_64; - }; brokenOnDarwin = lib.addMetaAttrs { broken = stdenv.hostPlatform.isDarwin; }; in { diff --git a/pkgs/tools/security/ghidra/build.nix b/pkgs/tools/security/ghidra/build.nix index d89c335cb8c2..4cc533fa5991 100644 --- a/pkgs/tools/security/ghidra/build.nix +++ b/pkgs/tools/security/ghidra/build.nix @@ -22,8 +22,6 @@ let pname = "ghidra"; version = "12.1.4"; - isMacArm64 = stdenv.hostPlatform.isDarwin && stdenv.hostPlatform.isAarch64; - releaseName = "NIX"; distroPrefix = "ghidra_${version}_${releaseName}"; src = fetchFromGitHub { @@ -133,7 +131,7 @@ stdenv.mkDerivation (finalAttrs: { gradleFlags = [ "-Dorg.gradle.java.home=${openjdk21}" ] - ++ lib.optionals isMacArm64 [ + ++ lib.optionals stdenv.hostPlatform.isDarwin [ # For some reason I haven't been able to figure out yet, ghidra builds for # arm64 seems to build the x64 binaries of the decompiler. These fail to # build due to trying to link the x64 object files with arm64 stdc++ @@ -219,6 +217,5 @@ stdenv.mkDerivation (finalAttrs: { roblabla vringar ]; - broken = stdenv.hostPlatform.isDarwin && stdenv.hostPlatform.isx86_64; }; }) diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index 56fd1639ea88..bd20493d72aa 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -3553,12 +3553,7 @@ with pkgs; stack = # TODO: Erroneous references to GHC on aarch64-darwin: https://github.com/NixOS/nixpkgs/issues/318013 - ( - if stdenv.hostPlatform.isDarwin && stdenv.hostPlatform.isAarch64 then - lib.id - else - haskell.lib.compose.justStaticExecutables - ) + (if stdenv.hostPlatform.isDarwin then lib.id else haskell.lib.compose.justStaticExecutables) haskellPackages.stack; hlint = haskell.lib.compose.justStaticExecutables haskellPackages.hlint; @@ -4975,12 +4970,7 @@ with pkgs; haskell-ci = # TODO: Erroneous references to GHC on aarch64-darwin: https://github.com/NixOS/nixpkgs/issues/318013 - ( - if stdenv.hostPlatform.isDarwin && stdenv.hostPlatform.isAarch64 then - lib.id - else - haskell.lib.compose.justStaticExecutables - ) + (if stdenv.hostPlatform.isDarwin then lib.id else haskell.lib.compose.justStaticExecutables) haskellPackages.haskell-ci; nexusmods-app-unfree = nexusmods-app.override { @@ -5081,12 +5071,7 @@ with pkgs; shake = # TODO: Erroneous references to GHC on aarch64-darwin: https://github.com/NixOS/nixpkgs/issues/318013 - ( - if stdenv.hostPlatform.isDarwin && stdenv.hostPlatform.isAarch64 then - lib.id - else - haskell.lib.compose.justStaticExecutables - ) + (if stdenv.hostPlatform.isDarwin then lib.id else haskell.lib.compose.justStaticExecutables) haskellPackages.shake; shellcheck = callPackage ../development/tools/shellcheck { @@ -5923,12 +5908,7 @@ with pkgs; matterhorn = # TODO: Erroneous references to GHC on aarch64-darwin: https://github.com/NixOS/nixpkgs/issues/318013 - ( - if stdenv.hostPlatform.isDarwin && stdenv.hostPlatform.isAarch64 then - lib.id - else - haskell.lib.compose.justStaticExecutables - ) + (if stdenv.hostPlatform.isDarwin then lib.id else haskell.lib.compose.justStaticExecutables) haskellPackages.matterhorn; inherit @@ -8359,12 +8339,7 @@ with pkgs; hledger-ui = haskell.lib.compose.justStaticExecutables haskellPackages.hledger-ui; hledger-web = # TODO: Erroneous references to GHC on aarch64-darwin: https://github.com/NixOS/nixpkgs/issues/318013 - ( - if stdenv.hostPlatform.isDarwin && stdenv.hostPlatform.isAarch64 then - lib.id - else - haskell.lib.compose.justStaticExecutables - ) + (if stdenv.hostPlatform.isDarwin then lib.id else haskell.lib.compose.justStaticExecutables) haskellPackages.hledger-web; hledger-utils = with python3.pkgs; toPythonApplication hledger-utils; @@ -9310,12 +9285,7 @@ with pkgs; bench = # TODO: Erroneous references to GHC on aarch64-darwin: https://github.com/NixOS/nixpkgs/issues/318013 - ( - if stdenv.hostPlatform.isDarwin && stdenv.hostPlatform.isAarch64 then - lib.id - else - haskell.lib.compose.justStaticExecutables - ) + (if stdenv.hostPlatform.isDarwin then lib.id else haskell.lib.compose.justStaticExecutables) haskellPackages.bench; ### GAMES @@ -10175,7 +10145,7 @@ with pkgs; nix-serve-ng = # FIXME: manually eliminate incorrect references on aarch64-darwin, # see https://github.com/NixOS/nixpkgs/issues/318013 - if stdenv.hostPlatform.isDarwin && stdenv.hostPlatform.isAarch64 then + if stdenv.hostPlatform.isDarwin then haskellPackages.nix-serve-ng else haskell.lib.compose.justStaticExecutables haskellPackages.nix-serve-ng; From e6ed6d812e413484dff72a73571151e0885bae3b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Robert=20Sch=C3=BCtz?= Date: Mon, 26 Oct 2026 17:25:22 -0700 Subject: [PATCH 2172/2378] bubblewrap: 0.13.0 -> 0.13.1 Diff: https://github.com/containers/bubblewrap/compare/v0.13.0...v0.13.1 Changelog: https://github.com/containers/bubblewrap/releases/tag/v0.13.1 --- pkgs/by-name/bu/bubblewrap/package.nix | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/pkgs/by-name/bu/bubblewrap/package.nix b/pkgs/by-name/bu/bubblewrap/package.nix index c0d9a67901e2..f237b4e10f6f 100644 --- a/pkgs/by-name/bu/bubblewrap/package.nix +++ b/pkgs/by-name/bu/bubblewrap/package.nix @@ -14,13 +14,13 @@ stdenv.mkDerivation (finalAttrs: { pname = "bubblewrap"; - version = "0.13.0"; + version = "0.13.1"; src = fetchFromGitHub { owner = "containers"; repo = "bubblewrap"; - rev = "v${finalAttrs.version}"; - hash = "sha256-lR9ii3Dhwpy/s7RZglbJkHyfhzZNEl3t0tXf03YGBfI="; + tag = "v${finalAttrs.version}"; + hash = "sha256-sgIATYiBYbHaftA+ShIqfxS3OScz7VurjPciL2WB1oQ="; }; outputs = [ @@ -51,7 +51,7 @@ stdenv.mkDerivation (finalAttrs: { doCheck = false; meta = { - changelog = "https://github.com/containers/bubblewrap/releases/tag/${finalAttrs.src.rev}"; + changelog = "https://github.com/containers/bubblewrap/releases/tag/${finalAttrs.src.tag}"; description = "Unprivileged sandboxing tool"; homepage = "https://github.com/containers/bubblewrap"; license = lib.licenses.lgpl21Plus; From 960a3a111e3d98d7ba116fdb554202f60e1bda55 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Niklas=20Hamb=C3=BCchen?= Date: Tue, 27 Oct 2026 00:03:51 +0000 Subject: [PATCH 2173/2378] python3Packages.astropy: disable build-date-dependent irreproducible test See: https://github.com/astropy/astropy/issues/20725 Assisted-by: Claude Opus 5.5 in Zoo Code, human review. --- pkgs/development/python-modules/astropy/default.nix | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/pkgs/development/python-modules/astropy/default.nix b/pkgs/development/python-modules/astropy/default.nix index 02291cdfef73..55bb4db82bb1 100644 --- a/pkgs/development/python-modules/astropy/default.nix +++ b/pkgs/development/python-modules/astropy/default.nix @@ -153,6 +153,14 @@ buildPythonPackage rec { pytestFlags = [ "--hypothesis-profile=ci" ]; + disabledTests = [ + # Depends on the build date: Asserts that the IERS-B table bundled in + # `astropy-iers-data` covers `Time.now() - 300 days`, so it fails for any + # build more than 300 days after the end of that table. + # Tests run by nixpkgs should not be time-dependent for reproducibility. + # See https://github.com/astropy/astropy/issues/20725 + "test_iers_b_out_of_range_handling" + ]; postCheck = '' rm conftest.py ''; From 81014aed5ad52ac225f790b44ac84f196ea2d383 Mon Sep 17 00:00:00 2001 From: Ihar Hrachyshka Date: Mon, 26 Oct 2026 22:41:17 -0400 Subject: [PATCH 2174/2378] python3Packages.flash-linear-attention: fix formatting --- .../python-modules/flash-linear-attention/default.nix | 1 - 1 file changed, 1 deletion(-) diff --git a/pkgs/development/python-modules/flash-linear-attention/default.nix b/pkgs/development/python-modules/flash-linear-attention/default.nix index 9f6a8ba6bd16..1315814f983c 100644 --- a/pkgs/development/python-modules/flash-linear-attention/default.nix +++ b/pkgs/development/python-modules/flash-linear-attention/default.nix @@ -29,7 +29,6 @@ buildPythonPackage (finalAttrs: { inherit (fla-core) version src; pyproject = true; - # Only ships fla/{layers,models}. The rest of `fla` is provided by fla-core. postPatch = '' python -c "import sys; sys.path.insert(0, 'scripts'); import build_packages; build_packages.build_split_packages('split')" From 215954bfe9cb53788a7d0a0cc3ff15fd3af0d14d Mon Sep 17 00:00:00 2001 From: "R. Ryantm" Date: Tue, 27 Oct 2026 05:36:12 +0000 Subject: [PATCH 2175/2378] btrfs-progs: 7.1 -> 7.3 --- pkgs/by-name/bt/btrfs-progs/package.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/by-name/bt/btrfs-progs/package.nix b/pkgs/by-name/bt/btrfs-progs/package.nix index 52d1d0bb827c..d35341314515 100644 --- a/pkgs/by-name/bt/btrfs-progs/package.nix +++ b/pkgs/by-name/bt/btrfs-progs/package.nix @@ -21,11 +21,11 @@ stdenv.mkDerivation (finalAttrs: { pname = "btrfs-progs"; - version = "7.1"; + version = "7.3"; src = fetchurl { url = "mirror://kernel/linux/kernel/people/kdave/btrfs-progs/btrfs-progs-v${finalAttrs.version}.tar.xz"; - hash = "sha256-0fVcwpcTmMkULqp50gPmPVhqO0uGf5VmZKHWgyLNTjQ="; + hash = "sha256-03tjQD0l/gJXBMdY5qPaCXmuUMMMXwKqeORBDns0bjo="; }; nativeBuildInputs = [ From 0385f8816085f827550be12b1b7e182d7ad37537 Mon Sep 17 00:00:00 2001 From: "R. Ryantm" Date: Tue, 27 Oct 2026 06:54:54 +0000 Subject: [PATCH 2176/2378] spidermonkey_140: 140.16.0 -> 140.17.0 --- pkgs/development/interpreters/spidermonkey/140.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/interpreters/spidermonkey/140.nix b/pkgs/development/interpreters/spidermonkey/140.nix index 4819459624db..9fc4dd813131 100644 --- a/pkgs/development/interpreters/spidermonkey/140.nix +++ b/pkgs/development/interpreters/spidermonkey/140.nix @@ -1,4 +1,4 @@ import ./common.nix { - version = "140.16.0"; - hash = "sha512-+r9bSBWUqahgtq43nS7om6KRuAfJQzTuFbrR/oYu20fCLokNiS4z1qbsV/zkqxKqnJxvpKUBuIHsxiEawEvZoA=="; + version = "140.17.0"; + hash = "sha512-xWn08ey63sTCSrYK9sj/A/bBKS57JEbtynzG9Vdb2NmOPunvuYd+upi9sVNUpMQmBRX4xv2aqdGYsmci9grl9A=="; } From ba0977023fb5874d6de3ca52cdeeb85e4e3caad9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Attila=20Ol=C3=A1h?= Date: Fri, 23 Oct 2026 23:33:29 +0200 Subject: [PATCH 2177/2378] python3Packages.setproctitle: convert to finalAttrs, clean up tests Co-authored-by: dotlambda --- .../python-modules/setproctitle/default.nix | 11 ++++------- 1 file changed, 4 insertions(+), 7 deletions(-) diff --git a/pkgs/development/python-modules/setproctitle/default.nix b/pkgs/development/python-modules/setproctitle/default.nix index 59916d6f22d6..e4824f8199ce 100644 --- a/pkgs/development/python-modules/setproctitle/default.nix +++ b/pkgs/development/python-modules/setproctitle/default.nix @@ -8,7 +8,7 @@ stdenv, }: -buildPythonPackage rec { +buildPythonPackage (finalAttrs: { pname = "setproctitle"; version = "1.3.8"; pyproject = true; @@ -16,7 +16,7 @@ buildPythonPackage rec { src = fetchFromGitHub { owner = "dvarrazzo"; repo = "py-setproctitle"; - tag = "version-${version}"; + tag = "version-${finalAttrs.version}"; hash = "sha256-PGTaK9/Wwd5Lp2tZCVSrnPkfVwWvJIq8rWNQ83OH/eI="; }; @@ -30,9 +30,6 @@ buildPythonPackage rec { disabledTests = lib.optionals stdenv.hostPlatform.isDarwin [ # Setting the process title fails on macOS in the Nix builder environment (regardless of sandboxing) "test_setproctitle_darwin" - # *** multi-threaded process forked ***; crashed on child side of fork pre-exec. fork without exec is unsafe. - "test_fork_segfault" - "test_thread_fork_segfault" ]; pythonImportsCheck = [ "setproctitle" ]; @@ -40,8 +37,8 @@ buildPythonPackage rec { meta = { description = "Allows a process to change its title (as displayed by system tools such as ps and top)"; homepage = "https://github.com/dvarrazzo/py-setproctitle"; - changelog = "https://github.com/dvarrazzo/py-setproctitle/blob/${src.tag}/HISTORY.rst"; + changelog = "https://github.com/dvarrazzo/py-setproctitle/blob/${finalAttrs.src.tag}/HISTORY.rst"; license = lib.licenses.bsd3; maintainers = with lib.maintainers; [ exi ]; }; -} +}) From e5cadf7bef7de5439392b000dd602d3b482c0e83 Mon Sep 17 00:00:00 2001 From: "R. Ryantm" Date: Tue, 27 Oct 2026 09:31:24 +0000 Subject: [PATCH 2178/2378] valkey: 9.1.2 -> 9.1.3 --- pkgs/by-name/va/valkey/package.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/by-name/va/valkey/package.nix b/pkgs/by-name/va/valkey/package.nix index 977d28e9e696..095f21988a91 100644 --- a/pkgs/by-name/va/valkey/package.nix +++ b/pkgs/by-name/va/valkey/package.nix @@ -24,13 +24,13 @@ stdenv.mkDerivation (finalAttrs: { pname = "valkey"; - version = "9.1.2"; + version = "9.1.3"; src = fetchFromGitHub { owner = "valkey-io"; repo = "valkey"; rev = finalAttrs.version; - hash = "sha256-Lq5AqrLKILnsaOdAgWeeukPNF7KerB17R1mUOZjOsUg="; + hash = "sha256-hRmxA/TV9P2OXMD515HlH5MFwQKZVVgNmmxyeDDXUJI="; }; patches = lib.optional useSystemJemalloc ./use_system_jemalloc.patch; From 6c1e9b3dba5a5d7d9d86e0ec82a7f0b76815b10f Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Tue, 27 Oct 2026 12:50:06 +0100 Subject: [PATCH 2179/2378] libdaemon: enable strictDeps --- pkgs/by-name/li/libdaemon/package.nix | 2 ++ 1 file changed, 2 insertions(+) diff --git a/pkgs/by-name/li/libdaemon/package.nix b/pkgs/by-name/li/libdaemon/package.nix index e71e21ebdc2c..39d273d58f1c 100644 --- a/pkgs/by-name/li/libdaemon/package.nix +++ b/pkgs/by-name/li/libdaemon/package.nix @@ -21,6 +21,8 @@ stdenv.mkDerivation (finalAttrs: { patches = [ ./fix-includes.patch ]; + strictDeps = true; + configureFlags = [ "--disable-lynx" ] From 0347a6645ce291b593e3e281e3b2acccb6f731f7 Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Tue, 27 Oct 2026 12:50:21 +0100 Subject: [PATCH 2180/2378] libdaemon: enable structuredAttrs --- pkgs/by-name/li/libdaemon/package.nix | 2 ++ 1 file changed, 2 insertions(+) diff --git a/pkgs/by-name/li/libdaemon/package.nix b/pkgs/by-name/li/libdaemon/package.nix index 39d273d58f1c..809de332ffaa 100644 --- a/pkgs/by-name/li/libdaemon/package.nix +++ b/pkgs/by-name/li/libdaemon/package.nix @@ -31,6 +31,8 @@ stdenv.mkDerivation (finalAttrs: { "ac_cv_func_setpgrp_void=${lib.boolToYesNo (!stdenv.hostPlatform.isBSD)}" ]; + __structuredAttrs = true; + meta = { description = "Lightweight C library that eases the writing of UNIX daemons"; homepage = "http://0pointer.de/lennart/projects/libdaemon/"; From 00e36d63181dd8a7adbde63fb51564a724d4afb7 Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Tue, 27 Oct 2026 12:59:11 +0100 Subject: [PATCH 2181/2378] libtiff: enable strictDeps --- pkgs/by-name/li/libtiff/package.nix | 2 ++ 1 file changed, 2 insertions(+) diff --git a/pkgs/by-name/li/libtiff/package.nix b/pkgs/by-name/li/libtiff/package.nix index eb0aa4320537..e1591a9e3c16 100644 --- a/pkgs/by-name/li/libtiff/package.nix +++ b/pkgs/by-name/li/libtiff/package.nix @@ -96,6 +96,8 @@ stdenv.mkDerivation (finalAttrs: { lerc ]; + strictDeps = true; + cmakeFlags = [ "-DCMAKE_FIND_PACKAGE_PREFER_CONFIG=ON" ]; From 6cce2cdf82a2afdfd3d4479112defda5ff633ce2 Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Tue, 27 Oct 2026 12:59:21 +0100 Subject: [PATCH 2182/2378] libtiff: enable structuredAttrs, use tag --- pkgs/by-name/li/libtiff/package.nix | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/pkgs/by-name/li/libtiff/package.nix b/pkgs/by-name/li/libtiff/package.nix index e1591a9e3c16..ad8964f8ddd1 100644 --- a/pkgs/by-name/li/libtiff/package.nix +++ b/pkgs/by-name/li/libtiff/package.nix @@ -42,7 +42,7 @@ stdenv.mkDerivation (finalAttrs: { src = fetchFromGitLab { owner = "libtiff"; repo = "libtiff"; - rev = "v${finalAttrs.version}"; + tag = "v${finalAttrs.version}"; hash = "sha256-60Lpg5WRfWMzlOoOUA+C6KLlYIZ+3BjXidOVqv4M2GA="; }; @@ -128,6 +128,8 @@ stdenv.mkDerivation (finalAttrs: { updateScript = nix-update-script { }; }; + __structuredAttrs = true; + meta = { description = "Library and utilities for working with the TIFF image file format"; homepage = "https://libtiff.gitlab.io/libtiff"; From 2167674a4659fd821ff87de8daeab1173e0ac2ee Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Tue, 27 Oct 2026 14:35:48 +0100 Subject: [PATCH 2183/2378] gnulib: remove python3 dependency --- pkgs/by-name/gn/gnulib/package.nix | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/pkgs/by-name/gn/gnulib/package.nix b/pkgs/by-name/gn/gnulib/package.nix index 56effb7fb204..b6b4756fdd0e 100644 --- a/pkgs/by-name/gn/gnulib/package.nix +++ b/pkgs/by-name/gn/gnulib/package.nix @@ -2,7 +2,6 @@ lib, stdenv, fetchgit, - python3, perl, }: @@ -17,12 +16,12 @@ stdenv.mkDerivation { }; postPatch = '' + patchShebangs gnulib-tool patchShebangs gnulib-tool.py - substituteInPlace build-aux/{prefix-gnulib-mk,useless-if-before-free,update-copyright,gitlog-to-changelog,announce-gen} \ - --replace-fail 'exec perl' 'exec ${lib.getExe perl}' - ''; - buildInputs = [ python3 ]; + substituteInPlace build-aux/{prefix-gnulib-mk,useless-if-before-free,update-copyright,gitlog-to-changelog,announce-gen} \ + --replace-fail 'exec perl' 'exec ${lib.getExe perl}' + ''; strictDeps = true; From 9cee42e981bbf7e98445bd0a074962106e0482c3 Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Tue, 27 Oct 2026 14:36:08 +0100 Subject: [PATCH 2184/2378] gnulib: add missing install hooks --- pkgs/by-name/gn/gnulib/package.nix | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/pkgs/by-name/gn/gnulib/package.nix b/pkgs/by-name/gn/gnulib/package.nix index b6b4756fdd0e..48a7df32030c 100644 --- a/pkgs/by-name/gn/gnulib/package.nix +++ b/pkgs/by-name/gn/gnulib/package.nix @@ -26,10 +26,14 @@ stdenv.mkDerivation { strictDeps = true; installPhase = '' + runHook preInstall + mkdir -p $out/bin cp -r * $out/ ln -s $out/lib $out/include ln -s $out/gnulib-tool $out/bin/ + + runHook postInstall ''; # do not change headers to not update all vendored build files From cceadf833e870806609c3525c77338d1678713e1 Mon Sep 17 00:00:00 2001 From: BrockoliniMorgan Date: Wed, 28 Oct 2026 04:50:53 +1000 Subject: [PATCH 2185/2378] python3Packages.mypy: adopt --- pkgs/development/python-modules/mypy/default.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkgs/development/python-modules/mypy/default.nix b/pkgs/development/python-modules/mypy/default.nix index 29bb56efc2e3..ac81e30ebde3 100644 --- a/pkgs/development/python-modules/mypy/default.nix +++ b/pkgs/development/python-modules/mypy/default.nix @@ -155,6 +155,6 @@ buildPythonPackage rec { downloadPage = "https://github.com/python/mypy"; license = lib.licenses.mit; mainProgram = "mypy"; - maintainers = [ ]; + maintainers = with lib.maintainers; [ BrockoliniMorgan ]; }; } From 077cfccd3b8218eda0cb54734996660cf0a134e6 Mon Sep 17 00:00:00 2001 From: BrockoliniMorgan Date: Wed, 28 Oct 2026 04:54:27 +1000 Subject: [PATCH 2186/2378] python3Packages.mypy-extensions: adopt --- pkgs/development/python-modules/mypy/extensions.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkgs/development/python-modules/mypy/extensions.nix b/pkgs/development/python-modules/mypy/extensions.nix index fc8c85baae80..6c21dfaada96 100644 --- a/pkgs/development/python-modules/mypy/extensions.nix +++ b/pkgs/development/python-modules/mypy/extensions.nix @@ -37,6 +37,6 @@ buildPythonPackage rec { description = "Experimental type system extensions for programs checked with the mypy typechecker"; homepage = "https://www.mypy-lang.org"; license = lib.licenses.mit; - maintainers = [ ]; + maintainers = with lib.maintainers; [ BrockoliniMorgan ]; }; } From e11fafc72bd7fd92cc63d3b60f6447cf9c522844 Mon Sep 17 00:00:00 2001 From: Christoph Hollizeck Date: Tue, 27 Oct 2026 19:40:53 +0100 Subject: [PATCH 2187/2378] unzip: add patch for CVE-2018-1000035 Heap overflow in the password prompt (UzpPassword, fileio.c) for password-protected archives. Patch from Debian (6.0-22+), originally from SUSE: https://bugs.debian.org/889838 Assisted-by: Claude Code (Claude Opus 5.5) --- pkgs/by-name/un/unzip/package.nix | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/pkgs/by-name/un/unzip/package.nix b/pkgs/by-name/un/unzip/package.nix index c6893ddef92f..a00dc092e7cf 100644 --- a/pkgs/by-name/un/unzip/package.nix +++ b/pkgs/by-name/un/unzip/package.nix @@ -38,6 +38,11 @@ stdenv.mkDerivation (finalAttrs: { ./CVE-2016-9844.patch ./CVE-2018-18384.patch ./dont-hardcode-cc.patch + (fetchurl { + url = "https://sources.debian.org/data/main/u/unzip/6.0-31/debian/patches/cve-2018-1000035-unzip-buffer-overflow.patch"; + name = "CVE-2018-1000035-unzip-buffer-overflow.patch"; + hash = "sha256-TqvD+u3dVuvD1QU0hrYfh1jYQJAnJf1VXTRyz/sJRDc="; + }) (fetchurl { url = "https://github.com/madler/unzip/commit/41beb477c5744bc396fa1162ee0c14218ec12213.patch"; name = "CVE-2019-13232-1.patch"; From d61fe84f3915fc02ab167b7f7d0a977c6a14fa93 Mon Sep 17 00:00:00 2001 From: Tom Hunze Date: Tue, 27 Oct 2026 23:38:29 +0100 Subject: [PATCH 2188/2378] gcc: fix install argument order in `postInstallSaveChecksumPhase` `-t` requires the target directory to be passed first. Apparently this never worked correctly. --- pkgs/development/compilers/gcc/common/checksum.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkgs/development/compilers/gcc/common/checksum.nix b/pkgs/development/compilers/gcc/common/checksum.nix index 45c5e4340305..34cbbf496dde 100644 --- a/pkgs/development/compilers/gcc/common/checksum.nix +++ b/pkgs/development/compilers/gcc/common/checksum.nix @@ -36,7 +36,7 @@ in cat > gcc/build/genchecksum <<\EOF #!${runtimeShell} ${nukeReferences}/bin/nuke-refs $@ - for INPUT in "$@"; do install -Dt $INPUT $checksum/inputs/; done + for INPUT in "$@"; do install -Dt "$checksum/inputs/" "$INPUT"; done exec build/.genchecksum-wrapped $@ EOF chmod +x gcc/build/genchecksum From 96ee5b504d90415cef0e2eda077940936bf25f74 Mon Sep 17 00:00:00 2001 From: Tom Hunze Date: Tue, 27 Oct 2026 23:55:35 +0100 Subject: [PATCH 2189/2378] gcc: `set -e` in `postInstallSaveChecksumPhase` Otherwise we ignore any error that occurs in the `genchecksum` wrapper. --- pkgs/development/compilers/gcc/common/checksum.nix | 1 + 1 file changed, 1 insertion(+) diff --git a/pkgs/development/compilers/gcc/common/checksum.nix b/pkgs/development/compilers/gcc/common/checksum.nix index 34cbbf496dde..bc22fc9c4b89 100644 --- a/pkgs/development/compilers/gcc/common/checksum.nix +++ b/pkgs/development/compilers/gcc/common/checksum.nix @@ -35,6 +35,7 @@ in mv gcc/build/genchecksum gcc/build/.genchecksum-wrapped cat > gcc/build/genchecksum <<\EOF #!${runtimeShell} + set -e ${nukeReferences}/bin/nuke-refs $@ for INPUT in "$@"; do install -Dt "$checksum/inputs/" "$INPUT"; done exec build/.genchecksum-wrapped $@ From 1f276247b3f694cd98342eff59f8ce5c66fe17e3 Mon Sep 17 00:00:00 2001 From: kuflierl <41301536+kuflierl@users.noreply.github.com> Date: Wed, 28 Oct 2026 11:05:57 +0100 Subject: [PATCH 2190/2378] libheif: 1.23.6 -> 1.23.7 Diff: https://github.com/strukturag/libheif/compare/v1.23.6...v1.23.7 --- pkgs/by-name/li/libheif/package.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/by-name/li/libheif/package.nix b/pkgs/by-name/li/libheif/package.nix index 592510d94101..89222dcb3e7b 100644 --- a/pkgs/by-name/li/libheif/package.nix +++ b/pkgs/by-name/li/libheif/package.nix @@ -24,7 +24,7 @@ stdenv.mkDerivation (finalAttrs: { pname = "libheif"; - version = "1.23.6"; + version = "1.23.7"; outputs = [ "bin" @@ -38,7 +38,7 @@ stdenv.mkDerivation (finalAttrs: { owner = "strukturag"; repo = "libheif"; rev = "v${finalAttrs.version}"; - hash = "sha256-pZuVZWnk/gIvjZQ8G7k5HMMC3E4vGuLNID96KT7Qo7c="; + hash = "sha256-cC7a+xeEbWTw748+gYzpj0H9MGGgExXUndZrpFMoH40="; }; nativeBuildInputs = [ From a52abe1dc98ea97036a464f5e3f9df7632b46c6b Mon Sep 17 00:00:00 2001 From: Martin Weinelt Date: Wed, 28 Oct 2026 11:17:57 +0100 Subject: [PATCH 2191/2378] python314: 3.14.8 -> 3.14.10 https://docs.python.org/release/3.14.10/whatsnew/changelog.html Fixes: CVE-2026-114583, CVE-2026-115557, CVE-2026-12345 --- .../python/cpython/3.14/mimetypes.patch | 21 +++++++++++++++++++ .../interpreters/python/cpython/default.nix | 5 ++++- .../interpreters/python/default.nix | 4 ++-- 3 files changed, 27 insertions(+), 3 deletions(-) create mode 100644 pkgs/development/interpreters/python/cpython/3.14/mimetypes.patch diff --git a/pkgs/development/interpreters/python/cpython/3.14/mimetypes.patch b/pkgs/development/interpreters/python/cpython/3.14/mimetypes.patch new file mode 100644 index 000000000000..f7531a9883cb --- /dev/null +++ b/pkgs/development/interpreters/python/cpython/3.14/mimetypes.patch @@ -0,0 +1,21 @@ +diff --git a/Lib/mimetypes.py b/Lib/mimetypes.py +index ba942c6..ec82ef0 100644 +--- a/Lib/mimetypes.py ++++ b/Lib/mimetypes.py +@@ -49,15 +49,7 @@ if sys.platform == "win32": + knownfiles = [] + else: + knownfiles = [ +- "/etc/mime.types", +- "/etc/httpd/mime.types", # Mac OS X +- "/etc/httpd/conf/mime.types", # Apache +- "/etc/apache/mime.types", # Apache 1 +- "/etc/apache2/mime.types", # Apache 2 +- "/usr/local/etc/httpd/conf/mime.types", +- "/usr/local/lib/netscape/mime.types", +- "/usr/local/etc/httpd/conf/mime.types", # Apache 1.2 +- "/usr/local/etc/mime.types", # Apache 1.3 ++ "@mime-types@/etc/mime.types" + ] + + inited = False diff --git a/pkgs/development/interpreters/python/cpython/default.nix b/pkgs/development/interpreters/python/cpython/default.nix index 81d7d51857f3..66cb24423717 100644 --- a/pkgs/development/interpreters/python/cpython/default.nix +++ b/pkgs/development/interpreters/python/cpython/default.nix @@ -395,10 +395,13 @@ stdenv.mkDerivation (finalAttrs: { ++ optionals (pythonAtLeast "3.13") [ ./3.13/virtualenv-permissions.patch ] - ++ optionals mimetypesSupport [ + ++ optionals (mimetypesSupport && (pythonOlder "3.14" || pythonAtLeast "3.15")) [ # Make the mimetypes module refer to the right file ./mimetypes.patch ] + ++ optionals (mimetypesSupport && pythonAtLeast "3.14" && pythonOlder "3.15") [ + ./3.14/mimetypes.patch + ] ++ optionals (hasDistutilsCxxPatch && pythonOlder "3.12") [ # Fix for http://bugs.python.org/issue1222585 # Upstream distutils is calling C compiler to compile C++ code, which diff --git a/pkgs/development/interpreters/python/default.nix b/pkgs/development/interpreters/python/default.nix index 96296c58a8b1..e96f7e912133 100644 --- a/pkgs/development/interpreters/python/default.nix +++ b/pkgs/development/interpreters/python/default.nix @@ -20,10 +20,10 @@ sourceVersion = { major = "3"; minor = "14"; - patch = "8"; + patch = "10"; suffix = ""; }; - hash = "sha256-wiFZBPArF1WW3Ek1FYUQT0vCA0HhxHN4smosJ0NgznM="; + hash = "sha256-3kFKVxGavvUnhNiZPjQdU67WNfwrBcJgfZ+YosW3IDI="; }; }; From 6d4887a81cc86dd3eb986af79fa5292f99da282d Mon Sep 17 00:00:00 2001 From: Martin Weinelt Date: Wed, 28 Oct 2026 11:39:02 +0100 Subject: [PATCH 2192/2378] python315: 3.15.0 -> 3.15.2 https://docs.python.org/release/3.15.2/whatsnew/changelog.html Fixes: CVE-2026-1114583, CVE-2026-115557 --- pkgs/development/interpreters/python/cpython/default.nix | 4 ++-- pkgs/development/interpreters/python/default.nix | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/pkgs/development/interpreters/python/cpython/default.nix b/pkgs/development/interpreters/python/cpython/default.nix index 66cb24423717..ddd84b17a85a 100644 --- a/pkgs/development/interpreters/python/cpython/default.nix +++ b/pkgs/development/interpreters/python/cpython/default.nix @@ -395,11 +395,11 @@ stdenv.mkDerivation (finalAttrs: { ++ optionals (pythonAtLeast "3.13") [ ./3.13/virtualenv-permissions.patch ] - ++ optionals (mimetypesSupport && (pythonOlder "3.14" || pythonAtLeast "3.15")) [ + ++ optionals (mimetypesSupport && (pythonOlder "3.14" || pythonAtLeast "3.16")) [ # Make the mimetypes module refer to the right file ./mimetypes.patch ] - ++ optionals (mimetypesSupport && pythonAtLeast "3.14" && pythonOlder "3.15") [ + ++ optionals (mimetypesSupport && pythonAtLeast "3.14" && pythonOlder "3.16") [ ./3.14/mimetypes.patch ] ++ optionals (hasDistutilsCxxPatch && pythonOlder "3.12") [ diff --git a/pkgs/development/interpreters/python/default.nix b/pkgs/development/interpreters/python/default.nix index e96f7e912133..28377a815f75 100644 --- a/pkgs/development/interpreters/python/default.nix +++ b/pkgs/development/interpreters/python/default.nix @@ -79,10 +79,10 @@ sourceVersion = { major = "3"; minor = "15"; - patch = "0"; + patch = "2"; suffix = ""; }; - hash = "sha256-ukvtG6NGuRaJC3bZ4yBFFCCqafZAiZfTPGZILurj1XU="; + hash = "sha256-i1U20oAULs9s3+FdEqIbocZeMAu/eyio0M24SVdXl94="; inherit passthruFun; }; From f0d8eff3cd4427c0fb742ca44f8e6ceeb6347193 Mon Sep 17 00:00:00 2001 From: Martin Weinelt Date: Wed, 28 Oct 2026 12:13:36 +0100 Subject: [PATCH 2193/2378] python313: 3.13.17 -> 3.13.18 https://docs.python.org/release/3.13.18/whatsnew/changelog.html Fixes: CVE-2026-114583, CVE-2026-115557, CVE-2026-12345 --- pkgs/development/interpreters/python/cpython/default.nix | 4 ++-- pkgs/development/interpreters/python/default.nix | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/pkgs/development/interpreters/python/cpython/default.nix b/pkgs/development/interpreters/python/cpython/default.nix index ddd84b17a85a..16cb0b388c73 100644 --- a/pkgs/development/interpreters/python/cpython/default.nix +++ b/pkgs/development/interpreters/python/cpython/default.nix @@ -395,11 +395,11 @@ stdenv.mkDerivation (finalAttrs: { ++ optionals (pythonAtLeast "3.13") [ ./3.13/virtualenv-permissions.patch ] - ++ optionals (mimetypesSupport && (pythonOlder "3.14" || pythonAtLeast "3.16")) [ + ++ optionals (mimetypesSupport && (pythonOlder "3.13" || pythonAtLeast "3.16")) [ # Make the mimetypes module refer to the right file ./mimetypes.patch ] - ++ optionals (mimetypesSupport && pythonAtLeast "3.14" && pythonOlder "3.16") [ + ++ optionals (mimetypesSupport && pythonAtLeast "3.13" && pythonOlder "3.16") [ ./3.14/mimetypes.patch ] ++ optionals (hasDistutilsCxxPatch && pythonOlder "3.12") [ diff --git a/pkgs/development/interpreters/python/default.nix b/pkgs/development/interpreters/python/default.nix index 28377a815f75..161bc9231abc 100644 --- a/pkgs/development/interpreters/python/default.nix +++ b/pkgs/development/interpreters/python/default.nix @@ -59,10 +59,10 @@ sourceVersion = { major = "3"; minor = "13"; - patch = "17"; + patch = "18"; suffix = ""; }; - hash = "sha256-YCC9EK/zv0ghvhbwiOuxWRvre4EdzY+rHaj3wip7J+c="; + hash = "sha256-q7AQLm1K4CdQm8uCMn2d2FUVtEo7qK1TjPxemEcCn2g="; inherit passthruFun; }; From 240b38717c975c84f0832bd9fb58b4e9e87923b5 Mon Sep 17 00:00:00 2001 From: Martin Weinelt Date: Wed, 28 Oct 2026 12:31:43 +0100 Subject: [PATCH 2194/2378] python312: 3.12.15 -> 3.12.16 https://docs.python.org/release/3.12.16/whatsnew/changelog.html Fixes: CVE-2026-114583, CVE-2026-115557, CVE-2026-12345 --- pkgs/development/interpreters/python/cpython/default.nix | 4 ++-- pkgs/development/interpreters/python/default.nix | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/pkgs/development/interpreters/python/cpython/default.nix b/pkgs/development/interpreters/python/cpython/default.nix index 16cb0b388c73..7acb84279f18 100644 --- a/pkgs/development/interpreters/python/cpython/default.nix +++ b/pkgs/development/interpreters/python/cpython/default.nix @@ -395,11 +395,11 @@ stdenv.mkDerivation (finalAttrs: { ++ optionals (pythonAtLeast "3.13") [ ./3.13/virtualenv-permissions.patch ] - ++ optionals (mimetypesSupport && (pythonOlder "3.13" || pythonAtLeast "3.16")) [ + ++ optionals (mimetypesSupport && (pythonOlder "3.12" || pythonAtLeast "3.16")) [ # Make the mimetypes module refer to the right file ./mimetypes.patch ] - ++ optionals (mimetypesSupport && pythonAtLeast "3.13" && pythonOlder "3.16") [ + ++ optionals (mimetypesSupport && pythonAtLeast "3.12" && pythonOlder "3.16") [ ./3.14/mimetypes.patch ] ++ optionals (hasDistutilsCxxPatch && pythonOlder "3.12") [ diff --git a/pkgs/development/interpreters/python/default.nix b/pkgs/development/interpreters/python/default.nix index 161bc9231abc..21433585395e 100644 --- a/pkgs/development/interpreters/python/default.nix +++ b/pkgs/development/interpreters/python/default.nix @@ -47,10 +47,10 @@ sourceVersion = { major = "3"; minor = "12"; - patch = "15"; + patch = "16"; suffix = ""; }; - hash = "sha256-wsQyGWH6sPuZnWbgzs9SHCqzmUx5koc+qZ4wbBCU/Vo="; + hash = "sha256-tXlpFdxF/3Rc+06ZCn58k9b1RjKKECzjFEjWnrw3V1w="; inherit passthruFun; }; From f911d6929fd9eeb86bec8e1040d5d287c5ab59bf Mon Sep 17 00:00:00 2001 From: Martin Weinelt Date: Wed, 28 Oct 2026 13:03:18 +0100 Subject: [PATCH 2195/2378] python311: 3.11.17 -> 3.11.18 https://docs.python.org/release/3.11.18/whatsnew/changelog.html Fixes: CVE-2026-114583, CVE-2026-115557 --- pkgs/development/interpreters/python/cpython/default.nix | 4 ++-- pkgs/development/interpreters/python/default.nix | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/pkgs/development/interpreters/python/cpython/default.nix b/pkgs/development/interpreters/python/cpython/default.nix index 7acb84279f18..d063693af602 100644 --- a/pkgs/development/interpreters/python/cpython/default.nix +++ b/pkgs/development/interpreters/python/cpython/default.nix @@ -395,11 +395,11 @@ stdenv.mkDerivation (finalAttrs: { ++ optionals (pythonAtLeast "3.13") [ ./3.13/virtualenv-permissions.patch ] - ++ optionals (mimetypesSupport && (pythonOlder "3.12" || pythonAtLeast "3.16")) [ + ++ optionals (mimetypesSupport && pythonAtLeast "3.16") [ # Make the mimetypes module refer to the right file ./mimetypes.patch ] - ++ optionals (mimetypesSupport && pythonAtLeast "3.12" && pythonOlder "3.16") [ + ++ optionals (mimetypesSupport && pythonOlder "3.16") [ ./3.14/mimetypes.patch ] ++ optionals (hasDistutilsCxxPatch && pythonOlder "3.12") [ diff --git a/pkgs/development/interpreters/python/default.nix b/pkgs/development/interpreters/python/default.nix index 21433585395e..0583c54f97c5 100644 --- a/pkgs/development/interpreters/python/default.nix +++ b/pkgs/development/interpreters/python/default.nix @@ -35,10 +35,10 @@ sourceVersion = { major = "3"; minor = "11"; - patch = "17"; + patch = "18"; suffix = ""; }; - hash = "sha256-v7dK05764nzaUQ8TSrQI4A+ZksVoUc/Asc21ZG2hFZk=="; + hash = "sha256-kSDgplOGj242mNNs3ZnlpYkD7JRp5EjyHZj3sW2PopA="; inherit passthruFun; }; From 5ef3345a4800ef30ba03d7b9039dafed34f1fd0d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Robert=20Sch=C3=BCtz?= Date: Wed, 28 Oct 2026 10:02:19 -0700 Subject: [PATCH 2196/2378] python3Packages.certifi: 2026.07.22 -> 2026.10.23 Diff: https://github.com/certifi/python-certifi/compare/2026.07.22...2026.10.23 --- pkgs/development/python-modules/certifi/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/certifi/default.nix b/pkgs/development/python-modules/certifi/default.nix index c0a94af0e9b3..a93ef93b0dee 100644 --- a/pkgs/development/python-modules/certifi/default.nix +++ b/pkgs/development/python-modules/certifi/default.nix @@ -9,14 +9,14 @@ buildPythonPackage (finalAttrs: { pname = "certifi"; - version = "2026.07.22"; + version = "2026.10.23"; pyproject = true; src = fetchFromGitHub { owner = "certifi"; repo = "python-certifi"; tag = finalAttrs.version; - hash = "sha256-euVWKJiFsx7F8YRMgRrrHswBmDBmrV/guiuvqtSUnSs="; + hash = "sha256-uESJgC07To+bUePmwi180SCtAzAZkmEn1UolTWpB4X0="; }; patches = [ From 4d188fa12c4a31deaa3cd0c5a8ddc6c6a26e96b2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Robert=20Sch=C3=BCtz?= Date: Wed, 28 Oct 2026 10:04:27 -0700 Subject: [PATCH 2197/2378] python3Packages.pip: 26.1.2 -> 26.2.2 Diff: https://github.com/pypa/pip/compare/26.1.2...26.2.2 Changelog: https://pip.pypa.io/en/stable/news/#v26-2-2 --- pkgs/development/python-modules/pip/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/pip/default.nix b/pkgs/development/python-modules/pip/default.nix index e687a583c162..8caa13d01f54 100644 --- a/pkgs/development/python-modules/pip/default.nix +++ b/pkgs/development/python-modules/pip/default.nix @@ -36,14 +36,14 @@ let self = buildPythonPackage rec { pname = "pip"; - version = "26.1.2"; + version = "26.2.2"; pyproject = true; src = fetchFromGitHub { owner = "pypa"; repo = "pip"; tag = version; - hash = "sha256-E53TU7LzGz+gpW1TCQUkSRMUif8mq702EgXdAVxtrGw="; + hash = "sha256-iH5O1kneYzoHpzbfgrJc/8gVr57CNX3/xpwel4ueNqE="; }; postPatch = '' From c9ac69f57bc72a09b492f89870c3f17fd778c026 Mon Sep 17 00:00:00 2001 From: Antoine du Hamel Date: Wed, 28 Oct 2026 19:37:18 +0100 Subject: [PATCH 2198/2378] nodejs_24: 24.22.1 -> 24.22.2 --- pkgs/development/web/nodejs/v24.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/web/nodejs/v24.nix b/pkgs/development/web/nodejs/v24.nix index 95f3a192e357..af63c71ef34d 100644 --- a/pkgs/development/web/nodejs/v24.nix +++ b/pkgs/development/web/nodejs/v24.nix @@ -29,8 +29,8 @@ let [ ]; in buildNodejs { - version = "24.22.1"; - sha256 = "4f5379796280cdaeb0c2f358fd04b6a16cc4fb7dfa83b5a8c91a9d963b435231"; + version = "24.22.2"; + sha256 = "8fe2ec1723bb9f8d0b683907c82708debbeda64af21cb2aa214c4241eed0a061"; patches = (lib.optional (!(stdenv.hostPlatform.emulatorAvailable buildPackages)) (fetchpatch2 { url = "https://raw.githubusercontent.com/buildroot/buildroot/2f0c31bffdb59fb224387e35134a6d5e09a81d57/package/nodejs/nodejs-src/0003-include-obj-name-in-shared-intermediate.patch"; From 88c2064d4b7f8a3511f7a5c46be323338e8e776b Mon Sep 17 00:00:00 2001 From: Anders Kaseorg Date: Tue, 27 Oct 2026 10:54:07 +0000 Subject: [PATCH 2199/2378] bintools-wrapper: resolve library directories as the kernel does To decide whether a library directory is in the store, and so belongs in the rpath, ld-wrapper canonicalizes its path with `realpath -s`, and then, while it is outside the store, follows it if it is a symlink. But the linker searches the directory the kernel resolves the path to, and the kernel follows each symlink in the path, including those of ancestor directories, before going on to the next component, so `..` applies to the target of a symlink. So ld-wrapper got these wrong: - A symlink into the store, as in -L/build/link with /build/link pointing to /nix/store/...-foo/lib: after following it, ld-wrapper set dir to the literal string "dir2" rather than "$dir2", so it never added /nix/store/...-foo/lib to the rpath. It would also have resolved a relative target against the current directory, rather than the directory containing the symlink. - A symlink into the store from an ancestor directory, as in -L/build/link/lib with /build/link pointing to /nix/store/...-foo: the path is not a symlink itself, so ld-wrapper treated it as outside the store. - A `..` after a symlink, as in -L/build/link/../lib with /build/link pointing to /nix/store/...-foo/bin: `realpath -s` removed link/.. without following link, so ld-wrapper looked at /build/lib instead of /nix/store/...-foo/lib. The same goes for a symlink in the store, where the result can be a different store path than the one the linker searched. Instead, resolve the path one component at a time, with a new resolveLibDir function, following each symlink as the kernel does. But in the store, still keep a symlink that is not followed by `..` as it is, since resolving symlinks between store paths would refer to their targets instead of the store paths given (#454199). And never resolve the store or its ancestors, as `realpath -s` did not, so that the store is still recognized when /nix is a symlink, which Nix allows with NIX_IGNORE_SYMLINK_STORE. Like the linker, and as `realpath -s` did, take a relative path, as in `ld -L lib`, from the working directory. As a result, ld-wrapper also no longer runs `realpath` for every library directory, which it has since #472652, slowing down every link (#545973). It runs `readlink` only to follow a symlink. Linking an empty C program now starts 7 processes instead of 15. Test all of these cases, including the tests from #566486 for symlinks with absolute and relative targets, and test that ld-wrapper keeps a symlink between store paths in the rpath, that it recognizes a store whose parent is a symlink, and that it resolves relative directories from the working directory. Co-authored-by: Robert Hensing Assisted-by: Claude Code:claude-opus-5-5 Signed-off-by: Anders Kaseorg --- .../bintools-wrapper/ld-wrapper.sh | 25 ++----- pkgs/build-support/wrapper-common/utils.bash | 55 ++++++++++++++ pkgs/test/cc-wrapper/default.nix | 75 +++++++++++++++++++ 3 files changed, 135 insertions(+), 20 deletions(-) diff --git a/pkgs/build-support/bintools-wrapper/ld-wrapper.sh b/pkgs/build-support/bintools-wrapper/ld-wrapper.sh index ae76e7a223f7..75a80a0a55d5 100644 --- a/pkgs/build-support/bintools-wrapper/ld-wrapper.sh +++ b/pkgs/build-support/bintools-wrapper/ld-wrapper.sh @@ -202,28 +202,13 @@ if [[ "$NIX_DONT_SET_RPATH_@suffixSalt@" != 1 && "$linkType" != static-pie ]]; t # the link time chosen objects will be those of runtime linking. declare -A rpaths for dir in ${libDirs+"${libDirs[@]}"}; do - # If the path is in the store, do not resolve any symlinks and add it to the rpath. - # Resolving symlinks in the store breaks bootstrapping, see issue #454199. - # If it is outside the store, resolve symlinks step by step until it falls - # into the store or it becomes not a symlink. - # Always canonicalize the path before checking it is in the store or not. - if dir2=$(realpath -s "$dir"); then - dir="$dir2" - else + # Find where the directory is, following symlinks outside the store, + # and in it only where needed; see resolveLibDir. Skip directories + # that do not exist, in which the linker cannot find libraries either. + if ! [ -d "$dir" ] || ! resolveLibDir "$dir"; then continue fi - while [ -z "${rpaths[$dir]:-}" ] && [[ "$dir" != "${NIX_STORE:-}"/* ]] && [ -L "$dir" ]; do - if dir2=$(readlink "$dir"); then - dir="dir2" - else - break - fi - if dir2=$(realpath -s "$dir"); then - dir="dir2" - else - break - fi - done + dir="$resolvedPath" # If the path turns out to be outside the store, we do not add it to rpath. # This typically happens for libraries in /tmp that are later # copied to $out/lib. If not, we're screwed. diff --git a/pkgs/build-support/wrapper-common/utils.bash b/pkgs/build-support/wrapper-common/utils.bash index c9870d1b4d41..3f4592879ef9 100644 --- a/pkgs/build-support/wrapper-common/utils.bash +++ b/pkgs/build-support/wrapper-common/utils.bash @@ -150,6 +150,61 @@ expandResponseParams() { done } +# Resolve the path $1 of a library directory, which like the linker +# takes a relative path from the working directory, to the directory the +# linker searches, as far as needed to tell whether it is in the store, +# and where. Like the kernel, follow each symlink before going on to the +# next component, so that symlinks in ancestor directories count, and `..` +# applies to the target of a symlink rather than removing it. But in the +# store, keep symlinks that are not followed by `..` as they are, since +# resolving symlinks between store paths would refer to their targets +# instead (see issue #454199). The result is stored in resolvedPath. +# Fails if there are too many symlinks. +resolveLibDir() { + local rest="$1/" component link target links=0 + if [[ "$rest" != /* ]]; then + rest="$PWD/$rest" + fi + resolvedPath= + while [[ -n "$rest" ]]; do + component="${rest%%/*}" + rest="${rest#*/}" + case "$component" in + "" | .) continue ;; + ..) + if [[ -L "$resolvedPath" ]]; then + # Follow it, then apply this `..` to its target. + link="$resolvedPath" + resolvedPath="${resolvedPath%/*}" + rest="../$rest" + else + resolvedPath="${resolvedPath%/*}" + continue + fi + ;; + *) + link="$resolvedPath/$component" + # Keep a symlink in the store unless `..` follows it, and + # never resolve the store or its ancestors, which may be + # symlinks (NIX_IGNORE_SYMLINK_STORE). + if [[ "$link" == "${NIX_STORE:-}"/* || "${NIX_STORE:-}/" == "$link"/* || ! -L "$link" ]]; then + resolvedPath="$link" + continue + fi + ;; + esac + (( ++links <= 40 )) || return 1 + target=$(readlink "$link") || return 1 + # A relative target is relative to the directory containing the + # link, which is now resolvedPath. + if [[ "$target" == /* ]]; then + resolvedPath= + fi + rest="$target/$rest" + done + resolvedPath="${resolvedPath:-/}" +} + checkLinkType() { local arg type="dynamic" diff --git a/pkgs/test/cc-wrapper/default.nix b/pkgs/test/cc-wrapper/default.nix index 9dc3413f0e04..ed3a57abd6ff 100644 --- a/pkgs/test/cc-wrapper/default.nix +++ b/pkgs/test/cc-wrapper/default.nix @@ -23,6 +23,26 @@ let CC = "PATH= ${lib.getExe' stdenv.cc "${stdenv.cc.targetPrefix}cc"}"; CXX = "PATH= ${lib.getExe' stdenv.cc "${stdenv.cc.targetPrefix}c++"}"; READELF = "PATH= ${lib.getExe' stdenv.cc "${stdenv.cc.targetPrefix}readelf"}"; + # ld-wrapper only computes an rpath for ELF shared libraries. + rpathWorking = stdenv.hostPlatform.isElf && !stdenv.hostPlatform.isStatic; + # A shared library in a store path of its own, so that only ld-wrapper's + # rpath logic can put its directory into the rpath. + fooLib = stdenv.mkDerivation { + name = "cc-wrapper-test-libfoo"; + buildCommand = '' + mkdir -p $out/lib + $CC -shared -DVALUE=42 -o $out/lib/libfoo.so ${./foo.c} + ''; + }; + # A store path whose lib and sub are symlinks to fooLib's lib. + fooLinks = stdenv.mkDerivation { + name = "cc-wrapper-test-libfoo-links"; + buildCommand = '' + mkdir $out + ln -s ${fooLib}/lib $out/lib + ln -s ${fooLib}/lib $out/sub + ''; + }; in stdenv.mkDerivation { pname = "cc-wrapper-test-${stdenv.cc.cc.pname}${libcxxStdenvSuffix}"; @@ -143,6 +163,61 @@ stdenv.mkDerivation { NIX_LDFLAGS="-L$NIX_BUILD_TOP/foo/lib -rpath $NIX_BUILD_TOP/foo/lib" ${CC} -lfoo -o ldflags-check ${./ldflags-main.c} ${emulator} ./ldflags-check + ${lib.optionalString rpathWorking '' + echo "checking whether ld-wrapper follows -L symlinks into the store for the rpath... " >&2 + mkdir links + ln -s ${fooLib}/lib links/foo-abs + # A relative target resolves against the link's directory, which is not + # the working directory. + mkdir links/sub + ln -s ../foo-abs links/sub/foo-rel + ln -s ${fooLib} links/foo-pkg + # The kernel follows each symlink, including those of ancestor + # directories, before going on, so .. applies to the symlink's target. + # So these are all fooLib's lib, even ${fooLinks}/sub/../lib, unlike + # ${fooLinks}/lib. + for dir in "$NIX_BUILD_TOP/links/foo-abs" "$NIX_BUILD_TOP/links/sub/foo-rel" \ + "$NIX_BUILD_TOP/links/foo-pkg/lib" "$NIX_BUILD_TOP/links/foo-abs/../lib" \ + "${fooLinks}/sub/../lib"; do + ${CC} -L"$dir" -lfoo -o symlink-rpath-check ${./ldflags-main.c} + ${READELF} -d symlink-rpath-check | grep -F "${fooLib}/lib" + ${emulator} ./symlink-rpath-check + done + + echo "checking whether ld-wrapper keeps symlinks between store paths in the rpath... " >&2 + # Resolving them adds references to their targets (issue #454199). + ${CC} -L${fooLinks}/lib -lfoo -o store-symlink-rpath-check ${./ldflags-main.c} + ${READELF} -d store-symlink-rpath-check | grep -F "${fooLinks}/lib" + ! ${READELF} -d store-symlink-rpath-check | grep -F "${fooLib}/lib" + ${emulator} ./store-symlink-rpath-check + + echo "checking whether ld-wrapper recognizes a store whose parent is a symlink... " >&2 + # As when /nix is a symlink, which NIX_IGNORE_SYMLINK_STORE allows. The + # compiler is outside this store, so do not enforce purity. + mkdir -p fake/real/store/foo + cp -r ${fooLib}/lib fake/real/store/foo/lib + ln -s real fake/nix + ln -s "$NIX_BUILD_TOP/fake/nix/store/foo/lib" links/fake-store + for dir in "$NIX_BUILD_TOP/fake/nix/store/foo/lib" "$NIX_BUILD_TOP/links/fake-store"; do + NIX_ENFORCE_PURITY= NIX_STORE="$NIX_BUILD_TOP/fake/nix/store" ${CC} -L"$dir" -lfoo -o fake-store-rpath-check ${./ldflags-main.c} + ${READELF} -d fake-store-rpath-check | grep -F "$NIX_BUILD_TOP/fake/nix/store/foo/lib" + done + + echo "checking whether ld-wrapper resolves relative -L directories from the working directory... " >&2 + # gcc joins -L with a relative directory, which ld-wrapper ignores, so + # pass them to ld separately, as a direct call to ld might. + checkRelative() { + (cd "$1" && ${CC} -Wl,-L,"$2" -lfoo -o "$NIX_BUILD_TOP/relative-rpath-check" ${./ldflags-main.c}) + ${READELF} -d relative-rpath-check | grep -F "${fooLib}/lib" + ${emulator} ./relative-rpath-check + } + checkRelative ${fooLib} lib + checkRelative ${fooLib} ./lib + checkRelative ${fooLib}/lib . + checkRelative "$NIX_BUILD_TOP/links" foo-abs + checkRelative "$NIX_BUILD_TOP/links/sub" foo-rel + ''} + echo "Check whether -nostdinc and -nostdinc++ is handled correctly" >&2 mkdir -p std-include cp ${./stdio.h} std-include/stdio.h From 07471541662478c77f3b09161032281359dc2079 Mon Sep 17 00:00:00 2001 From: Anders Kaseorg Date: Tue, 27 Oct 2026 10:57:13 +0000 Subject: [PATCH 2200/2378] bintools-wrapper: look at each library directory only once The same library directory is often passed to the linker many times, such as from NIX_LDFLAGS, and ld-wrapper resolved it and looked for libraries in it each time, though it gives the same result each time: either the directory is already in the rpath, or it has none of the libraries. Skip directories that ld-wrapper has already looked at, as #553221 proposed. Linking an empty C program with 200 store library directories, each passed 8 times, now takes about 0.26 s instead of 0.83 s, in a VM where starting a process is slow (and 9.1 s before the previous commit). Assisted-by: Claude Code:claude-opus-5-5 Signed-off-by: Anders Kaseorg --- pkgs/build-support/bintools-wrapper/ld-wrapper.sh | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/pkgs/build-support/bintools-wrapper/ld-wrapper.sh b/pkgs/build-support/bintools-wrapper/ld-wrapper.sh index 75a80a0a55d5..f85c448ba4f6 100644 --- a/pkgs/build-support/bintools-wrapper/ld-wrapper.sh +++ b/pkgs/build-support/bintools-wrapper/ld-wrapper.sh @@ -200,8 +200,14 @@ if [[ "$NIX_DONT_SET_RPATH_@suffixSalt@" != 1 && "$linkType" != static-pie ]]; t # so, add the directory to the rpath. # It's important to add the rpath in the order of -L..., so # the link time chosen objects will be those of runtime linking. - declare -A rpaths + declare -A rpaths seenLibDirs for dir in ${libDirs+"${libDirs[@]}"}; do + # The same directory is often passed many times, such as from + # NIX_LDFLAGS; it would give the same result each time. + if [ -n "${seenLibDirs[$dir]:-}" ]; then + continue + fi + seenLibDirs["$dir"]=1 # Find where the directory is, following symlinks outside the store, # and in it only where needed; see resolveLibDir. Skip directories # that do not exist, in which the linker cannot find libraries either. From 66c2f4ae423916ac91a7e5c00ebb33792cd42cc0 Mon Sep 17 00:00:00 2001 From: Anders Kaseorg Date: Wed, 28 Oct 2026 00:30:11 +0000 Subject: [PATCH 2201/2378] bintools-wrapper: skip resolving most store library directories Most library directories are paths in the store with no `.`, `..` or empty components, which resolveLibDir leaves as they are, since it follows a symlink in the store only before `..`, and never resolves the store itself or its ancestors. Return those right away, rather than looking at them one component at a time. Linking an empty C program with 1500 different store library directories now takes about 0.44 s instead of 0.52 s, in a VM where starting a process is slow. Assisted-by: Claude Code:claude-opus-5-5 Signed-off-by: Anders Kaseorg --- pkgs/build-support/wrapper-common/utils.bash | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/pkgs/build-support/wrapper-common/utils.bash b/pkgs/build-support/wrapper-common/utils.bash index 3f4592879ef9..0d3864a9c664 100644 --- a/pkgs/build-support/wrapper-common/utils.bash +++ b/pkgs/build-support/wrapper-common/utils.bash @@ -162,6 +162,12 @@ expandResponseParams() { # Fails if there are too many symlinks. resolveLibDir() { local rest="$1/" component link target links=0 + # The common case: a path in the store with no `.`, `..` or empty + # components is already resolved, since it has no symlink to follow. + if [[ "$1" == "${NIX_STORE:-}"/* && "$1/" != */./* && "$1/" != */../* && "$1/" != *//* ]]; then + resolvedPath="$1" + return + fi if [[ "$rest" != /* ]]; then rest="$PWD/$rest" fi From d401bfc00f6bd9fd65bf6d9b92c7ba72f98f2aa2 Mon Sep 17 00:00:00 2001 From: Anders Kaseorg Date: Wed, 28 Oct 2026 00:30:11 +0000 Subject: [PATCH 2202/2378] bintools-wrapper: look only at shared libraries in library directories To decide whether a store library directory belongs in the rpath, ld-wrapper looks up each entry of the directory among the libraries being linked. But those are all named lib*.so (from -l), or *.so or *.so.* (when given by path), so only entries matching *.so* can be among them. List only those, leaving bash with far fewer entries to look up; the directory is still read just once. Linking an empty C program with 1500 different store library directories, which together have 12241 entries but only 7614 matching *.so*, now takes about 0.40 s instead of 0.44 s, in a VM where starting a process is slow. Assisted-by: Claude Code:claude-opus-5-5 Signed-off-by: Anders Kaseorg --- pkgs/build-support/bintools-wrapper/ld-wrapper.sh | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/pkgs/build-support/bintools-wrapper/ld-wrapper.sh b/pkgs/build-support/bintools-wrapper/ld-wrapper.sh index f85c448ba4f6..dd751666a1c9 100644 --- a/pkgs/build-support/bintools-wrapper/ld-wrapper.sh +++ b/pkgs/build-support/bintools-wrapper/ld-wrapper.sh @@ -221,7 +221,9 @@ if [[ "$NIX_DONT_SET_RPATH_@suffixSalt@" != 1 && "$linkType" != static-pie ]]; t if [ -n "${rpaths[$dir]:-}" ] || [[ "$dir" != "${NIX_STORE:-}"/* ]]; then continue fi - for path in "$dir"/*; do + # Every name in libs is that of a shared library, ending in .so or + # containing .so., so the rest of the directory can be skipped. + for path in "$dir"/*.so*; do file="${path##*/}" if [ "${libs[$file]:-}" ]; then # This library may have been provided by a previous directory, From 737d20af4174e8e51db29c7664f8c98f675f8ddd Mon Sep 17 00:00:00 2001 From: "R. Ryantm" Date: Thu, 29 Oct 2026 00:27:13 +0000 Subject: [PATCH 2203/2378] simdutf: 9.2.1 -> 9.3.3 --- pkgs/by-name/si/simdutf/package.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/by-name/si/simdutf/package.nix b/pkgs/by-name/si/simdutf/package.nix index fff022b8db63..37b181636375 100644 --- a/pkgs/by-name/si/simdutf/package.nix +++ b/pkgs/by-name/si/simdutf/package.nix @@ -11,13 +11,13 @@ stdenv.mkDerivation (finalAttrs: { pname = "simdutf"; - version = "9.2.1"; + version = "9.3.3"; src = fetchFromGitHub { owner = "simdutf"; repo = "simdutf"; tag = "v${finalAttrs.version}"; - hash = "sha256-MZUEZWibRgoVwjz3SqkNTepAHgreWYkZTWh74jXtRfY="; + hash = "sha256-xCQf+PQKybvGIN/DxwNIrSpkQFdCCyo/A7pXThsd6zk="; }; outputs = [ From 9853e1c35e572d7e3e6b543fbd9c282b477c6f7e Mon Sep 17 00:00:00 2001 From: Yueh-Shun Li Date: Mon, 5 Oct 2026 22:28:12 +0800 Subject: [PATCH 2204/2378] buildPythonPackage: fix pytestFlagsArray error message with null position --- .../development/interpreters/python/mk-python-derivation.nix | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/pkgs/development/interpreters/python/mk-python-derivation.nix b/pkgs/development/interpreters/python/mk-python-derivation.nix index d934e102fb1c..03ede3b32f94 100644 --- a/pkgs/development/interpreters/python/mk-python-derivation.nix +++ b/pkgs/development/interpreters/python/mk-python-derivation.nix @@ -501,11 +501,12 @@ lib.extendMkDerivation { let deprecatedFlagNotEmpty = attrs ? pytestFlagsArray && attrs.pytestFlagsArray != null && attrs.pytestFlagsArray != [ ]; - pos = builtins.unsafeGetAttrPos "pytestFlagsArray" attrs; + pos = unsafeGetAttrPos "pytestFlagsArray" attrs; + posString = optionalString (pos != null) " at ${pos.file}:${toString pos.line}"; in { ${if deprecatedFlagNotEmpty then "pytestFlagsArray" else null} = throw '' - buildPythonPackage: Deprecated flag pytestFlagsArray found at ${pos.file}:${toString pos.line} + buildPythonPackage: Deprecated flag pytestFlagsArray found${posString} Use pytestFlags or (enabled|disabled)(TestPaths|Tests|TestMarks) instead. ''; } From f21f9c1f45c919c02f7ce904481392eedcbc95ec Mon Sep 17 00:00:00 2001 From: Yueh-Shun Li Date: Tue, 20 Oct 2026 20:09:40 +0800 Subject: [PATCH 2205/2378] buildPythonPackage: prefix internal problem messages with finalAttrs.name Change meta.problems.buildPythonPacakge-internal-* prefix from `buildPythonPackage: ` to `${finalAttrs.name}: ` The latter is easier to locate, and the problem name already shows the former. --- pkgs/development/interpreters/python/mk-python-derivation.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/interpreters/python/mk-python-derivation.nix b/pkgs/development/interpreters/python/mk-python-derivation.nix index 03ede3b32f94..0797590402b8 100644 --- a/pkgs/development/interpreters/python/mk-python-derivation.nix +++ b/pkgs/development/interpreters/python/mk-python-derivation.nix @@ -470,7 +470,7 @@ lib.extendMkDerivation { posString = lib.optionalString (pos != null) "At ${pos.file}:${toString pos.line}\n"; in '' - buildPythonPackage: ${finalAttrs.name}: Overriding argument `disabled` with `.overridePythonAttrs` is deprecated. + ${finalAttrs.name}: Overriding argument `disabled` with `.overridePythonAttrs` is deprecated. Add/remove `meta.problems.unsupportedPython` instead. '' + posString; @@ -485,7 +485,7 @@ lib.extendMkDerivation { posString = lib.optionalString (pos != null) " at ${pos.file}:${toString pos.line}"; in '' - `buildPythonPackage`/`buildPythonApplication`: Deprecated argument `stdenv` found${posString} + ${finalAttrs.name}: Deprecated argument `stdenv` found${posString} Override `stdenv` with `buildPythonPackage.override` or `buildPythonApplication.override` instead. ''; }; From 450baf395529e55b2b2af70a13354e96c3c531b8 Mon Sep 17 00:00:00 2001 From: Yueh-Shun Li Date: Mon, 5 Oct 2026 22:28:21 +0800 Subject: [PATCH 2206/2378] buildPythonPackage: mark pytestFlagsArray deprecation with meta.problems Mark existing pytestFlagsArray in args with `meta.problems.buildPythonPackage-deprecated-pytestFlagsArray`. Drop the improvised `deprecatedFlagNotEmpty`. --- .../python/mk-python-derivation.nix | 34 +++++++++++-------- 1 file changed, 20 insertions(+), 14 deletions(-) diff --git a/pkgs/development/interpreters/python/mk-python-derivation.nix b/pkgs/development/interpreters/python/mk-python-derivation.nix index 0797590402b8..b61d9a1a2e12 100644 --- a/pkgs/development/interpreters/python/mk-python-derivation.nix +++ b/pkgs/development/interpreters/python/mk-python-derivation.nix @@ -476,6 +476,26 @@ lib.extendMkDerivation { + posString; }; + # Deprecated pytestFlagsArray (internal) + ${ + if attrs ? pytestFlagsArray && attrs.pytestFlagsArray != null && attrs.pytestFlagsArray != [ ] then + "buildPythonPackage-internal-pytestFlagsArray" + else + null + } = + { + kind = "broken"; + message = + let + pos = unsafeGetAttrPos "pytestFlagsArray" attrs; + posString = optionalString (pos != null) " at ${pos.file}:${toString pos.line}"; + in + '' + ${finalAttrs.name}: Deprecated argument pytestFlagsArray found${posString} + Use pytestFlags or (enabled|disabled)(TestPaths|Tests|TestMarks) instead. + ''; + }; + # Deprecated argument stdenv (internal) ${if attrs ? stdenv then "buildPythonPackage-internal-stdenv" else null} = { kind = "broken"; @@ -497,20 +517,6 @@ lib.extendMkDerivation { # Longer-term we should get rid of `checkPhase` and use `installCheckPhase`. installCheckPhase = attrs.checkPhase; } - // ( - let - deprecatedFlagNotEmpty = - attrs ? pytestFlagsArray && attrs.pytestFlagsArray != null && attrs.pytestFlagsArray != [ ]; - pos = unsafeGetAttrPos "pytestFlagsArray" attrs; - posString = optionalString (pos != null) " at ${pos.file}:${toString pos.line}"; - in - { - ${if deprecatedFlagNotEmpty then "pytestFlagsArray" else null} = throw '' - buildPythonPackage: Deprecated flag pytestFlagsArray found${posString} - Use pytestFlags or (enabled|disabled)(TestPaths|Tests|TestMarks) instead. - ''; - } - ) // ( let deprecatedFlagNotEmpty = From d455801e34bf83fd7e382625446ea3748d254a44 Mon Sep 17 00:00:00 2001 From: Michael Daniels Date: Wed, 28 Oct 2026 17:53:42 -0400 Subject: [PATCH 2207/2378] buildPythonPackage: mark unittestFlagsArray deprecation with meta.problems Mark existing unittestFlagsArray in args with `meta.problems.buildPythonPackage-deprecated-unittestFlagsArray`. Drop the improvised `deprecatedFlagNotEmpty`. --- .../python/mk-python-derivation.nix | 43 +++++++++++++------ 1 file changed, 30 insertions(+), 13 deletions(-) diff --git a/pkgs/development/interpreters/python/mk-python-derivation.nix b/pkgs/development/interpreters/python/mk-python-derivation.nix index b61d9a1a2e12..8bcd44be8f9e 100644 --- a/pkgs/development/interpreters/python/mk-python-derivation.nix +++ b/pkgs/development/interpreters/python/mk-python-derivation.nix @@ -496,6 +496,36 @@ lib.extendMkDerivation { ''; }; + # Deprecated unittestFlagsArray (internal) + ${ + if + finalAttrs ? unittestFlagsArray + && finalAttrs.unittestFlagsArray != null + && finalAttrs.unittestFlagsArray != [ ] + then + "buildPythonPackage-internal-unittestFlagsArray" + else + null + } = + { + kind = "broken"; + message = + let + pos = + if + attrs ? unittestFlagsArray && attrs.unittestFlagsArray != null && attrs.unittestFlagsArray != [ ] + then + unsafeGetAttrPos "unittestFlagsArray" attrs + else + null; + posString = optionalString (pos != null) " at ${pos.file}:${toString pos.line}"; + in + '' + ${finalAttrs.name}: Deprecated argument unittestFlagsArray found${posString} + Use pytestFlags or (enabled|disabled)(TestPaths|Tests|TestMarks) instead. + ''; + }; + # Deprecated argument stdenv (internal) ${if attrs ? stdenv then "buildPythonPackage-internal-stdenv" else null} = { kind = "broken"; @@ -517,19 +547,6 @@ lib.extendMkDerivation { # Longer-term we should get rid of `checkPhase` and use `installCheckPhase`. installCheckPhase = attrs.checkPhase; } - // ( - let - deprecatedFlagNotEmpty = - attrs ? unittestFlagsArray && attrs.unittestFlagsArray != null && attrs.unittestFlagsArray != [ ]; - pos = builtins.unsafeGetAttrPos "unittestFlagsArray" attrs; - in - { - ${if deprecatedFlagNotEmpty then "unittestFlagsArray" else null} = lib.warn '' - buildPythonPackage: Deprecated flag unittestFlagsArray found at ${pos.file}:${toString pos.line} - Use unittestFlags instead. - ''; - } - ) // lib.mapAttrs ( From 7701b1b6f0924e1336dea569c67e97d246113989 Mon Sep 17 00:00:00 2001 From: Yueh-Shun Li Date: Mon, 5 Oct 2026 22:03:47 +0800 Subject: [PATCH 2208/2378] buildPythonPackages: extend pytestFlagsArray deprecation error to overrideAttrs With the help of `meta.problems`. Add position only when pytestFlagsArray are also non-empty in buildPythonPackage/overridePythonAttrs arguments. --- .../interpreters/python/mk-python-derivation.nix | 16 ++++++++++------ 1 file changed, 10 insertions(+), 6 deletions(-) diff --git a/pkgs/development/interpreters/python/mk-python-derivation.nix b/pkgs/development/interpreters/python/mk-python-derivation.nix index 8bcd44be8f9e..51d6d90bbb0f 100644 --- a/pkgs/development/interpreters/python/mk-python-derivation.nix +++ b/pkgs/development/interpreters/python/mk-python-derivation.nix @@ -121,10 +121,6 @@ lib.extendMkDerivation { "dependencies" "optional-dependencies" "build-system" - - # Deprecated arguments - "pytestFlagsArray" - "unittestFlagsArray" ]; extendDrvArgs = @@ -478,7 +474,11 @@ lib.extendMkDerivation { # Deprecated pytestFlagsArray (internal) ${ - if attrs ? pytestFlagsArray && attrs.pytestFlagsArray != null && attrs.pytestFlagsArray != [ ] then + if + finalAttrs ? pytestFlagsArray + && finalAttrs.pytestFlagsArray != null + && finalAttrs.pytestFlagsArray != [ ] + then "buildPythonPackage-internal-pytestFlagsArray" else null @@ -487,7 +487,11 @@ lib.extendMkDerivation { kind = "broken"; message = let - pos = unsafeGetAttrPos "pytestFlagsArray" attrs; + pos = + if attrs ? pytestFlagsArray && attrs.pytestFlagsArray != null && attrs.pytestFlagsArray != [ ] then + unsafeGetAttrPos "pytestFlagsArray" attrs + else + null; posString = optionalString (pos != null) " at ${pos.file}:${toString pos.line}"; in '' From bde40a47956c6196ebf3dd150ea042e2377b6924 Mon Sep 17 00:00:00 2001 From: Yueh-Shun Li Date: Tue, 20 Oct 2026 19:36:29 +0800 Subject: [PATCH 2209/2378] buildPythonPackage: move enabledTest* assertions to meta.problems And expand to cover finalAttrs. Co-authored-by: Eman Resu Co-authored-by: Matt Sturgeon --- .../python/mk-python-derivation.nix | 57 ++++++++++++++----- 1 file changed, 43 insertions(+), 14 deletions(-) diff --git a/pkgs/development/interpreters/python/mk-python-derivation.nix b/pkgs/development/interpreters/python/mk-python-derivation.nix index 51d6d90bbb0f..9107edff71d3 100644 --- a/pkgs/development/interpreters/python/mk-python-derivation.nix +++ b/pkgs/development/interpreters/python/mk-python-derivation.nix @@ -35,6 +35,7 @@ let inherit (builtins) unsafeGetAttrPos; inherit (lib) + concatMapStrings elem extendDerivation fixedWidthString @@ -472,6 +473,47 @@ lib.extendMkDerivation { + posString; }; + # Any of enabledTest* is an empty list (internal) + ${ + if + # `enabledTestPaths` is the most common, + # and then `enabledTests`, + # `enabledTestMarks` being the least common. + finalAttrs ? enabledTestPaths && finalAttrs.enabledTestPaths == [ ] + || finalAttrs ? enabledTests && finalAttrs.enabledTests == [ ] + || finalAttrs ? enabledTestMarks && finalAttrs.enabledTestMarks == [ ] + then + "buildPythonPackage-internal-enabledTests-empty" + else + null + } = + { + kind = "broken"; + message = '' + ${finalAttrs.name}: Unexpected empty list found in enabledTest* attributes: + '' + + + # Cold path, use more compact expression. + concatMapStrings + ( + n: + let + pos = if attrs.${n} or null != [ ] then unsafeGetAttrPos n attrs else null; + posString = optionalString (pos != null) " at ${pos.file}:${toString pos.line}"; + in + optionalString (finalAttrs.${n} or null == [ ]) "- ${n}${posString}\n" + ) + [ + "enabledTestMark" + "enabledTestPath" + "enabledTests" + ] + + '' + Defining these attributes as empty lists is ambiguous. + To opt out from whitelisting, omit them, or set them as `null` when overriding. + ''; + }; + # Deprecated pytestFlagsArray (internal) ${ if @@ -550,20 +592,7 @@ lib.extendMkDerivation { # If given use the specified checkPhase, otherwise use the setup hook. # Longer-term we should get rid of `checkPhase` and use `installCheckPhase`. installCheckPhase = attrs.checkPhase; - } - // - lib.mapAttrs - ( - name: value: - lib.throwIf ( - attrs.${name} == [ ] - ) "${lib.getName finalAttrs}: ${name} must be unspecified, null or a non-empty list." attrs.${name} - ) - { - ${if attrs ? enabledTestMarks then "enabledTestMarks" else null} = attrs.enabledTestMarks; - ${if attrs ? enabledTestPaths then "enabledTestPaths" else null} = attrs.enabledTestPaths; - ${if attrs ? enabledTests then "enabledTests" else null} = attrs.enabledTests; - }; + }; # This derivation transformation function must be independent to `attrs` # for fixed-point arguments support in the future. From 1567cb60d9b9d52df2372b72eca70a0272731d79 Mon Sep 17 00:00:00 2001 From: Yueh-Shun Li Date: Tue, 20 Oct 2026 20:04:47 +0800 Subject: [PATCH 2210/2378] buildPythonPackage: handle checkPhase -> installCheckPhase with a dynamic nulling attribute Avoid unnecessary set merging. --- .../interpreters/python/mk-python-derivation.nix | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/pkgs/development/interpreters/python/mk-python-derivation.nix b/pkgs/development/interpreters/python/mk-python-derivation.nix index 9107edff71d3..5370816dc5ea 100644 --- a/pkgs/development/interpreters/python/mk-python-derivation.nix +++ b/pkgs/development/interpreters/python/mk-python-derivation.nix @@ -399,6 +399,10 @@ lib.extendMkDerivation { nativeInstallCheckInputs = nativeCheckInputs ++ attrs.nativeInstallCheckInputs or [ ]; installCheckInputs = checkInputs ++ attrs.installCheckInputs or [ ]; + # If given use the specified checkPhase, otherwise use the setup hook. + # Longer-term we should get rid of `checkPhase` and use `installCheckPhase`. + ${if attrs ? checkPhase then "installCheckPhase" else null} = attrs.checkPhase; + inherit dontWrapPythonPrograms; postFixup = @@ -587,11 +591,6 @@ lib.extendMkDerivation { }; }; }; - } - // optionalAttrs (attrs ? checkPhase) { - # If given use the specified checkPhase, otherwise use the setup hook. - # Longer-term we should get rid of `checkPhase` and use `installCheckPhase`. - installCheckPhase = attrs.checkPhase; }; # This derivation transformation function must be independent to `attrs` From 4eb94438d0dfbb671334bd56c3c6cc36cc4f317d Mon Sep 17 00:00:00 2001 From: Jonas Gloning <34194370+jonasgloning@users.noreply.github.com> Date: Wed, 28 Oct 2026 09:05:05 +0100 Subject: [PATCH 2211/2378] duckdb: fix unittest progress output exceeding Hydra log limit --- pkgs/by-name/du/duckdb/package.nix | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/pkgs/by-name/du/duckdb/package.nix b/pkgs/by-name/du/duckdb/package.nix index 6958e97117f3..1618a8b0c8ec 100644 --- a/pkgs/by-name/du/duckdb/package.nix +++ b/pkgs/by-name/du/duckdb/package.nix @@ -2,6 +2,7 @@ lib, stdenv, fetchFromGitHub, + fetchpatch2, cmake, ninja, openssl, @@ -47,6 +48,19 @@ stdenv.mkDerivation (finalAttrs: { tag = "v${finalAttrs.version}"; }; + patches = [ + # Fix uninitialized terminal width in the unittest progress reporter. + # It padded every progress line to a garbage width when stdin is not a TTY and + # blew up the build log past Hydra's limit. + # Patch is merged upstream and should be in DuckDB >=2.0.1 + # https://github.com/NixOS/nixpkgs/issues/570642 + # https://github.com/duckdb/duckdb/pull/27894 + (fetchpatch2 { + url = "https://github.com/duckdb/duckdb/commit/95e44bf80b7306eac421a16b87507bdec5aa3321.patch?full_index=1"; + hash = "sha256-aDGSpXsvOTz8ywsboSeeDDeKtEUOlt+CPsiJq6jrY70="; + }) + ]; + outputs = [ "out" "lib" From f6d7b941369d044fcd550ee5351df1e1a5190056 Mon Sep 17 00:00:00 2001 From: Jonas Gloning <34194370+jonasgloning@users.noreply.github.com> Date: Mon, 26 Oct 2026 15:39:16 +0100 Subject: [PATCH 2212/2378] duckdb: stop discarding unittest output on x86_64 --- pkgs/by-name/du/duckdb/package.nix | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/pkgs/by-name/du/duckdb/package.nix b/pkgs/by-name/du/duckdb/package.nix index 1618a8b0c8ec..69ad24df70a8 100644 --- a/pkgs/by-name/du/duckdb/package.nix +++ b/pkgs/by-name/du/duckdb/package.nix @@ -185,12 +185,11 @@ stdenv.mkDerivation (finalAttrs: { ); LD_LIBRARY_PATH = lib.optionalString stdenv.hostPlatform.isDarwin "DY" + "LD_LIBRARY_PATH"; in - # FIXME: do something about the excessive logging on x86_64-linux (> 250 MiB). '' runHook preInstallCheck (($(ulimit -n) < 1024)) && ulimit -n 1024 - HOME="$(mktemp -d)" ${LD_LIBRARY_PATH}="$lib/lib" ./test/unittest ${toString excludes}${lib.optionalString stdenv.hostPlatform.isx86_64 " >/dev/null"} + HOME="$(mktemp -d)" ${LD_LIBRARY_PATH}="$lib/lib" ./test/unittest ${toString excludes} runHook postInstallCheck ''; From 21deba1e09b3294b5784bd7fde6292bae16bf24a Mon Sep 17 00:00:00 2001 From: Jonas Gloning <34194370+jonasgloning@users.noreply.github.com> Date: Thu, 29 Oct 2026 08:46:08 +0100 Subject: [PATCH 2213/2378] Revert "duckdb: prevent excessive log spam" This reverts commit 881112e13ed52bc288bcf5ef981a2e11d53ef701. --- pkgs/by-name/du/duckdb/package.nix | 4 ---- 1 file changed, 4 deletions(-) diff --git a/pkgs/by-name/du/duckdb/package.nix b/pkgs/by-name/du/duckdb/package.nix index 69ad24df70a8..5985ccc6f280 100644 --- a/pkgs/by-name/du/duckdb/package.nix +++ b/pkgs/by-name/du/duckdb/package.nix @@ -82,10 +82,6 @@ stdenv.mkDerivation (finalAttrs: { ] ++ lib.optionals (!canExecute) [ (lib.cmakeFeature "DUCKDB_EXPLICIT_PLATFORM" duckdbPlatform) - ] - ++ lib.optionals stdenv.cc.isGNU [ - # causes massive amounts of logs, exceeding hydra's limits on some platforms - (lib.cmakeFeature "CMAKE_CXX_FLAGS" "-Wno-sfinae-incomplete") ]; doInstallCheck = canExecute; From e5d47c704ef7a06239e97756ff2f2255792c10f7 Mon Sep 17 00:00:00 2001 From: K900 Date: Fri, 23 Oct 2026 11:40:26 +0300 Subject: [PATCH 2214/2378] lib/test-driver: add a timeout for waiting for QEMU to connect We still don't know _why_ it's not connecting, but at least now we will fail (reasonably) fast if it doesn't instead of hogging a build slot forever. --- nixos/lib/test-driver/src/test_driver/machine/__init__.py | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/nixos/lib/test-driver/src/test_driver/machine/__init__.py b/nixos/lib/test-driver/src/test_driver/machine/__init__.py index e5c953a0fd58..5c4e241dc7ac 100644 --- a/nixos/lib/test-driver/src/test_driver/machine/__init__.py +++ b/nixos/lib/test-driver/src/test_driver/machine/__init__.py @@ -1498,7 +1498,7 @@ class QemuMachine(BaseMachine): would block forever if QEMU exits before connecting. """ assert self.process - while True: + for _ in range(60): readable, _, _ = select.select([sock], [], [], 1.0) if readable: conn, _ = sock.accept() @@ -1509,8 +1509,11 @@ class QemuMachine(BaseMachine): if self.process.stdout: output = self.process.stdout.read().decode(errors="ignore") raise MachineError( - f"QEMU process exited with code {rc} before connecting to {name} socket.\n{output}" + f"{self.name}: QEMU process exited with code {rc} before connecting to {name} socket.\n{output}" ) + raise MachineError( + f"{self.name}: Timed out waiting for QEMU connection on {name} socket" + ) self.monitor = accept_or_fail(monitor_socket, "monitor") self.shell = accept_or_fail(shell_socket, "shell") From fa391feabeec1dfb52fee79d4635b4646ccc9559 Mon Sep 17 00:00:00 2001 From: K900 Date: Fri, 23 Oct 2026 11:41:27 +0300 Subject: [PATCH 2215/2378] lib/test-driver: also add machine name to the other errors --- nixos/lib/test-driver/src/test_driver/machine/__init__.py | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/nixos/lib/test-driver/src/test_driver/machine/__init__.py b/nixos/lib/test-driver/src/test_driver/machine/__init__.py index 5c4e241dc7ac..4acede7f86da 100644 --- a/nixos/lib/test-driver/src/test_driver/machine/__init__.py +++ b/nixos/lib/test-driver/src/test_driver/machine/__init__.py @@ -742,7 +742,7 @@ class BaseMachine(ABC): ) if ret.returncode != 0: raise MachineError( - f"Cannot convert screenshot (pnmtopng returned code {ret.returncode})" + f"{self.name}: Cannot convert screenshot (pnmtopng returned code {ret.returncode})" ) def get_screen_text_variants(self) -> list[str]: @@ -1802,7 +1802,7 @@ class NspawnMachine(BaseMachine): ret = subprocess.run(["xwdtopnm", xwd_path], stdout=ppm) if ret.returncode != 0: raise MachineError( - f"Cannot convert screenshot (xwdtopnm returned code {ret.returncode})" + f"{self.name}: Cannot convert screenshot (xwdtopnm returned code {ret.returncode})" ) yield ppm_path @@ -1901,7 +1901,9 @@ class NspawnMachine(BaseMachine): # Poll the socket until we have the container leader PID while True: if self.process.poll() is not None: - raise MachineError("systemd-nspawn process exited unexpectedly") + raise MachineError( + f"{self.name}: systemd-nspawn process exited unexpectedly" + ) with self._notify_lock: is_ready = self._notify_ready From f65c491441355de1cf888674ce54a0d25bcb4815 Mon Sep 17 00:00:00 2001 From: K900 Date: Fri, 23 Oct 2026 13:23:02 +0300 Subject: [PATCH 2216/2378] lib/test-driver: port to selectors This seems to bypass whatever nonsense we've been hitting with select.select, somehow. --- .../src/test_driver/machine/__init__.py | 25 +++++++++---------- 1 file changed, 12 insertions(+), 13 deletions(-) diff --git a/nixos/lib/test-driver/src/test_driver/machine/__init__.py b/nixos/lib/test-driver/src/test_driver/machine/__init__.py index 4acede7f86da..8e4c73bb5850 100644 --- a/nixos/lib/test-driver/src/test_driver/machine/__init__.py +++ b/nixos/lib/test-driver/src/test_driver/machine/__init__.py @@ -5,7 +5,7 @@ import os import platform import queue import re -import select +import selectors import shlex import shutil import socket @@ -1335,16 +1335,6 @@ class QemuMachine(BaseMachine): Wait for a connection to the guest root shell """ - def shell_ready(timeout: dt.timedelta) -> bool: - """We sent some data from the backdoor service running on the guest - to indicate that the backdoor shell is ready. - As soon as we read some data from the socket here, we assume that - our root shell is operational. - """ - assert self.shell - (ready, _, _) = select.select([self.shell], [], [], timeout.total_seconds()) - return bool(ready) - if self.connected: return @@ -1354,9 +1344,15 @@ class QemuMachine(BaseMachine): assert self.shell tic = time.monotonic() + sel = selectors.DefaultSelector() + sel.register(self.shell, selectors.EVENT_READ) for _ in range(10): - if shell_ready(timeout=dt.timedelta(seconds=30)): + # We sent some data from the backdoor service running on the guest + # to indicate that the backdoor shell is ready. + # As soon as we read some data from the socket here, we assume that + # our root shell is operational. + if sel.select(timeout=30): break self.log("Guest root shell did not produce any data yet...") self.log( @@ -1477,6 +1473,7 @@ class QemuMachine(BaseMachine): s = socket.socket(family=socket.AF_UNIX, type=socket.SOCK_STREAM) s.bind(str(path)) s.listen(1) + s.setblocking(False) return s monitor_socket = create_socket(clear(self.monitor_path)) @@ -1498,8 +1495,10 @@ class QemuMachine(BaseMachine): would block forever if QEMU exits before connecting. """ assert self.process + sel = selectors.DefaultSelector() + sel.register(sock, selectors.EVENT_READ) for _ in range(60): - readable, _, _ = select.select([sock], [], [], 1.0) + readable = sel.select(1) if readable: conn, _ = sock.accept() return conn From 0d3c8369631a66ea6b3361a40fc37871f39dc3dd Mon Sep 17 00:00:00 2001 From: Maximilian Bosch Date: Sat, 24 Oct 2026 14:57:06 +0200 Subject: [PATCH 2217/2378] nixos/qemu-vm: fix startup issues, port virtiofs job-control to Python The issue we were chasing was an number of QEMU VMs being started up in large tests[1], introduced by the migration from 9pfs to virtiofs[2]. What happened here was * When having a large number of VMs (and at least 3x the amount of virtiofsd procs), some processes aren't ready for operation leading QEMU to fail because the sockets it exposes aren't ready yet. * The tests hang indefinitely now since the process is dead, but the stdout fd is still open as it's used by the virtiofsd processes. * As a result, the startup logic for a VM in the test-driver assumes the VM to be dead and tries to fully read its stdout which hangs since it's still used by the virtiofsd procs. I tried to fix this in pure Bash, but decided to give up since Bash's job control logic is a hot mess. Also, a naive implementation would notably slow down the startup of tests since we need a loop for virtiofsd having set up all sockets before starting QEMU and with asyncio we can wait on all of them rather than doing all of this sequentially. The virtiofsd configuration is passed to the Python script via CLI args on purpose to still evaluate Bash variables that are sadly part of the interface. I think it'd make sense to move more of the start script into this Python package, but my main goal is to have something ready where we can be confident that the original bug got fixed. This refactoring can be done iteratively in follow-ups. [1] e.g. https://hydra.nixos.org/build/350180953/step/3/log/tail [2] https://github.com/NixOS/nixpkgs/pull/552774 --- nixos/modules/virtualisation/qemu-vm.nix | 47 ++++--- .../run-virtiofsd-qemu/default.nix | 3 + .../run-virtiofsd-qemu/package.nix | 49 +++++++ .../run-virtiofsd-qemu/pyproject.toml | 13 ++ .../run_virtiofsd_qemu/__init__.py | 120 ++++++++++++++++++ .../run-virtiofsd-qemu/shell.nix | 4 + 6 files changed, 211 insertions(+), 25 deletions(-) create mode 100644 nixos/modules/virtualisation/run-virtiofsd-qemu/default.nix create mode 100644 nixos/modules/virtualisation/run-virtiofsd-qemu/package.nix create mode 100644 nixos/modules/virtualisation/run-virtiofsd-qemu/pyproject.toml create mode 100644 nixos/modules/virtualisation/run-virtiofsd-qemu/run_virtiofsd_qemu/__init__.py create mode 100644 nixos/modules/virtualisation/run-virtiofsd-qemu/shell.nix diff --git a/nixos/modules/virtualisation/qemu-vm.nix b/nixos/modules/virtualisation/qemu-vm.nix index 40f9db9b7107..3a5914f5a6c7 100644 --- a/nixos/modules/virtualisation/qemu-vm.nix +++ b/nixos/modules/virtualisation/qemu-vm.nix @@ -28,6 +28,8 @@ let consoles = lib.concatMapStringsSep " " (c: "console=${c}") cfg.qemu.consoles; + runScript = hostPkgs.callPackage ./run-virtiofsd-qemu { }; + driveOptions = { ... }: { @@ -326,33 +328,28 @@ let '' )} - ${lib.optionalString useVirtiofs '' - echo "Starting virtiofs daemons..." - NIX_VIRTIOFS_DIR=$(mktemp -d) - ${lib.concatLines ( - lib.mapAttrsToList (tag: share: '' - ${lib.getExe hostPkgs.virtiofsd} \ - --socket-path="$NIX_VIRTIOFS_DIR"/"${tag}" \ - --shared-dir="$(readlink -f "${share.source}")" \ - ${if share.writable then "--writeback" else "--readonly"} \ - --sandbox=none \ - --seccomp=none \ - --cache=${share.cache} \ - --no-announce-submounts \ - --translate-uid=host:65534:0:1 \ - --translate-gid=host:65534:0:1 \ - & - '') cfg.sharedDirectories - )} - ''} + export NIX_VIRTIOFS_DIR=$(mktemp -d) # Start QEMU. - exec ${ - qemu-common.qemuBinaryWith { - qemuPkg = qemu; - forceAccel = cfg.qemu.forceAccel; - } - } \ + exec ${lib.getExe runScript} \ + ${ + lib.optionalString (useVirtiofs && cfg.sharedDirectories != { }) + "--virtiofs-paths ${ + lib.concatStringsSep " " ( + lib.mapAttrsToList ( + tag: share: + "${tag}:${share.source}:${share.cache}:${if share.writable then "writeback" else "readonly"}" + ) cfg.sharedDirectories + ) + }" + } \ + -- \ + ${ + qemu-common.qemuBinaryWith { + qemuPkg = qemu; + forceAccel = cfg.qemu.forceAccel; + } + } \ -name ${config.system.name} \ -m ${toString config.virtualisation.memorySize} \ -smp ${toString config.virtualisation.cores} \ diff --git a/nixos/modules/virtualisation/run-virtiofsd-qemu/default.nix b/nixos/modules/virtualisation/run-virtiofsd-qemu/default.nix new file mode 100644 index 000000000000..eb843221e7a7 --- /dev/null +++ b/nixos/modules/virtualisation/run-virtiofsd-qemu/default.nix @@ -0,0 +1,3 @@ +{ python3Packages }: + +python3Packages.callPackage ./package.nix { } diff --git a/nixos/modules/virtualisation/run-virtiofsd-qemu/package.nix b/nixos/modules/virtualisation/run-virtiofsd-qemu/package.nix new file mode 100644 index 000000000000..1353cca38f5f --- /dev/null +++ b/nixos/modules/virtualisation/run-virtiofsd-qemu/package.nix @@ -0,0 +1,49 @@ +{ + lib, + buildPythonApplication, + virtiofsd, + ruff, + setuptools, + ty, +}: + +buildPythonApplication { + pname = "run-virtiofsd-qemu"; + version = "1.0"; + pyproject = true; + + src = ./.; + + postPatch = '' + substituteInPlace ./run_virtiofsd_qemu/__init__.py \ + --replace-fail "@virtiofsd@" "${lib.getExe virtiofsd}" + ''; + + build-system = [ + setuptools + ]; + + propagatedBuildInputs = [ + virtiofsd + ]; + + doCheck = true; + + nativeCheckInputs = [ + ruff + ty + ]; + + checkPhase = '' + echo -e "\x1b[32m## run ty\x1b[0m" + ty check --error-on-warning run_virtiofsd_qemu + echo -e "\x1b[32m## run ruff check\x1b[0m" + ruff check . + echo -e "\x1b[32m## run ruff format\x1b[0m" + ruff format --check --diff . + ''; + + meta = { + mainProgram = "run-virtiofsd-qemu"; + }; +} diff --git a/nixos/modules/virtualisation/run-virtiofsd-qemu/pyproject.toml b/nixos/modules/virtualisation/run-virtiofsd-qemu/pyproject.toml new file mode 100644 index 000000000000..cec74d22667c --- /dev/null +++ b/nixos/modules/virtualisation/run-virtiofsd-qemu/pyproject.toml @@ -0,0 +1,13 @@ +[build-system] +requires = ["setuptools"] +build-backend = "setuptools.build_meta" + +[project] +name = "run-virtiofsd-qemu" +version = "1.0" + +[project.scripts] +run-virtiofsd-qemu = "run_virtiofsd_qemu:main" + +[tool.setuptools.packages] +find = {} diff --git a/nixos/modules/virtualisation/run-virtiofsd-qemu/run_virtiofsd_qemu/__init__.py b/nixos/modules/virtualisation/run-virtiofsd-qemu/run_virtiofsd_qemu/__init__.py new file mode 100644 index 000000000000..56726f41391d --- /dev/null +++ b/nixos/modules/virtualisation/run-virtiofsd-qemu/run_virtiofsd_qemu/__init__.py @@ -0,0 +1,120 @@ +import argparse +import asyncio +import logging +import signal +import subprocess +from contextlib import AsyncExitStack, asynccontextmanager +from os import environ +from pathlib import Path +from sys import exit + +logger = logging.getLogger(__name__) + + +def fatal_error(msg: str): + logger.error(msg) + exit(1) + + +@asynccontextmanager +async def virtiofsd(virtiofs_dir: Path, tag: str, source: Path, cache: str, flag: str): + socket_path = virtiofs_dir / tag + proc = await asyncio.create_subprocess_exec( + "@virtiofsd@", + f"--socket-path={socket_path}", + f"--shared-dir={source.resolve()}", + f"--{flag}", + "--sandbox=none", + "--seccomp=none", + f"--cache={cache}", + "--no-announce-submounts", + "--translate-uid=host:65534:0:1", + "--translate-gid=host:65534:0:1", + ) + + loop = asyncio.get_running_loop() + while not await loop.run_in_executor(None, lambda: socket_path.exists()): + if proc.returncode is not None: + fatal_error(f"virtiofsd process for '{tag}' failed to start. Aborting.") + await asyncio.sleep(1) + + yield + + try: + proc.terminate() + async with asyncio.timeout(2): + await proc.communicate() + except ProcessLookupError: + pass + except subprocess.TimeoutExpired: + logger.warning( + f"virtiofsd process for '{tag}' still running after SIGTERM. Killing." + ) + proc.kill() + await proc.communicate() + + +def extract_arguments() -> tuple[list[tuple[str, Path, str, str]], list[str]]: + parser = argparse.ArgumentParser() + parser.add_argument( + "--virtiofs-paths", + nargs="+", + help="Paths to be exposed with virtiofsd in the format 'tag:source:mode:cache'", + ) + + args, qemu_args = parser.parse_known_args() + if not qemu_args: + logger.warning("No command to run specified, exiting") + exit(0) + + if qemu_args[0] != "--": + fatal_error( + "Usage error: expected command to run separated with '--' from the args pased to this program!" + ) + qemu_args.pop(0) + if not qemu_args: + logger.warning("No command to run specified, exiting") + exit(0) + + defs = [] + for defin in args.virtiofs_paths: + args = defin.split(":") + if len(args) != 4: + fatal_error( + f"--virtio-paths definition '{defin}' doesn't have four params separated by ':'!" + ) + defs.append((args[0], Path(args[1]), args[2], args[3])) + + return defs, qemu_args + + +async def amain(): + logging.basicConfig(format="%(levelname)s: %(funcName)s: %(message)s") + args, qemu_args = extract_arguments() + + try: + virtiofs_dir = Path(environ["NIX_VIRTIOFS_DIR"]) + except KeyError: + fatal_error("NIX_VIRTIOFS_DIR is unset!") + + async with AsyncExitStack() as virtiofsds: + await asyncio.gather( + *( + virtiofsds.enter_async_context(virtiofsd(virtiofs_dir, *defin)) + for defin in args + ) + ) + + proc = await asyncio.create_subprocess_exec(*qemu_args) + loop = asyncio.get_running_loop() + loop.add_signal_handler(signal.SIGTERM, lambda: proc.terminate()) + loop.add_signal_handler(signal.SIGINT, lambda: proc.terminate()) + await proc.communicate() + + +def main(): + asyncio.run(amain()) + + +if __name__ == "__main__": + asyncio.run(main()) diff --git a/nixos/modules/virtualisation/run-virtiofsd-qemu/shell.nix b/nixos/modules/virtualisation/run-virtiofsd-qemu/shell.nix new file mode 100644 index 000000000000..2befa77d0f5a --- /dev/null +++ b/nixos/modules/virtualisation/run-virtiofsd-qemu/shell.nix @@ -0,0 +1,4 @@ +{ + pkgs ? import ../../../.. { }, +}: +pkgs.callPackage ./default.nix { } From 2cae0dd7567e318a2c82ca1705436389d9fe29ae Mon Sep 17 00:00:00 2001 From: ajs124 Date: Thu, 29 Oct 2026 11:26:25 +0100 Subject: [PATCH 2218/2378] tzdata: 2026e -> 2026f https://lists.iana.org/hyperkitty/list/tz-announce@iana.org/thread/LPANPBYMCHJI4WKAII4J6BVXLCFVGRHM/ --- pkgs/by-name/tz/tzdata/package.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pkgs/by-name/tz/tzdata/package.nix b/pkgs/by-name/tz/tzdata/package.nix index 4b4675a81fd0..ab57261f5d35 100644 --- a/pkgs/by-name/tz/tzdata/package.nix +++ b/pkgs/by-name/tz/tzdata/package.nix @@ -9,16 +9,16 @@ stdenv.mkDerivation (finalAttrs: { pname = "tzdata"; - version = "2026e"; + version = "2026f"; srcs = [ (fetchurl { url = "https://data.iana.org/time-zones/releases/tzdata${finalAttrs.version}.tar.gz"; - hash = "sha256-smiCgF8mqsWdWyIpeOZYBIS4NMzcmL6J3y8FptxTplI="; + hash = "sha256-AbSpHOxRZ+1IwR6Kt48gSM6teM6UsMr8rQroxaMETT0="; }) (fetchurl { url = "https://data.iana.org/time-zones/releases/tzcode${finalAttrs.version}.tar.gz"; - hash = "sha256-zD0nyioNg5lQRVG5IJcNgK+Dv7nCFugIKhVJGSGTXVQ="; + hash = "sha256-WhjaATk2ee8lWSFNxodWP389BWkfb1i3+8AWbz55bNY="; }) ]; From 9f834be56c39056dfd69b1278372b050f2bc6b8c Mon Sep 17 00:00:00 2001 From: FliegendeWurst Date: Thu, 29 Oct 2026 11:59:27 +0100 Subject: [PATCH 2219/2378] python3Packages.pytest-socket: fix build with new uv-build --- .../python-modules/pytest-socket/default.nix | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/pkgs/development/python-modules/pytest-socket/default.nix b/pkgs/development/python-modules/pytest-socket/default.nix index fe727aaecadf..ab7f937c1f09 100644 --- a/pkgs/development/python-modules/pytest-socket/default.nix +++ b/pkgs/development/python-modules/pytest-socket/default.nix @@ -2,6 +2,7 @@ lib, buildPythonPackage, fetchFromGitHub, + fetchpatch, uv-build, pytest, }: @@ -18,6 +19,15 @@ buildPythonPackage rec { hash = "sha256-Z8aCucbYR6kIgrtZlITPjElwBiIW7DhAk5oTnuiEwWQ="; }; + patches = [ + # allow uv-build 0.13 + (fetchpatch { + url = "https://github.com/miketheman/pytest-socket/commit/e3ed717f36fe4794adc50712873e7c33fd43a581.patch"; + hash = "sha256-MVuXAUscU/e4FdASdITN6HH2yTacBingUrfi2vvO1yQ="; + excludes = [ ".github/workflows/codspeed.yml" ]; + }) + ]; + nativeBuildInputs = [ uv-build ]; buildInputs = [ pytest ]; From 128376d1d7484e7e04509620f88ed7a91945fd6e Mon Sep 17 00:00:00 2001 From: FliegendeWurst Date: Thu, 29 Oct 2026 13:41:55 +0100 Subject: [PATCH 2220/2378] python3Packages.google-cloud-kms: 3.14.0 -> 3.18.0 https://github.com/googleapis/google-cloud-python/blob/google-cloud-kms-v3.18.0/packages/google-cloud-kms/CHANGELOG.md --- pkgs/development/python-modules/google-cloud-kms/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/google-cloud-kms/default.nix b/pkgs/development/python-modules/google-cloud-kms/default.nix index 7afa896fad59..b5390d1f3c04 100644 --- a/pkgs/development/python-modules/google-cloud-kms/default.nix +++ b/pkgs/development/python-modules/google-cloud-kms/default.nix @@ -15,14 +15,14 @@ buildPythonPackage rec { pname = "google-cloud-kms"; - version = "3.14.0"; + version = "3.18.0"; pyproject = true; src = fetchFromGitHub { owner = "googleapis"; repo = "google-cloud-python"; tag = "google-cloud-kms-v${version}"; - hash = "sha256-ywRS1BfK6s+gcU8QRem0cSnfZq4BUQ2ABNcgnOa01LI="; + hash = "sha256-b0FYupZU0ZNeIL9xJIqEXgg7ToRCQLjiswJ67YzX7OI="; }; sourceRoot = "${src.name}/packages/google-cloud-kms"; From b9ac2005a6c0ee76fa8a1c8f34fc4b5dd69c6a97 Mon Sep 17 00:00:00 2001 From: FliegendeWurst Date: Thu, 29 Oct 2026 14:50:00 +0100 Subject: [PATCH 2221/2378] python3Packages.google-cloud-iam: 2.24.0 -> 2.26.0 --- pkgs/development/python-modules/google-cloud-iam/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/google-cloud-iam/default.nix b/pkgs/development/python-modules/google-cloud-iam/default.nix index b1108657a84f..f6ac9bbdb0fc 100644 --- a/pkgs/development/python-modules/google-cloud-iam/default.nix +++ b/pkgs/development/python-modules/google-cloud-iam/default.nix @@ -17,14 +17,14 @@ buildPythonPackage rec { pname = "google-cloud-iam"; - version = "2.24.0"; + version = "2.26.0"; pyproject = true; src = fetchFromGitHub { owner = "googleapis"; repo = "google-cloud-python"; tag = "google-cloud-iam-v${version}"; - hash = "sha256-ywRS1BfK6s+gcU8QRem0cSnfZq4BUQ2ABNcgnOa01LI="; + hash = "sha256-b0FYupZU0ZNeIL9xJIqEXgg7ToRCQLjiswJ67YzX7OI="; }; sourceRoot = "${src.name}/packages/google-cloud-iam"; From 01acdb2be0861def919b428f23199b4bd29e98d0 Mon Sep 17 00:00:00 2001 From: FliegendeWurst Date: Thu, 29 Oct 2026 14:59:51 +0100 Subject: [PATCH 2222/2378] python3Packages.google-cloud-datacatalog: 3.31.0 -> 3.32.0 --- .../python-modules/google-cloud-datacatalog/default.nix | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/google-cloud-datacatalog/default.nix b/pkgs/development/python-modules/google-cloud-datacatalog/default.nix index 599dd3073cd2..6dba0af22fa8 100644 --- a/pkgs/development/python-modules/google-cloud-datacatalog/default.nix +++ b/pkgs/development/python-modules/google-cloud-datacatalog/default.nix @@ -16,14 +16,14 @@ buildPythonPackage (finalAttrs: { pname = "google-cloud-datacatalog"; - version = "3.31.0"; + version = "3.32.0"; pyproject = true; src = fetchFromGitHub { owner = "googleapis"; repo = "google-cloud-python"; tag = "google-cloud-datacatalog-v${finalAttrs.version}"; - hash = "sha256-M/7uDWWz4YCfxa4gyM9BaAo10iyTMvtR2MhNpdFYnis="; + hash = "sha256-b0FYupZU0ZNeIL9xJIqEXgg7ToRCQLjiswJ67YzX7OI="; }; sourceRoot = "${finalAttrs.src.name}/packages/google-cloud-datacatalog"; @@ -56,6 +56,7 @@ buildPythonPackage (finalAttrs: { skipBulkUpdate = true; updateScript = nix-update-script { extraArgs = [ + "--use-github-releases" "--version-regex" "google-cloud-datacatalog-v([0-9.]+)" ]; From 904d6509f33eb000ec6afb419d2ead4468ee9140 Mon Sep 17 00:00:00 2001 From: Marie Ramlow Date: Thu, 29 Oct 2026 16:08:15 +0100 Subject: [PATCH 2223/2378] python3Packages.dnspython: relax uv_build dependency --- pkgs/development/python-modules/dnspython/default.nix | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/pkgs/development/python-modules/dnspython/default.nix b/pkgs/development/python-modules/dnspython/default.nix index 9eece529b0a5..a14fa6fc7f25 100644 --- a/pkgs/development/python-modules/dnspython/default.nix +++ b/pkgs/development/python-modules/dnspython/default.nix @@ -47,6 +47,11 @@ buildPythonPackage rec { "test_misc_good_WKS_text" ]; + postPatch = '' + substituteInPlace pyproject.toml \ + --replace-fail 'uv_build>=0.9.21,<0.13.0' "uv_build" + ''; + # disable network on all builds (including darwin) # see https://github.com/NixOS/nixpkgs/issues/356803 preCheck = '' From 94c56eb596f3ef56bb27ae2e24573a3ffa4077ab Mon Sep 17 00:00:00 2001 From: Victor Engmark Date: Thu, 29 Oct 2026 16:10:39 +0100 Subject: [PATCH 2224/2378] nixos/fontconfig: Make Fontconfig package configurable And referrable. --- nixos/modules/config/fonts/fontconfig.nix | 19 ++++++++++--------- 1 file changed, 10 insertions(+), 9 deletions(-) diff --git a/nixos/modules/config/fonts/fontconfig.nix b/nixos/modules/config/fonts/fontconfig.nix index 16b22841ac14..af165c744dab 100644 --- a/nixos/modules/config/fonts/fontconfig.nix +++ b/nixos/modules/config/fonts/fontconfig.nix @@ -30,7 +30,6 @@ let cfg = config.fonts.fontconfig; fcBool = x: "" + (lib.boolToString x) + ""; - pkg = pkgs.fontconfig; # configuration file to read fontconfig cache # priority 0 @@ -49,7 +48,7 @@ let inherit fontconfig; fontDirectories = config.fonts.packages; }; - cache = makeCache pkgs.fontconfig; + cache = makeCache cfg.package; cache32 = makeCache pkgs.pkgsi686Linux.fontconfig; in pkgs.writeText "fc-00-nixos-cache.conf" '' @@ -209,7 +208,7 @@ let # Replace default linked config with a different variant replaceDefaultConfig = defaultConfig: newConfig: '' rm $dst/${defaultConfig} - ln -s ${pkg.out}/share/fontconfig/conf.avail/${newConfig} \ + ln -s ${cfg.package.out}/share/fontconfig/conf.avail/${newConfig} \ $dst/ ''; @@ -224,7 +223,7 @@ let mkdir -p $dst # fonts.conf - ln -s ${pkg.out}/etc/fonts/fonts.conf \ + ln -s ${cfg.package.out}/etc/fonts/fonts.conf \ $dst/../fonts.conf # TODO: remove this legacy symlink once people stop using packages built before #95358 was merged mkdir -p $out/etc/fonts/2.11 @@ -232,7 +231,7 @@ let $out/etc/fonts/2.11/fonts.conf # fontconfig default config files - ln -s ${pkg.out}/etc/fonts/conf.d/*.conf \ + ln -s ${cfg.package.out}/etc/fonts/conf.d/*.conf \ $dst/ ${lib.optionalString (!cfg.antialias) ( @@ -352,6 +351,8 @@ in ''; }; + package = lib.mkPackageOption pkgs "fontconfig" { }; + confPackages = lib.mkOption { internal = true; type = with lib.types; listOf path; @@ -627,14 +628,14 @@ in }; config = lib.mkMerge [ (lib.mkIf cfg.enable { - environment.systemPackages = [ pkgs.fontconfig ]; + environment.systemPackages = [ cfg.package ]; environment.etc.fonts.source = "${fontconfigEtc}/etc/fonts/"; security.apparmor.includes."abstractions/fonts" = '' # fonts.conf - r ${pkg.out}/etc/fonts/fonts.conf, + r ${cfg.package.out}/etc/fonts/fonts.conf, # fontconfig default config files - r ${pkg.out}/etc/fonts/conf.d/*.conf, + r ${cfg.package.out}/etc/fonts/conf.d/*.conf, # 00-nixos-cache.conf r ${cacheConf}, @@ -644,7 +645,7 @@ in # 50-user.conf ${lib.optionalString cfg.includeUserConf '' - r ${pkg.out}/etc/fonts/conf.d.bak/50-user.conf, + r ${cfg.package.out}/etc/fonts/conf.d.bak/50-user.conf, ''} # local.conf (indirect priority 51) From a4eaba1b25b4963bf001690d17d6ea66f4e1f6f5 Mon Sep 17 00:00:00 2001 From: K900 Date: Thu, 29 Oct 2026 18:52:47 +0300 Subject: [PATCH 2225/2378] pipewire: 1.6.10 -> 1.6.11 Diff: https://gitlab.freedesktop.org/pipewire/pipewire/-/compare/1.6.10...1.6.11 Changelog: https://gitlab.freedesktop.org/pipewire/pipewire/-/releases/1.6.11 --- pkgs/by-name/pi/pipewire/package.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/by-name/pi/pipewire/package.nix b/pkgs/by-name/pi/pipewire/package.nix index 11381b907a2e..1e6a30c41eec 100644 --- a/pkgs/by-name/pi/pipewire/package.nix +++ b/pkgs/by-name/pi/pipewire/package.nix @@ -88,7 +88,7 @@ in stdenv.mkDerivation (finalAttrs: { pname = "pipewire"; - version = "1.6.10"; + version = "1.6.11"; outputs = [ "out" @@ -104,7 +104,7 @@ stdenv.mkDerivation (finalAttrs: { owner = "pipewire"; repo = "pipewire"; tag = finalAttrs.version; - hash = "sha256-oUzg/CTPQxCT3CqLoAHGHSBj1ecIBL3noj79qne7Fww="; + hash = "sha256-QNEU3nPvn//TOoN984TlH6zT59HYTS4UDyzZW9/SgCQ="; }; patches = [ From 47ef7c8cab21400cc37e0ff94fb521f43eda4c74 Mon Sep 17 00:00:00 2001 From: Tom Hunze Date: Thu, 29 Oct 2026 17:43:19 +0100 Subject: [PATCH 2226/2378] gst_all_1.gst-devtools: add missing zstd dependency Probably fallout from https://github.com/NixOS/nixpkgs/pull/537108. --- pkgs/development/libraries/gstreamer/devtools/default.nix | 2 ++ 1 file changed, 2 insertions(+) diff --git a/pkgs/development/libraries/gstreamer/devtools/default.nix b/pkgs/development/libraries/gstreamer/devtools/default.nix index 4a197c8cd8e6..e284077364e8 100644 --- a/pkgs/development/libraries/gstreamer/devtools/default.nix +++ b/pkgs/development/libraries/gstreamer/devtools/default.nix @@ -16,6 +16,7 @@ rustc, cargo, json-glib, + zstd, # Checks meson.is_cross_build(), so even canExecute isn't enough. enableDocumentation ? stdenv.hostPlatform == stdenv.buildPlatform, hotdoc, @@ -74,6 +75,7 @@ stdenv.mkDerivation (finalAttrs: { cairo python3 json-glib + zstd ] ++ lib.optionals (stdenv.hostPlatform.isDarwin) [ apple-sdk_gstreamer From 37bdf2892452300555a99201df581724cdd49377 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sandro=20J=C3=A4ckel?= Date: Thu, 29 Oct 2026 13:44:31 +0100 Subject: [PATCH 2227/2378] python3Packages.msgpack: 1.2.1 -> 1.2.4 Diff: https://github.com/msgpack/msgpack-python/compare/v1.2.1...v1.2.4 Changelog: https://github.com/msgpack/msgpack-python/blob/v1.2.4/CHANGELOG.md --- pkgs/development/python-modules/msgpack/default.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pkgs/development/python-modules/msgpack/default.nix b/pkgs/development/python-modules/msgpack/default.nix index 3f519e329565..3b5c1a2822fc 100644 --- a/pkgs/development/python-modules/msgpack/default.nix +++ b/pkgs/development/python-modules/msgpack/default.nix @@ -10,14 +10,14 @@ buildPythonPackage rec { pname = "msgpack"; - version = "1.2.1"; + version = "1.2.4"; pyproject = true; src = fetchFromGitHub { owner = "msgpack"; repo = "msgpack-python"; tag = "v${version}"; - hash = "sha256-L8nU+n0M3NJvQzjRlWESXvzP6CxR5CTSu7UkeGfHHUs="; + hash = "sha256-BLuQYb0ClT2t91vPgM/ObemWTtdIOaPLHRwDzXlGM/k="; }; build-system = [ setuptools ]; @@ -41,7 +41,7 @@ buildPythonPackage rec { meta = { description = "MessagePack serializer implementation"; homepage = "https://github.com/msgpack/msgpack-python"; - changelog = "https://github.com/msgpack/msgpack-python/blob/${src.tag}/ChangeLog.rst"; + changelog = "https://github.com/msgpack/msgpack-python/blob/${src.tag}/CHANGELOG.md"; license = lib.licenses.asl20; maintainers = with lib.maintainers; [ nickcao ]; }; From f45151c431b9e7a869517ff609e057622b98f5f7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sandro=20J=C3=A4ckel?= Date: Thu, 29 Oct 2026 14:27:58 +0100 Subject: [PATCH 2228/2378] borgbackup: relax msgpack version range --- pkgs/by-name/bo/borgbackup/package.nix | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/pkgs/by-name/bo/borgbackup/package.nix b/pkgs/by-name/bo/borgbackup/package.nix index 951989af214b..1bdf6d2087ab 100644 --- a/pkgs/by-name/bo/borgbackup/package.nix +++ b/pkgs/by-name/bo/borgbackup/package.nix @@ -33,6 +33,13 @@ python.pkgs.buildPythonApplication (finalAttrs: { }; postPatch = '' + # Upstream is very sensible about msgpack versions, but the updates to here did not change any relevant code, + # so basically backport the essential changes from the bump commits, instead of relaxing the version freely. + substituteInPlace src/borg/helpers/msgpack.py \ + --replace-fail "(1, 2, 1)" "(1, 2, 4)" + substituteInPlace pyproject.toml \ + --replace-fail "<=1.2.1" "<=1.2.4" + # sandbox does not support setuid/setgid/sticky bits substituteInPlace src/borg/testsuite/archiver.py \ --replace-fail "0o4755" "0o0755" From 6da511d6e13ff7d3824ab91dbb33eaa8bac0b42a Mon Sep 17 00:00:00 2001 From: "R. Ryantm" Date: Thu, 29 Oct 2026 17:52:52 +0000 Subject: [PATCH 2229/2378] kdePackages.wayland-protocols: 1.49 -> 1.50 --- pkgs/by-name/wa/wayland-protocols/package.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/by-name/wa/wayland-protocols/package.nix b/pkgs/by-name/wa/wayland-protocols/package.nix index 3aeaf002b5dd..37bb14ecce2b 100644 --- a/pkgs/by-name/wa/wayland-protocols/package.nix +++ b/pkgs/by-name/wa/wayland-protocols/package.nix @@ -14,7 +14,7 @@ stdenv.mkDerivation (finalAttrs: { pname = "wayland-protocols"; - version = "1.49"; + version = "1.50"; doCheck = stdenv.hostPlatform == stdenv.buildPlatform @@ -29,7 +29,7 @@ stdenv.mkDerivation (finalAttrs: { src = fetchurl { url = "https://gitlab.freedesktop.org/wayland/${finalAttrs.pname}/-/releases/${finalAttrs.version}/downloads/${finalAttrs.pname}-${finalAttrs.version}.tar.xz"; - hash = "sha256-7EyPdJQtbf96zotM5HZPDvn/YYqTXZdOp37e4q0kCxQ="; + hash = "sha256-RGDCDPz2i5lKXuIG7RX8Ga0xLxbJYHUYboOw4/SqSKU="; }; postPatch = lib.optionalString finalAttrs.finalPackage.doCheck '' From 1079f9590b62009dc86f6458c202c365ae8e859c Mon Sep 17 00:00:00 2001 From: Marie Ramlow Date: Thu, 29 Oct 2026 17:28:51 +0100 Subject: [PATCH 2230/2378] harmonia: use system zstd and sqlite --- pkgs/by-name/ha/harmonia/package.nix | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/pkgs/by-name/ha/harmonia/package.nix b/pkgs/by-name/ha/harmonia/package.nix index 3a47b0f8c98c..491fb2e9ed11 100644 --- a/pkgs/by-name/ha/harmonia/package.nix +++ b/pkgs/by-name/ha/harmonia/package.nix @@ -2,6 +2,8 @@ lib, fetchFromGitHub, openssl, + zstd, + sqlite, pkg-config, rustPlatform, nix-update-script, @@ -28,6 +30,8 @@ rustPlatform.buildRustPackage (finalAttrs: { nativeBuildInputs = [ pkg-config ]; buildInputs = [ openssl + zstd + sqlite ]; passthru = { From fd9a4a7194c3aece3d0a91acde5a2924330c126e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Robert=20Sch=C3=BCtz?= Date: Thu, 29 Oct 2026 13:26:43 -0700 Subject: [PATCH 2231/2378] python3Packages.croniter: unpin pluggy --- pkgs/development/python-modules/croniter/default.nix | 1 + 1 file changed, 1 insertion(+) diff --git a/pkgs/development/python-modules/croniter/default.nix b/pkgs/development/python-modules/croniter/default.nix index f3042d87f6bf..93f01f15fe95 100644 --- a/pkgs/development/python-modules/croniter/default.nix +++ b/pkgs/development/python-modules/croniter/default.nix @@ -30,6 +30,7 @@ buildPythonPackage (finalAttrs: { substituteInPlace pyproject.toml \ --replace-fail "hatchling==1.30.1" "hatchling>=1.30.1" \ --replace-fail "packaging==26.2" "packaging" \ + --replace-fail "pluggy==1.6.0" "pluggy" \ --replace-fail "trove-classifiers==2026.6.1.19" "trove-classifiers" ''; From 4f888d6edc4b69540fc3068d6aa271763868195a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Robert=20Sch=C3=BCtz?= Date: Thu, 29 Oct 2026 13:36:28 -0700 Subject: [PATCH 2232/2378] python3Packages.libarchive-c: fix tests --- .../python-modules/libarchive-c/default.nix | 14 ++++++++------ 1 file changed, 8 insertions(+), 6 deletions(-) diff --git a/pkgs/development/python-modules/libarchive-c/default.nix b/pkgs/development/python-modules/libarchive-c/default.nix index 243b7b086786..581e3598edde 100644 --- a/pkgs/development/python-modules/libarchive-c/default.nix +++ b/pkgs/development/python-modules/libarchive-c/default.nix @@ -5,8 +5,6 @@ fetchFromGitHub, fetchpatch, libarchive, - glibcLocales, - mock, pytestCheckHook, setuptools, }: @@ -29,13 +27,19 @@ buildPythonPackage (finalAttrs: { url = "https://github.com/Changaco/python-libarchive-c/commit/e0e2a47b2403632642ee932dd56acd11e4a79efe.diff"; hash = "sha256-C9eD4cGQOIdBYy4ytom49lA/Jaarj7LbSIgjxCk/H84="; }) + # https://github.com/Changaco/python-libarchive-c/pull/145 + (fetchpatch { + url = "https://github.com/Changaco/python-libarchive-c/commit/f38073cfb0147beeb951ee4fa8ef13b442837b65.patch"; + hash = "sha256-QJD59oYSF1cY2h2GeczwkdVOLIqZF5CauBpmKYFDLCA="; + }) ]; - env.LC_ALL = "en_US.UTF-8"; - postPatch = '' substituteInPlace libarchive/ffi.py --replace-fail \ "find_library('archive')" "'${libarchive.lib}/lib/libarchive${stdenv.hostPlatform.extensions.sharedLibrary}'" + + substituteInPlace tests/test_entry.py \ + --replace-fail "nlink=0 " "" ''; build-system = [ setuptools ]; @@ -43,8 +47,6 @@ buildPythonPackage (finalAttrs: { pythonImportsCheck = [ "libarchive" ]; nativeCheckInputs = [ - glibcLocales - mock pytestCheckHook ]; From 55a4109ecdc89c0e836d26d6646be3e828f7666b Mon Sep 17 00:00:00 2001 From: Tom Hunze Date: Thu, 29 Oct 2026 21:23:49 +0100 Subject: [PATCH 2233/2378] bpftools: fix unknown type name `__u128` on aarch64 Analogous to [1]. This is only needed for bpf_dbg because unlike `tools/bpf/bpftool/Makefile`, `tools/bpf/Makefile` passes `-I$(srctree)/tools/include/uapi` before `-I$(srctree)/tools/include`, causing `tools/include/uapi/linux/types.h` (doesn't define `__u128`) to shadow `tools/include/linux/types.h` (does define `__u128`) [2]. Eventually we should pursue something like [3] as recommended by upstream [4]. [1] https://github.com/libbpf/libbpf/commit/f90a9c487d7542d91fa584b83b6a624a4fbeb341 [2] https://github.com/torvalds/linux/blob/v7.3/tools/bpf/Makefile#L12-L13 [3] https://github.com/NixOS/nixpkgs/pull/576066 [4] https://github.com/libbpf/bpftool/blob/19bb41ccbd7ae7286981035a252a05126e0bab10/README.md --- .../add-128-bit-integer-types-for-aarch64.patch | 17 +++++++++++++++++ pkgs/by-name/bp/bpftools/package.nix | 5 +++++ 2 files changed, 22 insertions(+) create mode 100644 pkgs/by-name/bp/bpftools/add-128-bit-integer-types-for-aarch64.patch diff --git a/pkgs/by-name/bp/bpftools/add-128-bit-integer-types-for-aarch64.patch b/pkgs/by-name/bp/bpftools/add-128-bit-integer-types-for-aarch64.patch new file mode 100644 index 000000000000..2500679bc13f --- /dev/null +++ b/pkgs/by-name/bp/bpftools/add-128-bit-integer-types-for-aarch64.patch @@ -0,0 +1,17 @@ +diff --git a/tools/include/uapi/linux/types.h b/tools/include/uapi/linux/types.h +index 85aa327..adc3543 100644 +--- a/tools/include/uapi/linux/types.h ++++ b/tools/include/uapi/linux/types.h +@@ -7,6 +7,12 @@ + #ifndef __ASSEMBLER__ + + /* copied from linux:include/uapi/linux/types.h */ ++ ++#ifdef __SIZEOF_INT128__ ++typedef __signed__ __int128 __s128 __attribute__((aligned(16))); ++typedef unsigned __int128 __u128 __attribute__((aligned(16))); ++#endif ++ + #define __bitwise + typedef __u16 __bitwise __le16; + typedef __u16 __bitwise __be16; diff --git a/pkgs/by-name/bp/bpftools/package.nix b/pkgs/by-name/bp/bpftools/package.nix index a4a84f56055e..ea8d3e8ea331 100644 --- a/pkgs/by-name/bp/bpftools/package.nix +++ b/pkgs/by-name/bp/bpftools/package.nix @@ -27,6 +27,11 @@ stdenv.mkDerivation (finalAttrs: { # fix unknown type name '__vector128' on powerpc64* # https://www.spinics.net/lists/bpf/msg28613.html ./include-asm-types-for-powerpc64.patch + ] + ++ lib.optionals stdenv.hostPlatform.isAarch64 [ + # Fix unknown type name `__u128` on aarch64, analogous to + # https://github.com/libbpf/libbpf/commit/f90a9c487d7542d91fa584b83b6a624a4fbeb341 + ./add-128-bit-integer-types-for-aarch64.patch ]; depsBuildBuild = [ buildPackages.stdenv.cc ]; From bb0b65d566f5d764a941273106fceb2dbf4616f1 Mon Sep 17 00:00:00 2001 From: "R. Ryantm" Date: Thu, 29 Oct 2026 21:42:04 +0000 Subject: [PATCH 2234/2378] vim: 9.2.1164 -> 9.2.1252 --- pkgs/applications/editors/vim/common.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/applications/editors/vim/common.nix b/pkgs/applications/editors/vim/common.nix index 5ea25e9b77a8..fcf1ebcab064 100644 --- a/pkgs/applications/editors/vim/common.nix +++ b/pkgs/applications/editors/vim/common.nix @@ -4,7 +4,7 @@ stdenv, }: rec { - version = "9.2.1164"; + version = "9.2.1252"; outputs = [ "out" @@ -15,7 +15,7 @@ rec { owner = "vim"; repo = "vim"; rev = "v${version}"; - hash = "sha256-Ymtq7+egq8OydTdzHP/q14MK6p+crKlQwduJ27oDbNU="; + hash = "sha256-k5Na69KYXb7kxajpJFv9+vBymApaio7TwHrETudAGrk="; }; enableParallelBuilding = true; From ab5ffbe350fdca200d09b14b1909a87c3762d49c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Robert=20Sch=C3=BCtz?= Date: Thu, 29 Oct 2026 13:00:57 -0700 Subject: [PATCH 2235/2378] python3Packages.vermin: init --- pkgs/top-level/python-packages.nix | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/pkgs/top-level/python-packages.nix b/pkgs/top-level/python-packages.nix index 160c2756d7e6..3e017d7aaf14 100644 --- a/pkgs/top-level/python-packages.nix +++ b/pkgs/top-level/python-packages.nix @@ -22436,6 +22436,12 @@ self: super: with self; { verlib2 = callPackage ../development/python-modules/verlib2 { }; + vermin = (toPythonModule (pkgs.vermin.override { python3Packages = self; })).overrideAttrs (old: { + # hack to not cause a rebuild of python3Packages.python-discovery + # FIXME remove on staging + nativeBuildInputs = lib.remove pythonMetadataCheckHook old.nativeBuildInputs; + }); + versioneer = callPackage ../development/python-modules/versioneer { }; versionfinder = callPackage ../development/python-modules/versionfinder { }; From e40edc8e1fb59b572d9393799f8dd57712f9c948 Mon Sep 17 00:00:00 2001 From: Ross Carter Date: Thu, 22 Oct 2026 15:51:03 -0400 Subject: [PATCH 2236/2378] grpc: Split output derivation --- pkgs/by-name/gr/grpc/package.nix | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/pkgs/by-name/gr/grpc/package.nix b/pkgs/by-name/gr/grpc/package.nix index b6768dcf1854..865e0d8214d1 100644 --- a/pkgs/by-name/gr/grpc/package.nix +++ b/pkgs/by-name/gr/grpc/package.nix @@ -51,6 +51,11 @@ stdenv.mkDerivation (finalAttrs: { }) ]; + outputs = [ + "out" + "dev" + ]; + nativeBuildInputs = [ cmake pkg-config @@ -109,6 +114,13 @@ stdenv.mkDerivation (finalAttrs: { --replace-fail '-msse2' "" ''; + postInstall = '' + substituteInPlace \ + $out/lib/cmake/grpc/gRPCTargets-release.cmake \ + $out/lib/cmake/grpc/gRPCPluginTargets-release.cmake \ + --replace-fail "\''${_IMPORT_PREFIX}" "$out" + ''; + # When natively compiling, grpc_cpp_plugin is executed from the build directory, # needing to load dynamic libraries from the build directory, so we set # LD_LIBRARY_PATH to enable this. When cross compiling we need to avoid this, From 1f2fffe3d8c5d34e9ce52ad4a13fa915fb81c086 Mon Sep 17 00:00:00 2001 From: whispers Date: Thu, 29 Oct 2026 17:53:28 -0400 Subject: [PATCH 2237/2378] Revert "khal: Fix build" This reverts commit 8d96d132d1cfe14af26afff1c4e4811aa255c04b. --- pkgs/by-name/kh/khal/package.nix | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/pkgs/by-name/kh/khal/package.nix b/pkgs/by-name/kh/khal/package.nix index 2f471375bbae..95213d1d1a9b 100644 --- a/pkgs/by-name/kh/khal/package.nix +++ b/pkgs/by-name/kh/khal/package.nix @@ -63,10 +63,9 @@ python3Packages.buildPythonApplication (finalAttrs: { "doc" "man" ]; - - # TODO: revert to [ "html" "man" ] once #573479 is on unstable sphinxBuilders = [ - "html man" + "html" + "man" ]; postInstall = '' From 5873f6a48039b81c51635f0a148bf9685b98fcc4 Mon Sep 17 00:00:00 2001 From: whispers Date: Thu, 29 Oct 2026 17:39:08 -0400 Subject: [PATCH 2238/2378] kanidm: use system aws-lc kanidm uses rustls with the aws-lc crypto backend for tls. we now force a set of widely used system libraries to use our nixpkgs versions instead of being vendored by their respective -sys crates, so make it available for kanidm. --- pkgs/servers/kanidm/generic.nix | 2 ++ 1 file changed, 2 insertions(+) diff --git a/pkgs/servers/kanidm/generic.nix b/pkgs/servers/kanidm/generic.nix index 6709f3d0a60a..101558ac7b8f 100644 --- a/pkgs/servers/kanidm/generic.nix +++ b/pkgs/servers/kanidm/generic.nix @@ -18,6 +18,7 @@ nix-update-script, pkg-config, udev, + aws-lc, sqlite, pam, bashInteractive, @@ -96,6 +97,7 @@ rustPlatform.buildRustPackage (finalAttrs: { ]; buildInputs = [ + aws-lc sqlite pam rust-jemalloc-sys From ba31bfda7f830cccbc4e9f746317a5c72d67f909 Mon Sep 17 00:00:00 2001 From: Anton Mosich Date: Thu, 29 Oct 2026 23:32:31 +0100 Subject: [PATCH 2239/2378] Revert "todoman: fix build" This reverts commit 2e3c2685339b1e6ba0c5f860a292b769b61ed5e5, since #573479 is on staging-next by now. --- pkgs/by-name/to/todoman/package.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/by-name/to/todoman/package.nix b/pkgs/by-name/to/todoman/package.nix index 9ddacb728746..0685938e884d 100644 --- a/pkgs/by-name/to/todoman/package.nix +++ b/pkgs/by-name/to/todoman/package.nix @@ -62,8 +62,8 @@ python3.pkgs.buildPythonApplication (finalAttrs: { ]; sphinxBuilders = [ - # TODO: Split into separate strings again once #573479 arrives in master - "singlehtml man" + "singlehtml" + "man" ]; preInstallSphinx = '' From 38ed9802ed2ac3aa8c059d5933a888095f136493 Mon Sep 17 00:00:00 2001 From: Ross Smyth <18294397+RossSmyth@users.noreply.github.com> Date: Thu, 29 Oct 2026 16:26:24 -0400 Subject: [PATCH 2240/2378] python3Packages.polar: fix forced system dependencies --- pkgs/development/python-modules/polars/default.nix | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/polars/default.nix b/pkgs/development/python-modules/polars/default.nix index 704524ce7bba..2a66d91af752 100644 --- a/pkgs/development/python-modules/polars/default.nix +++ b/pkgs/development/python-modules/polars/default.nix @@ -20,8 +20,7 @@ mimalloc, jemalloc, rust-jemalloc-sys, - # Another alternative is to try `mimalloc` - polarsMemoryAllocator ? mimalloc, # polarsJemalloc, + polarsMemoryAllocator ? polarsJemalloc, # mimalloc (see meta.problems), polarsJemalloc ? let jemalloc' = rust-jemalloc-sys.override { @@ -82,6 +81,9 @@ buildPythonPackage (finalAttrs: { ]; buildInputs = [ + # The mimalloc work-around doesn't seem to work. + # runtime paths do not list mimalloc, and jemalloc is + # compiled & used regardless. polarsMemoryAllocator (pkgs.__splicedPackages.zstd or pkgs.zstd) ]; @@ -297,5 +299,8 @@ buildPythonPackage (finalAttrs: { ]; mainProgram = "polars"; platforms = lib.platforms.all; + } + // lib.optionalAttrs (polarsMemoryAllocator.pname == "mimalloc") { + problems.brokenMimalloc = "mimalloc polarsMemoryAllocator does not actually link mimalloc."; }; }) From 7605a0e70721a1f365132928d9fcbf1122015a29 Mon Sep 17 00:00:00 2001 From: zowoq <59103226+zowoq@users.noreply.github.com> Date: Fri, 30 Oct 2026 10:20:49 +1000 Subject: [PATCH 2241/2378] git-interactive-rebase-tool: use system libgit2 --- .../gi/git-interactive-rebase-tool/package.nix | 17 ++++++++++++++++- 1 file changed, 16 insertions(+), 1 deletion(-) diff --git a/pkgs/by-name/gi/git-interactive-rebase-tool/package.nix b/pkgs/by-name/gi/git-interactive-rebase-tool/package.nix index d4cac8660998..ec31a27318fb 100644 --- a/pkgs/by-name/gi/git-interactive-rebase-tool/package.nix +++ b/pkgs/by-name/gi/git-interactive-rebase-tool/package.nix @@ -2,6 +2,9 @@ lib, fetchFromGitHub, rustPlatform, + fetchpatch, + pkg-config, + libgit2, }: rustPlatform.buildRustPackage (finalAttrs: { @@ -15,7 +18,19 @@ rustPlatform.buildRustPackage (finalAttrs: { hash = "sha256-NlnESZua4OP7rhMoER/VgBST9THqISQ0LCG1ZakNTqs="; }; - cargoHash = "sha256-WTg1o2iF5/UOVIqKFqGbC28B4HrKJWM0+XCHgaA1lc4="; + cargoPatches = [ + (fetchpatch { + name = "update_git2_to_0.20.0.patch"; + url = "https://github.com/MitMaro/git-interactive-rebase-tool/commit/4f04527a23aca92675423aefe093247d87f05298.patch"; + hash = "sha256-XvX07x9p0gcs6FYChDpYDsp58LkrjTtw3M3Oyp7YetY="; + }) + ]; + + cargoHash = "sha256-D4X6INF7sPzfpmBTO84pnfqNlCot+JwZCtKJ64oPyHQ="; + + nativeBuildInputs = [ pkg-config ]; + + buildInputs = [ libgit2 ]; # Compilation during tests fails if this env var is not set. preCheck = "export GIRT_BUILD_GIT_HASH=${finalAttrs.version}"; From ab7c6b95c83a235cf5a313eebde4857a818babd5 Mon Sep 17 00:00:00 2001 From: zowoq <59103226+zowoq@users.noreply.github.com> Date: Fri, 30 Oct 2026 10:26:53 +1000 Subject: [PATCH 2242/2378] miniserve: use system zstd --- pkgs/by-name/mi/miniserve/package.nix | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/pkgs/by-name/mi/miniserve/package.nix b/pkgs/by-name/mi/miniserve/package.nix index d84f8d0682cf..1cbe3d61e91e 100644 --- a/pkgs/by-name/mi/miniserve/package.nix +++ b/pkgs/by-name/mi/miniserve/package.nix @@ -5,6 +5,7 @@ pkg-config, installShellFiles, openssl, + zstd, cacert, stdenv, curl, @@ -34,7 +35,10 @@ rustPlatform.buildRustPackage (finalAttrs: { installShellFiles ]; - buildInputs = [ openssl ]; + buildInputs = [ + openssl + zstd + ]; nativeCheckInputs = [ curl From 128f8281699d7cf6f08f2f9c6aaa9a28f7b0832c Mon Sep 17 00:00:00 2001 From: "R. Ryantm" Date: Fri, 30 Oct 2026 01:25:13 +0000 Subject: [PATCH 2243/2378] fribidi: 1.0.17 -> 1.0.18 --- pkgs/by-name/fr/fribidi/package.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/by-name/fr/fribidi/package.nix b/pkgs/by-name/fr/fribidi/package.nix index 1f76acb6f25b..1a5422fa43d8 100644 --- a/pkgs/by-name/fr/fribidi/package.nix +++ b/pkgs/by-name/fr/fribidi/package.nix @@ -17,7 +17,7 @@ stdenv.mkDerivation (finalAttrs: { pname = "fribidi"; - version = "1.0.17"; + version = "1.0.18"; __structuredAttrs = true; strictDeps = true; @@ -33,7 +33,7 @@ stdenv.mkDerivation (finalAttrs: { url = with finalAttrs; "https://github.com/fribidi/fribidi/releases/download/v${version}/fribidi-${version}.tar.xz"; - hash = "sha256-aUnc3ifUHOutH9dB/K/DbVWhAg0thy1KbrORTKq7raI="; + hash = "sha256-HeXoBz0DU4i3HQstRSsdofjK7qincCmXtAH+G2JQcn8="; }; postPatch = '' From 39550be7788ce8b388fdb4aea3896a22f29f583f Mon Sep 17 00:00:00 2001 From: zowoq <59103226+zowoq@users.noreply.github.com> Date: Fri, 30 Oct 2026 10:33:27 +1000 Subject: [PATCH 2244/2378] rumdl: use system aws-lc and jemalloc --- pkgs/by-name/ru/rumdl/package.nix | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/pkgs/by-name/ru/rumdl/package.nix b/pkgs/by-name/ru/rumdl/package.nix index 544138aa0325..98c67760d7cd 100644 --- a/pkgs/by-name/ru/rumdl/package.nix +++ b/pkgs/by-name/ru/rumdl/package.nix @@ -3,7 +3,10 @@ fetchFromGitHub, rustPlatform, installShellFiles, + pkg-config, gitMinimal, + rust-jemalloc-sys, + aws-lc, stdenv, versionCheckHook, nix-update-script, @@ -30,12 +33,21 @@ rustPlatform.buildRustPackage (finalAttrs: { nativeBuildInputs = [ installShellFiles + pkg-config ]; nativeCheckInputs = [ gitMinimal ]; + buildInputs = [ + rust-jemalloc-sys + ]; + + checkInputs = [ + aws-lc + ]; + __darwinAllowLocalNetworking = true; useNextest = true; From d62742f1f4aaa15d7662b550c729ca32c7d7b80c Mon Sep 17 00:00:00 2001 From: Michael Daniels Date: Thu, 29 Oct 2026 22:42:42 -0400 Subject: [PATCH 2245/2378] Revert "python3Packages.reuse: unbreak" This reverts commit 56a93785335cfef11a7d9587c5704f34486846aa. --- pkgs/development/python-modules/reuse/default.nix | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/pkgs/development/python-modules/reuse/default.nix b/pkgs/development/python-modules/reuse/default.nix index 9bd3612b6d43..2a726d609c72 100644 --- a/pkgs/development/python-modules/reuse/default.nix +++ b/pkgs/development/python-modules/reuse/default.nix @@ -75,11 +75,8 @@ buildPythonPackage (finalAttrs: { ]; sphinxBuilders = [ - # HACK: sphinxBuilders is currently broken with __structuredAttrs = true, - # and ignores all but the first array item. for now, pass them as a single - # space-separated entry. fixed on staging-next, but requires a mass-rebuild. - # TODO: revert to [ "html" "man" ] on staging-next. - "html man" + "html" + "man" ]; sphinxRoot = "docs"; From 0fd9caafa3fabe23b5f7e13b7ba16713311e149c Mon Sep 17 00:00:00 2001 From: Ethan Carter Edwards Date: Fri, 30 Oct 2026 00:05:25 -0400 Subject: [PATCH 2246/2378] adguardian: devendor system libs Signed-off-by: Ethan Carter Edwards --- pkgs/by-name/ad/adguardian/package.nix | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/pkgs/by-name/ad/adguardian/package.nix b/pkgs/by-name/ad/adguardian/package.nix index f26cdfe19642..372600e0adbe 100644 --- a/pkgs/by-name/ad/adguardian/package.nix +++ b/pkgs/by-name/ad/adguardian/package.nix @@ -2,6 +2,8 @@ lib, rustPlatform, fetchFromGitHub, + pkg-config, + aws-lc, }: rustPlatform.buildRustPackage (finalAttrs: { @@ -18,6 +20,14 @@ rustPlatform.buildRustPackage (finalAttrs: { cargoHash = "sha256-uch2JKnskO5W8EPK877qL0aQQ+iInHJoCrrhZbmoVRs="; + nativeBuildInputs = [ + pkg-config + ]; + + buildInputs = [ + aws-lc + ]; + meta = { description = "Terminal-based, real-time traffic monitoring and statistics for your AdGuard Home instance"; mainProgram = "adguardian"; From 5ba07fdf9a35069715d36dd676120448b688202b Mon Sep 17 00:00:00 2001 From: Ethan Carter Edwards Date: Fri, 30 Oct 2026 00:26:40 -0400 Subject: [PATCH 2247/2378] apt-swarm: devendor system libs Signed-off-by: Ethan Carter Edwards --- pkgs/by-name/ap/apt-swarm/package.nix | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/pkgs/by-name/ap/apt-swarm/package.nix b/pkgs/by-name/ap/apt-swarm/package.nix index 0e18c15d8bac..45a8ad0ccc73 100644 --- a/pkgs/by-name/ap/apt-swarm/package.nix +++ b/pkgs/by-name/ap/apt-swarm/package.nix @@ -2,12 +2,16 @@ lib, fetchFromGitHub, rustPlatform, + pkg-config, + aws-lc, }: rustPlatform.buildRustPackage (finalAttrs: { pname = "apt-swarm"; version = "0.6.1"; + __structuredAttrs = true; + src = fetchFromGitHub { owner = "kpcyrd"; repo = "apt-swarm"; @@ -17,6 +21,10 @@ rustPlatform.buildRustPackage (finalAttrs: { cargoHash = "sha256-Fo/+UbdfDhbAsoWjoko4tAmyDZK6tPn/0d2CjPKyaaQ="; + nativeBuildInputs = [ pkg-config ]; + + buildInputs = [ aws-lc ]; + meta = { description = "Experimental p2p gossip network for OpenPGP signature transparency"; homepage = "https://github.com/kpcyrd/apt-swarm"; From 93d846ff3cdeec67c43ecc28547d8b349638d845 Mon Sep 17 00:00:00 2001 From: K900 Date: Fri, 30 Oct 2026 13:10:58 +0300 Subject: [PATCH 2248/2378] libarchive: cherry-pick patch to fix incorrect uudecode behavior --- pkgs/by-name/li/libarchive/package.nix | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/pkgs/by-name/li/libarchive/package.nix b/pkgs/by-name/li/libarchive/package.nix index ea9e51887fbe..d15d1f944852 100644 --- a/pkgs/by-name/li/libarchive/package.nix +++ b/pkgs/by-name/li/libarchive/package.nix @@ -51,6 +51,13 @@ stdenv.mkDerivation (finalAttrs: { url = "https://github.com/libarchive/libarchive/commit/28d2900e51b6d20f22d3a74eca6ddac5939ef104.patch"; hash = "sha256-4vL54mn8iblIMB7i46nSDc/CXl2eyrZ43Tj+QOgC4mk="; }) + + # fixes Lix test deadlock and general questionable behavior + # https://github.com/libarchive/libarchive/pull/3693 + (fetchpatch { + url = "https://github.com/libarchive/libarchive/commit/032c0ddead2f7acb5be56a0577159e03b3d4dc69.patch"; + hash = "sha256-KM4/R15uwNT7A0qhwrxfpMzYulxLFkuicVnvN7EnFbs="; + }) ]; outputs = [ From fafc0a5c287808a34068b3d11066ba3c6a02e1d3 Mon Sep 17 00:00:00 2001 From: "R. Ryantm" Date: Fri, 30 Oct 2026 10:35:06 +0000 Subject: [PATCH 2249/2378] tpm2-tss: 4.2.0 -> 4.2.1 --- pkgs/development/libraries/tpm2-tss/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/libraries/tpm2-tss/default.nix b/pkgs/development/libraries/tpm2-tss/default.nix index 2ce11dcab64b..a15f72156d40 100644 --- a/pkgs/development/libraries/tpm2-tss/default.nix +++ b/pkgs/development/libraries/tpm2-tss/default.nix @@ -30,13 +30,13 @@ in stdenv.mkDerivation (finalAttrs: { pname = "tpm2-tss"; - version = "4.2.0"; + version = "4.2.1"; src = fetchFromGitHub { owner = "tpm2-software"; repo = finalAttrs.pname; rev = finalAttrs.version; - hash = "sha256-MNrVKoA2sW3wKaQsq27UtakzdKmfirtDCoPWu0EEndw="; + hash = "sha256-+vsoANS3dLK+96sD6jFpbUZ8ut1f3U5RYbfWVtxRCzc="; }; outputs = [ From 61a15beb37c81d99aba8837b87f5f160f886fa5b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Vladim=C3=ADr=20=C4=8Cun=C3=A1t?= Date: Fri, 30 Oct 2026 12:23:02 +0100 Subject: [PATCH 2250/2378] Revert "patchelf: 0.15.2 -> 0.19.2" This reverts commit dcd39b08ff0d6319b0cdc69dbab3df2d32213cc0. Caused many issues, no new release yet, and stable 26.11 is very near. https://github.com/NixOS/nixpkgs/issues/577387 --- pkgs/development/tools/misc/patchelf/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/tools/misc/patchelf/default.nix b/pkgs/development/tools/misc/patchelf/default.nix index 260271e221ff..5cf6d8bc502f 100644 --- a/pkgs/development/tools/misc/patchelf/default.nix +++ b/pkgs/development/tools/misc/patchelf/default.nix @@ -11,11 +11,11 @@ stdenv.mkDerivation (finalAttrs: { pname = "patchelf"; - version = "0.19.2"; + version = "0.15.2"; src = fetchurl { url = "https://github.com/NixOS/patchelf/releases/download/${finalAttrs.version}/patchelf-${finalAttrs.version}.tar.bz2"; - hash = "sha256-1K2aTlxongkRnOLzCpSw6LT5jHhZASPqIWZeNMaSiAE="; + hash = "sha256-F3RfVkFZyOIo/EEtplogSLhGxLa0Igt3y/IkFuAvLXw="; }; strictDeps = true; From 9311fc5d048986e7a47a050722d56d354a07b6a1 Mon Sep 17 00:00:00 2001 From: whispers Date: Fri, 30 Oct 2026 09:25:17 -0400 Subject: [PATCH 2251/2378] rufin: use system aws-lc and sqlite we now force rust packages/anything using the cargo setup hook to use our system versions of some common libraries, incl. aws-lc and libsqlite3. ref: https://github.com/screwys/Rufin/blob/71c2528262ab4bab2c01322162c1e1aa30bd2155/Cargo.toml#L119 ref: https://github.com/screwys/Rufin/blob/71c2528262ab4bab2c01322162c1e1aa30bd2155/Cargo.toml#L131 --- pkgs/by-name/ru/rufin/package.nix | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/pkgs/by-name/ru/rufin/package.nix b/pkgs/by-name/ru/rufin/package.nix index 10ef52db55d3..b11ce002c811 100644 --- a/pkgs/by-name/ru/rufin/package.nix +++ b/pkgs/by-name/ru/rufin/package.nix @@ -3,6 +3,7 @@ stdenv, fetchFromGitHub, rustPlatform, + aws-lc, cacert, cargo, cmake, @@ -15,6 +16,7 @@ ninja, pkg-config, rustc, + sqlite, wrapGAppsHook4, }: @@ -50,10 +52,12 @@ stdenv.mkDerivation (finalAttrs: { ]; buildInputs = [ + aws-lc glib glib-networking gtk4 libadwaita + sqlite ] ++ (with gst_all_1; [ gstreamer From 51f474fbcd73e04d177a3a10f39288122d1bca70 Mon Sep 17 00:00:00 2001 From: whispers Date: Fri, 30 Oct 2026 09:54:23 -0400 Subject: [PATCH 2252/2378] comrak: use system oniguruma we now force rust packages/anything using the cargo setup hook to use our system versions of some common libraries, incl. oniguruma. this fixes the build on current staging-next. ref: https://github.com/kivikakk/comrak/blob/203f740aec61e002c02511c5360e528b7f869bcb/Cargo.toml#L71 --- pkgs/by-name/co/comrak/package.nix | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/pkgs/by-name/co/comrak/package.nix b/pkgs/by-name/co/comrak/package.nix index a5a6565c3fc4..aa8b3f808cd1 100644 --- a/pkgs/by-name/co/comrak/package.nix +++ b/pkgs/by-name/co/comrak/package.nix @@ -2,6 +2,8 @@ lib, rustPlatform, fetchFromGitHub, + pkg-config, + oniguruma, }: rustPlatform.buildRustPackage (finalAttrs: { @@ -17,6 +19,10 @@ rustPlatform.buildRustPackage (finalAttrs: { cargoHash = "sha256-Vy3iXflDESq+LkaCW+vglOCsKEaxVgSjAMYIV0YnCYA="; + nativeBuildInputs = [ pkg-config ]; + + buildInputs = [ oniguruma ]; + meta = { description = "CommonMark-compatible GitHub Flavored Markdown parser and formatter"; mainProgram = "comrak"; From f8fa1563c155b4ee7f208b679b62377c25df7da7 Mon Sep 17 00:00:00 2001 From: Weijia Wang <9713184+wegank@users.noreply.github.com> Date: Fri, 30 Oct 2026 20:49:44 +0100 Subject: [PATCH 2253/2378] python3Packages.uv-build: fix loongarch64-linux build --- pkgs/development/python-modules/uv-build/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/uv-build/default.nix b/pkgs/development/python-modules/uv-build/default.nix index 851c2301d1aa..be2a0d62ed01 100644 --- a/pkgs/development/python-modules/uv-build/default.nix +++ b/pkgs/development/python-modules/uv-build/default.nix @@ -28,8 +28,8 @@ buildPythonPackage (finalAttrs: { patches = lib.optionals stdenv.hostPlatform.isLoongArch64 [ (fetchurl { name = "loongarch64-fiemap.patch"; - url = "https://github.com/lcpu-club/loongarch-packages/raw/28165d5d4f00d1dfb6194c7d4f1f37e9c2ba56b2/uv/loongarch64-fiemap.patch"; - hash = "sha256-owRf+JtH/4GKsUFB2UwKCvXhLUZJ3vI2Zeywhz4tgbE="; + url = "https://github.com/lcpu-club/loongarch-packages/raw/ebcc3b01e19f8c01eaaeae683b62ff1a3d607fff/uv/loongarch64-fiemap.patch"; + hash = "sha256-QiLw6xFlDQgTP4eTbWmuZogFnSsVZK9jX+N1ueJC5DQ="; }) ]; From eb95a79db6ef3c060d75621cc224ae88bca6ae45 Mon Sep 17 00:00:00 2001 From: Florian Klink Date: Sat, 31 Oct 2026 00:29:26 +0200 Subject: [PATCH 2254/2378] Revert "afew: fix documentation build with sphinx in postInstall" This reverts commit 23de7d57cf47344cd53724b680c788ae54340396. With https://github.com/NixOS/nixpkgs/pull/573479 in-tree we don't need this anymore. --- pkgs/by-name/af/afew/package.nix | 7 ------- 1 file changed, 7 deletions(-) diff --git a/pkgs/by-name/af/afew/package.nix b/pkgs/by-name/af/afew/package.nix index 7d677f205bbd..4a73e3afecd7 100644 --- a/pkgs/by-name/af/afew/package.nix +++ b/pkgs/by-name/af/afew/package.nix @@ -25,7 +25,6 @@ python3Packages.buildPythonApplication (finalAttrs: { python3Packages.sphinxHook ]; - sphinxRoot = "docs"; sphinxBuilders = [ "html" "man" @@ -59,12 +58,6 @@ python3Packages.buildPythonApplication (finalAttrs: { "man" ]; - # Workaround for upstream packaging paths, can be removed once #573479 is resolved - postInstall = '' - sphinx-build -b man docs docs/build/man - install -Dm644 docs/build/man/*.1 -t $man/share/man/man1/ - ''; - meta = { homepage = "https://github.com/afewmail/afew"; description = "Initial tagging script for notmuch mail"; From 4f64ec742590f755a532f3e14b8e5f678d443521 Mon Sep 17 00:00:00 2001 From: eljamm Date: Sat, 31 Oct 2026 09:57:27 +0100 Subject: [PATCH 2255/2378] linux: enable strictDeps --- pkgs/os-specific/linux/kernel/build.nix | 1 + pkgs/os-specific/linux/kernel/generic.nix | 1 + 2 files changed, 2 insertions(+) diff --git a/pkgs/os-specific/linux/kernel/build.nix b/pkgs/os-specific/linux/kernel/build.nix index 7c6992e53ccc..03b32b17ba74 100644 --- a/pkgs/os-specific/linux/kernel/build.nix +++ b/pkgs/os-specific/linux/kernel/build.nix @@ -193,6 +193,7 @@ lib.makeOverridable ( inherit pname version src; __structuredAttrs = true; + strictDeps = true; enableParallelBuilding = true; diff --git a/pkgs/os-specific/linux/kernel/generic.nix b/pkgs/os-specific/linux/kernel/generic.nix index 5790a2daeec7..cb5befcab839 100644 --- a/pkgs/os-specific/linux/kernel/generic.nix +++ b/pkgs/os-specific/linux/kernel/generic.nix @@ -244,6 +244,7 @@ lib.makeOverridable ( enableParallelBuilding = true; __structuredAttrs = true; + strictDeps = true; passthru = rec { module = import ../../../../nixos/modules/system/boot/kernel_config.nix; From c640f5d5fec4a7c5cd5e61f00e3517d5fba81358 Mon Sep 17 00:00:00 2001 From: whispers Date: Sat, 31 Oct 2026 12:49:15 -0400 Subject: [PATCH 2256/2378] cargo-dist: use system aws-lc we now force rust packages/anything using the cargo setup hook to use our system versions of some common libraries, incl. aws-lc. this fixes the build on current staging-next. ref: https://github.com/axodotdev/cargo-dist/blob/5b14fb0a65229ed7f5d081b024ed8e64f5f42893/Cargo.lock#L147 --- pkgs/by-name/ca/cargo-dist/package.nix | 2 ++ 1 file changed, 2 insertions(+) diff --git a/pkgs/by-name/ca/cargo-dist/package.nix b/pkgs/by-name/ca/cargo-dist/package.nix index b5b6934b446c..4b212a0b4645 100644 --- a/pkgs/by-name/ca/cargo-dist/package.nix +++ b/pkgs/by-name/ca/cargo-dist/package.nix @@ -4,6 +4,7 @@ fetchFromGitHub, nix-update-script, pkg-config, + aws-lc, bzip2, xz, zstd, @@ -30,6 +31,7 @@ rustPlatform.buildRustPackage (finalAttrs: { ]; buildInputs = [ + aws-lc bzip2 xz zstd From 39e1a751986da9c4188c62016e414ee6688eeffd Mon Sep 17 00:00:00 2001 From: whispers Date: Sat, 31 Oct 2026 12:59:58 -0400 Subject: [PATCH 2257/2378] cargo-msrv: use system aws-lc we now force rust packages/anything using the cargo setup hook to use our system versions of some common libraries, incl. aws-lc. this fixes the build on current staging-next. removal of openssl: cargo-msrv already does not depend on openssl; they seem to have switched to rustls at some point. ```console $ ldd /nix/store/4mz7mksrxqxvx82zn30xmjbr43q2n2id-cargo-msrv-0.19.6/bin/.cargo-msrv-wrapped linux-vdso.so.1 (0x00007f1aa6e3f000) libgcc_s.so.1 => /nix/store/7a2cjhcgzyym5zaz6m4fksw47qvm150w-gcc-16.2.0-lib/lib/libgcc_s.so.1 (0x00007f1aa6e09000) libm.so.6 => /nix/store/pqyiidz5mi73wv5f91d48s9plcqyj5bz-glibc-2.44-57/lib/libm.so.6 (0x00007f1aa5edf000) libc.so.6 => /nix/store/pqyiidz5mi73wv5f91d48s9plcqyj5bz-glibc-2.44-57/lib/libc.so.6 (0x00007f1aa5c00000) /nix/store/pqyiidz5mi73wv5f91d48s9plcqyj5bz-glibc-2.44-57/lib/ld-linux-x86-64.so.2 => /nix/store/pqyiidz5mi73wv5f91d48s9plcqyj5bz-glibc-2.44-57/lib64/ld-linux-x86-64.so.2 (0x00007f1aa6e41000) ``` --- pkgs/by-name/ca/cargo-msrv/package.nix | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/pkgs/by-name/ca/cargo-msrv/package.nix b/pkgs/by-name/ca/cargo-msrv/package.nix index 98292d8b0159..33fb4784ef4f 100644 --- a/pkgs/by-name/ca/cargo-msrv/package.nix +++ b/pkgs/by-name/ca/cargo-msrv/package.nix @@ -4,8 +4,7 @@ fetchFromGitHub, pkg-config, rustup, - openssl, - stdenv, + aws-lc, makeWrapper, nix-update-script, }: @@ -30,7 +29,7 @@ rustPlatform.buildRustPackage (finalAttrs: { # Integration tests fail doCheck = false; - buildInputs = lib.optionals stdenv.hostPlatform.isLinux [ openssl ]; + buildInputs = [ aws-lc ]; nativeBuildInputs = [ pkg-config From 45dba900f7e528696a9201efe687ba9ee0686c6d Mon Sep 17 00:00:00 2001 From: whispers Date: Fri, 30 Oct 2026 09:58:12 -0400 Subject: [PATCH 2258/2378] yarn-zpm: use system aws-lc and jemalloc we now force rust packages/anything using the cargo setup hook to use our system versions of some common libraries, incl. aws-lc and jemalloc. this fixes the build on current staging-next. --- pkgs/by-name/ya/yarn-zpm/package.nix | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/pkgs/by-name/ya/yarn-zpm/package.nix b/pkgs/by-name/ya/yarn-zpm/package.nix index 0b5de2a5eec3..ddbaecd08c8d 100644 --- a/pkgs/by-name/ya/yarn-zpm/package.nix +++ b/pkgs/by-name/ya/yarn-zpm/package.nix @@ -8,7 +8,10 @@ rustPlatform, versionCheckHook, stdenv, + pkg-config, + aws-lc, cacert, + rust-jemalloc-sys, }: rustPlatform.buildRustPackage (finalAttrs: { @@ -27,6 +30,13 @@ rustPlatform.buildRustPackage (finalAttrs: { cargoBuildFlags = [ "--package=zpm" ]; cargoTestFlags = [ "--package=zpm" ]; + nativeBuildInputs = [ pkg-config ]; + + buildInputs = [ + aws-lc + rust-jemalloc-sys + ]; + env = { SSL_CERT_FILE = "${cacert}/etc/ssl/certs/ca-bundle.crt"; }; From 0dfde3a05afa48c39932a94ce37e39ba0c5f7d73 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Robert=20Sch=C3=BCtz?= Date: Sat, 31 Oct 2026 10:55:44 -0700 Subject: [PATCH 2259/2378] python3Packages.qh3: fix build It used to fail with AWS_LC_SYS_USE_SYSTEM=1 requires a system-installed AWS-LC, but none was found. --- pkgs/development/python-modules/qh3/default.nix | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/pkgs/development/python-modules/qh3/default.nix b/pkgs/development/python-modules/qh3/default.nix index a96d04da4cca..ae94d4929dec 100644 --- a/pkgs/development/python-modules/qh3/default.nix +++ b/pkgs/development/python-modules/qh3/default.nix @@ -1,10 +1,12 @@ { + aws-lc, buildPythonPackage, cmake, cryptography, dnspython, fetchFromGitHub, lib, + pkg-config, pytest-asyncio, pytest-mock, pytestCheckHook, @@ -31,6 +33,7 @@ buildPythonPackage (finalAttrs: { nativeBuildInputs = [ cmake + pkg-config rustPlatform.bindgenHook rustPlatform.cargoSetupHook rustPlatform.maturinBuildHook @@ -38,6 +41,10 @@ buildPythonPackage (finalAttrs: { dontUseCmakeConfigure = true; + buildInputs = [ + aws-lc + ]; + env.NIX_CFLAGS_COMPILE = toString ( lib.optionals stdenv.cc.isGNU [ "-Wno-error=stringop-overflow" From bc55a93ea34a1b0d58bd344fa2be833edd3074f7 Mon Sep 17 00:00:00 2001 From: Ethan Carter Edwards Date: Sat, 31 Oct 2026 14:14:12 -0400 Subject: [PATCH 2260/2378] various: fix system lib vendor build failures Signed-off-by: Ethan Carter Edwards --- pkgs/by-name/ea/easytier/package.nix | 11 +++++++++++ pkgs/by-name/le/leangz/package.nix | 6 ++++++ pkgs/by-name/re/redmine/package.nix | 4 ++++ 3 files changed, 21 insertions(+) diff --git a/pkgs/by-name/ea/easytier/package.nix b/pkgs/by-name/ea/easytier/package.nix index 1f5d67f164df..4f5a0d49039a 100644 --- a/pkgs/by-name/ea/easytier/package.nix +++ b/pkgs/by-name/ea/easytier/package.nix @@ -5,6 +5,10 @@ fetchpatch2, rustPlatform, protobuf, + pkg-config, + aws-lc, + zstd, + sqlite, nixosTests, nix-update-script, installShellFiles, @@ -48,6 +52,13 @@ rustPlatform.buildRustPackage (finalAttrs: { rustPlatform.bindgenHook installShellFiles mold + pkg-config + ]; + + buildInputs = [ + aws-lc + zstd + sqlite ]; buildNoDefaultFeatures = stdenv.hostPlatform.isMips; diff --git a/pkgs/by-name/le/leangz/package.nix b/pkgs/by-name/le/leangz/package.nix index 9d278567070f..6d2c60f5497d 100644 --- a/pkgs/by-name/le/leangz/package.nix +++ b/pkgs/by-name/le/leangz/package.nix @@ -3,6 +3,8 @@ rustPlatform, fetchFromGitHub, versionCheckHook, + pkg-config, + zstd, }: rustPlatform.buildRustPackage (finalAttrs: { pname = "leangz"; @@ -20,6 +22,10 @@ rustPlatform.buildRustPackage (finalAttrs: { __structuredAttrs = true; + nativeBuildInputs = [ pkg-config ]; + + buildInputs = [ zstd ]; + nativeInstallCheckInputs = [ versionCheckHook ]; doInstallCheck = true; diff --git a/pkgs/by-name/re/redmine/package.nix b/pkgs/by-name/re/redmine/package.nix index 4f8ba60776de..a0d02e9355ff 100644 --- a/pkgs/by-name/re/redmine/package.nix +++ b/pkgs/by-name/re/redmine/package.nix @@ -13,6 +13,8 @@ cargo, rustPlatform, buildRubyGem, + pkg-config, + oniguruma, }: let @@ -48,9 +50,11 @@ let nativeBuildInputs = [ cargo rustc + pkg-config rustPlatform.cargoSetupHook rustPlatform.bindgenHook ]; + buildInputs = [ oniguruma ]; disallowedReferences = [ rustc.unwrapped ]; From 5958536127fb2978e216f17bc60b6796c07da6e8 Mon Sep 17 00:00:00 2001 From: matthewcroughan Date: Sat, 31 Oct 2026 18:16:29 +0000 Subject: [PATCH 2261/2378] nixos/systemd: add systemd-loop@.service --- nixos/modules/system/boot/systemd.nix | 1 + 1 file changed, 1 insertion(+) diff --git a/nixos/modules/system/boot/systemd.nix b/nixos/modules/system/boot/systemd.nix index 87c35abcc554..5ff5b16a2cf2 100644 --- a/nixos/modules/system/boot/systemd.nix +++ b/nixos/modules/system/boot/systemd.nix @@ -89,6 +89,7 @@ let "systemd-fsck-root.service" "systemd-growfs@.service" "systemd-growfs-root.service" + "systemd-loop@.service" "systemd-remount-fs.service" "systemd-pstore.service" "local-fs.target" From 4f5a4f6b95c09a96e7a19fb7dbd95fd08d30589e Mon Sep 17 00:00:00 2001 From: matthewcroughan Date: Sat, 31 Oct 2026 18:18:06 +0000 Subject: [PATCH 2262/2378] nixos/systemd-initrd: add DDI tooling and systemd-loop@.service This allows for more disk discoverability by using the "DDI" functionality of systemd --- nixos/modules/system/boot/systemd/initrd.nix | 2 ++ 1 file changed, 2 insertions(+) diff --git a/nixos/modules/system/boot/systemd/initrd.nix b/nixos/modules/system/boot/systemd/initrd.nix index 0ef8c6dabd39..b8ba4626a292 100644 --- a/nixos/modules/system/boot/systemd/initrd.nix +++ b/nixos/modules/system/boot/systemd/initrd.nix @@ -97,6 +97,7 @@ let "systemd-factory-reset-complete.service" "factory-reset-now.target" "systemd-fsck@.service" + "systemd-loop@.service" "systemd-halt.service" "systemd-hibernate-resume.service" "systemd-journald-audit.socket" @@ -613,6 +614,7 @@ in "${cfg.package}/lib/systemd/systemd-bsod" "${cfg.package}/lib/systemd/systemd-sysroot-fstab-check" "${cfg.package}/lib/systemd/systemd-factory-reset" + "${cfg.package}/bin/systemd-dissect" # generators "${cfg.package}/lib/systemd/system-generators/systemd-debug-generator" From 65dcd3a24c58323a8a95f14e9d6701df9a533d73 Mon Sep 17 00:00:00 2001 From: K900 Date: Sat, 31 Oct 2026 21:44:21 +0300 Subject: [PATCH 2263/2378] python3Packages.fakeredis: skip tests that depend on behavior that changed in latest valkey > Fix ZINTER/ZINTERSTORE returning input-order-dependent scores when a weighted term is 0*inf; a NaN weighted score now counts as 0, matching ZUNION --- pkgs/development/python-modules/fakeredis/default.nix | 2 ++ 1 file changed, 2 insertions(+) diff --git a/pkgs/development/python-modules/fakeredis/default.nix b/pkgs/development/python-modules/fakeredis/default.nix index f29f01d2d577..24ba198e9cd3 100644 --- a/pkgs/development/python-modules/fakeredis/default.nix +++ b/pkgs/development/python-modules/fakeredis/default.nix @@ -66,6 +66,8 @@ buildPythonPackage (finalAttrs: { disabledTests = [ # redis.exceptions.ResponseError: unknown command 'evalsha' "test_async_lock" + # behavior change in latest valkey + "test_zinterstore_nan_to_zero" ]; preCheck = '' From 1fb3c940f15cd15fe8e708aac2c8ae5647ea11d1 Mon Sep 17 00:00:00 2001 From: K900 Date: Sat, 31 Oct 2026 22:03:41 +0300 Subject: [PATCH 2264/2378] sbctl: disable tests entirely It's a mess... --- pkgs/by-name/sb/sbctl/package.nix | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/pkgs/by-name/sb/sbctl/package.nix b/pkgs/by-name/sb/sbctl/package.nix index 89a5ffaadfe0..84830cdd7232 100644 --- a/pkgs/by-name/sb/sbctl/package.nix +++ b/pkgs/by-name/sb/sbctl/package.nix @@ -43,11 +43,8 @@ buildGoModule (finalAttrs: { make docs/sbctl.conf.5 docs/sbctl.8 ''; - checkFlags = [ - # https://github.com/Foxboron/sbctl/issues/343 - "-skip" - "github.com/google/go-tpm-tools/.*" - ]; + # https://github.com/Foxboron/sbctl/issues/343 + doCheck = false; postInstall = '' installManPage docs/sbctl.conf.5 docs/sbctl.8 From eaa00cb05aed98f8440a660007c43dfd000bcebc Mon Sep 17 00:00:00 2001 From: K900 Date: Sat, 31 Oct 2026 22:10:34 +0300 Subject: [PATCH 2265/2378] lemmy-server: update devendoring --- pkgs/by-name/le/lemmy-server/package.nix | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/pkgs/by-name/le/lemmy-server/package.nix b/pkgs/by-name/le/lemmy-server/package.nix index 27361c48b03a..9b4b2a2f7413 100644 --- a/pkgs/by-name/le/lemmy-server/package.nix +++ b/pkgs/by-name/le/lemmy-server/package.nix @@ -3,9 +3,12 @@ stdenv, rustPlatform, fetchFromGitHub, - openssl, + aws-lc, libpq, + rust-jemalloc-sys, + zstd, libiconv, + pkg-config, protobuf, rustfmt, nixosTests, @@ -31,20 +34,16 @@ rustPlatform.buildRustPackage (finalAttrs: { cargoHash = "sha256-GjuP5ci1f6xGGrDkS8KyfP15Owj42YNITfK3T4MuHp0="; buildInputs = [ + aws-lc libpq + rust-jemalloc-sys + zstd ] ++ lib.optionals stdenv.hostPlatform.isDarwin [ libiconv ]; env = { - # Using OPENSSL_NO_VENDOR is not an option on darwin - # As of version 0.10.35 rust-openssl looks for openssl on darwin - # with a hardcoded path to /usr/lib/libssl.x.x.x.dylib - # https://github.com/sfackler/rust-openssl/blob/master/openssl-sys/build/find_normal.rs#L115 - OPENSSL_LIB_DIR = "${lib.getLib openssl}/lib"; - OPENSSL_INCLUDE_DIR = "${openssl.dev}/include"; - PROTOC = "${protobuf}/bin/protoc"; PROTOC_INCLUDE = "${protobuf}/include"; @@ -52,6 +51,7 @@ rustPlatform.buildRustPackage (finalAttrs: { RUSTFLAGS = "--cap-lints warn"; }; nativeBuildInputs = [ + pkg-config protobuf rustfmt ]; From d0926dd848b1aa2731130baa13ca5737607d072d Mon Sep 17 00:00:00 2001 From: K900 Date: Sat, 31 Oct 2026 22:31:36 +0300 Subject: [PATCH 2266/2378] python3Packages.fpdf2: 2.8.9 -> 2.9.0 Fixes tests. --- pkgs/development/python-modules/fpdf2/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/fpdf2/default.nix b/pkgs/development/python-modules/fpdf2/default.nix index 888b5e0b7381..47a8b23a7fc6 100644 --- a/pkgs/development/python-modules/fpdf2/default.nix +++ b/pkgs/development/python-modules/fpdf2/default.nix @@ -17,14 +17,14 @@ buildPythonPackage rec { pname = "fpdf2"; - version = "2.8.9"; + version = "2.9.0"; pyproject = true; src = fetchFromGitHub { owner = "py-pdf"; repo = "fpdf2"; tag = version; - hash = "sha256-bMVi0ZNV9Al9dxH8t801y4zkJpNmQUVTeMoOh+DDzFA="; + hash = "sha256-/B+1NnNbahQe0Yc5wr7SzwUsugJRnTPc0JcMtY7OsKw="; }; build-system = [ setuptools ]; From a60b7ea50e643248e6320588f6f24441cf122499 Mon Sep 17 00:00:00 2001 From: K900 Date: Sat, 31 Oct 2026 22:43:41 +0300 Subject: [PATCH 2267/2378] gitoxide: add sqlite dependency The Great Rust Devendoring continues. --- pkgs/by-name/gi/gitoxide/package.nix | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/pkgs/by-name/gi/gitoxide/package.nix b/pkgs/by-name/gi/gitoxide/package.nix index 5f7c89f1e744..ba99d935eeda 100644 --- a/pkgs/by-name/gi/gitoxide/package.nix +++ b/pkgs/by-name/gi/gitoxide/package.nix @@ -6,6 +6,7 @@ pkg-config, stdenv, curl, + sqlite, openssl, buildPackages, installShellFiles, @@ -35,7 +36,10 @@ rustPlatform.buildRustPackage (finalAttrs: { installShellFiles ]; - buildInputs = [ curl ] ++ lib.optionals (!stdenv.hostPlatform.isDarwin) [ openssl ]; + buildInputs = [ + curl + sqlite + ] ++ lib.optionals (!stdenv.hostPlatform.isDarwin) [ openssl ]; preFixup = lib.optionalString canRunCmd '' installShellCompletion --cmd gix \ From d58b3867ae3e1d9eecca8cd7ef6dbc6bfede871b Mon Sep 17 00:00:00 2001 From: K900 Date: Sat, 31 Oct 2026 23:09:59 +0300 Subject: [PATCH 2268/2378] gitoxide: nixfmt --- pkgs/by-name/gi/gitoxide/package.nix | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/pkgs/by-name/gi/gitoxide/package.nix b/pkgs/by-name/gi/gitoxide/package.nix index ba99d935eeda..0a25afc71e18 100644 --- a/pkgs/by-name/gi/gitoxide/package.nix +++ b/pkgs/by-name/gi/gitoxide/package.nix @@ -39,7 +39,8 @@ rustPlatform.buildRustPackage (finalAttrs: { buildInputs = [ curl sqlite - ] ++ lib.optionals (!stdenv.hostPlatform.isDarwin) [ openssl ]; + ] + ++ lib.optionals (!stdenv.hostPlatform.isDarwin) [ openssl ]; preFixup = lib.optionalString canRunCmd '' installShellCompletion --cmd gix \ From 65c7ca86a440d125bfac446103ec475210aac6f7 Mon Sep 17 00:00:00 2001 From: K900 Date: Sat, 31 Oct 2026 23:10:21 +0300 Subject: [PATCH 2269/2378] llvmPackages.llvm: build less things on 32-bit Oof ow my i686 ow. --- pkgs/development/compilers/llvm/common/llvm/default.nix | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/pkgs/development/compilers/llvm/common/llvm/default.nix b/pkgs/development/compilers/llvm/common/llvm/default.nix index e2fcbc6b19d0..41a7e5c51ada 100644 --- a/pkgs/development/compilers/llvm/common/llvm/default.nix +++ b/pkgs/development/compilers/llvm/common/llvm/default.nix @@ -608,6 +608,11 @@ stdenv.mkDerivation ( ) ) ] + ++ optionals stdenv.hostPlatform.is32bit [ + # building some targets (*cough* RISC-V *cough*) OOMs on 32-bit + # so build a reduced set of things that is vaguely reasonable + (lib.cmakeFeature "LLVM_TARGETS_TO_BUILD" "Native;AMDGPU;BPF;SPIRV;WebAssembly") + ] ++ devExtraCmakeFlags; postInstall = '' From c4028695977b0cb0c82fdcfa026a045598e004f8 Mon Sep 17 00:00:00 2001 From: K900 Date: Sat, 31 Oct 2026 23:25:02 +0300 Subject: [PATCH 2270/2378] python3Packages.google-cloud-monitoring: 2.31.0 -> 2.32.0 Fixes tests --- .../python-modules/google-cloud-monitoring/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/google-cloud-monitoring/default.nix b/pkgs/development/python-modules/google-cloud-monitoring/default.nix index ceeb26b8db3f..f1230faedec7 100644 --- a/pkgs/development/python-modules/google-cloud-monitoring/default.nix +++ b/pkgs/development/python-modules/google-cloud-monitoring/default.nix @@ -15,13 +15,13 @@ buildPythonPackage (finalAttrs: { pname = "google-cloud-monitoring"; - version = "2.31.0"; + version = "2.32.0"; pyproject = true; src = fetchPypi { pname = "google_cloud_monitoring"; inherit (finalAttrs) version; - hash = "sha256-tMnTUoyGQ9TrS51ojLs8WRS8X2mzFP98XhtHvcBzqa4="; + hash = "sha256-UHUBzhw5FhwHF1T37RTNUneItOpEodBSvYFcEVpw6kg="; }; build-system = [ setuptools ]; From ecee7602721112cfa6a04012798ac937dd036548 Mon Sep 17 00:00:00 2001 From: K900 Date: Sun, 1 Nov 2026 00:10:56 +0300 Subject: [PATCH 2271/2378] llvmPackages.llvm: build slightly more things on 32-bit Why. --- pkgs/development/compilers/llvm/common/llvm/default.nix | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/pkgs/development/compilers/llvm/common/llvm/default.nix b/pkgs/development/compilers/llvm/common/llvm/default.nix index 41a7e5c51ada..5851a1f237c7 100644 --- a/pkgs/development/compilers/llvm/common/llvm/default.nix +++ b/pkgs/development/compilers/llvm/common/llvm/default.nix @@ -611,7 +611,9 @@ stdenv.mkDerivation ( ++ optionals stdenv.hostPlatform.is32bit [ # building some targets (*cough* RISC-V *cough*) OOMs on 32-bit # so build a reduced set of things that is vaguely reasonable - (lib.cmakeFeature "LLVM_TARGETS_TO_BUILD" "Native;AMDGPU;BPF;SPIRV;WebAssembly") + # + # ARM is here because cargo-auditable tests just assume LLVM knows what an ARM is. Don't ask. + (lib.cmakeFeature "LLVM_TARGETS_TO_BUILD" "Native;AMDGPU;ARM;BPF;SPIRV;WebAssembly") ] ++ devExtraCmakeFlags; From 8e57543477851e54353602fed5dcd28f5c44ecaa Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Robert=20Sch=C3=BCtz?= Date: Sat, 31 Oct 2026 17:04:42 -0700 Subject: [PATCH 2272/2378] imagemagick: 7.1.2-34 -> 7.1.2-35 Diff: https://github.com/ImageMagick/ImageMagick/compare/7.1.2-34...7.1.2-35 Changelog: https://github.com/ImageMagick/Website/blob/main/docs/changelog/index.md --- pkgs/by-name/im/imagemagick/package.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/by-name/im/imagemagick/package.nix b/pkgs/by-name/im/imagemagick/package.nix index ae5f93029c3e..7900a4546f4e 100644 --- a/pkgs/by-name/im/imagemagick/package.nix +++ b/pkgs/by-name/im/imagemagick/package.nix @@ -69,13 +69,13 @@ assert libraqmSupport -> freetypeSupport; stdenv.mkDerivation (finalAttrs: { pname = "imagemagick"; - version = "7.1.2-34"; + version = "7.1.2-35"; src = fetchFromGitHub { owner = "ImageMagick"; repo = "ImageMagick"; tag = finalAttrs.version; - hash = "sha256-H2tXlEsW2JbvJJpUxEkwbV3zRXjwtPBxpbvs2xdKNZY="; + hash = "sha256-L+yqK3APjISn6n61hliMlb0bEWZMNU5YcxOsJRDXVJw="; }; outputs = [ From 36083be1c42ebdbd2117f68f4b65ccdde0d7e1bd Mon Sep 17 00:00:00 2001 From: whoomee Date: Sun, 1 Nov 2026 04:27:17 +0100 Subject: [PATCH 2273/2378] python3Packages.pillow-heif: fix build with libheif 1.23.7 --- .../python-modules/pillow-heif/default.nix | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/pkgs/development/python-modules/pillow-heif/default.nix b/pkgs/development/python-modules/pillow-heif/default.nix index 6e2a9b8935a3..7409f4123949 100644 --- a/pkgs/development/python-modules/pillow-heif/default.nix +++ b/pkgs/development/python-modules/pillow-heif/default.nix @@ -3,6 +3,7 @@ stdenv, buildPythonPackage, fetchFromGitHub, + fetchpatch, # build-system cmake, @@ -37,6 +38,19 @@ buildPythonPackage rec { hash = "sha256-jDQDcKsHKCG3RJ1AlMx+XB0R1/MhT+avI7/aBo8+sFo="; }; + patches = [ + # fix compatibility with libheif 1.23.7 + (fetchpatch { + url = "https://github.com/bigcat88/pillow_heif/commit/558ee2bfbe85a64b4371bcc1bc067883c5f9573d.diff"; + excludes = [ + "CHANGELOG.md" + "LICENSES_bundled.txt" + "libheif/*" + ]; + hash = "sha256-ToIAnz4PH87gyIBTnB57n3hA9BZXxtw0tS9mW4LUAGA="; + }) + ]; + postPatch = '' sed -i '/addopts/d' pyproject.toml substituteInPlace setup.py \ From 8e103c103a2ff5d7011a1073392b18b77ed1b5b4 Mon Sep 17 00:00:00 2001 From: Muhammad Falak R Wani Date: Sun, 1 Nov 2026 10:11:26 +0530 Subject: [PATCH 2274/2378] cargo-binstall: 1.26.0 -> 1.26.2 Diff: https://github.com/cargo-bins/cargo-binstall/compare/v1.26.0...v1.26.2 Changelog: https://github.com/cargo-bins/cargo-binstall/releases/tag/v1.26.2 Signed-off-by: Muhammad Falak R Wani --- pkgs/by-name/ca/cargo-binstall/package.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pkgs/by-name/ca/cargo-binstall/package.nix b/pkgs/by-name/ca/cargo-binstall/package.nix index af7818175f57..ed39bdac7723 100644 --- a/pkgs/by-name/ca/cargo-binstall/package.nix +++ b/pkgs/by-name/ca/cargo-binstall/package.nix @@ -11,16 +11,16 @@ rustPlatform.buildRustPackage (finalAttrs: { pname = "cargo-binstall"; - version = "1.26.0"; + version = "1.26.2"; src = fetchFromGitHub { owner = "cargo-bins"; repo = "cargo-binstall"; tag = "v${finalAttrs.version}"; - hash = "sha256-FEz9SEPtAT24EZdWzJNWvSTsAK/rv6ozMH2CLHwGqrI="; + hash = "sha256-nHDs3HoHKDzxKNH11X7wqUgD+8z9DWcjQYEShzzVuaw="; }; - cargoHash = "sha256-rwS29DWB9Ygyq93rLaZQb0Sml4t+B20W3VQjhHve+J8="; + cargoHash = "sha256-xJkrMHjbyv/nnmQv2Amru0FZGBdKtQaRvMxsw6oeb1k="; nativeBuildInputs = [ pkg-config From 7542f840fab82c975a82e5dada6cbf6f388c38e1 Mon Sep 17 00:00:00 2001 From: nick-linux8 Date: Sun, 1 Nov 2026 01:00:40 -0400 Subject: [PATCH 2275/2378] xorg-server: 21.1.24 -> 21.1.25 --- pkgs/by-name/xo/xorg-server/package.nix | 17 ++++++++++++++--- 1 file changed, 14 insertions(+), 3 deletions(-) diff --git a/pkgs/by-name/xo/xorg-server/package.nix b/pkgs/by-name/xo/xorg-server/package.nix index 9a9f64b499d4..f5731276d101 100644 --- a/pkgs/by-name/xo/xorg-server/package.nix +++ b/pkgs/by-name/xo/xorg-server/package.nix @@ -11,6 +11,7 @@ # deps dbus, dri-pkgconfig-stub, + fetchpatch, font-util, libdrm, libepoxy, @@ -60,7 +61,7 @@ stdenv.mkDerivation (finalAttrs: { # `xvfb` inherits `version` and `src` from here, leading to many rebuilds. If # necessary, these can be moved out of lockstep in order to merge updates # quickly. - version = "21.1.24"; + version = "21.1.25"; outputs = [ "out" @@ -69,10 +70,20 @@ stdenv.mkDerivation (finalAttrs: { src = fetchurl { url = "mirror://xorg/individual/xserver/xorg-server-${finalAttrs.version}.tar.xz"; - hash = "sha256-Gk6zbKZcw7G5NlZtZ3qXhuE8Ec1YBulRrFXz9c45hK8="; + hash = "sha256-atTjx7WaMJsyyS5cFc4SZxEPnhPxrHjaYjYaYo2hoOs="; }; - patches = lib.optionals stdenv.hostPlatform.isDarwin [ + patches = [ + # Revert "damage: Unlink a damage from the list it was actually inserted on" + # Upstream broke AMD drivers see issue below. + # https://gitlab.freedesktop.org/xorg/xserver/-/issues/1930 + (fetchpatch { + name = "revert-damage-unlink-abi-break.patch"; + url = "https://gitlab.freedesktop.org/xorg/xserver/-/commit/a10192e7c3237a707e9bb712a566e2f14415dddd.patch"; + hash = "sha256-vtloUZrdtQ9L56KhNy7m3praW9KmeMmwVGM+rX5EmUw="; + }) + ] + ++ lib.optionals stdenv.hostPlatform.isDarwin [ ./darwin/bundle_main.patch ./darwin/find-cpp.patch ./darwin/stub.patch From fce1357434d62e862ada95317f11892734ee6d34 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Vladim=C3=ADr=20=C4=8Cun=C3=A1t?= Date: Sun, 1 Nov 2026 06:49:31 +0100 Subject: [PATCH 2276/2378] xvfb: avoid rebuild temporarily --- pkgs/by-name/xv/xvfb/package.nix | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/pkgs/by-name/xv/xvfb/package.nix b/pkgs/by-name/xv/xvfb/package.nix index 934fade5a795..d5b82ed8a5b8 100644 --- a/pkgs/by-name/xv/xvfb/package.nix +++ b/pkgs/by-name/xv/xvfb/package.nix @@ -38,7 +38,14 @@ stdenv.mkDerivation (finalAttrs: { pname = "xvfb"; - inherit (xorg-server) src version; + # TODO: commented out for rebuild avoidance after xorg-server update. revert + # on staging. + # inherit (xorg-server) src version; + version = "21.1.24"; + src = fetchurl { + url = "mirror://xorg/individual/xserver/xorg-server-${finalAttrs.version}.tar.xz"; + hash = "sha256-Gk6zbKZcw7G5NlZtZ3qXhuE8Ec1YBulRrFXz9c45hK8="; + }; strictDeps = true; From c62774d12608c1a065340f1b7658214ea15bcb81 Mon Sep 17 00:00:00 2001 From: K900 Date: Sun, 1 Nov 2026 09:27:19 +0300 Subject: [PATCH 2277/2378] opencloud: skip test that asserts on pixel-exact font rendering --- pkgs/by-name/op/opencloud/generic.nix | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/pkgs/by-name/op/opencloud/generic.nix b/pkgs/by-name/op/opencloud/generic.nix index 8f645f9bf6e3..5d0bfa8bfec6 100644 --- a/pkgs/by-name/op/opencloud/generic.nix +++ b/pkgs/by-name/op/opencloud/generic.nix @@ -210,6 +210,12 @@ buildGoModule (finalAttrs: { rm -f services/search/pkg/{opensearch,parity}/*_test.go ''; + # skip test that asserts on pixel-exact font rendering + checkFlags = [ + "-skip" + "TestService_PreviewFont" + ]; + # The activitylog tests start a local NATS server. __darwinAllowLocalNetworking = true; From ebd562e36db86a49bd7a8b4363a34ac52b81622a Mon Sep 17 00:00:00 2001 From: K900 Date: Sun, 1 Nov 2026 10:27:18 +0300 Subject: [PATCH 2278/2378] iptables: backport patch to fix build on aarch64-linux --- pkgs/by-name/ip/iptables/package.nix | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/pkgs/by-name/ip/iptables/package.nix b/pkgs/by-name/ip/iptables/package.nix index edac9389c652..bcd4fdb9668a 100644 --- a/pkgs/by-name/ip/iptables/package.nix +++ b/pkgs/by-name/ip/iptables/package.nix @@ -2,6 +2,7 @@ lib, stdenv, fetchurl, + fetchpatch, autoreconfHook, pkg-config, pruneLibtoolFiles, @@ -40,6 +41,14 @@ stdenv.mkDerivation (finalAttrs: { hash = "sha256-GvzTPano+ROs5qISZ4gWLiB+JvXV4pxlc8Dlgf/Fi5k="; }; + # Fix build with linux-headers 7.3 + patches = lib.optionals stdenv.hostPlatform.isAarch64 [ + (fetchpatch { + url = "https://lore.kernel.org/netfilter-devel/20261024135509.4097035-1-yegorslists@googlemail.com/raw"; + hash = "sha256-SYL0oqQObaQz03jriWbSckmGL2LwCUV4our0W4TmCus="; + }) + ]; + outputs = [ "out" "lib" From 24336171c7245c79b2c23d0c59f256e3cb06884a Mon Sep 17 00:00:00 2001 From: K900 Date: Sun, 1 Nov 2026 10:29:32 +0300 Subject: [PATCH 2279/2378] ebtables: backport patch to fix build on aarch64-linux --- pkgs/by-name/eb/ebtables/package.nix | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/pkgs/by-name/eb/ebtables/package.nix b/pkgs/by-name/eb/ebtables/package.nix index b996298f4e25..c682fc37b5ba 100644 --- a/pkgs/by-name/eb/ebtables/package.nix +++ b/pkgs/by-name/eb/ebtables/package.nix @@ -2,6 +2,7 @@ lib, stdenv, fetchurl, + fetchpatch, }: stdenv.mkDerivation (finalAttrs: { @@ -13,6 +14,14 @@ stdenv.mkDerivation (finalAttrs: { sha256 = "0apxgmkhsk3vxn9q3libxn3dgrdljrxyy4mli2gk49m7hi3na7xp"; }; + # Fix build with linux-headers 7.3 + patches = lib.optionals stdenv.hostPlatform.isAarch64 [ + (fetchpatch { + url = "https://lore.kernel.org/netfilter-devel/CAD04=wrZafKknWixGGRZWtYD_ydfdL4Uk39s_RkwZ6WUEVATKg@mail.gmail.com/2-0001-include-drop-bundled-copy-of-linux-types.h.patch"; + hash = "sha256-bEOXZTK557fVfRDrgd0RZX2N3XJxJG78S/MnvdG0UqY="; + }) + ]; + makeFlags = [ "LIBDIR=$(out)/lib" "BINDIR=$(out)/sbin" From 82caa3cd4297ae023abfff187a73c2a8b424dc73 Mon Sep 17 00:00:00 2001 From: K900 Date: Sun, 1 Nov 2026 10:49:01 +0300 Subject: [PATCH 2280/2378] bcachefs-tools: fix build with linux-headers 7.3 --- pkgs/by-name/bc/bcachefs-tools/package.nix | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/pkgs/by-name/bc/bcachefs-tools/package.nix b/pkgs/by-name/bc/bcachefs-tools/package.nix index 30dccbfc2fbc..58debff2a0e1 100644 --- a/pkgs/by-name/bc/bcachefs-tools/package.nix +++ b/pkgs/by-name/bc/bcachefs-tools/package.nix @@ -2,6 +2,7 @@ lib, stdenv, fetchFromGitHub, + fetchpatch, pkg-config, libuuid, libsodium, @@ -41,6 +42,14 @@ stdenv.mkDerivation (finalAttrs: { hash = "sha256-H8uzTohV30NU1wYhr/WXN76g1zDqGEzRE5QZcmcM7Jc="; }; + # Fix build with linux-headers 7.3 + patches = [ + (fetchpatch { + url = "https://github.com/koverstreet/bcachefs-tools/commit/adef3bf68249ac674ddc2cbdfe8c7d0d153e15a8.diff"; + hash = "sha256-nQsL+1fTQ4ltVyTIwIpO9z9nS66Dtr6WTepBZQ0phL8="; + }) + ]; + cargoDeps = rustPlatform.fetchCargoVendor { inherit (finalAttrs) src; hash = "sha256-4ZStyYaT+6Suup1ue2wFFCTAlnsnEO9WaUJHe47BKXY="; From 232fc0e035d7e2af17b755acc3ad2b02a193d9ed Mon Sep 17 00:00:00 2001 From: K900 Date: Sun, 1 Nov 2026 11:19:14 +0300 Subject: [PATCH 2281/2378] llvmPackages.llvm: also build NVPTX Used by ffmpeg CUDA things. --- pkgs/development/compilers/llvm/common/llvm/default.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkgs/development/compilers/llvm/common/llvm/default.nix b/pkgs/development/compilers/llvm/common/llvm/default.nix index 5851a1f237c7..9328b051301e 100644 --- a/pkgs/development/compilers/llvm/common/llvm/default.nix +++ b/pkgs/development/compilers/llvm/common/llvm/default.nix @@ -613,7 +613,7 @@ stdenv.mkDerivation ( # so build a reduced set of things that is vaguely reasonable # # ARM is here because cargo-auditable tests just assume LLVM knows what an ARM is. Don't ask. - (lib.cmakeFeature "LLVM_TARGETS_TO_BUILD" "Native;AMDGPU;ARM;BPF;SPIRV;WebAssembly") + (lib.cmakeFeature "LLVM_TARGETS_TO_BUILD" "Native;AMDGPU;ARM;BPF;NVPTX;SPIRV;WebAssembly") ] ++ devExtraCmakeFlags; From 497c05d7aeca78dc1fc68554b8984be94565d4aa Mon Sep 17 00:00:00 2001 From: K900 Date: Sun, 1 Nov 2026 11:40:52 +0300 Subject: [PATCH 2282/2378] python3Packages.litellm: fix after Rust devendoring --- pkgs/development/python-modules/litellm/default.nix | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/pkgs/development/python-modules/litellm/default.nix b/pkgs/development/python-modules/litellm/default.nix index 1027bf4be94c..f2a245f16127 100644 --- a/pkgs/development/python-modules/litellm/default.nix +++ b/pkgs/development/python-modules/litellm/default.nix @@ -4,6 +4,7 @@ aiohttp, anthropic, apscheduler, + aws-lc, azure-ai-contentsafety, azure-identity, azure-keyvault-secrets, @@ -40,12 +41,14 @@ litellm-proxy-extras, llm-sandbox, mcp, + oniguruma, openai, opentelemetry-api, opentelemetry-exporter-otlp, opentelemetry-sdk, orjson, packaging, + pkg-config, polars, prisma, prometheus-client, @@ -92,6 +95,12 @@ buildPythonPackage (finalAttrs: { nativeBuildInputs = with rustPlatform; [ cargoSetupHook maturinBuildHook + pkg-config + ]; + + buildInputs = [ + aws-lc + oniguruma ]; cargoRoot = "litellm-rust"; From fba10727c0f88d2422bf9102b2b4417bedf5f2e5 Mon Sep 17 00:00:00 2001 From: K900 Date: Sun, 1 Nov 2026 11:47:55 +0300 Subject: [PATCH 2283/2378] Revert "openblas: {0.3.33 -> 0.3.34, backport patches to fix racey buffer overflow} (#576934)" This reverts commit f7320130558b44765ef5cf13af85cce175d9076e, reversing changes made to ca9ffc4c51f52a9d35c9d5d941d91e06a7af5057. --- .../science/math/openblas/default.nix | 25 ++++++++----------- 1 file changed, 10 insertions(+), 15 deletions(-) diff --git a/pkgs/development/libraries/science/math/openblas/default.nix b/pkgs/development/libraries/science/math/openblas/default.nix index d7f22c54dbcb..89ad14774c9f 100644 --- a/pkgs/development/libraries/science/math/openblas/default.nix +++ b/pkgs/development/libraries/science/math/openblas/default.nix @@ -169,7 +169,7 @@ let in stdenv.mkDerivation (finalAttrs: { pname = "openblas"; - version = "0.3.34"; + version = "0.3.33"; outputs = [ "out" @@ -180,7 +180,7 @@ stdenv.mkDerivation (finalAttrs: { owner = "OpenMathLib"; repo = "OpenBLAS"; rev = "v${finalAttrs.version}"; - hash = "sha256-usCAvjNUua91vBd1aXjsTyx8YrpuAkKGOpiQ58fT8Hc="; + hash = "sha256-EArf0K2Gs+w8IRD5wkMOQv79e8yMoTgQfa9kzjXKn3Y="; }; patches = [ @@ -189,22 +189,17 @@ stdenv.mkDerivation (finalAttrs: { # INCLUDEDIR already fixed in upstream HEAD & significant refactor # to config gen so not PRing changes ./cmake-include-fixes.patch - - # Patches to fix racey buffer overflow in ~64 or more threads + # This was an attempted fix for the below commit but still leaves some scipy tests failing. (fetchpatch { - name = "centralize-buffer-release-bookkeeping.patch"; - url = "https://github.com/OpenMathLib/OpenBLAS/commit/95120da710e8ca28d7e6a896fd82cf1cdb0a07ad.patch"; - hash = "sha256-/6BhcVGDkrBgfwaMsOqvlZ03/cyIBNmGT84KYDLEcKY="; + url = "https://github.com/OpenMathLib/OpenBLAS/commit/e3ce4623c299068bbd47c35ee87aab334bac73b1.patch"; + revert = true; + hash = "sha256-WrP3RCDk/EbpqVOw9XGLnFI+6/bBGJTIrt2TRYGLVQ4="; }) + # This commit led to miscompilation of certain ASIMD extensions code paths. (fetchpatch { - name = "avoid-possible-hang-on-windows-by-introspecting-shutdown-state.patch"; - url = "https://github.com/OpenMathLib/OpenBLAS/commit/b8d83a72f4e12650e1c790bb43badcfb6e917875.patch"; - hash = "sha256-vIRI5ByW2IcSrQUiOJVd1Ngwusw9UUh+NLK5e9AVOxE="; - }) - (fetchpatch { - name = "fix-the-default-allocator-s-overflow-area.patch"; - url = "https://github.com/OpenMathLib/OpenBLAS/commit/0c6785998b516b85c0053669cc0c08e9287353fc.patch"; - hash = "sha256-jfRAn+IdGP5nfPLasYHBDRSu/HG6tKKAcSzb1urjL7Q="; + url = "https://github.com/OpenMathLib/OpenBLAS/commit/3f6e928d34aca977bd5d4191e6d2c2338a342.patch"; + revert = true; + hash = "sha256-EccgzxgyfAjVbV+HPemGHmzkRe0kpixu3eS3BZWr0g4="; }) ]; From c99e85bc6b5e8d2e828b063646edafeaa92a4acd Mon Sep 17 00:00:00 2001 From: Marie Ramlow Date: Sat, 31 Oct 2026 22:37:18 +0100 Subject: [PATCH 2284/2378] aws-lc: enable structuredAttrs and strictDeps --- pkgs/by-name/aw/aws-lc/package.nix | 3 +++ 1 file changed, 3 insertions(+) diff --git a/pkgs/by-name/aw/aws-lc/package.nix b/pkgs/by-name/aw/aws-lc/package.nix index d97cf6e458cc..a01994a7dd88 100644 --- a/pkgs/by-name/aw/aws-lc/package.nix +++ b/pkgs/by-name/aw/aws-lc/package.nix @@ -14,6 +14,9 @@ stdenv.mkDerivation (finalAttrs: { pname = "aws-lc"; version = "5.12.0"; + __structuredAttrs = true; + strictDeps = true; + src = fetchFromGitHub { owner = "aws"; repo = "aws-lc"; From 54aa296077e9e6b468c1efe1f61a9d77bf476127 Mon Sep 17 00:00:00 2001 From: Marie Ramlow Date: Sat, 31 Oct 2026 15:37:28 +0100 Subject: [PATCH 2285/2378] aws-lc: enable go and perl Runs the full test suite. Co-authored-by: whispers --- pkgs/by-name/aw/aws-lc/package.nix | 21 ++++++++++++++++++--- 1 file changed, 18 insertions(+), 3 deletions(-) diff --git a/pkgs/by-name/aw/aws-lc/package.nix b/pkgs/by-name/aw/aws-lc/package.nix index a01994a7dd88..98c3d92116b6 100644 --- a/pkgs/by-name/aw/aws-lc/package.nix +++ b/pkgs/by-name/aw/aws-lc/package.nix @@ -2,11 +2,15 @@ lib, stdenv, fetchFromGitHub, + buildGoModule, cmake, ninja, + go, + perl, rust-bindgen, testers, nix-update-script, + writableTmpDirAsHomeHook, useSharedLibraries ? !stdenv.hostPlatform.isStatic, withRustBindings ? true, }: @@ -31,17 +35,28 @@ stdenv.mkDerivation (finalAttrs: { ]; nativeBuildInputs = [ + writableTmpDirAsHomeHook cmake ninja + go + perl ] ++ lib.optionals withRustBindings [ rust-bindgen ]; + goDeps = + (buildGoModule { + inherit (finalAttrs) pname version src; + vendorHash = "sha256-495bUr3Cuo7kuhuNLMVhrVg9NXTAXyFmnXRmBrCHovA="; + }).goModules; + + preConfigure = '' + ln -s ${finalAttrs.goDeps} vendor + ''; + cmakeFlags = [ (lib.cmakeBool "BUILD_SHARED_LIBS" useSharedLibraries) - (lib.cmakeBool "DISABLE_GO" true) - (lib.cmakeBool "DISABLE_PERL" true) (lib.cmakeBool "GENERATE_RUST_BINDINGS" withRustBindings) ] ++ lib.optionals stdenv.cc.isGNU [ @@ -50,7 +65,7 @@ stdenv.mkDerivation (finalAttrs: { ]; doCheck = true; - checkTarget = "run_minimal_tests"; + checkTarget = "run_tests"; postInstall = '' moveToOutput lib/crypto/cmake "$dev" From e527e5e4dcf6fbd3a2472347c7dc58092d43b881 Mon Sep 17 00:00:00 2001 From: Marie Ramlow Date: Sat, 31 Oct 2026 15:37:28 +0100 Subject: [PATCH 2286/2378] aws-lc: prefix symbols by default Symbol prefixing avoids collisions with other libraries from the OpenSSL family in the same process. It can be turned off if needed using `aws-lc.override { symbolPrefix = null; }` --- .../aw/aws-lc/fix-dynamic-loading-test.patch | 94 +++++++++++++++++++ pkgs/by-name/aw/aws-lc/package.nix | 53 ++++++++++- 2 files changed, 142 insertions(+), 5 deletions(-) create mode 100644 pkgs/by-name/aw/aws-lc/fix-dynamic-loading-test.patch diff --git a/pkgs/by-name/aw/aws-lc/fix-dynamic-loading-test.patch b/pkgs/by-name/aw/aws-lc/fix-dynamic-loading-test.patch new file mode 100644 index 000000000000..b2b69c21ca4c --- /dev/null +++ b/pkgs/by-name/aw/aws-lc/fix-dynamic-loading-test.patch @@ -0,0 +1,94 @@ +diff --git i/crypto/CMakeLists.txt w/crypto/CMakeLists.txt +index 7bac21b..da56759 100644 +--- i/crypto/CMakeLists.txt ++++ w/crypto/CMakeLists.txt +@@ -895,20 +895,23 @@ if(BUILD_TESTING) + add_dependencies(${DYNAMIC_LOADING_TEST_EXEC} crypto) + set_test_location(${DYNAMIC_LOADING_TEST_EXEC}) + + set(DYNAMIC_LINKER_LIB "") + if(CMAKE_SYSTEM_NAME STREQUAL "Linux" OR APPLE OR ANDROID) + set(DYNAMIC_LINKER_LIB "dl") + endif() + + if (BUILD_SHARED_LIBS AND NOT WIN32) + target_compile_options(${DYNAMIC_LOADING_TEST_EXEC} PUBLIC "-DLIBCRYPTO_PATH=\"$\"") ++ if(BORINGSSL_PREFIX) ++ target_compile_options(${DYNAMIC_LOADING_TEST_EXEC} PUBLIC "-DSYMBOL_PREFIX=\"${BORINGSSL_PREFIX}_\"") ++ endif() + # Do not link to boringssl_gtest_main or any library that might be linked to libcrypto.so. + if(ANDROID) + target_link_libraries(${DYNAMIC_LOADING_TEST_EXEC} PUBLIC boringssl_gtest ${DYNAMIC_LINKER_LIB}) + else() + target_link_libraries(${DYNAMIC_LOADING_TEST_EXEC} PUBLIC boringssl_gtest pthread ${DYNAMIC_LINKER_LIB}) + endif() + endif() + + add_dependencies(all_tests ${DYNAMIC_LOADING_TEST_EXEC}) + +diff --git i/crypto/dynamic_loading_test.c w/crypto/dynamic_loading_test.c +index 4c37c28..88002dc 100644 +--- i/crypto/dynamic_loading_test.c ++++ w/crypto/dynamic_loading_test.c +@@ -20,53 +20,57 @@ + + #include + + #ifdef LIBCRYPTO_PATH + + #include + #include + #include + #include + ++#ifndef SYMBOL_PREFIX ++#define SYMBOL_PREFIX "" ++#endif ++ + typedef void (*fp_lc_clear_error_t)(void); + typedef int (*fp_lc_tl_func_t)(void); + typedef int (*fp_rand_bytes_t)(uint8_t *buf, size_t len); + + #define BUFFER_SIZE 16 + #define TEST_ITERS 10 + #define THREAD_COUNT 10 + + static void *cycle_thread_local_setup(void *lc_so) { + uint8_t buffer[BUFFER_SIZE]; +- fp_lc_clear_error_t lc_clear_error = dlsym(lc_so, "ERR_clear_error"); +- fp_rand_bytes_t lc_rand_bytes = dlsym(lc_so, "RAND_bytes"); +- fp_lc_tl_func_t lc_tl_clear = dlsym(lc_so, "AWSLC_thread_local_clear"); ++ fp_lc_clear_error_t lc_clear_error = dlsym(lc_so, SYMBOL_PREFIX "ERR_clear_error"); ++ fp_rand_bytes_t lc_rand_bytes = dlsym(lc_so, SYMBOL_PREFIX "RAND_bytes"); ++ fp_lc_tl_func_t lc_tl_clear = dlsym(lc_so, SYMBOL_PREFIX "AWSLC_thread_local_clear"); + + for (int i = 0; i < TEST_ITERS; i++) { + (*lc_clear_error)(); + if (1 != (*lc_rand_bytes)(buffer, BUFFER_SIZE)) { + fprintf(stderr, "Call to RAND_bytes failed."); + exit(1); + } + if (1 != (*lc_tl_clear)()) { + fprintf(stderr, "Call to AWSLC_thread_local_clear failed."); + exit(1); + } + } + + return NULL; + } + + static void *load_unload(void *ctx) { + const char* path = ctx; + void *lc_so = dlopen(path, RTLD_NOW); +- fp_lc_tl_func_t lc_tl_shutdown = dlsym(lc_so, "AWSLC_thread_local_shutdown"); ++ fp_lc_tl_func_t lc_tl_shutdown = dlsym(lc_so, SYMBOL_PREFIX "AWSLC_thread_local_shutdown"); + + pthread_t thread_id[THREAD_COUNT]; + for (int i = 0; i < THREAD_COUNT; i++) { + if (pthread_create(&thread_id[i], NULL, cycle_thread_local_setup, lc_so)) { + fprintf(stderr, "Call to pthread_create in load_unload failed."); + exit(1); + } + } + + // Also cycle on the current thread diff --git a/pkgs/by-name/aw/aws-lc/package.nix b/pkgs/by-name/aw/aws-lc/package.nix index 98c3d92116b6..a3e17f5ab249 100644 --- a/pkgs/by-name/aw/aws-lc/package.nix +++ b/pkgs/by-name/aw/aws-lc/package.nix @@ -10,14 +10,44 @@ rust-bindgen, testers, nix-update-script, + aws-lc, writableTmpDirAsHomeHook, + runCommand, useSharedLibraries ? !stdenv.hostPlatform.isStatic, withRustBindings ? true, + symbolPrefix ? "AWS_LC", }: + +let + aws-lc' = aws-lc.override { + useSharedLibraries = false; + symbolPrefix = null; + }; + symbols = + runCommand "aws-lc-symbols" + { + inherit (aws-lc) src; + nativeBuildInputs = [ + writableTmpDirAsHomeHook + go + ]; + } + '' + cd "$src" + go run ./util/read_symbols.go -out "$TMPDIR/symbols_crypto.txt" ${aws-lc'}/lib/libcrypto-awslc.a + go run ./util/read_symbols.go -out "$TMPDIR/symbols_ssl.txt" ${aws-lc'}/lib/libssl-awslc.a + cat "$TMPDIR"/symbols_{crypto,ssl}.txt > $out + ''; +in + stdenv.mkDerivation (finalAttrs: { pname = "aws-lc"; version = "5.12.0"; + patches = [ + ./fix-dynamic-loading-test.patch + ]; + __structuredAttrs = true; strictDeps = true; @@ -51,6 +81,13 @@ stdenv.mkDerivation (finalAttrs: { vendorHash = "sha256-495bUr3Cuo7kuhuNLMVhrVg9NXTAXyFmnXRmBrCHovA="; }).goModules; + # it seems that ENABLE_DIST_PKG rejects apple because of symbol versioning, + # but we disable symbol versioning ourselves. + postPatch = '' + substituteInPlace CMakeLists.txt \ + --replace-fail "if(NOT UNIX OR APPLE)" "if(NOT UNIX)" + ''; + preConfigure = '' ln -s ${finalAttrs.goDeps} vendor ''; @@ -58,10 +95,16 @@ stdenv.mkDerivation (finalAttrs: { cmakeFlags = [ (lib.cmakeBool "BUILD_SHARED_LIBS" useSharedLibraries) (lib.cmakeBool "GENERATE_RUST_BINDINGS" withRustBindings) + (lib.cmakeBool "ENABLE_DIST_PKG" true) + (lib.cmakeBool "ENABLE_SYMBOL_VERSIONING" false) ] ++ lib.optionals stdenv.cc.isGNU [ # Needed with gcc but breaks with clang (lib.cmakeFeature "CMAKE_C_FLAGS" "-Wno-error=stringop-overflow") + ] + ++ lib.optionals (symbolPrefix != null) [ + (lib.cmakeFeature "BORINGSSL_PREFIX" symbolPrefix) + (lib.cmakeFeature "BORINGSSL_PREFIX_SYMBOLS" (toString symbols)) ]; doCheck = true; @@ -93,9 +136,10 @@ stdenv.mkDerivation (finalAttrs: { passthru = { tests = { + unprefixed = aws-lc.override { symbolPrefix = null; }; version = testers.testVersion { package = finalAttrs.finalPackage; - command = "bssl version"; + command = "aws-lc-bssl version"; }; pkg-config = testers.testMetaPkgConfig finalAttrs.finalPackage; }; @@ -115,15 +159,14 @@ stdenv.mkDerivation (finalAttrs: { asl20 isc ]; - mainProgram = "bssl"; + mainProgram = "aws-lc-bssl"; maintainers = with lib.maintainers; [ whispersofthedawn ]; pkgConfigModules = [ "aws-lc" - "libcrypto" - "libssl" - "openssl" + "libcrypto-awslc" + "libssl-awslc" ]; platforms = lib.platforms.unix; }; From 8e5d4ae1947a069bb1abfd65df64865c4ea9125e Mon Sep 17 00:00:00 2001 From: Marie Ramlow Date: Sun, 1 Nov 2026 12:44:43 +0100 Subject: [PATCH 2287/2378] aws-lc: add option to build with an OpenSSL shim --- .../aw/aws-lc/fix-openssl-shim-symlinks.patch | 50 +++++++++++++++++++ pkgs/by-name/aw/aws-lc/package.nix | 5 +- 2 files changed, 54 insertions(+), 1 deletion(-) create mode 100644 pkgs/by-name/aw/aws-lc/fix-openssl-shim-symlinks.patch diff --git a/pkgs/by-name/aw/aws-lc/fix-openssl-shim-symlinks.patch b/pkgs/by-name/aw/aws-lc/fix-openssl-shim-symlinks.patch new file mode 100644 index 000000000000..b7ce3ccb4847 --- /dev/null +++ b/pkgs/by-name/aw/aws-lc/fix-openssl-shim-symlinks.patch @@ -0,0 +1,50 @@ +Commit ID: eaef466931b704cbded48be8c51f7a8fa75ca6e0 +Change ID: yxsyyzwrzkrtqvksxqsurozmktvqsssw +Author : Marie Ramlow (2026-11-01 13:28:50) +Committer: Marie Ramlow (2026-11-01 13:29:10) + + Fix OpenSSL-compat shim symlinks + +diff --git a/CMakeLists.txt b/CMakeLists.txt +index aa64e1aa22..005dc11c58 100644 +--- a/CMakeLists.txt ++++ b/CMakeLists.txt +@@ -1844,12 +1844,12 @@ + endif() + install(CODE " + execute_process(COMMAND \${CMAKE_COMMAND} -E create_symlink +- lib${CRYPTO_LIB_NAME}.${SHIM_LIB_EXT} \"\$ENV{DESTDIR}\${CMAKE_INSTALL_PREFIX}/${CMAKE_INSTALL_LIBDIR}/libcrypto.${SHIM_LIB_EXT}\") ++ lib${CRYPTO_LIB_NAME}.${SHIM_LIB_EXT} \"\$ENV{DESTDIR}${CMAKE_INSTALL_FULL_LIBDIR}/libcrypto.${SHIM_LIB_EXT}\") + " ${SHIM_LINK_COMPONENT}) + if(BUILD_LIBSSL) + install(CODE " + execute_process(COMMAND \${CMAKE_COMMAND} -E create_symlink +- lib${SSL_LIB_NAME}.${SHIM_LIB_EXT} \"\$ENV{DESTDIR}\${CMAKE_INSTALL_PREFIX}/${CMAKE_INSTALL_LIBDIR}/libssl.${SHIM_LIB_EXT}\") ++ lib${SSL_LIB_NAME}.${SHIM_LIB_EXT} \"\$ENV{DESTDIR}/${CMAKE_INSTALL_FULL_LIBDIR}/libssl.${SHIM_LIB_EXT}\") + " ${SHIM_LINK_COMPONENT}) + endif() + endif() +@@ -1858,7 +1858,7 @@ + # Always create the include directory symlink for OpenSSL compatibility + install(CODE " + execute_process(COMMAND \${CMAKE_COMMAND} -E create_symlink +- aws-lc/openssl \"\$ENV{DESTDIR}\${CMAKE_INSTALL_PREFIX}/${CMAKE_INSTALL_INCLUDEDIR}/openssl\") ++ aws-lc/openssl \"\$ENV{DESTDIR}/${CMAKE_INSTALL_FULL_INCLUDEDIR}/openssl\") + " COMPONENT Development) + endif() + endif() +diff --git a/tool-openssl/CMakeLists.txt b/tool-openssl/CMakeLists.txt +index 262b42aa00..6f16cfa198 100644 +--- a/tool-openssl/CMakeLists.txt ++++ b/tool-openssl/CMakeLists.txt +@@ -191,8 +191,8 @@ + if(INSTALL_OPENSSL_SHIM AND COHABITANT_BINARIES) + install(CODE " + execute_process(COMMAND \${CMAKE_COMMAND} -E create_symlink +- \"${AWSLC_BIN_PREFIX}openssl\" \"\$ENV{DESTDIR}\${CMAKE_INSTALL_PREFIX}/${CMAKE_INSTALL_BINDIR}/openssl\") ++ \"${AWSLC_BIN_PREFIX}openssl\" \"\$ENV{DESTDIR}/${CMAKE_INSTALL_FULL_BINDIR}/openssl\") + execute_process(COMMAND \${CMAKE_COMMAND} -E create_symlink +- \"${AWSLC_BIN_PREFIX}c_rehash\" \"\$ENV{DESTDIR}\${CMAKE_INSTALL_PREFIX}/${CMAKE_INSTALL_BINDIR}/c_rehash\") ++ \"${AWSLC_BIN_PREFIX}c_rehash\" \"\$ENV{DESTDIR}/${CMAKE_INSTALL_FULL_BINDIR}/c_rehash\") + ") + endif() diff --git a/pkgs/by-name/aw/aws-lc/package.nix b/pkgs/by-name/aw/aws-lc/package.nix index a3e17f5ab249..e34bc4a76cf2 100644 --- a/pkgs/by-name/aw/aws-lc/package.nix +++ b/pkgs/by-name/aw/aws-lc/package.nix @@ -16,6 +16,8 @@ useSharedLibraries ? !stdenv.hostPlatform.isStatic, withRustBindings ? true, symbolPrefix ? "AWS_LC", + # This option might lead to OpenSSL being silently swapped to AWS-LC. Only use it if you know what you are doing. + withOpenSSLShim ? false, }: let @@ -46,6 +48,7 @@ stdenv.mkDerivation (finalAttrs: { patches = [ ./fix-dynamic-loading-test.patch + ./fix-openssl-shim-symlinks.patch ]; __structuredAttrs = true; @@ -96,6 +99,7 @@ stdenv.mkDerivation (finalAttrs: { (lib.cmakeBool "BUILD_SHARED_LIBS" useSharedLibraries) (lib.cmakeBool "GENERATE_RUST_BINDINGS" withRustBindings) (lib.cmakeBool "ENABLE_DIST_PKG" true) + (lib.cmakeBool "ENABLE_DIST_PKG_OPENSSL_SHIM" withOpenSSLShim) (lib.cmakeBool "ENABLE_SYMBOL_VERSIONING" false) ] ++ lib.optionals stdenv.cc.isGNU [ @@ -136,7 +140,6 @@ stdenv.mkDerivation (finalAttrs: { passthru = { tests = { - unprefixed = aws-lc.override { symbolPrefix = null; }; version = testers.testVersion { package = finalAttrs.finalPackage; command = "aws-lc-bssl version"; From fa918613ad38c190efcf1382f136e1f0f29e953d Mon Sep 17 00:00:00 2001 From: Marie Ramlow Date: Sun, 1 Nov 2026 12:44:43 +0100 Subject: [PATCH 2288/2378] haproxy: use aws-lc with OpenSSL shim --- pkgs/by-name/ha/haproxy/package.nix | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/pkgs/by-name/ha/haproxy/package.nix b/pkgs/by-name/ha/haproxy/package.nix index e45638672ce1..bdbbb257585d 100644 --- a/pkgs/by-name/ha/haproxy/package.nix +++ b/pkgs/by-name/ha/haproxy/package.nix @@ -25,10 +25,15 @@ assert lib.assertOneOf "sslLibrary" sslLibrary [ let sslPkgs = { inherit - aws-lc libressl openssl ; + aws-lc = aws-lc.override { + # HAProxy wants to link against -lssl and -lcrypto + withOpenSSLShim = true; + # HAProxy gets confused with symbol prefixing enabled + symbolPrefix = null; + }; }; sslPkg = sslPkgs.${sslLibrary}; in From f714166ba2e671d98ad910b42427460b5330cd3b Mon Sep 17 00:00:00 2001 From: Marie Ramlow Date: Sat, 31 Oct 2026 20:19:01 +0100 Subject: [PATCH 2289/2378] trusttunnel-endpoint: use system aws-lc Needs __darwinAllowLocalNetworking, otherwise tests would fail on darwin. --- pkgs/by-name/tr/trusttunnel-endpoint/package.nix | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/pkgs/by-name/tr/trusttunnel-endpoint/package.nix b/pkgs/by-name/tr/trusttunnel-endpoint/package.nix index b8bcd14c800a..45a5fc86c446 100644 --- a/pkgs/by-name/tr/trusttunnel-endpoint/package.nix +++ b/pkgs/by-name/tr/trusttunnel-endpoint/package.nix @@ -6,6 +6,8 @@ boringssl, cacert, python3, + aws-lc, + pkg-config, }: rustPlatform.buildRustPackage (finalAttrs: { @@ -43,10 +45,12 @@ rustPlatform.buildRustPackage (finalAttrs: { nativeBuildInputs = [ rustPlatform.bindgenHook + pkg-config ]; buildInputs = [ boringssl + aws-lc ]; nativeCheckInputs = [ @@ -54,6 +58,8 @@ rustPlatform.buildRustPackage (finalAttrs: { python3 ]; + __darwinAllowLocalNetworking = true; + passthru.updateScript = nix-update-script { }; meta = { From 7d47ee0895042078253f708bb56fb568263a8d8f Mon Sep 17 00:00:00 2001 From: Jacek Galowicz Date: Sun, 1 Nov 2026 15:13:25 +0100 Subject: [PATCH 2290/2378] test-driver: add doctesting in checkphase --- nixos/lib/test-driver/default.nix | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/nixos/lib/test-driver/default.nix b/nixos/lib/test-driver/default.nix index 2c06392d065a..fdb946e28dc5 100644 --- a/nixos/lib/test-driver/default.nix +++ b/nixos/lib/test-driver/default.nix @@ -10,6 +10,7 @@ junit-xml, ptpython, pydantic, + pytest, python, ovmfvartool, remote-pdb, @@ -80,11 +81,14 @@ buildPythonApplication { doCheck = true; nativeCheckInputs = [ + pytest ruff ty ]; checkPhase = '' + echo -e "\x1b[32m## run doctests\x1b[0m" + pytest --doctest-modules -p no:cacheprovider test_driver echo -e "\x1b[32m## run ty\x1b[0m" # Installation adds the driver to PYTHONPATH; keep ty imports in the source tree. PYTHONPATH=".:$PYTHONPATH" ty check --error-on-warning test_driver extract-docstrings.py From 8a3c1ab04b28ed8af1229e812248b0b9a107e7d0 Mon Sep 17 00:00:00 2001 From: Weijia Wang <9713184+wegank@users.noreply.github.com> Date: Sun, 1 Nov 2026 15:13:32 +0100 Subject: [PATCH 2291/2378] sysprof: fix loongarch64-linux build --- pkgs/by-name/sy/sysprof/package.nix | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/pkgs/by-name/sy/sysprof/package.nix b/pkgs/by-name/sy/sysprof/package.nix index 6570d84ff486..5b168ef9c324 100644 --- a/pkgs/by-name/sy/sysprof/package.nix +++ b/pkgs/by-name/sy/sysprof/package.nix @@ -70,6 +70,13 @@ stdenv.mkDerivation (finalAttrs: { "-Dsystemdunitdir=lib/systemd/system" # In a separate libsysprof-capture package "-Dinstall-static=false" + ] + # FAILED: [code=1] src/libsysprof/tests/test-flatpak-info + # ld.bfd: src/libsysprof/tests/test-flatpak-info.p/test-flatpak-info.c.o: R_LARCH_ALIGN with offset 2 not aligned to instruction boundary + # ld.bfd: BFD (GNU Binutils) 2.46 assertion fail /build/binutils-with-gold-2.46/bfd/elfnn-loongarch.c:4355 + # ld.bfd: src/libsysprof/tests/test-flatpak-info.p/test-flatpak-info.c.o: relocation R_LARCH_CALL36 right shift 2 error 0xffffffffffffeecb + ++ lib.optionals stdenv.hostPlatform.isLoongArch64 [ + (lib.mesonBool "tests" false) ]; passthru = { From 8cf20d2c6cb0336de60cae72bc5ef0ac7f9e592d Mon Sep 17 00:00:00 2001 From: Marie Ramlow Date: Sun, 1 Nov 2026 14:38:06 +0100 Subject: [PATCH 2292/2378] matrix-authentication-service: use system aws-lc --- .../matrix-authentication-service/package.nix | 19 ++++++------------- 1 file changed, 6 insertions(+), 13 deletions(-) diff --git a/pkgs/by-name/ma/matrix-authentication-service/package.nix b/pkgs/by-name/ma/matrix-authentication-service/package.nix index 25e98d0a9c9c..4462c3de90d8 100644 --- a/pkgs/by-name/ma/matrix-authentication-service/package.nix +++ b/pkgs/by-name/ma/matrix-authentication-service/package.nix @@ -10,6 +10,7 @@ pkg-config, sqlite, zstd, + aws-lc, stdenv, open-policy-agent, cctools, @@ -63,6 +64,7 @@ rustPlatform.buildRustPackage (finalAttrs: { buildInputs = [ sqlite zstd + aws-lc ]; depsBuildBuild = [ buildPackages.stdenv.cc ]; @@ -87,19 +89,10 @@ rustPlatform.buildRustPackage (finalAttrs: { --replace-fail ./share/policy.wasm "$out/share/$pname/policy.wasm" ''; - preBuild = - let - buildTarget = stdenv.buildPlatform.rust.rustcTarget; - buildTargetUnderscore = lib.replaceString "-" "_" buildTarget; - in - '' - make -C policies - (cd "$pnpmRoot" && npm run build) - - # Fix aws-lc-sys cross-compilation - export CC_${buildTargetUnderscore}=$CC_FOR_BUILD - export CXX_${buildTargetUnderscore}=$CXX_FOR_BUILD - ''; + preBuild = '' + make -C policies + (cd "$pnpmRoot" && npm run build) + ''; # Adapted from https://github.com/element-hq/matrix-authentication-service/blob/v0.20.0/.github/workflows/build.yaml#L75-L84 postInstall = '' From 419f6dfc5671fe994c9039f7ceaa7e861ae8a18f Mon Sep 17 00:00:00 2001 From: Marie Ramlow Date: Sun, 1 Nov 2026 14:51:02 +0100 Subject: [PATCH 2293/2378] python3Packages.pyqwest: use system aws-lc and zstd --- .../python-modules/pyqwest/default.nix | 15 ++++++++------- 1 file changed, 8 insertions(+), 7 deletions(-) diff --git a/pkgs/development/python-modules/pyqwest/default.nix b/pkgs/development/python-modules/pyqwest/default.nix index 4a31f3f74d89..88e637418a62 100644 --- a/pkgs/development/python-modules/pyqwest/default.nix +++ b/pkgs/development/python-modules/pyqwest/default.nix @@ -3,12 +3,12 @@ buildPythonPackage, fetchFromGitHub, - # build-system - cmake, rustPlatform, + pkg-config, # dependencies opentelemetry-api, + pkgsHostTarget, }: buildPythonPackage (finalAttrs: { @@ -39,20 +39,21 @@ buildPythonPackage (finalAttrs: { ''; nativeBuildInputs = [ - # Only invoked by aws-lc-sys' build script; there is no top-level - # CMakeLists.txt to configure. - cmake + pkg-config rustPlatform.bindgenHook rustPlatform.cargoSetupHook rustPlatform.maturinBuildHook ]; - dontUseCmakeConfigure = true; - dependencies = [ opentelemetry-api ]; + buildInputs = [ + pkgsHostTarget.aws-lc + pkgsHostTarget.zstd + ]; + pythonImportsCheck = [ "pyqwest" ]; # The test suite spins up local HTTP/1, HTTP/2 and HTTP/3 servers through From 8cf399e78c898e29185e8b50641147100285d23e Mon Sep 17 00:00:00 2001 From: Marie Ramlow Date: Sun, 1 Nov 2026 15:07:42 +0100 Subject: [PATCH 2294/2378] mise: use system aws-lc and zstd --- pkgs/by-name/mi/mise/package.nix | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/pkgs/by-name/mi/mise/package.nix b/pkgs/by-name/mi/mise/package.nix index be4b4cb7369a..7186953339d8 100644 --- a/pkgs/by-name/mi/mise/package.nix +++ b/pkgs/by-name/mi/mise/package.nix @@ -11,7 +11,9 @@ direnv, git, pkg-config, + aws-lc, openssl, + zstd, cmake, cacert, tzdata, @@ -42,7 +44,11 @@ rustPlatform.buildRustPackage (finalAttrs: { pkg-config ]; - buildInputs = [ openssl ]; + buildInputs = [ + aws-lc + zstd + openssl + ]; postPatch = '' patchShebangs --build \ From f4999a89ba7eff1e3981435de6e8d62fce9aeb9e Mon Sep 17 00:00:00 2001 From: Marie Ramlow Date: Sun, 1 Nov 2026 15:07:42 +0100 Subject: [PATCH 2295/2378] fastcrw: use system aws-lc --- pkgs/by-name/fa/fastcrw/package.nix | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/pkgs/by-name/fa/fastcrw/package.nix b/pkgs/by-name/fa/fastcrw/package.nix index 748a99ae12b1..9efba5751680 100644 --- a/pkgs/by-name/fa/fastcrw/package.nix +++ b/pkgs/by-name/fa/fastcrw/package.nix @@ -3,7 +3,8 @@ rustPlatform, fetchFromGitHub, cacert, - cmake, + aws-lc, + pkg-config, versionCheckHook, nix-update-script, }: @@ -22,13 +23,12 @@ rustPlatform.buildRustPackage (finalAttrs: { cargoHash = "sha256-VEbM7WvJHhfbbW+9c7fwl5NoFYmDvfQwVKR1R/S+JfU="; - # aws-lc-sys drives its C build through cmake and generates its bindings. nativeBuildInputs = [ - cmake rustPlatform.bindgenHook + pkg-config ]; - dontUseCmakeConfigure = true; + buildInputs = [ aws-lc ]; # The crw-cli journeys drive the built binary against local mock servers, but # rustls still refuses to construct a client without a system trust store. @@ -59,6 +59,9 @@ rustPlatform.buildRustPackage (finalAttrs: { "--skip=scrape_with_impersonated_pin_400s_on_absent_tier_or_contradiction" "--skip=scrape_with_renderer_unavailable_returns_400" "--skip=v2_extract_blank_system_prompt_is_tolerated" + + # racy test + "--skip=with_timeout_falls_back_to_default_client_on_invalid_user_agent" ]; nativeInstallCheckInputs = [ versionCheckHook ]; From 30676b2023fc9fcabe59877d6e9bf2f4b74e5929 Mon Sep 17 00:00:00 2001 From: Marie Ramlow Date: Sun, 1 Nov 2026 16:27:44 +0100 Subject: [PATCH 2296/2378] greptimedb: use system deps Co-authored-by: K900 --- pkgs/by-name/gr/greptimedb/package.nix | 19 +++++++++++++------ 1 file changed, 13 insertions(+), 6 deletions(-) diff --git a/pkgs/by-name/gr/greptimedb/package.nix b/pkgs/by-name/gr/greptimedb/package.nix index d5a8e95532b6..b023d0a5cf31 100644 --- a/pkgs/by-name/gr/greptimedb/package.nix +++ b/pkgs/by-name/gr/greptimedb/package.nix @@ -2,10 +2,14 @@ lib, rustPlatform, fetchFromGitHub, - cmake, + aws-lc, pkg-config, protobuf, zlib, + zstd, + libgit2, + oniguruma, + rust-jemalloc-sys-unprefixed, nix-update-script, versionCheckHook, }: @@ -42,16 +46,19 @@ rustPlatform.buildRustPackage (finalAttrs: { ''; nativeBuildInputs = [ - cmake pkg-config protobuf rustPlatform.bindgenHook ]; - buildInputs = [ zlib ]; - - # cmake is here only to build the vendored C sources of aws-lc-sys - dontUseCmakeConfigure = true; + buildInputs = [ + zlib + aws-lc + zstd + libgit2 + oniguruma + rust-jemalloc-sys-unprefixed + ]; env = { # Installed binaries are stripped during fixup, so delete. From 6e2e299cdf0e673125928fdbc4f2f711ce176db8 Mon Sep 17 00:00:00 2001 From: Marie Ramlow Date: Sun, 1 Nov 2026 16:07:42 +0100 Subject: [PATCH 2297/2378] albyhub: use system sqlite in ldk-node --- pkgs/by-name/al/albyhub/ldk-node/default.nix | 3 +++ 1 file changed, 3 insertions(+) diff --git a/pkgs/by-name/al/albyhub/ldk-node/default.nix b/pkgs/by-name/al/albyhub/ldk-node/default.nix index d1ae446b85bf..b197dc46a767 100644 --- a/pkgs/by-name/al/albyhub/ldk-node/default.nix +++ b/pkgs/by-name/al/albyhub/ldk-node/default.nix @@ -4,6 +4,7 @@ fetchFromGitHub, cmake, llvmPackages, + sqlite, }: rustPlatform.buildRustPackage (finalAttrs: { @@ -30,6 +31,8 @@ rustPlatform.buildRustPackage (finalAttrs: { rustPlatform.bindgenHook ]; + buildInputs = [ sqlite ]; + # Add CFLAGS to suppress the stringop-overflow error during aws-lc-sys compilation. NIX_CFLAGS_COMPILE = "-Wno-error=stringop-overflow"; From b8d893a76946b8b5021f888f3658c2cf4b718515 Mon Sep 17 00:00:00 2001 From: Marie Ramlow Date: Sun, 1 Nov 2026 15:07:42 +0100 Subject: [PATCH 2298/2378] python3Packages.google-cloud-artifact-registry: 1.22.0 -> 1.23.0 --- .../python-modules/google-cloud-artifact-registry/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/google-cloud-artifact-registry/default.nix b/pkgs/development/python-modules/google-cloud-artifact-registry/default.nix index e10f2d5e3850..67aa528a6503 100644 --- a/pkgs/development/python-modules/google-cloud-artifact-registry/default.nix +++ b/pkgs/development/python-modules/google-cloud-artifact-registry/default.nix @@ -14,13 +14,13 @@ buildPythonPackage rec { pname = "google-cloud-artifact-registry"; - version = "1.22.0"; + version = "1.23.0"; pyproject = true; src = fetchPypi { pname = "google_cloud_artifact_registry"; inherit version; - hash = "sha256-DoFzqXrmld/PAsgyd6D9V04aOb5AnaY0W5Rb6+V3rZQ="; + hash = "sha256-PeA29DdEMfdCp8FH6Bm7FgpU0JiuEcVnq2XvHfX9JzQ="; }; build-system = [ setuptools ]; From c8447dc12bb140574fbb2b62fbca714466b21671 Mon Sep 17 00:00:00 2001 From: Marie Ramlow Date: Sun, 1 Nov 2026 15:07:42 +0100 Subject: [PATCH 2299/2378] python3Packages.google-cloud-compute: 1.42.0 -> 1.56.0 --- .../python-modules/google-cloud-compute/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/google-cloud-compute/default.nix b/pkgs/development/python-modules/google-cloud-compute/default.nix index 0e23f48da94c..ce8a08833276 100644 --- a/pkgs/development/python-modules/google-cloud-compute/default.nix +++ b/pkgs/development/python-modules/google-cloud-compute/default.nix @@ -13,13 +13,13 @@ buildPythonPackage rec { pname = "google-cloud-compute"; - version = "1.42.0"; + version = "1.56.0"; pyproject = true; src = fetchPypi { pname = "google_cloud_compute"; inherit version; - hash = "sha256-CLHbxXWLqlSRCHvO+1dOWdkRUgtxTtp5tOvxy0KdjZg="; + hash = "sha256-rWM5y65nl51skTH9eVy/rN657CTHjJwAcso3zDhfrjA="; }; build-system = [ setuptools ]; From 7c03acad87b38cc5bf3eb6bf175836ff90c87f09 Mon Sep 17 00:00:00 2001 From: Marie Ramlow Date: Sun, 1 Nov 2026 18:29:41 +0100 Subject: [PATCH 2300/2378] cargo-nextest: remove dependency on aws-lc Partially reverts 1032124b9fb6 --- pkgs/by-name/ca/cargo-nextest/package.nix | 13 +++++++++++-- 1 file changed, 11 insertions(+), 2 deletions(-) diff --git a/pkgs/by-name/ca/cargo-nextest/package.nix b/pkgs/by-name/ca/cargo-nextest/package.nix index 31a0b3c04c22..5797698b3faa 100644 --- a/pkgs/by-name/ca/cargo-nextest/package.nix +++ b/pkgs/by-name/ca/cargo-nextest/package.nix @@ -4,7 +4,6 @@ rustPlatform, fetchFromGitHub, pkg-config, - aws-lc, zstd, nix-update-script, }: @@ -24,12 +23,22 @@ rustPlatform.buildRustPackage (finalAttrs: { ./no-dtrace-macos.patch ]; + # Replace nextest-workspace-hack, otherwise we would still depend on aws-lc + postPatch = '' + cat > workspace-hack/Cargo.toml < Date: Sun, 1 Nov 2026 00:00:08 +0100 Subject: [PATCH 2301/2378] devenv: use native zstd and aws-lc --- pkgs/by-name/de/devenv/package.nix | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/pkgs/by-name/de/devenv/package.nix b/pkgs/by-name/de/devenv/package.nix index a8aa99767ef7..c9b2dadf7bb3 100644 --- a/pkgs/by-name/de/devenv/package.nix +++ b/pkgs/by-name/de/devenv/package.nix @@ -11,6 +11,7 @@ testers, cachix, nixVersions, + aws-lc, openssl, dbus, protobuf, @@ -19,6 +20,7 @@ glibcLocalesUtf8, boehmgc, libghostty-vt, + zstd, llvmPackages, nixd, bash, @@ -68,7 +70,6 @@ buildRustPackage { env = { RUSTFLAGS = "--cfg tracing_unstable"; LIBSQLITE3_SYS_USE_PKG_CONFIG = "1"; - OPENSSL_NO_VENDOR = "1"; DEVENV_IS_RELEASE = true; }; @@ -91,6 +92,7 @@ buildRustPackage { ]; buildInputs = [ + aws-lc openssl sqlite dbus @@ -103,6 +105,7 @@ buildRustPackage { nix_components.nix-cmd-c nix_components.nix-fetchers-c nix_components.nix-main-c + zstd ]; nativeCheckInputs = [ From d69ad2d8f37098923209a4d90dcaf758cedb4b2a Mon Sep 17 00:00:00 2001 From: Marie Ramlow Date: Sun, 1 Nov 2026 20:20:43 +0100 Subject: [PATCH 2302/2378] immich-machine-learning: relax pillow dependency --- pkgs/by-name/im/immich-machine-learning/package.nix | 1 + 1 file changed, 1 insertion(+) diff --git a/pkgs/by-name/im/immich-machine-learning/package.nix b/pkgs/by-name/im/immich-machine-learning/package.nix index 1dfa6bfbbb42..84f13f31180c 100644 --- a/pkgs/by-name/im/immich-machine-learning/package.nix +++ b/pkgs/by-name/im/immich-machine-learning/package.nix @@ -26,6 +26,7 @@ python.pkgs.buildPythonApplication (finalAttrs: { pythonRelaxDeps = [ "onnx" + "pillow" ]; build-system = with python.pkgs; [ From 045ca2d4ec27d274db4d6451628f14e6bbe5769f Mon Sep 17 00:00:00 2001 From: Maximilian Bosch Date: Sun, 1 Nov 2026 22:23:14 +0100 Subject: [PATCH 2303/2378] nixos/test-driver: dim log timer Since 509e09e6 we have a prefix like `[2.00s]` that shows the elapsed seconds of a test for each log-message. While it's arguably useful information, for me it's noise that I only care about in some specific cases which is why I'd prefer to have this dimmed as all the serial output. --- nixos/lib/test-driver/src/test_driver/logger.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nixos/lib/test-driver/src/test_driver/logger.py b/nixos/lib/test-driver/src/test_driver/logger.py index 64cb7e512a34..ea2d241deaab 100644 --- a/nixos/lib/test-driver/src/test_driver/logger.py +++ b/nixos/lib/test-driver/src/test_driver/logger.py @@ -242,7 +242,7 @@ class TerminalLogger(AbstractLogger): elapsed = time.monotonic() - self._start_time if "machine" in attributes: message = f"{attributes['machine']}: {message}" - return f"[{elapsed:.2f}s] {message}" + return Style.DIM + f"[{elapsed:.2f}s]" + Style.RESET_ALL + f" {message}" # ty: ignore[unsupported-operator] @staticmethod def _eprint(*args: object, **kwargs: Any) -> None: From 1f06be60530bad64f2b6866bec1924815fb28341 Mon Sep 17 00:00:00 2001 From: whoomee Date: Mon, 2 Nov 2026 00:01:38 +0100 Subject: [PATCH 2304/2378] python3Packages.datafusion: add zstd to buildInputs --- pkgs/development/python-modules/datafusion/default.nix | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/datafusion/default.nix b/pkgs/development/python-modules/datafusion/default.nix index 70b0d09267eb..463a91b51168 100644 --- a/pkgs/development/python-modules/datafusion/default.nix +++ b/pkgs/development/python-modules/datafusion/default.nix @@ -7,10 +7,11 @@ pythonOlder, # nativeBuildInputs + pkg-config, protoc, # buildInputs - protobuf, + pkgsHostTarget, # dependencies cloudpickle, @@ -49,11 +50,13 @@ buildPythonPackage (finalAttrs: { nativeBuildInputs = with rustPlatform; [ cargoSetupHook maturinBuildHook + pkg-config protoc ]; buildInputs = [ - protobuf + pkgsHostTarget.protobuf + pkgsHostTarget.zstd ]; dependencies = [ From cba4a701ff62b2709557912cd51c420c9f7f09b6 Mon Sep 17 00:00:00 2001 From: Tom Hunze Date: Sun, 1 Nov 2026 22:41:09 +0100 Subject: [PATCH 2305/2378] linux: fix unknown type name `__u128` on aarch64 Linux 7.3 started using `__u128` in its arm64 `sigcontext.h` UAPI header [1], which is pulled in by glibc's `signal.h`. `tools/` in the kernel source vendors its own `include/linux/types.h`, but that defines `__u128` only since Linux 7.3, causing kernel builds for Linux <7.3, e.g. 6.18, to fail [2]. [1] https://github.com/torvalds/linux/commit/d4bf9e08d412289ae7c9072378bed238c0274c55 [2] https://hydra.nixos.org/build/351646338 --- pkgs/os-specific/linux/kernel/patches.nix | 9 +++++++++ pkgs/top-level/linux-kernels.nix | 9 +++++++++ 2 files changed, 18 insertions(+) diff --git a/pkgs/os-specific/linux/kernel/patches.nix b/pkgs/os-specific/linux/kernel/patches.nix index 12cf001b6503..d2271a4a1e9f 100644 --- a/pkgs/os-specific/linux/kernel/patches.nix +++ b/pkgs/os-specific/linux/kernel/patches.nix @@ -32,4 +32,13 @@ name = "c23-compat-libbpf"; patch = ./C23-compat-6.1.patch; }; + + tools_128bit_types = rec { + name = "tools-add-128-bit-integer-types-for-aarch64"; + patch = fetchpatch { + name = name + ".patch"; + url = "https://github.com/torvalds/linux/commit/10a47fb67340bca274276faf855d7d460afd9a7a.patch"; + hash = "sha256-w6ZnvodW2kS3bqtZVvVN5qDt1Zc7fJvnywki3MBsER0="; + }; + }; } diff --git a/pkgs/top-level/linux-kernels.nix b/pkgs/top-level/linux-kernels.nix index a91b74e41b09..60f9ad96f1ef 100644 --- a/pkgs/top-level/linux-kernels.nix +++ b/pkgs/top-level/linux-kernels.nix @@ -49,6 +49,7 @@ in kernelPatches.bridge_stp_helper kernelPatches.request_key_helper kernelPatches.libbpf_C23_compat + kernelPatches.tools_128bit_types ]; }; @@ -57,6 +58,7 @@ in kernelPatches = [ kernelPatches.bridge_stp_helper kernelPatches.request_key_helper + kernelPatches.tools_128bit_types ]; }; @@ -65,6 +67,7 @@ in kernelPatches = [ kernelPatches.bridge_stp_helper kernelPatches.request_key_helper + kernelPatches.tools_128bit_types ]; }; @@ -73,6 +76,7 @@ in kernelPatches = [ kernelPatches.bridge_stp_helper kernelPatches.request_key_helper + kernelPatches.tools_128bit_types ]; }; @@ -81,6 +85,7 @@ in kernelPatches = [ kernelPatches.bridge_stp_helper kernelPatches.request_key_helper + kernelPatches.tools_128bit_types ]; }; @@ -115,6 +120,7 @@ in kernelPatches = [ kernelPatches.bridge_stp_helper kernelPatches.request_key_helper + kernelPatches.tools_128bit_types ]; }; @@ -126,6 +132,7 @@ in kernelPatches = [ kernelPatches.bridge_stp_helper kernelPatches.request_key_helper + kernelPatches.tools_128bit_types ]; }; linux_xanmod_stable = xanmodKernels { @@ -133,6 +140,7 @@ in kernelPatches = [ kernelPatches.bridge_stp_helper kernelPatches.request_key_helper + kernelPatches.tools_128bit_types ]; }; linux_xanmod_latest = xanmodKernels { @@ -140,6 +148,7 @@ in kernelPatches = [ kernelPatches.bridge_stp_helper kernelPatches.request_key_helper + kernelPatches.tools_128bit_types ]; }; } From b50cd6f860d5a24921529226f4db521775bc7555 Mon Sep 17 00:00:00 2001 From: whoomee Date: Mon, 2 Nov 2026 01:09:06 +0100 Subject: [PATCH 2306/2378] python3Packages.apscheduler: fix test failure --- .../python-modules/apscheduler/default.nix | 5 +++++ .../python-modules/apscheduler/pytz-offset.patch | 11 +++++++++++ 2 files changed, 16 insertions(+) create mode 100644 pkgs/development/python-modules/apscheduler/pytz-offset.patch diff --git a/pkgs/development/python-modules/apscheduler/default.nix b/pkgs/development/python-modules/apscheduler/default.nix index 0d03b1775976..44da12316b1c 100644 --- a/pkgs/development/python-modules/apscheduler/default.nix +++ b/pkgs/development/python-modules/apscheduler/default.nix @@ -28,6 +28,11 @@ buildPythonPackage rec { hash = "sha256-AhVlACRg0Xwy9XmFRl29of5uM2aJa5Gv2SzFuJXVCpE="; }; + patches = [ + # unclear how apscheduler could ever work since _offset has been removed from pytz for ages + ./pytz-offset.patch + ]; + postPatch = '' sed -i "/addopts/d" pyproject.toml ''; diff --git a/pkgs/development/python-modules/apscheduler/pytz-offset.patch b/pkgs/development/python-modules/apscheduler/pytz-offset.patch new file mode 100644 index 000000000000..f05f8087a9b9 --- /dev/null +++ b/pkgs/development/python-modules/apscheduler/pytz-offset.patch @@ -0,0 +1,11 @@ +--- a/src/apscheduler/util.py 1970-01-01 01:00:01.000000000 +0100 ++++ b/src/apscheduler/util.py 2026-11-02 01:03:59.743158612 +0100 +@@ -115,7 +115,7 @@ + if obj.zone: + return ZoneInfo(obj.zone) + +- return timezone(obj._offset) ++ return timezone(obj._utcoffset) + + return obj + From 266fc5a531eb54c484aebc4b15bd92f48ebddace Mon Sep 17 00:00:00 2001 From: whoomee Date: Mon, 2 Nov 2026 01:14:50 +0100 Subject: [PATCH 2307/2378] python3Packages.pytest-recording: use substituteInPlace over sed --- pkgs/development/python-modules/apscheduler/default.nix | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/pkgs/development/python-modules/apscheduler/default.nix b/pkgs/development/python-modules/apscheduler/default.nix index 44da12316b1c..2edee08e2b08 100644 --- a/pkgs/development/python-modules/apscheduler/default.nix +++ b/pkgs/development/python-modules/apscheduler/default.nix @@ -34,7 +34,8 @@ buildPythonPackage rec { ]; postPatch = '' - sed -i "/addopts/d" pyproject.toml + substituteInPlace pyproject.toml \ + --replace-fail 'addopts = "-rsx --tb=short"' "" ''; build-system = [ From af6e924be4dc759396e36ba7384d5474d4f8fc78 Mon Sep 17 00:00:00 2001 From: mirdukkkkk Date: Mon, 2 Nov 2026 02:30:50 +1300 Subject: [PATCH 2308/2378] mesa: always create the spirv2dxil output mesa: create spirv2dxil output directory before moving files --- pkgs/development/libraries/mesa/default.nix | 1 + 1 file changed, 1 insertion(+) diff --git a/pkgs/development/libraries/mesa/default.nix b/pkgs/development/libraries/mesa/default.nix index f771869d3efc..f2381d896cd1 100644 --- a/pkgs/development/libraries/mesa/default.nix +++ b/pkgs/development/libraries/mesa/default.nix @@ -355,6 +355,7 @@ stdenv.mkDerivation (finalAttrs: { mkdir -p $opencl/etc/OpenCL/vendors/ echo $opencl/lib/libRusticlOpenCL.so > $opencl/etc/OpenCL/vendors/rusticl.icd + mkdir -p $spirv2dxil moveToOutput bin/spirv2dxil $spirv2dxil moveToOutput "lib/libspirv_to_dxil*" $spirv2dxil ''; From 478f9fd8e5fdbb57d2e0cbec4690199ac3dbdae1 Mon Sep 17 00:00:00 2001 From: whoomee Date: Mon, 2 Nov 2026 03:01:29 +0100 Subject: [PATCH 2309/2378] libpkg-config: init at 0.1.4 --- pkgs/by-name/li/libpkg-config/package.nix | 49 +++++++++++++++++++++++ 1 file changed, 49 insertions(+) create mode 100644 pkgs/by-name/li/libpkg-config/package.nix diff --git a/pkgs/by-name/li/libpkg-config/package.nix b/pkgs/by-name/li/libpkg-config/package.nix new file mode 100644 index 000000000000..682174835d81 --- /dev/null +++ b/pkgs/by-name/li/libpkg-config/package.nix @@ -0,0 +1,49 @@ +{ + lib, + stdenv, + # Dependency of build2, so we must break cycle for this + build2-bootstrap, + darwin, + fetchurl, + enableShared ? !stdenv.hostPlatform.isStatic, + enableStatic ? !enableShared, +}: + +stdenv.mkDerivation (finalAttrs: { + pname = "libpkg-config"; + version = "0.1.4"; + + src = fetchurl { + url = "https://pkg.cppget.org/1/alpha/libpkg-config/libpkg-config-${finalAttrs.version}.tar.gz"; + hash = "sha256-1WhB2D1W/piNU8dJB0V37ZiOU6CWneapq4mqS5ypoN0="; + }; + + nativeBuildInputs = [ + build2-bootstrap + ] + ++ lib.optionals stdenv.hostPlatform.isDarwin [ + darwin.DarwinTools + ]; + + __structuredAttrs = true; + strictDeps = true; + + # Should be true for anything built with build2, + # but especially important when bootstrapping + disallowedReferences = [ build2-bootstrap ]; + + build2ConfigureFlags = [ + "config.bin.lib=${build2-bootstrap.configSharedStatic enableShared enableStatic}" + ]; + + doCheck = true; + + meta = { + description = "Fork of libpkgconf for build2"; + homepage = "https://build2.org/"; + downloadPage = "https://github.com/build2/libpkg-config"; + license = lib.licenses.isc; + maintainers = with lib.maintainers; [ tmarkus ]; + platforms = lib.platforms.all; + }; +}) From 81c11c713a3958469b0294f9b7b09d3b06a7a5ea Mon Sep 17 00:00:00 2001 From: whoomee Date: Mon, 2 Nov 2026 03:01:55 +0100 Subject: [PATCH 2310/2378] build2: use libpkg-config Upstream forked libpkgconf because of frequent compatibility issues. Fixes the breakage introduced through updating libpkgconf to 3.0.8. --- pkgs/by-name/bu/build2/package.nix | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/pkgs/by-name/bu/build2/package.nix b/pkgs/by-name/bu/build2/package.nix index 7e70389f408e..38916326c0ec 100644 --- a/pkgs/by-name/bu/build2/package.nix +++ b/pkgs/by-name/bu/build2/package.nix @@ -6,7 +6,7 @@ fetchurl, fixDarwinDylibNames, libbutl, - libpkgconf, + libpkg-config, buildPackages, enableShared ? !stdenv.hostPlatform.isStatic, enableStatic ? !enableShared, @@ -45,11 +45,10 @@ stdenv.mkDerivation (finalAttrs: { disallowedReferences = [ build2-bootstrap libbutl.dev - libpkgconf.dev ]; buildInputs = [ libbutl - libpkgconf + libpkg-config ]; # Build2 uses @rpath on darwin @@ -71,8 +70,6 @@ stdenv.mkDerivation (finalAttrs: { build2ConfigureFlags = [ "config.bin.lib=${configSharedStatic enableShared enableStatic}" - "config.cc.poptions+=-I${lib.getDev libpkgconf}/include/pkgconf" - "config.build2.libpkgconf=true" ]; postInstall = lib.optionalString stdenv.hostPlatform.isDarwin '' From f5216bc2039957ca55794f8dcbe7de2078ebb1df Mon Sep 17 00:00:00 2001 From: Ihar Hrachyshka Date: Sat, 31 Oct 2026 12:47:06 -0400 Subject: [PATCH 2311/2378] stdenv/darwin: include libplist in bootstrap tools The community forked sigtool links against libplist. --- pkgs/stdenv/darwin/stdenv-bootstrap-tools.nix | 2 ++ 1 file changed, 2 insertions(+) diff --git a/pkgs/stdenv/darwin/stdenv-bootstrap-tools.nix b/pkgs/stdenv/darwin/stdenv-bootstrap-tools.nix index ead8343515be..5d49a50c4985 100644 --- a/pkgs/stdenv/darwin/stdenv-bootstrap-tools.nix +++ b/pkgs/stdenv/darwin/stdenv-bootstrap-tools.nix @@ -22,6 +22,7 @@ ld64, libffi, libiconv, + libplist, libxml2, llvmPackages, ncurses, @@ -180,6 +181,7 @@ stdenv.mkDerivation (finalAttrs: { # copy sigtool cp -d ${getBin darwin.sigtool}/bin/{codesign,sigtool} $out/bin + cp -d ${getLib libplist}/lib/libplist*.dylib $out/lib # tools needed to unpack bootstrap archive mkdir -p unpack/bin unpack/lib From 9990dd603d5074a137eb3642309e764d07f420ab Mon Sep 17 00:00:00 2001 From: K900 Date: Mon, 2 Nov 2026 09:06:02 +0300 Subject: [PATCH 2312/2378] python3Packages.hf-xet: update for the great devendoring --- pkgs/development/python-modules/hf-xet/default.nix | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/pkgs/development/python-modules/hf-xet/default.nix b/pkgs/development/python-modules/hf-xet/default.nix index e24807cbc279..d988e927824a 100644 --- a/pkgs/development/python-modules/hf-xet/default.nix +++ b/pkgs/development/python-modules/hf-xet/default.nix @@ -4,7 +4,7 @@ fetchFromGitHub, pkg-config, rustPlatform, - openssl, + aws-lc, # tests cacert, @@ -43,11 +43,9 @@ buildPythonPackage (finalAttrs: { ]; buildInputs = [ - openssl + aws-lc ]; - env.OPENSSL_NO_VENDOR = 1; - pythonImportsCheck = [ "hf_xet" ]; nativeCheckInputs = [ From fdc0faecfb05bec57fed006f1bc5fed8bfe98edb Mon Sep 17 00:00:00 2001 From: Jacek Galowicz Date: Sun, 1 Nov 2026 15:22:17 +0100 Subject: [PATCH 2313/2378] test-driver: doctest some pure functions --- .../lib/test-driver/src/test_driver/driver.py | 24 ++++++++++ .../test-driver/src/test_driver/duration.py | 24 +++++++++- .../lib/test-driver/src/test_driver/logger.py | 21 ++++++++- .../src/test_driver/machine/__init__.py | 47 +++++++++++++++++-- .../src/test_driver/machine/qmp.py | 17 +++++++ .../src/test_driver/polling_condition.py | 29 ++++++++++++ 6 files changed, 156 insertions(+), 6 deletions(-) diff --git a/nixos/lib/test-driver/src/test_driver/driver.py b/nixos/lib/test-driver/src/test_driver/driver.py index a586ad79af65..8160b2356751 100644 --- a/nixos/lib/test-driver/src/test_driver/driver.py +++ b/nixos/lib/test-driver/src/test_driver/driver.py @@ -87,6 +87,30 @@ def get_tmp_dir() -> Path: def pythonize_name(name: str) -> str: + """Turn a machine name into a valid Python identifier. + + Names that already are valid identifiers stay the same: + + >>> pythonize_name("node_1") + 'node_1' + + Every character that is not allowed in an identifier becomes "_": + + >>> pythonize_name("my-vm") + 'my_vm' + >>> pythonize_name("web.example.org") + 'web_example_org' + >>> pythonize_name("münchen") + 'm_nchen' + + A leading digit is replaced rather than prefixed, so it gets lost, while + digits later in the name are kept: + + >>> pythonize_name("1node") + '_node' + >>> pythonize_name("12node") + '_2node' + """ return re.sub(r"^[^A-Za-z_]|[^A-Za-z0-9_]", "_", name) diff --git a/nixos/lib/test-driver/src/test_driver/duration.py b/nixos/lib/test-driver/src/test_driver/duration.py index ce085fbfa8a5..87c4d7be7fbd 100644 --- a/nixos/lib/test-driver/src/test_driver/duration.py +++ b/nixos/lib/test-driver/src/test_driver/duration.py @@ -14,6 +14,22 @@ def as_timedelta(duration: Duration) -> dt.timedelta: Bare numbers are interpreted as seconds. This keeps existing test scripts that pass plain integers working while `datetime.timedelta` becomes the preferred way to express durations. + + >>> as_timedelta(dt.timedelta(minutes=1)) + datetime.timedelta(seconds=60) + >>> as_timedelta(90) + datetime.timedelta(seconds=90) + >>> as_timedelta(1.5) + datetime.timedelta(seconds=1, microseconds=500000) + + A `bool` is an `int` in Python, but it is never a valid duration: + + >>> as_timedelta(True) + Traceback (most recent call last): + TypeError: expected a duration, got bool: True + >>> as_timedelta("1") + Traceback (most recent call last): + TypeError: expected a timedelta, int, or float duration, got str """ if isinstance(duration, dt.timedelta): return duration @@ -27,7 +43,13 @@ def as_timedelta(duration: Duration) -> dt.timedelta: def as_seconds(duration: Duration) -> float: - """Coerce a `Duration` into a floating-point number of seconds.""" + """Coerce a `Duration` into a floating-point number of seconds. + + >>> as_seconds(90) + 90.0 + >>> as_seconds(dt.timedelta(minutes=1, milliseconds=500)) + 60.5 + """ return as_timedelta(duration).total_seconds() diff --git a/nixos/lib/test-driver/src/test_driver/logger.py b/nixos/lib/test-driver/src/test_driver/logger.py index 64cb7e512a34..b2c30f8ab3a9 100644 --- a/nixos/lib/test-driver/src/test_driver/logger.py +++ b/nixos/lib/test-driver/src/test_driver/logger.py @@ -322,10 +322,27 @@ class XMLLogger(AbstractLogger): self.xml.endDocument() self.logfile_handle.close() - def sanitise(self, message: str) -> str: + @staticmethod + def sanitise(message: str) -> str: + r"""Remove the characters of Unicode's "Other" categories, such as + control characters, from serial output before it is written to XML. + + >>> XMLLogger.sanitise("booting\x00...\x07") + 'booting...' + >>> XMLLogger.sanitise("Grüße") + 'Grüße' + """ return "".join(ch for ch in message if unicodedata.category(ch)[0] != "C") - def maybe_prefix(self, message: str, attributes: dict[str, str]) -> str: + @staticmethod + def maybe_prefix(message: str, attributes: dict[str, str]) -> str: + """Prefix the message with the name of the machine, if there is one. + + >>> XMLLogger.maybe_prefix("booting", {"machine": "server"}) + 'server: booting' + >>> XMLLogger.maybe_prefix("booting", {}) + 'booting' + """ if "machine" in attributes: return f"{attributes['machine']}: {message}" return message diff --git a/nixos/lib/test-driver/src/test_driver/machine/__init__.py b/nixos/lib/test-driver/src/test_driver/machine/__init__.py index e5c953a0fd58..b01feef0dca4 100644 --- a/nixos/lib/test-driver/src/test_driver/machine/__init__.py +++ b/nixos/lib/test-driver/src/test_driver/machine/__init__.py @@ -139,7 +139,22 @@ XDOTOOL_MODIFIER_ALIASES = { def xdotool_key_sequence(key: str) -> str: """Translate a QEMU-style key chord to xdotool syntax. - For example, "ctrl-alt-ret" becomes "ctrl+alt+Return". + >>> xdotool_key_sequence("ctrl-alt-ret") + 'ctrl+alt+Return' + >>> xdotool_key_sequence("meta_l-x") + 'super+x' + >>> xdotool_key_sequence("alt-f4") + 'alt+F4' + + A modifier on its own is a regular key: + + >>> xdotool_key_sequence("shift") + 'Shift_L' + + A "-" that follows a modifier is the key itself, not a separator: + + >>> xdotool_key_sequence("ctrl--") + 'ctrl+-' """ parts = key.split("-") modifiers = [] @@ -154,6 +169,13 @@ def xdotool_key_sequence(key: str) -> str: def make_command(args: list) -> str: + """Join arguments into a shell command, quoting each one as a single word. + + >>> make_command(["echo", "a b", 1]) + "echo 'a b' 1" + >>> make_command(["ls", "*"]) + "ls '*'" + """ return " ".join(map(shlex.quote, (map(str, args)))) @@ -217,6 +239,13 @@ class QemuStartCommand: These Nix commands have the particular characteristic that the machine name can be extracted out of them via a regex match. (Admittedly a _very_ implicit contract, TODO fix this eventually.) + + >>> QemuStartCommand("/nix/store/hash-nixos-vm/bin/run-foo-vm").machine_name + 'foo' + >>> QemuStartCommand("run-foo-bar-vm").machine_name + 'foo-bar' + >>> QemuStartCommand("/some/script").machine_name + 'machine' """ match = re.search("run-(.+)-vm$", self._cmd) name = "machine" @@ -1690,7 +1719,19 @@ class NspawnMachine(BaseMachine): vnc: NspawnVnc | None @staticmethod - def machine_name_from_start_command(start_command: str) -> str: + def _machine_name_from_start_command(start_command: str) -> str: + """Extract the machine name from a start script of a container. + + >>> NspawnMachine._machine_name_from_start_command( + ... "/nix/store/hash-container/bin/run-foo-nspawn" + ... ) + 'foo' + >>> NspawnMachine._machine_name_from_start_command("run-foo-bar-nspawn") + 'foo-bar' + >>> NspawnMachine._machine_name_from_start_command("/some/script") + Traceback (most recent call last): + AssertionError: Could not extract node name from /some/script + """ match = re.search("run-(.+)-nspawn", os.path.basename(start_command)) assert match is not None, f"Could not extract node name from {start_command}" return match.group(1) @@ -1710,7 +1751,7 @@ class NspawnMachine(BaseMachine): # See analogous TODO in `QemuStartCommand::machine_name`. super().__init__( out_dir=out_dir, - name=name or self.machine_name_from_start_command(start_command), + name=name or self._machine_name_from_start_command(start_command), logger=logger, callbacks=callbacks, tmp_dir=tmp_dir, diff --git a/nixos/lib/test-driver/src/test_driver/machine/qmp.py b/nixos/lib/test-driver/src/test_driver/machine/qmp.py index 6a5612e8a0c4..999589c4571b 100644 --- a/nixos/lib/test-driver/src/test_driver/machine/qmp.py +++ b/nixos/lib/test-driver/src/test_driver/machine/qmp.py @@ -12,6 +12,23 @@ logger = logging.getLogger(__name__) class QMPAPIError(RuntimeError): + """An error response from the QMP API. + + >>> error = {"class": "GenericError", "desc": "boom"} + >>> print(QMPAPIError({"error": error, "id": 3})) + + + The transaction id is absent from errors that the server hits before it + could read the id: + + >>> print(QMPAPIError({"error": error})) + + + >>> QMPAPIError({"error": {"class": "GenericError"}}) + Traceback (most recent call last): + RuntimeError: Malformed QMP API error response + """ + def __init__(self, message: dict[str, Any]): assert "error" in message, "Not an error message!" error = message["error"] diff --git a/nixos/lib/test-driver/src/test_driver/polling_condition.py b/nixos/lib/test-driver/src/test_driver/polling_condition.py index 0cf18bd9fe54..f3746dc012e7 100644 --- a/nixos/lib/test-driver/src/test_driver/polling_condition.py +++ b/nixos/lib/test-driver/src/test_driver/polling_condition.py @@ -13,6 +13,35 @@ class PollingConditionError(Exception): class PollingCondition: + """A condition that gets checked periodically while a test runs. + + The description comes from the `description` argument. Without one, it + falls back to the docstring of the condition, and then to its name: + + >>> from test_driver.logger import CompositeLogger + >>> logger = CompositeLogger([]) + >>> def service_runs(): + ... "The service is running" + >>> def no_docstring(): + ... pass + >>> PollingCondition(service_runs, logger, description="custom").description + 'custom' + >>> PollingCondition(service_runs, logger).description + 'The service is running' + >>> PollingCondition(no_docstring, logger).description + 'no_docstring' + + Log messages include the description: + + >>> condition = PollingCondition(service_runs, logger) + >>> condition.nested_message + "Checking polling condition 'The service is running'" + >>> condition.status_message(True) + 'Polling condition succeeded: The service is running' + >>> condition.status_message(False) + 'Polling condition failed: The service is running' + """ + condition: Callable[[], bool] interval: dt.timedelta description: str | None From ad8d8b2dd6bd41c855e6702cbea934ac98e2cd7c Mon Sep 17 00:00:00 2001 From: Jacek Galowicz Date: Mon, 2 Nov 2026 09:27:38 +0100 Subject: [PATCH 2314/2378] test-driver: outsource some code to pure functions for doctests --- .../src/test_driver/machine/__init__.py | 190 ++++++++++++------ 1 file changed, 130 insertions(+), 60 deletions(-) diff --git a/nixos/lib/test-driver/src/test_driver/machine/__init__.py b/nixos/lib/test-driver/src/test_driver/machine/__init__.py index b01feef0dca4..22dee5b97dc2 100644 --- a/nixos/lib/test-driver/src/test_driver/machine/__init__.py +++ b/nixos/lib/test-driver/src/test_driver/machine/__init__.py @@ -179,6 +179,32 @@ def make_command(args: list) -> str: return " ".join(map(shlex.quote, (map(str, args)))) +def parse_systemctl_property(line: str) -> tuple[str, str] | None: + """Split a line of `systemctl show` output into its property and value. + + >>> parse_systemctl_property("Id=foo.service") + ('Id', 'foo.service') + + Only the first "=" separates the two, and values can be empty: + + >>> parse_systemctl_property("Environment=A=1 B=2") + ('Environment', 'A=1 B=2') + >>> parse_systemctl_property("Description=") + ('Description', '') + + Lines that aren't properties yield `None`: + + >>> parse_systemctl_property("") is None + True + >>> parse_systemctl_property("no property") is None + True + """ + match = re.match(r"^([^=]+)=(.*)$", line) + if match is None: + return None + return match[1], match[2] + + def retry( fn: Callable, timeout_seconds: int | dt.timedelta | None = None, @@ -426,6 +452,29 @@ class BaseMachine(ABC): """Shutdown the machine gracefully, waiting for it to exit.""" ... + @staticmethod + def _systemctl_command(q: str, user: str | None = None) -> str: + r"""Build a `systemctl` command, or a `systemctl --user` one for `user`. + + >>> print(BaseMachine._systemctl_command("list-jobs --no-pager")) + systemctl list-jobs --no-pager + >>> print(BaseMachine._systemctl_command("list-jobs --no-pager", "alice")) + su -l alice --shell /bin/sh -c $'XDG_RUNTIME_DIR=/run/user/`id -u` systemctl --user list-jobs --no-pager' + + Single quotes survive the surrounding `$'...'`: + + >>> print(BaseMachine._systemctl_command("show 'foo bar'", "alice")) + su -l alice --shell /bin/sh -c $'XDG_RUNTIME_DIR=/run/user/`id -u` systemctl --user show \'foo bar\'' + """ + if user is None: + return f"systemctl {q}" + escaped = q.replace("'", "\\'") + return ( + f"su -l {user} --shell /bin/sh -c " + "$'XDG_RUNTIME_DIR=/run/user/`id -u` " + f"systemctl --user {escaped}'" + ) + def systemctl(self, q: str, user: str | None = None) -> tuple[int, str]: """ Runs `systemctl` commands with optional support for @@ -440,14 +489,7 @@ class BaseMachine(ABC): machine.systemctl("list-jobs --no-pager", "any-user") ``` """ - if user is not None: - q = q.replace("'", "\\'") - return self.execute( - f"su -l {user} --shell /bin/sh -c " - "$'XDG_RUNTIME_DIR=/run/user/`id -u` " - f"systemctl --user {q}'" - ) - return self.execute(f"systemctl {q}") + return self.execute(self._systemctl_command(q, user)) def wait_for_unit( self, @@ -496,17 +538,10 @@ class BaseMachine(ABC): + f" failed with exit code {status}" ) - line_pattern = re.compile(r"^([^=]+)=(.*)$") - - def tuple_from_line(line: str) -> tuple[str, str]: - match = line_pattern.match(line) - assert match is not None - return match[1], match[2] - return dict( - tuple_from_line(line) + parsed for line in lines.split("\n") - if line_pattern.match(line) + if (parsed := parse_systemctl_property(line)) is not None ) def get_unit_property( @@ -534,12 +569,12 @@ class BaseMachine(ABC): f"produced invalid output: {lines}" ) - line_pattern = re.compile(r"^([^=]+)=(.*)$") - match = line_pattern.match(lines) - assert match is not None, invalid_output_message + parsed = parse_systemctl_property(lines) + assert parsed is not None, invalid_output_message - assert match[1] == property, invalid_output_message - return match[2] + name, value = parsed + assert name == property, invalid_output_message + return value def require_unit_state(self, unit: str, require_state: str = "active") -> None: """ @@ -1207,15 +1242,18 @@ class QemuMachine(BaseMachine): """Debugging: Dump the contents of the TTY""" self.execute(f"fold -w 80 /dev/vcs{tty} | systemd-cat") - def _execute( - self, - command: str, - check_return: bool = True, - check_output: bool = True, - timeout: dt.timedelta | None = dt.timedelta(minutes=15), - ) -> tuple[int, str]: - self.connect() + @staticmethod + def _shell_command(command: str, timeout: dt.timedelta | None) -> str: + """Build the line that runs `command` over the shell of the machine. + The command runs with strict shell options, and its output gets + base64-encoded so that it can be read back as a single line: + + >>> print(QemuMachine._shell_command("echo 'hi'", dt.timedelta(seconds=10))) + timeout 10.0 bash -c 'set -euo pipefail; echo '"'"'hi'"'"'' | (base64 -w 0; echo) + >>> print(QemuMachine._shell_command("true", None).strip()) + bash -c 'set -euo pipefail; true' | (base64 -w 0; echo) + """ # Always run command with shell opts command = f"set -euo pipefail; {command}" @@ -1225,12 +1263,19 @@ class QemuMachine(BaseMachine): # While sh is bash on NixOS, this is not the case for every distro. # We explicitly call bash here to allow for the driver to boot other distros as well. - out_command = ( - f"{timeout_str} bash -c {shlex.quote(command)} | (base64 -w 0; echo)\n" - ) + return f"{timeout_str} bash -c {shlex.quote(command)} | (base64 -w 0; echo)" + + def _execute( + self, + command: str, + check_return: bool = True, + check_output: bool = True, + timeout: dt.timedelta | None = dt.timedelta(minutes=15), + ) -> tuple[int, str]: + self.connect() assert self.shell - self.shell.send(out_command.encode()) + self.shell.send(f"{self._shell_command(command, timeout)}\n".encode()) if not check_output: return (-2, "") @@ -1784,6 +1829,33 @@ class NspawnMachine(BaseMachine): with self.nested("waiting for the X11 server"): retry(check_x, as_timedelta(timeout)) + @staticmethod + def _xdotool_command(key: str) -> str: + """Build the xdotool command that presses a QEMU-style key. + + Literal characters get typed to avoid key syntax, e.g. "+" as a chord + separator: + + >>> print(NspawnMachine._xdotool_command("a")) + xdotool type --clearmodifiers --delay 0 -- a + >>> print(NspawnMachine._xdotool_command("+")) + xdotool type --clearmodifiers --delay 0 -- + + + Everything else is a key chord: + + >>> print(NspawnMachine._xdotool_command("ctrl-alt-ret")) + xdotool key --clearmodifiers ctrl+alt+Return + >>> print(NspawnMachine._xdotool_command("\\n")) + xdotool key --clearmodifiers Return + """ + if len(key) == 1 and key.isprintable(): + return make_command( + ["xdotool", "type", "--clearmodifiers", "--delay", 0, "--", key] + ) + return make_command( + ["xdotool", "key", "--clearmodifiers", xdotool_key_sequence(key)] + ) + def send_key( self, key: str, @@ -1793,25 +1865,7 @@ class NspawnMachine(BaseMachine): _warn_if_numeric_duration(delay, "send_key") context = self.nested(f"sending key {repr(key)}") if log else nullcontext() with context: - # Type literal characters to avoid key syntax, e.g. "+" as a chord separator. - if len(key) == 1 and key.isprintable(): - command = [ - "xdotool", - "type", - "--clearmodifiers", - "--delay", - 0, - "--", - key, - ] - else: - command = [ - "xdotool", - "key", - "--clearmodifiers", - xdotool_key_sequence(key), - ] - self.succeed(make_command(command)) + self.succeed(self._xdotool_command(key)) if delay is not None: time.sleep(as_seconds(delay)) @@ -1877,6 +1931,28 @@ class NspawnMachine(BaseMachine): def is_up(self) -> bool: return self.process is not None + @staticmethod + def _parse_sd_notify(data: bytes) -> tuple[bool, int | None]: + """Extract readiness and the leader PID from an `sd_notify` datagram. + + >>> NspawnMachine._parse_sd_notify(b"READY=1\\n") + (True, None) + >>> NspawnMachine._parse_sd_notify(b"X_NSPAWN_LEADER_PID=42\\n") + (False, 42) + >>> NspawnMachine._parse_sd_notify(b"X_NSPAWN_LEADER_PID=42\\nREADY=1\\n") + (True, 42) + >>> NspawnMachine._parse_sd_notify(b"STATUS=Starting up\\n") + (False, None) + """ + ready = False + leader_pid = None + for line in data.decode(errors="replace").splitlines(): + if line == "READY=1": + ready = True + if line.startswith("X_NSPAWN_LEADER_PID="): + leader_pid = int(line.split("=")[1]) + return ready, leader_pid + def _drain_notify_socket(self) -> None: """Continuously drain the container's `sd_notify` socket (NOTIFY_SOCKET) for the whole lifetime of the container, recording readiness and the @@ -1907,13 +1983,7 @@ class NspawnMachine(BaseMachine): continue except OSError: break - ready = False - leader_pid = None - for line in data.decode(errors="replace").splitlines(): - if line == "READY=1": - ready = True - if line.startswith("X_NSPAWN_LEADER_PID="): - leader_pid = int(line.split("=")[1]) + ready, leader_pid = self._parse_sd_notify(data) if ready or leader_pid is not None: with self._notify_lock: if ready: From 9c53e2930c98afc0f9d0fc892071ceb7a5c7facd Mon Sep 17 00:00:00 2001 From: "R. Ryantm" Date: Mon, 2 Nov 2026 15:40:43 +0000 Subject: [PATCH 2315/2378] ngtcp2-gnutls: 1.25.0 -> 1.26.0 --- pkgs/by-name/ng/ngtcp2-gnutls/package.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/by-name/ng/ngtcp2-gnutls/package.nix b/pkgs/by-name/ng/ngtcp2-gnutls/package.nix index f8cd85c6a9f9..1eefb9c265cd 100644 --- a/pkgs/by-name/ng/ngtcp2-gnutls/package.nix +++ b/pkgs/by-name/ng/ngtcp2-gnutls/package.nix @@ -13,13 +13,13 @@ stdenv.mkDerivation (finalAttrs: { pname = "ngtcp2"; - version = "1.25.0"; + version = "1.26.0"; src = fetchFromGitHub { owner = "ngtcp2"; repo = "ngtcp2"; tag = "v${finalAttrs.version}"; - hash = "sha256-BBV4nNtSWQOFuwVOeH3LJEUeF7v4LVhGbfcrkroBAvc="; + hash = "sha256-Jwois2pqZWm5NwFbmQdYtHC5gEKcVYU1iBr0UVV+Wow="; }; outputs = [ From 70cffbcf427b477a58f38a2b61967bb13bd29fd9 Mon Sep 17 00:00:00 2001 From: Philip Taron Date: Mon, 2 Nov 2026 08:19:56 -0800 Subject: [PATCH 2316/2378] make-initrd-ng: inline find_library Assisted-by: Claude Code (claude-opus-5-5) --- .../kernel/make-initrd-ng/src/main.rs | 25 +++++-------------- 1 file changed, 6 insertions(+), 19 deletions(-) diff --git a/pkgs/build-support/kernel/make-initrd-ng/src/main.rs b/pkgs/build-support/kernel/make-initrd-ng/src/main.rs index 00567a96dcc1..b217522f6cba 100644 --- a/pkgs/build-support/kernel/make-initrd-ng/src/main.rs +++ b/pkgs/build-support/kernel/make-initrd-ng/src/main.rs @@ -80,23 +80,6 @@ impl NonRepeatingQueue { } } -fn find_library( - sonames: &[String], - rpaths: &[Box], - is_available: impl Fn(&Path) -> bool, -) -> Option { - for soname in sonames { - for rpath in rpaths { - let library = rpath.join(soname); - if is_available(&library) { - return Some(library); - } - } - } - - None -} - fn add_dependencies + AsRef + std::fmt::Debug>( source: P, elf: Elf, @@ -162,10 +145,14 @@ fn add_dependencies + AsRef + std::fmt::Debug>( .map(|s| vec![s.to_string()]) .chain(dlopen_libraries) { - if let Some(library) = find_library(&sonames, &rpaths_as_path, Path::exists) { + let library = sonames + .iter() + .flat_map(|soname| rpaths_as_path.iter().map(move |path| path.join(soname))) + .find(|lib| lib.exists()); + if let Some(lib) = library { // No need to recurse. The queue will bring it back round. queue.push_back(StorePath { - path: library.into_boxed_path(), + path: lib.into_boxed_path(), dlopen: dlopen.clone(), }); } else { From 77325802913a1412d9bc38b423db246759b67723 Mon Sep 17 00:00:00 2001 From: Philip Taron Date: Mon, 2 Nov 2026 08:20:11 -0800 Subject: [PATCH 2317/2378] make-initrd-ng: tune is_glibc_runtime Assisted-by: Claude Code (claude-opus-5-5) --- pkgs/build-support/kernel/make-initrd-ng/src/main.rs | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/pkgs/build-support/kernel/make-initrd-ng/src/main.rs b/pkgs/build-support/kernel/make-initrd-ng/src/main.rs index b217522f6cba..d190511fb683 100644 --- a/pkgs/build-support/kernel/make-initrd-ng/src/main.rs +++ b/pkgs/build-support/kernel/make-initrd-ng/src/main.rs @@ -162,11 +162,10 @@ fn add_dependencies + AsRef + std::fmt::Debug>( // in the initrd: the linker via elf.interpreter above, and libc via // at least one binary's rpath. Suppress these known-benign cases. // See also: the ld*.so.? skip in stage-1.nix findLibs. - let is_glibc_runtime = sonames.len() == 1 && { - let soname = &sonames[0]; - (soname.starts_with("ld-") && soname.contains(".so")) - || soname.starts_with("libc.so") - }; + let is_glibc_runtime = matches!( + sonames.as_slice(), + [s] if (s.starts_with("ld-") && s.contains(".so")) || s.starts_with("libc.so") + ); if !is_glibc_runtime { eprintln!( From 0835e2960fc8906ec1313530877e400b831e9750 Mon Sep 17 00:00:00 2001 From: Philip Taron Date: Mon, 2 Nov 2026 08:22:08 -0800 Subject: [PATCH 2318/2378] make-initrd-ng: format with rustfmt Assisted-by: Claude Code (claude-opus-5-5) --- pkgs/build-support/kernel/make-initrd-ng/src/main.rs | 11 ++++------- 1 file changed, 4 insertions(+), 7 deletions(-) diff --git a/pkgs/build-support/kernel/make-initrd-ng/src/main.rs b/pkgs/build-support/kernel/make-initrd-ng/src/main.rs index d190511fb683..4994da4033d8 100644 --- a/pkgs/build-support/kernel/make-initrd-ng/src/main.rs +++ b/pkgs/build-support/kernel/make-initrd-ng/src/main.rs @@ -315,13 +315,10 @@ fn main() -> eyre::Result<()> { let args: Vec = env::args().collect(); let contents = fs::read(&args[1]).wrap_err_with(|| format!("failed to open file {:?}", &args[1]))?; - let input = serde_json::from_slice::>(&contents) - .wrap_err_with(|| { - let text = String::from_utf8_lossy(&contents); - format!("failed to parse JSON '{}' in {:?}", - text, - &args[1]) - })?; + let input = serde_json::from_slice::>(&contents).wrap_err_with(|| { + let text = String::from_utf8_lossy(&contents); + format!("failed to parse JSON '{}' in {:?}", text, &args[1]) + })?; let output = &args[2]; let out_path = Path::new(output); From afea055f0552962bc68689cedec8825567a4d79c Mon Sep 17 00:00:00 2001 From: whispers Date: Mon, 2 Nov 2026 15:00:31 -0500 Subject: [PATCH 2319/2378] tranquil-pds: use system zstd we now force rust packages/anything using the cargo setup hook to use our system versions of some common libraries, incl. zstd. this fixes the build on current staging-next. https://hydra.nixos.org/build/351741968 --- pkgs/by-name/tr/tranquil-pds/package.nix | 2 ++ 1 file changed, 2 insertions(+) diff --git a/pkgs/by-name/tr/tranquil-pds/package.nix b/pkgs/by-name/tr/tranquil-pds/package.nix index 19715eec70fd..e8ca60bea274 100644 --- a/pkgs/by-name/tr/tranquil-pds/package.nix +++ b/pkgs/by-name/tr/tranquil-pds/package.nix @@ -4,6 +4,7 @@ rustPlatform, pkg-config, openssl, + zstd, protobuf, nixosTests, }: @@ -29,6 +30,7 @@ rustPlatform.buildRustPackage (finalAttrs: { buildInputs = [ openssl + zstd ]; # the tranquil test suite has shown itself virtually impossible to complete on most hardware thus stopping reviews. From ada56e923a538e60e961e4e4a538e5f0b9e968c2 Mon Sep 17 00:00:00 2001 From: whispers Date: Mon, 2 Nov 2026 15:11:17 -0500 Subject: [PATCH 2320/2378] attic-server: use system sqlite and zstd we now force rust packages/anything using the cargo setup hook to use our system versions of some common libraries, incl. sqlite and zstd. this fixes the build on current staging-next. https://hydra.nixos.org/build/351600317 --- pkgs/by-name/at/attic-client/package.nix | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/pkgs/by-name/at/attic-client/package.nix b/pkgs/by-name/at/attic-client/package.nix index 38a5ca86c26e..d5bdff845577 100644 --- a/pkgs/by-name/at/attic-client/package.nix +++ b/pkgs/by-name/at/attic-client/package.nix @@ -5,6 +5,8 @@ nixVersions, nixosTests, boost, + sqlite, + zstd, pkg-config, stdenv, installShellFiles, @@ -35,7 +37,14 @@ rustPlatform.buildRustPackage { installShellFiles ]; - buildInputs = lib.optional needNixInclude nix ++ [ boost ]; + buildInputs = [ + boost + ] + ++ lib.optionals needNixInclude [ nix ] + ++ lib.optionals (lib.elem "attic-server" crates) [ + sqlite + zstd + ]; cargoBuildFlags = lib.concatMapStrings (c: "-p ${c} ") crates; cargoHash = "sha256-UGgM78QEWJ2QgbQhxEI+yLYXH6T4ey+1oenPTMlJ3GU="; From 572c7c3c9ac972f369ff4220873656caa4ab89a9 Mon Sep 17 00:00:00 2001 From: whispers Date: Mon, 2 Nov 2026 18:10:14 -0500 Subject: [PATCH 2321/2378] xdg-desktop-portal-cosmic: use system zstd we now force rust packages/anything using the cargo setup hook to use our system versions of some common libraries, including zstd. this fixes the build on current staging-next. https://hydra.nixos.org/build/351826537 --- pkgs/by-name/xd/xdg-desktop-portal-cosmic/package.nix | 2 ++ 1 file changed, 2 insertions(+) diff --git a/pkgs/by-name/xd/xdg-desktop-portal-cosmic/package.nix b/pkgs/by-name/xd/xdg-desktop-portal-cosmic/package.nix index ca5b86a71421..19fd271fefeb 100644 --- a/pkgs/by-name/xd/xdg-desktop-portal-cosmic/package.nix +++ b/pkgs/by-name/xd/xdg-desktop-portal-cosmic/package.nix @@ -10,6 +10,7 @@ util-linux, libgbm, pipewire, + zstd, gst_all_1, cosmic-wallpapers, nix-update-script, @@ -47,6 +48,7 @@ rustPlatform.buildRustPackage (finalAttrs: { glib libgbm pipewire + zstd ]; checkInputs = [ gst_all_1.gstreamer ]; From b0f4a13b4947602dacef77dacab2fdfcd5fea436 Mon Sep 17 00:00:00 2001 From: whispers Date: Mon, 2 Nov 2026 18:10:14 -0500 Subject: [PATCH 2322/2378] cosmic-term: use system zstd we now force rust packages/anything using the cargo setup hook to use our system versions of some common libraries, including zstd. this fixes the build on current staging-next. https://hydra.nixos.org/build/351789649 --- pkgs/by-name/co/cosmic-term/package.nix | 2 ++ 1 file changed, 2 insertions(+) diff --git a/pkgs/by-name/co/cosmic-term/package.nix b/pkgs/by-name/co/cosmic-term/package.nix index 420e40e6561f..ae2b21ece7ab 100644 --- a/pkgs/by-name/co/cosmic-term/package.nix +++ b/pkgs/by-name/co/cosmic-term/package.nix @@ -9,6 +9,7 @@ fontconfig, freetype, libinput, + zstd, nix-update-script, nixosTests, }: @@ -42,6 +43,7 @@ rustPlatform.buildRustPackage (finalAttrs: { fontconfig freetype libinput + zstd ]; dontUseJustBuild = true; From 0d211cb9d26794550fb673c083aedf2fa168c231 Mon Sep 17 00:00:00 2001 From: whispers Date: Mon, 2 Nov 2026 18:10:14 -0500 Subject: [PATCH 2323/2378] cosmic-edit: use system zstd we now force rust packages/anything using the cargo setup hook to use our system versions of some common libraries, including zstd. this fixes the build on current staging-next. https://hydra.nixos.org/build/351789571 --- pkgs/by-name/co/cosmic-edit/package.nix | 2 ++ 1 file changed, 2 insertions(+) diff --git a/pkgs/by-name/co/cosmic-edit/package.nix b/pkgs/by-name/co/cosmic-edit/package.nix index 3b792cb7d68f..d3e47b2c915c 100644 --- a/pkgs/by-name/co/cosmic-edit/package.nix +++ b/pkgs/by-name/co/cosmic-edit/package.nix @@ -11,6 +11,7 @@ fontconfig, freetype, oniguruma, + zstd, nixosTests, nix-update-script, }: @@ -53,6 +54,7 @@ rustPlatform.buildRustPackage (finalAttrs: { fontconfig freetype oniguruma + zstd ]; dontUseJustBuild = true; From 28fa9e2e7c28dae2d350f630e02ed4c4de2363c4 Mon Sep 17 00:00:00 2001 From: whispers Date: Mon, 2 Nov 2026 18:10:14 -0500 Subject: [PATCH 2324/2378] cosmic-settings-daemon: use system zstd we now force rust packages/anything using the cargo setup hook to use our system versions of some common libraries, including zstd. this fixes the build on current staging-next. https://hydra.nixos.org/build/351789632 --- pkgs/by-name/co/cosmic-settings-daemon/package.nix | 2 ++ 1 file changed, 2 insertions(+) diff --git a/pkgs/by-name/co/cosmic-settings-daemon/package.nix b/pkgs/by-name/co/cosmic-settings-daemon/package.nix index 4ae17a241671..2fa142450aa0 100644 --- a/pkgs/by-name/co/cosmic-settings-daemon/package.nix +++ b/pkgs/by-name/co/cosmic-settings-daemon/package.nix @@ -13,6 +13,7 @@ udev, libxkbcommon, wayland, + zstd, openssl, nixosTests, nix-update-script, @@ -55,6 +56,7 @@ rustPlatform.buildRustPackage (finalAttrs: { pipewire libxkbcommon wayland + zstd ]; dontUseJustBuild = true; From 0835cc74c0ab265c207532fd4b63bce95fae0a54 Mon Sep 17 00:00:00 2001 From: whispers Date: Mon, 2 Nov 2026 18:10:14 -0500 Subject: [PATCH 2325/2378] cosmic-files: use system zstd we now force rust packages/anything using the cargo setup hook to use our system versions of some common libraries, including zstd. this fixes the build on current staging-next. https://hydra.nixos.org/build/351789622 --- pkgs/by-name/co/cosmic-files/package.nix | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/pkgs/by-name/co/cosmic-files/package.nix b/pkgs/by-name/co/cosmic-files/package.nix index 24ae38e10c8e..9e656e93dd03 100644 --- a/pkgs/by-name/co/cosmic-files/package.nix +++ b/pkgs/by-name/co/cosmic-files/package.nix @@ -6,6 +6,7 @@ just, libcosmicAppHook, glib, + zstd, nix-update-script, nixosTests, }: @@ -35,7 +36,10 @@ rustPlatform.buildRustPackage (finalAttrs: { rustPlatform.bindgenHook ]; - buildInputs = [ glib ]; + buildInputs = [ + glib + zstd + ]; dontUseJustBuild = true; dontUseJustCheck = true; From 04033a0ee289a3b58cf785418950b3f4f36abf8c Mon Sep 17 00:00:00 2001 From: whispers Date: Mon, 2 Nov 2026 18:10:14 -0500 Subject: [PATCH 2326/2378] cosmic-initial-setup: use system aws-lc and zstd we now force rust packages/anything using the cargo setup hook to use our system versions of some common libraries, including aws-lc and zstd. this fixes the build on current staging-next. https://hydra.nixos.org/build/351789600 --- pkgs/by-name/co/cosmic-initial-setup/package.nix | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/pkgs/by-name/co/cosmic-initial-setup/package.nix b/pkgs/by-name/co/cosmic-initial-setup/package.nix index f00066b96f85..51fd2c7aa98a 100644 --- a/pkgs/by-name/co/cosmic-initial-setup/package.nix +++ b/pkgs/by-name/co/cosmic-initial-setup/package.nix @@ -4,11 +4,13 @@ rustPlatform, fetchFromGitHub, just, + aws-lc, killall, libcosmicAppHook, libinput, openssl, udev, + zstd, nixosTests, nix-update-script, }: @@ -58,10 +60,12 @@ rustPlatform.buildRustPackage (finalAttrs: { ]; buildInputs = [ + aws-lc killall libinput openssl udev + zstd ]; dontUseJustBuild = true; From 1f8940cb5d73f3d984045a154a5ea56723a5a8da Mon Sep 17 00:00:00 2001 From: whispers Date: Mon, 2 Nov 2026 18:10:14 -0500 Subject: [PATCH 2327/2378] cosmic-store: use system aws-lc and zstd we now force rust packages/anything using the cargo setup hook to use our system versions of some common libraries, including aws-lc and zstd. this fixes the build on current staging-next. https://hydra.nixos.org/build/351789654 --- pkgs/by-name/co/cosmic-store/package.nix | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/pkgs/by-name/co/cosmic-store/package.nix b/pkgs/by-name/co/cosmic-store/package.nix index 59d50c4393d0..9e692f06e384 100644 --- a/pkgs/by-name/co/cosmic-store/package.nix +++ b/pkgs/by-name/co/cosmic-store/package.nix @@ -6,9 +6,11 @@ libcosmicAppHook, pkg-config, just, + aws-lc, glib, flatpak, openssl, + zstd, nix-update-script, nixosTests, }: @@ -39,9 +41,11 @@ rustPlatform.buildRustPackage (finalAttrs: { ]; buildInputs = [ + aws-lc glib flatpak openssl + zstd ]; dontUseJustBuild = true; From ce86abd1b9f4bd460bf9225353aabb37d9c3c84d Mon Sep 17 00:00:00 2001 From: whispers Date: Mon, 2 Nov 2026 20:11:23 -0500 Subject: [PATCH 2328/2378] iocaine: use system zstd we now force rust packages/anything using the cargo setup hook to use our system versions of some common libraries, including zstd. this fixes the build on current staging-next. https://hydra.nixos.org/build/351639397 --- pkgs/by-name/io/iocaine/package.nix | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/pkgs/by-name/io/iocaine/package.nix b/pkgs/by-name/io/iocaine/package.nix index 1f9837580d72..506a33ce60a8 100644 --- a/pkgs/by-name/io/iocaine/package.nix +++ b/pkgs/by-name/io/iocaine/package.nix @@ -2,10 +2,10 @@ lib, fetchFromGitea, nftables, + zstd, nixosTests, pkg-config, rustPlatform, - ... }: rustPlatform.buildRustPackage (finalAttrs: { pname = "iocaine"; @@ -30,6 +30,7 @@ rustPlatform.buildRustPackage (finalAttrs: { buildInputs = [ nftables + zstd ]; passthru = { From 1fe4d1a42f958bac63e84e44807abf38e9c7906c Mon Sep 17 00:00:00 2001 From: whispers Date: Mon, 2 Nov 2026 20:11:23 -0500 Subject: [PATCH 2329/2378] lldap: use system sqlite and zstd we now force rust packages/anything using the cargo setup hook to use our system versions of some common libraries, including sqlite and zstd. this fixes the build on current staging-next. https://hydra.nixos.org/build/351649579 --- pkgs/by-name/ll/lldap/package.nix | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) diff --git a/pkgs/by-name/ll/lldap/package.nix b/pkgs/by-name/ll/lldap/package.nix index 36b8a001853b..dc7c33ea1575 100644 --- a/pkgs/by-name/ll/lldap/package.nix +++ b/pkgs/by-name/ll/lldap/package.nix @@ -3,6 +3,9 @@ fetchFromGitHub, lib, makeWrapper, + pkg-config, + sqlite, + zstd, nixosTests, rustPlatform, rustc, @@ -43,7 +46,16 @@ rustPlatform.buildRustPackage (finalAttrs: { "lldap_set_password" ]; - nativeBuildInputs = [ makeWrapper ]; + nativeBuildInputs = [ + makeWrapper + pkg-config + ]; + + buildInputs = [ + sqlite + zstd + ]; + postInstall = '' wrapProgram $out/bin/lldap \ --set LLDAP_ASSETS_PATH ${finalAttrs.finalPackage.frontend} From 0f479a1756df6059e700bcae0bbfb0d754cf7d55 Mon Sep 17 00:00:00 2001 From: Audrey Dutcher Date: Mon, 2 Nov 2026 18:41:00 -0700 Subject: [PATCH 2330/2378] rust-bindgen: Use clang from rust's llvmPackages This fixes errors building electron wherein patches would be applied assuming that we had clang 23 but secretly we would invoke clang 21. --- pkgs/by-name/ru/rust-bindgen-unwrapped/package.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkgs/by-name/ru/rust-bindgen-unwrapped/package.nix b/pkgs/by-name/ru/rust-bindgen-unwrapped/package.nix index 24e7fa9e057b..50e4576027d3 100644 --- a/pkgs/by-name/ru/rust-bindgen-unwrapped/package.nix +++ b/pkgs/by-name/ru/rust-bindgen-unwrapped/package.nix @@ -2,12 +2,12 @@ lib, fetchCrate, rustPlatform, - clang, rustfmt, }: let # bindgen hardcodes rustfmt outputs that use nightly features rustfmt-nightly = rustfmt.override { asNightly = true; }; + clang = rustPlatform.rust.rustc.llvmPackages.clang; in rustPlatform.buildRustPackage rec { pname = "rust-bindgen-unwrapped"; From 16fa2e5820792ed2194a269c6f3aad663fe6f06c Mon Sep 17 00:00:00 2001 From: whispers Date: Mon, 2 Nov 2026 21:07:47 -0500 Subject: [PATCH 2331/2378] gleam: use system aws-lc we now force rust packages/anything using the cargo setup hook to use our system versions of some common libraries, including aws-lc. this fixes the build on current staging-next. https://hydra.nixos.org/build/351870378 --- pkgs/by-name/gl/gleam/package.nix | 3 +++ 1 file changed, 3 insertions(+) diff --git a/pkgs/by-name/gl/gleam/package.nix b/pkgs/by-name/gl/gleam/package.nix index 5c23929799e4..32537f95839b 100644 --- a/pkgs/by-name/gl/gleam/package.nix +++ b/pkgs/by-name/gl/gleam/package.nix @@ -5,6 +5,7 @@ fetchFromGitHub, git, pkg-config, + aws-lc, beamPackages, nodejs, bun, @@ -31,6 +32,8 @@ rustPlatform.buildRustPackage (finalAttrs: { pkg-config ]; + buildInputs = [ aws-lc ]; + nativeCheckInputs = [ # used by several tests git From 3b77b9fa7dd5aa57ae9e0c6683466bf8c884aa4d Mon Sep 17 00:00:00 2001 From: whispers Date: Mon, 2 Nov 2026 21:22:06 -0500 Subject: [PATCH 2332/2378] upki: use system aws-lc we now force rust packages/anything using the cargo setup hook to use our system versions of some common libraries, including aws-lc. this fixes the build on current staging-next. https://hydra.nixos.org/build/351743983 --- pkgs/by-name/up/upki/package.nix | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/pkgs/by-name/up/upki/package.nix b/pkgs/by-name/up/upki/package.nix index 1f8a81a24726..d240a1d42956 100644 --- a/pkgs/by-name/up/upki/package.nix +++ b/pkgs/by-name/up/upki/package.nix @@ -9,6 +9,7 @@ rustc, cacert, pkg-config, + aws-lc, openssl, cargo-c, validatePkgConfig, @@ -42,7 +43,10 @@ rustPlatform.buildRustPackage (finalAttrs: { cargo-c pkg-config ]; - buildInputs = [ openssl ]; + buildInputs = [ + aws-lc + openssl + ]; env.SSL_CERT_FILE = "${cacert}/etc/ssl/certs/ca-bundle.crt"; From e4d65bf7f60c12c8be472ca7c2503575a8396ead Mon Sep 17 00:00:00 2001 From: whispers Date: Mon, 2 Nov 2026 21:51:18 -0500 Subject: [PATCH 2333/2378] servo: use system aws-lc, jemalloc, sqlite, and zstd we now force rust packages/anything using the cargo setup hook to use our system versions of some common libraries. this fixes the build on current staging-next. https://hydra.nixos.org/build/351857464 --- pkgs/by-name/se/servo/package.nix | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/pkgs/by-name/se/servo/package.nix b/pkgs/by-name/se/servo/package.nix index 9643c7266b00..eb2b805cb34e 100644 --- a/pkgs/by-name/se/servo/package.nix +++ b/pkgs/by-name/se/servo/package.nix @@ -24,6 +24,7 @@ yasm, # runtime deps + aws-lc, fontconfig, freetype, gst_all_1, @@ -39,7 +40,10 @@ libxcursor, libx11, libxcb, + rust-jemalloc-sys, + sqlite, zlib, + zstd, # tests nixosTests, @@ -144,6 +148,7 @@ rustPlatform.buildRustPackage (finalAttrs: { ]; buildInputs = [ + aws-lc fontconfig freetype gst_all_1.gstreamer @@ -154,7 +159,10 @@ rustPlatform.buildRustPackage (finalAttrs: { harfbuzz libunwind libGL + rust-jemalloc-sys + sqlite zlib + zstd ] ++ lib.optionals stdenv.hostPlatform.isLinux [ wayland From 0bb5309d7be3b5981e943ba4623c26af9889cac1 Mon Sep 17 00:00:00 2001 From: asleepyskye Date: Mon, 2 Nov 2026 23:02:01 -0500 Subject: [PATCH 2334/2378] binaryen: set OSX deployment target --- pkgs/development/compilers/binaryen/default.nix | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/pkgs/development/compilers/binaryen/default.nix b/pkgs/development/compilers/binaryen/default.nix index 841b4ae598c6..e44d49bb8700 100644 --- a/pkgs/development/compilers/binaryen/default.nix +++ b/pkgs/development/compilers/binaryen/default.nix @@ -58,6 +58,10 @@ stdenv.mkDerivation rec { fi ''; + cmakeFlags = lib.optionals stdenv.hostPlatform.isDarwin [ + (lib.cmakeFeature "CMAKE_OSX_DEPLOYMENT_TARGET" stdenv.hostPlatform.darwinMinVersion) + ]; + nativeCheckInputs = [ lit nodejs From ea8a8dbffc0e66a1b174c5d883fae90160929097 Mon Sep 17 00:00:00 2001 From: asleepyskye Date: Mon, 2 Nov 2026 22:51:48 -0500 Subject: [PATCH 2335/2378] rauthy: use system libs --- pkgs/by-name/ra/rauthy/package.nix | 16 +++++++++++++--- 1 file changed, 13 insertions(+), 3 deletions(-) diff --git a/pkgs/by-name/ra/rauthy/package.nix b/pkgs/by-name/ra/rauthy/package.nix index 8eb334c4b9bd..3e2de81ab15f 100644 --- a/pkgs/by-name/ra/rauthy/package.nix +++ b/pkgs/by-name/ra/rauthy/package.nix @@ -7,12 +7,16 @@ npmHooks, nodejs, nix-update-script, - perl, + pkg-config, wasm-pack, wasm-bindgen-cli_0_2_129, + aws-lc, binaryen, lld, + openssl, rust-jemalloc-sys-unprefixed, + sqlite, + zstd, }: rustPlatform.buildRustPackage (finalAttrs: { pname = "rauthy"; @@ -30,12 +34,18 @@ rustPlatform.buildRustPackage (finalAttrs: { lld nodejs npmHooks.npmConfigHook - perl + pkg-config wasm-bindgen-cli_0_2_129 wasm-pack ]; - buildInputs = [ rust-jemalloc-sys-unprefixed ]; + buildInputs = [ + aws-lc + openssl + rust-jemalloc-sys-unprefixed + sqlite + zstd + ]; npmRoot = "frontend"; From 0fa2336746eafc8a394ce50c727cf1c0d456113c Mon Sep 17 00:00:00 2001 From: Maximilian Bosch Date: Tue, 3 Nov 2026 15:51:07 +0100 Subject: [PATCH 2336/2378] nixos/tests/x11: add `-noreset` flag to nspawn X11 tests Works around X resetting itself when the only connection (from wait_for_x()) disconnects[1]. With this change, `nixosTests.nixos-test-driver.nspawn-interactive` seems way less flaky, I couldn't trigger the hanging test scenario within 50 runs. [1] More context: https://github.com/NixOS/nixpkgs/pull/578540#issuecomment-6593586095 Co-authored-by: Ihar Hrachyshka --- nixos/tests/common/x11.nix | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/nixos/tests/common/x11.nix b/nixos/tests/common/x11.nix index b5a8dee683a1..2082ff00e1c8 100644 --- a/nixos/tests/common/x11.nix +++ b/nixos/tests/common/x11.nix @@ -31,6 +31,12 @@ in displayManager.lightdm.extraConfig = '' logind-check-graphical = false ''; + + # `wait_for_x()` establishing a connection that is being teared down + # before having any other connection to X11 causes the X server to reset + # itself. This flag prevents that behavior. + # Context: https://github.com/NixOS/nixpkgs/pull/578540#issuecomment-6593586095 + displayManager.xserverArgs = lib.mkAfter [ "-noreset" ]; }) ]; From eb5834ea6158c39800bc7d2ff1291eb904c8a475 Mon Sep 17 00:00:00 2001 From: Ross Smyth <18294397+RossSmyth@users.noreply.github.com> Date: Sat, 31 Oct 2026 18:24:44 -0400 Subject: [PATCH 2337/2378] python3Packages.vl-convert-python: fix forced system libraries --- .../python-modules/vl-convert-python/default.nix | 14 ++++++++++++-- 1 file changed, 12 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/vl-convert-python/default.nix b/pkgs/development/python-modules/vl-convert-python/default.nix index 3b9b13413fc4..c9379462be1e 100644 --- a/pkgs/development/python-modules/vl-convert-python/default.nix +++ b/pkgs/development/python-modules/vl-convert-python/default.nix @@ -5,6 +5,9 @@ rustPlatform, protobuf, libffi, + pkg-config, + sqlite, + zstd, callPackage, librusty_v8 ? callPackage ./librusty_v8.nix { }, nix-update-script, @@ -37,9 +40,16 @@ buildPythonPackage rec { rustPlatform.cargoSetupHook ]; - nativeBuildInputs = [ protobuf ]; + nativeBuildInputs = [ + protobuf + pkg-config + ]; - buildInputs = [ libffi ]; + buildInputs = [ + libffi + sqlite + zstd + ]; pythonImportsCheck = [ "vl_convert" ]; From 12214b623af969ff3ac1233be846e205282dd346 Mon Sep 17 00:00:00 2001 From: Jost Alemann Date: Tue, 3 Nov 2026 19:32:53 +0100 Subject: [PATCH 2338/2378] ty: 0.0.95 -> 0.0.96 Changelog: https://github.com/astral-sh/ty/releases/tag/0.0.96 Diff: https://github.com/astral-sh/ty/compare/0.0.95...0.0.96 --- pkgs/by-name/ty/ty/package.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pkgs/by-name/ty/ty/package.nix b/pkgs/by-name/ty/ty/package.nix index 5e1ff8040e09..fd5662e32db3 100644 --- a/pkgs/by-name/ty/ty/package.nix +++ b/pkgs/by-name/ty/ty/package.nix @@ -18,7 +18,7 @@ rustPlatform.buildRustPackage (finalAttrs: { pname = "ty"; - version = "0.0.95"; + version = "0.0.96"; __structuredAttrs = true; src = fetchFromGitHub { @@ -26,7 +26,7 @@ rustPlatform.buildRustPackage (finalAttrs: { repo = "ty"; tag = finalAttrs.version; fetchSubmodules = true; - hash = "sha256-e0Yg6e50I4w9NDEaTUdoWFFvvJyDvL4eulcImy/HRRM="; + hash = "sha256-kjgmJZt8NH6fMppdAymBFWMWLKpTO3Pz1V6tzpndrhM="; }; # For Darwin platforms, remove the integration test for file notifications, @@ -40,7 +40,7 @@ rustPlatform.buildRustPackage (finalAttrs: { cargoBuildFlags = [ "--package=ty" ]; - cargoHash = "sha256-FaK/P6nBJqfSkUqv8qmmIeAPQh5ksIS/lpIBVkrGALg="; + cargoHash = "sha256-gl1X1CJto66I+dRyoqhebRdtTvh9C7o0LMwb+7T/+04="; nativeBuildInputs = [ installShellFiles ]; buildInputs = [ rust-jemalloc-sys ]; From fadbd12b8867df00a4b52b6b6f5ae90005ae1488 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=B6rg=20Thalheim?= Date: Tue, 3 Nov 2026 14:04:22 +0100 Subject: [PATCH 2339/2378] nixos-firewall-tool: run shellcheck as a passthru test Checking whether shellcheck can be built forces the whole Haskell package set while evaluating any NixOS system with a firewall. The check now runs in passthru.tests instead. --- .../by-name/ni/nixos-firewall-tool/package.nix | 18 +++++++++++------- 1 file changed, 11 insertions(+), 7 deletions(-) diff --git a/pkgs/by-name/ni/nixos-firewall-tool/package.nix b/pkgs/by-name/ni/nixos-firewall-tool/package.nix index 08cf7b138c8a..1f7ae757f0a2 100644 --- a/pkgs/by-name/ni/nixos-firewall-tool/package.nix +++ b/pkgs/by-name/ni/nixos-firewall-tool/package.nix @@ -3,10 +3,12 @@ lib, bash, installShellFiles, + runCommand, buildPackages, + nixosTests, }: -stdenvNoCC.mkDerivation { +stdenvNoCC.mkDerivation (finalAttrs: { pname = "nixos-firewall-tool"; version = lib.trivial.release; src = builtins.filterSource (name: _: !(lib.hasSuffix ".nix" name)) ./.; @@ -14,7 +16,6 @@ stdenvNoCC.mkDerivation { strictDeps = true; buildInputs = [ bash ]; nativeBuildInputs = [ installShellFiles ]; - nativeCheckInputs = [ buildPackages.shellcheck-minimal ]; postPatch = '' patchShebangs --host nixos-firewall-tool @@ -26,10 +27,13 @@ stdenvNoCC.mkDerivation { installShellCompletion nixos-firewall-tool.{bash,fish} ''; - doCheck = buildPackages.shellcheck-minimal.compiler.bootstrapAvailable; - checkPhase = '' - shellcheck nixos-firewall-tool - ''; + passthru.tests = { + shellcheck = runCommand "nixos-firewall-tool-shellcheck" { } '' + ${lib.getExe buildPackages.shellcheck-minimal} ${finalAttrs.src}/nixos-firewall-tool + touch $out + ''; + inherit (nixosTests) firewall firewall-nftables; + }; meta = { description = "Tool to temporarily manipulate the NixOS firewall"; @@ -42,4 +46,4 @@ stdenvNoCC.mkDerivation { platforms = lib.platforms.linux; mainProgram = "nixos-firewall-tool"; }; -} +}) From cf9a0df70968c196b0e6e153782319a479500f1b Mon Sep 17 00:00:00 2001 From: Naxdy Date: Mon, 2 Nov 2026 15:35:15 +0100 Subject: [PATCH 2340/2378] nixos/systemd/tpm2: ensure `systemd-pcrextend.socket` is pulled in Assisted-By: omp/DeepSeek-V4.1-Flash-1017 --- nixos/modules/system/boot/systemd/tpm2.nix | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/nixos/modules/system/boot/systemd/tpm2.nix b/nixos/modules/system/boot/systemd/tpm2.nix index 9adbb885fffd..f50d77924882 100644 --- a/nixos/modules/system/boot/systemd/tpm2.nix +++ b/nixos/modules/system/boot/systemd/tpm2.nix @@ -60,6 +60,10 @@ # NixOS. systemd.services."systemd-pcrlogin@".unitConfig.ConditionPathExists = "/run/systemd/nvpcr/login.auth"; + + systemd.sockets."systemd-pcrextend" = { + wantedBy = [ "sockets.target" ]; + }; } ) ( @@ -101,6 +105,10 @@ "${cfg.package}/lib/systemd/system-generators/systemd-tpm2-generator" "${cfg.package}/lib/systemd/systemd-pcrextend" ]; + + boot.initrd.systemd.sockets."systemd-pcrextend" = { + wantedBy = [ "sockets.target" ]; + }; } ) ( From abae798b6c9a51649578030b929431606db15fe3 Mon Sep 17 00:00:00 2001 From: Naxdy Date: Mon, 2 Nov 2026 15:56:40 +0100 Subject: [PATCH 2341/2378] nixosTests/systemd-initrd-luks-tpm2: test for ability to measure LUKS volume keys --- nixos/tests/systemd-initrd-luks-tpm2.nix | 20 ++++++++++++++++++-- 1 file changed, 18 insertions(+), 2 deletions(-) diff --git a/nixos/tests/systemd-initrd-luks-tpm2.nix b/nixos/tests/systemd-initrd-luks-tpm2.nix index 3d1661564547..624caf276415 100644 --- a/nixos/tests/systemd-initrd-luks-tpm2.nix +++ b/nixos/tests/systemd-initrd-luks-tpm2.nix @@ -19,15 +19,25 @@ boot.initrd.availableKernelModules = [ "tpm_tis" ]; - environment.systemPackages = with pkgs; [ cryptsetup ]; + environment.systemPackages = with pkgs; [ + cryptsetup + tpm2-tools + ]; specialisation.boot-luks.configuration = { boot.initrd.luks.devices = lib.mkVMOverride { cryptroot = { device = "/dev/vdb"; - crypttabExtraOpts = [ "tpm2-device=auto" ]; + crypttabExtraOpts = [ + "tpm2-device=auto" + "tpm2-measure-pcr=yes" + ]; }; }; + # The volume key measurement is only performed when the OS is explicitly + # marked as measured (or booted through a measuring kernel stub). + boot.kernelParams = [ "systemd.tpm2_measured_os=1" ]; + virtualisation.rootDevice = "/dev/mapper/cryptroot"; }; }; @@ -54,5 +64,11 @@ # Boot and decrypt the disk machine.wait_for_unit("multi-user.target") assert "/dev/mapper/cryptroot on / type ext4" in machine.succeed("mount") + + # The volume key has to be measured into PCR 15 through the + # io.systemd.PCRExtend socket during initrd. + machine.succeed("grep -q volume-key /run/log/systemd/tpm2-measure.log") + pcr = machine.succeed("tpm2_pcrread sha256:15") + assert "15: 0x0000000000000000000000000000000000000000000000000000000000000000" not in pcr, pcr ''; } From 8c4d967a7505c00a1ff5f5c270d19dd0fcb8c420 Mon Sep 17 00:00:00 2001 From: Maximilian Bosch Date: Tue, 3 Nov 2026 23:01:57 +0100 Subject: [PATCH 2342/2378] ripgrep-all: fix build Part of #570940 --- pkgs/by-name/ri/ripgrep-all/package.nix | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/pkgs/by-name/ri/ripgrep-all/package.nix b/pkgs/by-name/ri/ripgrep-all/package.nix index 75b7d7968344..8dc66100a3f7 100644 --- a/pkgs/by-name/ri/ripgrep-all/package.nix +++ b/pkgs/by-name/ri/ripgrep-all/package.nix @@ -9,6 +9,9 @@ ripgrep, zip, fzf, + pkg-config, + zstd, + sqlite, }: let @@ -37,9 +40,15 @@ rustPlatform.buildRustPackage (finalAttrs: { # override debug=true set in Cargo.toml upstream env.RUSTFLAGS = "-C debuginfo=none"; + buildInputs = [ + zstd + sqlite + ]; + nativeBuildInputs = [ makeWrapper poppler-utils + pkg-config ]; nativeCheckInputs = path; From c7da3d20823978b392e676bef307845943e97b38 Mon Sep 17 00:00:00 2001 From: Ross Smyth <18294397+RossSmyth@users.noreply.github.com> Date: Tue, 3 Nov 2026 17:40:28 -0500 Subject: [PATCH 2343/2378] bitwarden-desktop: fix forced system sqlite --- pkgs/by-name/bi/bitwarden-desktop/package.nix | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/pkgs/by-name/bi/bitwarden-desktop/package.nix b/pkgs/by-name/bi/bitwarden-desktop/package.nix index 7038b193e2dc..6c2d39556076 100644 --- a/pkgs/by-name/bi/bitwarden-desktop/package.nix +++ b/pkgs/by-name/bi/bitwarden-desktop/package.nix @@ -17,6 +17,7 @@ rustc, rustPlatform, stdenv, + sqlite, xcbuild, }: @@ -107,6 +108,10 @@ buildNpmPackage (finalAttrs: { darwin.autoSignDarwinBinariesHook ]; + buildInputs = [ + sqlite + ]; + preBuild = '' if [[ $(jq --raw-output '.devDependencies.electron' < package.json | grep -E --only-matching '^[0-9]+') != ${lib.escapeShellArg (lib.versions.major electron.version)} ]]; then echo 'ERROR: electron version mismatch' From 39b3e4ef581647d7e8430c6fdb457f4b1f742642 Mon Sep 17 00:00:00 2001 From: Martin Weinelt Date: Wed, 4 Nov 2026 00:12:56 +0100 Subject: [PATCH 2344/2378] python3Packages.django_5: 5.2.18 -> 5.2.19 https://docs.djangoproject.com/en/5.2/releases/5.2.19/ https://www.djangoproject.com/weblog/2026/nov/03/security-releases/ Fixes: CVE-2026-108147, CVE-2026-111211, CVE-2026-111362, CVE-2026-113593, CVE-2026-113733, CVE-2026-114582 --- pkgs/development/python-modules/django/5.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/django/5.nix b/pkgs/development/python-modules/django/5.nix index 12424533b970..a47d599782a4 100644 --- a/pkgs/development/python-modules/django/5.nix +++ b/pkgs/development/python-modules/django/5.nix @@ -41,14 +41,14 @@ buildPythonPackage (finalAttrs: { pname = "django"; - version = "5.2.18"; + version = "5.2.19"; pyproject = true; src = fetchFromGitHub { owner = "django"; repo = "django"; tag = finalAttrs.version; - hash = "sha256-XoNmtE4gmpm/i9vfaQwHZw1q6ctxSvotu0I+02UZutk="; + hash = "sha256-XnSmncUWLnWLGRCvWC1AsBfNJnxg2dLnv5asLGXV3c0="; }; patches = [ From ef8f92781ea10a90d09e92e55433d3d2c50577a9 Mon Sep 17 00:00:00 2001 From: Ethan Carter Edwards Date: Wed, 4 Nov 2026 13:28:24 -0500 Subject: [PATCH 2345/2378] zed-editor: add missing system libs Signed-off-by: Ethan Carter Edwards --- pkgs/by-name/ze/zed-editor/package.nix | 2 ++ 1 file changed, 2 insertions(+) diff --git a/pkgs/by-name/ze/zed-editor/package.nix b/pkgs/by-name/ze/zed-editor/package.nix index 7f3a00c9b82b..4afe4b496944 100644 --- a/pkgs/by-name/ze/zed-editor/package.nix +++ b/pkgs/by-name/ze/zed-editor/package.nix @@ -6,6 +6,7 @@ pkg-config, protobuf, fontconfig, + aws-lc, libgit2, openssl, sqlite, @@ -155,6 +156,7 @@ rustPlatform.buildRustPackage (finalAttrs: { dontUseCmakeConfigure = true; buildInputs = [ + aws-lc libgit2 sqlite zlib From 692a804fcddca8b0287f89eee8a215dc07c8cedb Mon Sep 17 00:00:00 2001 From: Jost Alemann Date: Wed, 4 Nov 2026 21:13:00 +0100 Subject: [PATCH 2346/2378] ty: 0.0.96 -> 0.0.97 Changelog: https://github.com/astral-sh/ty/releases/tag/0.0.97 Diff: https://github.com/astral-sh/ty/compare/0.0.96...0.0.97 --- pkgs/by-name/ty/ty/package.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pkgs/by-name/ty/ty/package.nix b/pkgs/by-name/ty/ty/package.nix index fd5662e32db3..00b19010ca7b 100644 --- a/pkgs/by-name/ty/ty/package.nix +++ b/pkgs/by-name/ty/ty/package.nix @@ -18,7 +18,7 @@ rustPlatform.buildRustPackage (finalAttrs: { pname = "ty"; - version = "0.0.96"; + version = "0.0.97"; __structuredAttrs = true; src = fetchFromGitHub { @@ -26,7 +26,7 @@ rustPlatform.buildRustPackage (finalAttrs: { repo = "ty"; tag = finalAttrs.version; fetchSubmodules = true; - hash = "sha256-kjgmJZt8NH6fMppdAymBFWMWLKpTO3Pz1V6tzpndrhM="; + hash = "sha256-J2r34NB/OQ5fxBXHl6Thzg/Xpq/pPTUNFKTPGtXEGuI="; }; # For Darwin platforms, remove the integration test for file notifications, @@ -40,7 +40,7 @@ rustPlatform.buildRustPackage (finalAttrs: { cargoBuildFlags = [ "--package=ty" ]; - cargoHash = "sha256-gl1X1CJto66I+dRyoqhebRdtTvh9C7o0LMwb+7T/+04="; + cargoHash = "sha256-6lMUIwHCpiC/AbnvRL0EtVoN0lszqPZk2rfpo48/LJI="; nativeBuildInputs = [ installShellFiles ]; buildInputs = [ rust-jemalloc-sys ]; From 248d3d419d095e98a5249292c81eda35e0ee545e Mon Sep 17 00:00:00 2001 From: Ivan Petkov Date: Wed, 4 Nov 2026 15:02:54 -0800 Subject: [PATCH 2347/2378] cargo-llvm-cov: use the llvm version rustc was built against --- pkgs/by-name/ca/cargo-llvm-cov/package.nix | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/pkgs/by-name/ca/cargo-llvm-cov/package.nix b/pkgs/by-name/ca/cargo-llvm-cov/package.nix index a2b5fdf6df33..4fd04e77ae03 100644 --- a/pkgs/by-name/ca/cargo-llvm-cov/package.nix +++ b/pkgs/by-name/ca/cargo-llvm-cov/package.nix @@ -18,7 +18,6 @@ lib, fetchFromGitHub, rustPlatform, - llvmPackages_22, gitMinimal, writableTmpDirAsHomeHook, }: @@ -30,7 +29,7 @@ let owner = "taiki-e"; homepage = "https://github.com/${owner}/${pname}"; - inherit (llvmPackages_22) llvm; + inherit (rustPlatform.rust.rustc.llvmPackages) llvm; in rustPlatform.buildRustPackage (finalAttrs: { From 499bfba7267a3060e6688e8c394a7eabf874ce66 Mon Sep 17 00:00:00 2001 From: Ivan Petkov Date: Wed, 4 Nov 2026 15:12:13 -0800 Subject: [PATCH 2348/2378] cargo-llvm-cov: 0.9.0 -> 0.9.1 --- pkgs/by-name/ca/cargo-llvm-cov/Cargo.lock | 188 +++++++-------------- pkgs/by-name/ca/cargo-llvm-cov/package.nix | 4 +- 2 files changed, 59 insertions(+), 133 deletions(-) diff --git a/pkgs/by-name/ca/cargo-llvm-cov/Cargo.lock b/pkgs/by-name/ca/cargo-llvm-cov/Cargo.lock index 581557e8e329..3e3cbea739d5 100644 --- a/pkgs/by-name/ca/cargo-llvm-cov/Cargo.lock +++ b/pkgs/by-name/ca/cargo-llvm-cov/Cargo.lock @@ -4,9 +4,9 @@ version = 4 [[package]] name = "aho-corasick" -version = "1.1.4" +version = "1.1.5" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ddd31a130427c27518df266943a5308ed92d4b226cc639f5a8f1002816174301" +checksum = "c982642fa9e8606056828ee9a8505737230110bb1099153c79efe865c59d12ba" dependencies = [ "memchr", ] @@ -25,15 +25,15 @@ checksum = "f2032f911046de80f0a198e0901378627c33f59ea0ac00e363d481118bd70a53" [[package]] name = "bitflags" -version = "2.13.1" +version = "2.13.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b588b76d00fde79687d7646a9b5bdf3cc0f655e0bbd080335a95d7e96f3587da" +checksum = "3ded4057c258ba199e2d26386d3af3780957ecaee6c4ef4041c6b4b8b97c0b06" [[package]] name = "bstr" -version = "1.13.0" +version = "1.13.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1f7dc094d718f2e1c1559ad110e27eeaae14a5465d3d56dd6dbd793079fbd530" +checksum = "6bb31b46c14244e20ee9984b11bf5c992b91fb6939fea616e3512c8baecdbe5f" dependencies = [ "memchr", "regex-automata", @@ -48,9 +48,9 @@ checksum = "ebb068a5ba5b65a7cdba869497ca2a352e88e6093c4909ddf4d12d9d3151ee9c" [[package]] name = "camino" -version = "1.2.5" +version = "1.2.6" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "bb1307f12aa967b5a58416e87b3653360e0fd614a016b6e970db08fecbb1b80d" +checksum = "bbbad30e4b4c14a39e3cc8aed085a12a327257c316619c93581e017bc52be591" [[package]] name = "cargo-config2" @@ -65,7 +65,7 @@ dependencies = [ [[package]] name = "cargo-llvm-cov" -version = "0.9.0" +version = "0.9.1" dependencies = [ "anyhow", "build-context", @@ -94,15 +94,15 @@ dependencies = [ [[package]] name = "cfg-if" -version = "1.0.4" +version = "1.0.5" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9330f8b2ff13f34540b44e946ef35111825727b38d33286ef986142615121801" +checksum = "4e7648175b45a9a48536d676f68d918270699102aa8dab5496df06904c914600" [[package]] name = "duct" -version = "1.1.1" +version = "1.1.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7e66e9c0c03d094e1a0ba1be130b849034aa80c3a2ab8ee94316bc809f3fa684" +checksum = "61b9e2a29ff01e8bb526a571ad06c10ed72aae80d5999ed204f7971f99f19974" dependencies = [ "libc", "os_pipe", @@ -117,7 +117,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "39cab71617ae0d63f51a36d69f866391735b51691dbda63cf6f96d042b63efeb" dependencies = [ "libc", - "windows-sys 0.61.2", + "windows-sys", ] [[package]] @@ -138,9 +138,9 @@ dependencies = [ [[package]] name = "fs-err" -version = "3.3.1" +version = "3.3.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b91aa448ca50d7e79433bdf3ee8d99215430d2ec02ade5aefab2a073a1822e8a" +checksum = "b5c95b673b8f6f7235229ae11c5642d81b04c2e64c1e2fb417bc0cf73ca45f29" dependencies = [ "autocfg", ] @@ -159,9 +159,9 @@ checksum = "8f42a60cbdf9a97f5d2305f08a87dc4e09308d1276d28c869c684d7777685682" [[package]] name = "lcov2cobertura" -version = "1.0.9" +version = "1.0.10" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "bf5d75e3487295500b5426ad473805696126915b3e647ecdd5b9597a17766c6a" +checksum = "e27fa1f534eedf25f44f5d37be5c2cc4fa035bdd656dee99feeec1531d51227a" dependencies = [ "anyhow", "quick-xml", @@ -177,9 +177,9 @@ checksum = "803ec87c9cfb29b9d2633f20cba1f488db3fd53f2158b1024cbefb47ba05d413" [[package]] name = "libc" -version = "0.2.189" +version = "0.2.191" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3eaf3ede3fee6db1a4c2ee091bf8a8b4dccdc6d17f656fb07896ee72867612f2" +checksum = "65cd87c9a6d60536580b316ad985726104730a5151c99845f2490428ef91240a" [[package]] name = "linux-raw-sys" @@ -195,11 +195,11 @@ checksum = "cf8baf1c55e62ffcace7a9f06f4bd9cd3f0c4beb022d3b367256b91b87513d98" [[package]] name = "normpath" -version = "1.5.1" +version = "1.5.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b9985ef7269fa99f3b12437bb698381da2428743ab90f20393f399fa14cab21a" +checksum = "b11ce00d2594068e8a27c9146fdc5cf9f3ac38eb42c7cd34d05fea618873ac9f" dependencies = [ - "windows-sys 0.61.2", + "windows-sys", ] [[package]] @@ -216,7 +216,7 @@ checksum = "b2b03ff07a220d0d0ec9a1f0f238951b7967a5a2e96aefcd21a117b1083415e9" dependencies = [ "bstr", "normpath", - "windows-sys 0.61.2", + "windows-sys", ] [[package]] @@ -226,7 +226,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "7d8fae84b431384b68627d0f9b3b1245fcf9f46f6c0e3dc902e9dce64edd1967" dependencies = [ "libc", - "windows-sys 0.61.2", + "windows-sys", ] [[package]] @@ -240,9 +240,9 @@ dependencies = [ [[package]] name = "quick-xml" -version = "0.39.4" +version = "0.42.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "cdcc8dd4e2f670d309a5f0e83fe36dfdc05af317008fea29144da1a2ac858e5e" +checksum = "41b1177fdf999d2321d3fb46ff47159d9c1fb9ad66a4879f8c50a0b504615e9b" dependencies = [ "memchr", ] @@ -270,9 +270,9 @@ dependencies = [ [[package]] name = "regex-automata" -version = "0.4.16" +version = "0.4.18" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8fcfdb36bda0c880c5931cdc7a2bcdc8ba4556847b9d912bca70bc94708711ad" +checksum = "ad8553b9b26413251cbf30e620595c7a41b3887f03da04579c0e6b0d6a06b4b2" dependencies = [ "aho-corasick", "memchr", @@ -293,15 +293,15 @@ checksum = "b74b56ffa8bb2830709a538c2cbcae9aa062db0d2a42563bfb09bdaae44020eb" [[package]] name = "rustix" -version = "1.1.4" +version = "1.1.6" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b6fe4565b9518b83ef4f91bb47ce29620ca828bd32cb7e408f0062e9930ba190" +checksum = "e5e76742e5294153d4dde1207dbec5bdd81eef6fabdc0d2118babadabfd858aa" dependencies = [ "bitflags", "errno", "libc", "linux-raw-sys", - "windows-sys 0.61.2", + "windows-sys", ] [[package]] @@ -312,9 +312,9 @@ checksum = "cf54715a573b99ac80df0bc206da022bcd442c974952c7b9720069370852e21f" [[package]] name = "ruzstd" -version = "0.9.0" +version = "0.9.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a252f5e20f038fe7b4ea53e073e65398d652c864cc162fc77c56c2f13717b888" +checksum = "69e4ce4a039f42bf25920b95667e4d789e98749ab11bbb8d2c2936f788421bb5" [[package]] name = "same-file" @@ -356,9 +356,9 @@ dependencies = [ [[package]] name = "serde_json" -version = "1.0.151" +version = "1.0.154" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c841b55ecdae098c80dcae9cf767f6f8a0c2cdb3416bbef72181df4d0fe73f14" +checksum = "e7e9cc8b1b85264074fbcc02a88680c4096b1e47df8f739dceb03bf482f04bd6" dependencies = [ "itoa", "memchr", @@ -369,28 +369,28 @@ dependencies = [ [[package]] name = "serde_spanned" -version = "1.1.1" +version = "1.1.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6662b5879511e06e8999a8a235d848113e942c9124f211511b16466ee2995f26" +checksum = "4e7523beb55eece201a2356bee0bbca0d1ab466c14c07703b2e0ee6d42cb0c2c" dependencies = [ "serde_core", ] [[package]] name = "shared_child" -version = "1.1.1" +version = "1.1.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1e362d9935bc50f019969e2f9ecd66786612daae13e8f277be7bfb66e8bed3f7" +checksum = "607549934f6cc26b89cfecfdc46fa90f1e5d1536a68349b0c3a4f9d1c0d37959" dependencies = [ "libc", - "windows-sys 0.60.2", + "windows-sys", ] [[package]] name = "shared_thread" -version = "0.2.0" +version = "0.2.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "52b86057fcb5423f5018e331ac04623e32d6b5ce85e33300f92c79a1973928b0" +checksum = "de1c6cdf07f3a4b1900680728ac1a12f72aa6424f37138f9253116461576e00f" [[package]] name = "shell-escape" @@ -400,9 +400,9 @@ checksum = "45bb67a18fa91266cc7807181f62f9178a6873bfad7dc788c42e6430db40184f" [[package]] name = "syn" -version = "3.0.3" +version = "3.0.9" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "53e9bae58849f64dfa4f5d5ae372c8341f7305f82a3868709269343628b659a3" +checksum = "d78c8dee4c7bf0e14673097256fed6142ce9d3b85a408189d07482442145823b" dependencies = [ "proc-macro2", "quote", @@ -429,7 +429,7 @@ dependencies = [ "fastrand", "once_cell", "rustix", - "windows-sys 0.61.2", + "windows-sys", ] [[package]] @@ -451,9 +451,9 @@ dependencies = [ [[package]] name = "toml" -version = "1.1.4+spec-1.1.0" +version = "1.2.0+spec-1.1.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3aace63f4bbcdfc2c965b059de67119c89c4017a70d633be6c104910f67056f5" +checksum = "c5ffcdf8f50436dbbfd675c1fe1b8e0854f42b7defea8584bdebe1aee900e561" dependencies = [ "serde_core", "serde_spanned", @@ -464,27 +464,27 @@ dependencies = [ [[package]] name = "toml_datetime" -version = "1.1.1+spec-1.1.0" +version = "1.1.2+spec-1.1.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3165f65f62e28e0115a00b2ebdd37eb6f3b641855f9d636d3cd4103767159ad7" +checksum = "2b86d767906c6c42421dcba507eb9d203e779497710a47782a224bb871653053" dependencies = [ "serde_core", ] [[package]] name = "toml_parser" -version = "1.1.3+spec-1.1.0" +version = "1.1.5+spec-1.1.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1d38ac1cf9b95face32296c0a3ede1fdc270627c9d9c02a7274dd6d960dc4d56" +checksum = "baa693a8032d7e1cada7d0041e96126df243179ff061456783ac7f12bda4744c" dependencies = [ "winnow", ] [[package]] name = "unicode-ident" -version = "1.0.24" +version = "1.0.27" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e6e4313cd5fcd3dad5cafa179702e2b244f760991f45397d14d4ebf38247da75" +checksum = "a2c754d6c33795a1c324727428e5a7dedb5b06195f9890bdbcba760d3e246563" [[package]] name = "walkdir" @@ -502,7 +502,7 @@ version = "0.1.11" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "c2a7b1c03c876122aa43f3020e6c3c3ee5c05081c9a00739faf7503aeba10d22" dependencies = [ - "windows-sys 0.61.2", + "windows-sys", ] [[package]] @@ -511,15 +511,6 @@ version = "0.2.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "f0805222e57f7521d6a62e36fa9163bc891acd422f971defe97d64e70d0a4fe5" -[[package]] -name = "windows-sys" -version = "0.60.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f2f500e4d28234f72040990ec9d39e3a6b950f9f22d3dba18416c35882612bcb" -dependencies = [ - "windows-targets", -] - [[package]] name = "windows-sys" version = "0.61.2" @@ -529,71 +520,6 @@ dependencies = [ "windows-link", ] -[[package]] -name = "windows-targets" -version = "0.53.5" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4945f9f551b88e0d65f3db0bc25c33b8acea4d9e41163edf90dcd0b19f9069f3" -dependencies = [ - "windows-link", - "windows_aarch64_gnullvm", - "windows_aarch64_msvc", - "windows_i686_gnu", - "windows_i686_gnullvm", - "windows_i686_msvc", - "windows_x86_64_gnu", - "windows_x86_64_gnullvm", - "windows_x86_64_msvc", -] - -[[package]] -name = "windows_aarch64_gnullvm" -version = "0.53.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a9d8416fa8b42f5c947f8482c43e7d89e73a173cead56d044f6a56104a6d1b53" - -[[package]] -name = "windows_aarch64_msvc" -version = "0.53.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b9d782e804c2f632e395708e99a94275910eb9100b2114651e04744e9b125006" - -[[package]] -name = "windows_i686_gnu" -version = "0.53.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "960e6da069d81e09becb0ca57a65220ddff016ff2d6af6a223cf372a506593a3" - -[[package]] -name = "windows_i686_gnullvm" -version = "0.53.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "fa7359d10048f68ab8b09fa71c3daccfb0e9b559aed648a8f95469c27057180c" - -[[package]] -name = "windows_i686_msvc" -version = "0.53.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1e7ac75179f18232fe9c285163565a57ef8d3c89254a30685b57d83a38d326c2" - -[[package]] -name = "windows_x86_64_gnu" -version = "0.53.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9c3842cdd74a865a8066ab39c8a7a473c0778a3f29370b5fd6b4b9aa7df4a499" - -[[package]] -name = "windows_x86_64_gnullvm" -version = "0.53.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0ffa179e2d07eee8ad8f57493436566c7cc30ac536a3379fdf008f47f6bb7ae1" - -[[package]] -name = "windows_x86_64_msvc" -version = "0.53.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d6bbff5f0aada427a1e5a6da5f1f98158182f26556f345ac9e04d36d0ebed650" - [[package]] name = "winnow" version = "1.0.4" @@ -602,9 +528,9 @@ checksum = "23b97319f7b8343df12cc98938e5c3eb436064524c8d2b4e30a1d3a36eecdf81" [[package]] name = "xattr" -version = "1.6.1" +version = "1.7.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "32e45ad4206f6d2479085147f02bc2ef834ac85886624a23575ae137c8aa8156" +checksum = "963d6fab92d5504b971dc8bd90ca743c2575e590bc8071ea5bc571598667ae08" dependencies = [ "libc", "rustix", diff --git a/pkgs/by-name/ca/cargo-llvm-cov/package.nix b/pkgs/by-name/ca/cargo-llvm-cov/package.nix index 4fd04e77ae03..0d8f2db5486b 100644 --- a/pkgs/by-name/ca/cargo-llvm-cov/package.nix +++ b/pkgs/by-name/ca/cargo-llvm-cov/package.nix @@ -24,7 +24,7 @@ let pname = "cargo-llvm-cov"; - version = "0.9.0"; + version = "0.9.1"; owner = "taiki-e"; homepage = "https://github.com/${owner}/${pname}"; @@ -41,7 +41,7 @@ rustPlatform.buildRustPackage (finalAttrs: { inherit owner; repo = "cargo-llvm-cov"; rev = "v${version}"; - sha256 = "sha256-tPW36leXKuJCaZYOXF0mTd+WYHfGnHNg8foSQ2N+8kU="; + hash = "sha256-eIx4T1oGmwRvb8vps2CfauSGW6MDPs1j3lN+TNKzRdM="; }; # Upstream doesn't include the lockfile so we need to add it back From f546e24096f6996aa2d37d4de908683801221459 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Robert=20Sch=C3=BCtz?= Date: Wed, 4 Nov 2026 15:30:48 -0800 Subject: [PATCH 2349/2378] python3Packages.rfc3161-client: fix build --- .../python-modules/rfc3161-client/default.nix | 14 ++++++++------ 1 file changed, 8 insertions(+), 6 deletions(-) diff --git a/pkgs/development/python-modules/rfc3161-client/default.nix b/pkgs/development/python-modules/rfc3161-client/default.nix index f4c5f5251d0e..1ab8b0b58cde 100644 --- a/pkgs/development/python-modules/rfc3161-client/default.nix +++ b/pkgs/development/python-modules/rfc3161-client/default.nix @@ -4,6 +4,8 @@ fetchFromGitHub, perl, cryptography, + openssl, + pkg-config, rustPlatform, pretend, pytestCheckHook, @@ -26,22 +28,22 @@ buildPythonPackage (finalAttrs: { hash = "sha256-YCn/MDSDgrntbFZBJ9eQ5KM74fx7+r0aMdW3jOGJ5+w="; }; - pythonRelaxDeps = [ - "cryptography" - ]; - nativeBuildInputs = [ + pkg-config rustPlatform.cargoSetupHook rustPlatform.maturinBuildHook - perl + ]; + + buildInputs = [ + openssl ]; dependencies = [ cryptography - pretend ]; nativeCheckInputs = [ + pretend pytestCheckHook ]; From 2147073251c1d70a35cdcd99ea81fff4e169f530 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Robert=20Sch=C3=BCtz?= Date: Wed, 4 Nov 2026 16:20:20 -0800 Subject: [PATCH 2350/2378] python3Packages.sigstore: unpin uv-build --- pkgs/development/python-modules/sigstore/default.nix | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/pkgs/development/python-modules/sigstore/default.nix b/pkgs/development/python-modules/sigstore/default.nix index fed182d732f8..c1bde6218c26 100644 --- a/pkgs/development/python-modules/sigstore/default.nix +++ b/pkgs/development/python-modules/sigstore/default.nix @@ -41,6 +41,11 @@ buildPythonPackage (finalAttrs: { hash = "sha256-YpqkKyhgr8cZ3NxVGVmTkv1Wz+lqkBikHY4N2LVK/UI="; }; + postPatch = '' + substituteInPlace pyproject.toml \ + --replace-fail 'uv_build>=0.12.0,<0.13.0' uv_build + ''; + build-system = [ uv-build ]; pythonRelaxDeps = [ From 9a19a121dd2b0d324a77708c1ad21b48b18598f1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Robert=20Sch=C3=BCtz?= Date: Wed, 4 Nov 2026 16:22:05 -0800 Subject: [PATCH 2351/2378] python3Packages.pyfaup-rs: 0.4.27 -> 0.4.28 Diff: https://github.com/ail-project/faup-rs/compare/pyfaup-rs-v0.4.27...pyfaup-rs-v0.4.28 Changelog: https://github.com/ail-project/faup-rs/releases/tag/pyfaup-rs-pyfaup-rs-v0.4.28 --- pkgs/development/python-modules/pyfaup-rs/default.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pkgs/development/python-modules/pyfaup-rs/default.nix b/pkgs/development/python-modules/pyfaup-rs/default.nix index 8fbbc9994f95..384d68728d51 100644 --- a/pkgs/development/python-modules/pyfaup-rs/default.nix +++ b/pkgs/development/python-modules/pyfaup-rs/default.nix @@ -8,19 +8,19 @@ buildPythonPackage (finalAttrs: { pname = "pyfaup-rs"; - version = "0.4.27"; + version = "0.4.28"; pyproject = true; src = fetchFromGitHub { owner = "ail-project"; repo = "faup-rs"; tag = "pyfaup-rs-v${finalAttrs.version}"; - hash = "sha256-mTEmV8T7Nbuz5SF2TNdM/XfBLhG+M8sZlTE02JXZGVA="; + hash = "sha256-vW29onGzR1VTNwJ1UEWYfMa2C55MInsdOin42F8Eivg="; }; cargoDeps = rustPlatform.fetchCargoVendor { inherit (finalAttrs) pname version src; - hash = "sha256-ym6h7NHEvlyaymM0hOfMWBPtKR0xteZrnIR1c7iCo6w="; + hash = "sha256-1hvfh3yJioqV18USoxq04G+fjl+XQ6WgQcRIndiNH30="; }; buildAndTestSubdir = "python"; From ae5f7ae53a31cf5cb5a4d2a2f21180ca653b6d83 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Robert=20Sch=C3=BCtz?= Date: Wed, 4 Nov 2026 16:22:13 -0800 Subject: [PATCH 2352/2378] python3Packages.w3lib: 2.4.1 -> 2.5.0 Diff: https://github.com/scrapy/w3lib/compare/v2.4.1...v2.5.0 Changelog: https://github.com/scrapy/w3lib/blob/v2.5.0/NEWS --- pkgs/development/python-modules/w3lib/default.nix | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/pkgs/development/python-modules/w3lib/default.nix b/pkgs/development/python-modules/w3lib/default.nix index f386a43ef40b..40e66962902d 100644 --- a/pkgs/development/python-modules/w3lib/default.nix +++ b/pkgs/development/python-modules/w3lib/default.nix @@ -3,24 +3,28 @@ buildPythonPackage, fetchFromGitHub, hatchling, + hypothesis, pytestCheckHook, }: buildPythonPackage (finalAttrs: { pname = "w3lib"; - version = "2.4.1"; + version = "2.5.0"; pyproject = true; src = fetchFromGitHub { owner = "scrapy"; repo = "w3lib"; tag = "v${finalAttrs.version}"; - hash = "sha256-RcjsuzlHx3vp0tBucCQZQTVq9FsxSpY9iLwlvoo02cE="; + hash = "sha256-FaH3NrQ1qAH3tJbIiAVeJXxiTjF7861kl3U5Ux3HrlU="; }; build-system = [ hatchling ]; - nativeCheckInputs = [ pytestCheckHook ]; + nativeCheckInputs = [ + hypothesis + pytestCheckHook + ]; pythonImportsCheck = [ "w3lib" ]; From a1b200b40488aab8df46802003457d9d9d5f4d8c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Robert=20Sch=C3=BCtz?= Date: Wed, 4 Nov 2026 16:21:39 -0800 Subject: [PATCH 2353/2378] python3Packages.playwrightcapture: 1.41.2 -> 1.43.4 Diff: https://github.com/Lookyloo/PlaywrightCapture/compare/v1.41.2...v1.43.4 Changelog: https://github.com/Lookyloo/PlaywrightCapture/releases/tag/v1.43.4 --- pkgs/development/python-modules/playwrightcapture/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/playwrightcapture/default.nix b/pkgs/development/python-modules/playwrightcapture/default.nix index d82c8caaeacd..a92c52608163 100644 --- a/pkgs/development/python-modules/playwrightcapture/default.nix +++ b/pkgs/development/python-modules/playwrightcapture/default.nix @@ -27,14 +27,14 @@ buildPythonPackage (finalAttrs: { pname = "playwrightcapture"; - version = "1.41.2"; + version = "1.43.4"; pyproject = true; src = fetchFromGitHub { owner = "Lookyloo"; repo = "PlaywrightCapture"; tag = "v${finalAttrs.version}"; - hash = "sha256-aHdYewNwEc063QYLpZXTrg28uPVuy6NMS3JLokuH30k="; + hash = "sha256-NBIbMSKVM3IBbK0zdK4/cPzzwHD4iXhVIgE6AkY9Rv0="; }; pythonRelaxDeps = [ From 3f7d9a82e0b3ec2eb1ca06b65b35a0ee2ca0616c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Robert=20Sch=C3=BCtz?= Date: Wed, 4 Nov 2026 16:35:41 -0800 Subject: [PATCH 2354/2378] python3Packages.striprtf: unpin hatchling --- pkgs/development/python-modules/striprtf/default.nix | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/pkgs/development/python-modules/striprtf/default.nix b/pkgs/development/python-modules/striprtf/default.nix index e42c5728499c..9dabd8e605e7 100644 --- a/pkgs/development/python-modules/striprtf/default.nix +++ b/pkgs/development/python-modules/striprtf/default.nix @@ -15,6 +15,11 @@ buildPythonPackage rec { hash = "sha256-wtPZ/zEY322rVYZ18Qox/4u5mawfiSHwDG3J6hmWHxg="; }; + postPatch = '' + substituteInPlace pyproject.toml \ + --replace-fail 'hatchling>=1.21.0,<1.32' hatchling + ''; + build-system = [ hatchling ]; pythonImportsCheck = [ "striprtf" ]; From d2a9ba4d38b016c8f2b75f7815fdf3fd90b2059d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Robert=20Sch=C3=BCtz?= Date: Wed, 4 Nov 2026 16:41:54 -0800 Subject: [PATCH 2355/2378] python3Packages.google-ai-generativelanguage: 0.12.0 -> 0.12.1 Diff: https://github.com/googleapis/google-cloud-python/compare/google-ai-generativelanguage-v0.12.0...google-ai-generativelanguage-v0.12.1 Changelog: https://github.com/googleapis/google-cloud-python/blob/google-ai-generativelanguage-v0.12.1/packages/google-ai-generativelanguage/CHANGELOG.md --- .../python-modules/google-ai-generativelanguage/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/google-ai-generativelanguage/default.nix b/pkgs/development/python-modules/google-ai-generativelanguage/default.nix index df97942fa166..eb576e6f2ffd 100644 --- a/pkgs/development/python-modules/google-ai-generativelanguage/default.nix +++ b/pkgs/development/python-modules/google-ai-generativelanguage/default.nix @@ -22,14 +22,14 @@ buildPythonPackage (finalAttrs: { pname = "google-ai-generativelanguage"; - version = "0.12.0"; + version = "0.12.1"; pyproject = true; src = fetchFromGitHub { owner = "googleapis"; repo = "google-cloud-python"; tag = "google-ai-generativelanguage-v${finalAttrs.version}"; - hash = "sha256-M/7uDWWz4YCfxa4gyM9BaAo10iyTMvtR2MhNpdFYnis="; + hash = "sha256-b0FYupZU0ZNeIL9xJIqEXgg7ToRCQLjiswJ67YzX7OI="; }; sourceRoot = "${finalAttrs.src.name}/packages/google-ai-generativelanguage"; From 41dce2a29e3db72db26fa5a588ac2cd4346e7dc0 Mon Sep 17 00:00:00 2001 From: Ethan Carter Edwards Date: Wed, 4 Nov 2026 23:03:06 -0500 Subject: [PATCH 2356/2378] mdcat: fix build by adding system libs Signed-off-by: Ethan Carter Edwards --- pkgs/by-name/md/mdcat/package.nix | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/pkgs/by-name/md/mdcat/package.nix b/pkgs/by-name/md/mdcat/package.nix index 89cfe2c583d5..8698ba565067 100644 --- a/pkgs/by-name/md/mdcat/package.nix +++ b/pkgs/by-name/md/mdcat/package.nix @@ -1,6 +1,7 @@ { lib, curl, + oniguruma, stdenv, fetchFromGitHub, rustPlatform, @@ -18,10 +19,12 @@ rustPlatform.buildRustPackage rec { pname = "mdcat"; version = "2.19.0"; + __structuredAttrs = true; + src = fetchFromGitHub { owner = "BIRSAx2"; repo = "mdcat"; - rev = "mdcat-${version}"; + tag = "mdcat-${version}"; hash = "sha256-DJa6NPO8P5AjtVh7AuEZSPFN5pGuis3SIZI7rX00Eik="; }; @@ -33,6 +36,7 @@ rustPlatform.buildRustPackage rec { ]; buildInputs = [ curl + oniguruma openssl ]; From de0258e617153caa4a92fbabb93c0e4a69235087 Mon Sep 17 00:00:00 2001 From: Randy Eckenrode Date: Fri, 30 Oct 2026 11:50:29 -0400 Subject: [PATCH 2357/2378] swiftPackages.stdlib: disable LTO on aarch64-linux Building the Swift stdlib with LTO results in compiler crashes on aarch64-linux. e.g., https://hydra.nixos.org/build/351734944 --- .../compilers/swift/by-name/st/stdlib/package.nix | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/pkgs/development/compilers/swift/by-name/st/stdlib/package.nix b/pkgs/development/compilers/swift/by-name/st/stdlib/package.nix index fe0c9da733f7..e510eb16bc04 100644 --- a/pkgs/development/compilers/swift/by-name/st/stdlib/package.nix +++ b/pkgs/development/compilers/swift/by-name/st/stdlib/package.nix @@ -12,8 +12,11 @@ let swiftPlatform = stdenv.hostPlatform.swift.platform; libraryExtension = stdenv.hostPlatform.extensions.library; - # Swift 6.2 is used as a bootstrap compiler. Disable LTO for its stdlib to improve build time. - enableLTO = lib.versions.majorMinor swift_release != "6.2"; + enableLTO = + # Swift 6.2 is used as a bootstrap compiler. Disable LTO for its stdlib to improve build time. + lib.versions.majorMinor swift_release != "6.2" + # Enabling LTO in the stdlib causes `swiftc` to crash in the `MandatoryAllocBoxToStack` pass on aarch64-linux + && !(stdenv.hostPlatform.isLinux && stdenv.hostPlatform.isAarch64); toolLTO = lib.cmakeFeature "SWIFT_TOOLS_ENABLE_LTO" "thin"; in (swiftc.override { From eabd36bdadcf2e25d9298b5d72953b568773be79 Mon Sep 17 00:00:00 2001 From: Marc Bornand Date: Wed, 4 Nov 2026 16:29:42 +0100 Subject: [PATCH 2358/2378] dbus-broker: use systemdLibs instead of systemd - Use systemdLibs instead of systemd - Drop ExecReload since it is not present in the upstream unit --- pkgs/by-name/db/dbus-broker/package.nix | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/pkgs/by-name/db/dbus-broker/package.nix b/pkgs/by-name/db/dbus-broker/package.nix index dd59f9faa64e..16df8701bf18 100644 --- a/pkgs/by-name/db/dbus-broker/package.nix +++ b/pkgs/by-name/db/dbus-broker/package.nix @@ -9,7 +9,7 @@ pkg-config, dbus, linuxHeaders, - systemd, + systemdLibs, expat, }: @@ -156,7 +156,7 @@ stdenv.mkDerivation (finalAttrs: { c-utf8 dbus linuxHeaders - systemd + systemdLibs expat ]; @@ -175,9 +175,6 @@ stdenv.mkDerivation (finalAttrs: { postInstall = '' install -Dm444 $src/README.md $out/share/doc/dbus-broker/README - - sed -i $out/lib/systemd/{system,user}/dbus-broker.service \ - -e 's,^ExecReload.*busctl,ExecReload=${systemd}/bin/busctl,' ''; doCheck = true; From adcf0f4edf150e2c68776658b625e7a7fa99d9e6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Domen=20Ko=C5=BEar?= Date: Thu, 5 Nov 2026 11:53:47 +0000 Subject: [PATCH 2359/2378] devenv: fix Darwin build Backport cachix/nix's fix for ignored nodiscard results, which fail to compile with Darwin's Clang and -Werror=unused-result. Patch the source before constructing the Nix components to preserve the numeric version expected by nix-bindings-rust. https://github.com/NixOS/nixpkgs/pull/580394#issuecomment-6651051083 Assisted-by: OpenAI Codex (GPT-6) --- pkgs/by-name/de/devenv/package.nix | 23 ++++++++++++++++++----- 1 file changed, 18 insertions(+), 5 deletions(-) diff --git a/pkgs/by-name/de/devenv/package.nix b/pkgs/by-name/de/devenv/package.nix index c9b2dadf7bb3..51ce6dd49771 100644 --- a/pkgs/by-name/de/devenv/package.nix +++ b/pkgs/by-name/de/devenv/package.nix @@ -2,7 +2,9 @@ lib, stdenv, useMoldLinker, + applyPatches, fetchFromGitHub, + fetchpatch, gitMinimal, makeBinaryWrapper, cmake, @@ -32,12 +34,23 @@ let devenvNixVersion = "2.35"; devenvNixRev = "2a2ff1045ef7361212d7eac0c062534538968de6"; - devenvNixSrc = fetchFromGitHub { + # Patch the source directly to keep Nix's version parseable by nix-bindings. + devenvNixSrc = applyPatches { name = "devenv-nix-${devenvNixVersion}-source"; - owner = "cachix"; - repo = "nix"; - rev = devenvNixRev; - hash = "sha256-1CSuPNIbGyL2JJjOVg0KU7NWst1yZ6iXGDkiN/3bY5o="; + src = fetchFromGitHub { + name = "devenv-nix-${devenvNixVersion}-source"; + owner = "cachix"; + repo = "nix"; + rev = devenvNixRev; + hash = "sha256-1CSuPNIbGyL2JJjOVg0KU7NWst1yZ6iXGDkiN/3bY5o="; + }; + # Fix ignored nodiscard results when building the pinned Nix fork on Darwin. + patches = [ + (fetchpatch { + url = "https://github.com/cachix/nix/commit/34f5e5824de5025c63895ac64457c3a077548fb4.patch"; + hash = "sha256-bYLhGWpAxyLd50HHt6s7sVlkDEFAJ72Z5fcfWeYxCOo="; + }) + ]; }; nix_components = (nixVersions.nixComponents_git.overrideSource devenvNixSrc).overrideScope ( From e714cb9a72b6069d56b42af2625001d0e3d5a170 Mon Sep 17 00:00:00 2001 From: Ihar Hrachyshka Date: Thu, 5 Nov 2026 07:51:38 -0500 Subject: [PATCH 2360/2378] nixos/qemu-vm: only use virtiofs wrapper on Linux Fixes darwin.linux-builder and NixOS tests on Darwin. --- nixos/modules/virtualisation/qemu-vm.nix | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/nixos/modules/virtualisation/qemu-vm.nix b/nixos/modules/virtualisation/qemu-vm.nix index 3a5914f5a6c7..54b6c3568c4a 100644 --- a/nixos/modules/virtualisation/qemu-vm.nix +++ b/nixos/modules/virtualisation/qemu-vm.nix @@ -328,12 +328,15 @@ let '' )} - export NIX_VIRTIOFS_DIR=$(mktemp -d) + ${lib.optionalString useVirtiofs '' + export NIX_VIRTIOFS_DIR=$(mktemp -d) + ''} # Start QEMU. - exec ${lib.getExe runScript} \ + exec ${lib.optionalString useVirtiofs '' + ${lib.getExe runScript} \ ${ - lib.optionalString (useVirtiofs && cfg.sharedDirectories != { }) + lib.optionalString (cfg.sharedDirectories != { }) "--virtiofs-paths ${ lib.concatStringsSep " " ( lib.mapAttrsToList ( @@ -344,6 +347,7 @@ let }" } \ -- \ + ''} \ ${ qemu-common.qemuBinaryWith { qemuPkg = qemu; From f6eda126d35a893ba435a2e22a73aa11a6ef2836 Mon Sep 17 00:00:00 2001 From: Ihar Hrachyshka Date: Thu, 5 Nov 2026 08:09:12 -0500 Subject: [PATCH 2361/2378] nixos/qemu-vm: skip virtiofs runner without shares Fixes nixosTests.hibernate that resets the shared directories and crashes inside the runner script: for defin in args.virtiofs_paths: ^^^^^^^^^^^^^^^^^^^ TypeError: 'NoneType' object is not iterable --- nixos/modules/virtualisation/qemu-vm.nix | 22 ++++++++++------------ 1 file changed, 10 insertions(+), 12 deletions(-) diff --git a/nixos/modules/virtualisation/qemu-vm.nix b/nixos/modules/virtualisation/qemu-vm.nix index 54b6c3568c4a..e62202c57065 100644 --- a/nixos/modules/virtualisation/qemu-vm.nix +++ b/nixos/modules/virtualisation/qemu-vm.nix @@ -25,6 +25,7 @@ let hostPkgs = cfg.host.pkgs; useVirtiofs = hostPkgs.stdenv.hostPlatform.isLinux; + needsVirtiofs = useVirtiofs && cfg.sharedDirectories != { }; consoles = lib.concatMapStringsSep " " (c: "console=${c}") cfg.qemu.consoles; @@ -328,23 +329,20 @@ let '' )} - ${lib.optionalString useVirtiofs '' + ${lib.optionalString needsVirtiofs '' export NIX_VIRTIOFS_DIR=$(mktemp -d) ''} # Start QEMU. - exec ${lib.optionalString useVirtiofs '' + exec ${lib.optionalString needsVirtiofs '' ${lib.getExe runScript} \ - ${ - lib.optionalString (cfg.sharedDirectories != { }) - "--virtiofs-paths ${ - lib.concatStringsSep " " ( - lib.mapAttrsToList ( - tag: share: - "${tag}:${share.source}:${share.cache}:${if share.writable then "writeback" else "readonly"}" - ) cfg.sharedDirectories - ) - }" + --virtiofs-paths ${ + lib.concatStringsSep " " ( + lib.mapAttrsToList ( + tag: share: + "${tag}:${share.source}:${share.cache}:${if share.writable then "writeback" else "readonly"}" + ) cfg.sharedDirectories + ) } \ -- \ ''} \ From 1e937357e68356f33df1b0b4d0bd157c24413cd5 Mon Sep 17 00:00:00 2001 From: Ihar Hrachyshka Date: Thu, 5 Nov 2026 08:24:01 -0500 Subject: [PATCH 2362/2378] nixos/qemu-vm: clean up virtiofsd on exceptions `yield` may raise an exception too. --- .../run_virtiofsd_qemu/__init__.py | 37 ++++++++++--------- 1 file changed, 19 insertions(+), 18 deletions(-) diff --git a/nixos/modules/virtualisation/run-virtiofsd-qemu/run_virtiofsd_qemu/__init__.py b/nixos/modules/virtualisation/run-virtiofsd-qemu/run_virtiofsd_qemu/__init__.py index 56726f41391d..cd2ca3c911d8 100644 --- a/nixos/modules/virtualisation/run-virtiofsd-qemu/run_virtiofsd_qemu/__init__.py +++ b/nixos/modules/virtualisation/run-virtiofsd-qemu/run_virtiofsd_qemu/__init__.py @@ -32,26 +32,27 @@ async def virtiofsd(virtiofs_dir: Path, tag: str, source: Path, cache: str, flag "--translate-gid=host:65534:0:1", ) - loop = asyncio.get_running_loop() - while not await loop.run_in_executor(None, lambda: socket_path.exists()): - if proc.returncode is not None: - fatal_error(f"virtiofsd process for '{tag}' failed to start. Aborting.") - await asyncio.sleep(1) - - yield - try: - proc.terminate() - async with asyncio.timeout(2): + loop = asyncio.get_running_loop() + while not await loop.run_in_executor(None, lambda: socket_path.exists()): + if proc.returncode is not None: + fatal_error(f"virtiofsd process for '{tag}' failed to start. Aborting.") + await asyncio.sleep(1) + + yield + finally: + try: + proc.terminate() + async with asyncio.timeout(2): + await proc.communicate() + except ProcessLookupError: + pass + except subprocess.TimeoutExpired: + logger.warning( + f"virtiofsd process for '{tag}' still running after SIGTERM. Killing." + ) + proc.kill() await proc.communicate() - except ProcessLookupError: - pass - except subprocess.TimeoutExpired: - logger.warning( - f"virtiofsd process for '{tag}' still running after SIGTERM. Killing." - ) - proc.kill() - await proc.communicate() def extract_arguments() -> tuple[list[tuple[str, Path, str, str]], list[str]]: From e8416d45842a728a08cfde9e9843d525fdedd2ab Mon Sep 17 00:00:00 2001 From: Ihar Hrachyshka Date: Thu, 5 Nov 2026 08:28:07 -0500 Subject: [PATCH 2363/2378] nixos/qemu-vm: catch virtiofsd shutdown timeout asyncio.timeout raises TimeoutError, not subprocess.TimeoutExpired. --- .../run-virtiofsd-qemu/run_virtiofsd_qemu/__init__.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/nixos/modules/virtualisation/run-virtiofsd-qemu/run_virtiofsd_qemu/__init__.py b/nixos/modules/virtualisation/run-virtiofsd-qemu/run_virtiofsd_qemu/__init__.py index cd2ca3c911d8..9c37369b1bba 100644 --- a/nixos/modules/virtualisation/run-virtiofsd-qemu/run_virtiofsd_qemu/__init__.py +++ b/nixos/modules/virtualisation/run-virtiofsd-qemu/run_virtiofsd_qemu/__init__.py @@ -2,7 +2,6 @@ import argparse import asyncio import logging import signal -import subprocess from contextlib import AsyncExitStack, asynccontextmanager from os import environ from pathlib import Path @@ -47,7 +46,7 @@ async def virtiofsd(virtiofs_dir: Path, tag: str, source: Path, cache: str, flag await proc.communicate() except ProcessLookupError: pass - except subprocess.TimeoutExpired: + except TimeoutError: logger.warning( f"virtiofsd process for '{tag}' still running after SIGTERM. Killing." ) From 84202e257cd4e9d906af3a52f9921a3bf4449114 Mon Sep 17 00:00:00 2001 From: Ihar Hrachyshka Date: Thu, 5 Nov 2026 08:43:12 -0500 Subject: [PATCH 2364/2378] nixos/qemu-vm: propagate qemu exit status This also fixes __main__ that was effectively running asyncio.run(None). --- .../run-virtiofsd-qemu/run_virtiofsd_qemu/__init__.py | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/nixos/modules/virtualisation/run-virtiofsd-qemu/run_virtiofsd_qemu/__init__.py b/nixos/modules/virtualisation/run-virtiofsd-qemu/run_virtiofsd_qemu/__init__.py index 9c37369b1bba..950bbc9e4533 100644 --- a/nixos/modules/virtualisation/run-virtiofsd-qemu/run_virtiofsd_qemu/__init__.py +++ b/nixos/modules/virtualisation/run-virtiofsd-qemu/run_virtiofsd_qemu/__init__.py @@ -111,10 +111,12 @@ async def amain(): loop.add_signal_handler(signal.SIGINT, lambda: proc.terminate()) await proc.communicate() + return proc.returncode + def main(): - asyncio.run(amain()) + return asyncio.run(amain()) if __name__ == "__main__": - asyncio.run(main()) + exit(main()) From 3e0defbc730fd7ce87b27a1d6df032e8618687a4 Mon Sep 17 00:00:00 2001 From: Ihar Hrachyshka Date: Thu, 5 Nov 2026 08:46:53 -0500 Subject: [PATCH 2365/2378] nixos/qemu-vm: fix runner help and error messages --- .../run-virtiofsd-qemu/run_virtiofsd_qemu/__init__.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/nixos/modules/virtualisation/run-virtiofsd-qemu/run_virtiofsd_qemu/__init__.py b/nixos/modules/virtualisation/run-virtiofsd-qemu/run_virtiofsd_qemu/__init__.py index 950bbc9e4533..74177acbd5a4 100644 --- a/nixos/modules/virtualisation/run-virtiofsd-qemu/run_virtiofsd_qemu/__init__.py +++ b/nixos/modules/virtualisation/run-virtiofsd-qemu/run_virtiofsd_qemu/__init__.py @@ -59,7 +59,7 @@ def extract_arguments() -> tuple[list[tuple[str, Path, str, str]], list[str]]: parser.add_argument( "--virtiofs-paths", nargs="+", - help="Paths to be exposed with virtiofsd in the format 'tag:source:mode:cache'", + help="Paths to be exposed with virtiofsd in the format 'tag:source:cache:mode'", ) args, qemu_args = parser.parse_known_args() @@ -69,7 +69,7 @@ def extract_arguments() -> tuple[list[tuple[str, Path, str, str]], list[str]]: if qemu_args[0] != "--": fatal_error( - "Usage error: expected command to run separated with '--' from the args pased to this program!" + "Usage error: expected command to run separated with '--' from the args passed to this program!" ) qemu_args.pop(0) if not qemu_args: @@ -81,7 +81,7 @@ def extract_arguments() -> tuple[list[tuple[str, Path, str, str]], list[str]]: args = defin.split(":") if len(args) != 4: fatal_error( - f"--virtio-paths definition '{defin}' doesn't have four params separated by ':'!" + f"--virtiofs-paths definition '{defin}' doesn't have four params separated by ':'!" ) defs.append((args[0], Path(args[1]), args[2], args[3])) From 4a51f235272bffe937e99a363fb9bf5036ef9e3f Mon Sep 17 00:00:00 2001 From: Jost Alemann Date: Thu, 5 Nov 2026 18:58:10 +0100 Subject: [PATCH 2366/2378] ty: 0.0.97 -> 0.0.98 Changelog: https://github.com/astral-sh/ty/releases/tag/0.0.98 Diff: https://github.com/astral-sh/ty/compare/0.0.97...0.0.98 --- pkgs/by-name/ty/ty/package.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pkgs/by-name/ty/ty/package.nix b/pkgs/by-name/ty/ty/package.nix index 00b19010ca7b..b4548042ab1b 100644 --- a/pkgs/by-name/ty/ty/package.nix +++ b/pkgs/by-name/ty/ty/package.nix @@ -18,7 +18,7 @@ rustPlatform.buildRustPackage (finalAttrs: { pname = "ty"; - version = "0.0.97"; + version = "0.0.98"; __structuredAttrs = true; src = fetchFromGitHub { @@ -26,7 +26,7 @@ rustPlatform.buildRustPackage (finalAttrs: { repo = "ty"; tag = finalAttrs.version; fetchSubmodules = true; - hash = "sha256-J2r34NB/OQ5fxBXHl6Thzg/Xpq/pPTUNFKTPGtXEGuI="; + hash = "sha256-MxdZnjzyjNlWZrau2NywwwnBdJS5P49pD7oNB+iAwuI="; }; # For Darwin platforms, remove the integration test for file notifications, @@ -40,7 +40,7 @@ rustPlatform.buildRustPackage (finalAttrs: { cargoBuildFlags = [ "--package=ty" ]; - cargoHash = "sha256-6lMUIwHCpiC/AbnvRL0EtVoN0lszqPZk2rfpo48/LJI="; + cargoHash = "sha256-emq9FOUAlj6CXZjZS+1Y/kc2SH+dgw0HrBIzqC+xAxo="; nativeBuildInputs = [ installShellFiles ]; buildInputs = [ rust-jemalloc-sys ]; From b57dca01dbbe0de7b86f0b3d4c4f8dd24ef4c63f Mon Sep 17 00:00:00 2001 From: K900 Date: Thu, 5 Nov 2026 21:55:27 +0300 Subject: [PATCH 2367/2378] python3Packages.litellm: relax filelock dependency --- pkgs/development/python-modules/litellm/default.nix | 1 + 1 file changed, 1 insertion(+) diff --git a/pkgs/development/python-modules/litellm/default.nix b/pkgs/development/python-modules/litellm/default.nix index b11336d8a53e..e60264992dbe 100644 --- a/pkgs/development/python-modules/litellm/default.nix +++ b/pkgs/development/python-modules/litellm/default.nix @@ -223,6 +223,7 @@ buildPythonPackage (finalAttrs: { "boto3" "certifi" "click" + "filelock" "huggingface-hub" "importlib-metadata" "jsonschema" From 02cb705949511e8ff104b269267fb4f6f03a387e Mon Sep 17 00:00:00 2001 From: Jost Alemann Date: Thu, 5 Nov 2026 20:16:27 +0100 Subject: [PATCH 2368/2378] ruff: 0.17.3 -> 0.17.4 Changelog: https://github.com/astral-sh/ruff/releases/tag/0.17.4 Diff: https://github.com/astral-sh/ruff/compare/0.17.3...0.17.4 --- pkgs/by-name/ru/ruff/package.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pkgs/by-name/ru/ruff/package.nix b/pkgs/by-name/ru/ruff/package.nix index 1e077204ff36..5776efc33a34 100644 --- a/pkgs/by-name/ru/ruff/package.nix +++ b/pkgs/by-name/ru/ruff/package.nix @@ -16,7 +16,7 @@ rustPlatform.buildRustPackage (finalAttrs: { pname = "ruff"; - version = "0.17.3"; + version = "0.17.4"; __structuredAttrs = true; @@ -24,12 +24,12 @@ rustPlatform.buildRustPackage (finalAttrs: { owner = "astral-sh"; repo = "ruff"; tag = finalAttrs.version; - hash = "sha256-6KhpFNxK+CZBoO7/VXOA9MF0bkD7MnpI/VBgkkYxhsw="; + hash = "sha256-63UsA1N75qOBkStpaZN7TjPZiZx0LuiL4fzjgVYS3Ek="; }; cargoBuildFlags = [ "--package=ruff" ]; - cargoHash = "sha256-vHaaxm5/95vJQSs3eXzTZIl+bpXpdnaIvaZ0f8nqPJo="; + cargoHash = "sha256-N+xOMGpz1NIS7ZX/YwmJLCeK3/LEhXPGdUN2bZ7ZFR0="; nativeBuildInputs = [ installShellFiles ]; From edb53d6384175beb6390e711264723c802c3c2dd Mon Sep 17 00:00:00 2001 From: Ethan Carter Edwards Date: Thu, 5 Nov 2026 14:35:06 -0500 Subject: [PATCH 2369/2378] rio: fix build with system libs Signed-off-by: Ethan Carter Edwards --- pkgs/by-name/ri/rio/package.nix | 13 ++++++++----- 1 file changed, 8 insertions(+), 5 deletions(-) diff --git a/pkgs/by-name/ri/rio/package.nix b/pkgs/by-name/ri/rio/package.nix index e657b3338116..4471f4e5620c 100644 --- a/pkgs/by-name/ri/rio/package.nix +++ b/pkgs/by-name/ri/rio/package.nix @@ -24,6 +24,7 @@ libxi, libxrandr, libxcb, + oniguruma, withWayland ? !stdenv.hostPlatform.isDarwin, wayland, testers, @@ -77,11 +78,13 @@ rustPlatform.buildRustPackage (finalAttrs: { runtimeDependencies = rlinkLibs; - buildInputs = - rlinkLibs - ++ lib.optionals stdenv.hostPlatform.isDarwin [ - darwin.libutil - ]; + buildInputs = [ + oniguruma + ] + ++ rlinkLibs + ++ lib.optionals stdenv.hostPlatform.isDarwin [ + darwin.libutil + ]; outputs = [ "out" From e7e40733015806346de6cd8d8567d0718a9a18f1 Mon Sep 17 00:00:00 2001 From: Ethan Carter Edwards Date: Thu, 5 Nov 2026 09:47:19 -0500 Subject: [PATCH 2370/2378] lumen: fix build by adding system libs Signed-off-by: Ethan Carter Edwards --- pkgs/by-name/lu/lumen/package.nix | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/pkgs/by-name/lu/lumen/package.nix b/pkgs/by-name/lu/lumen/package.nix index 331ab3633049..c437cf7ec357 100644 --- a/pkgs/by-name/lu/lumen/package.nix +++ b/pkgs/by-name/lu/lumen/package.nix @@ -4,6 +4,7 @@ fetchFromGitHub, makeWrapper, pkg-config, + libgit2, openssl, fzf, mdcat, @@ -25,15 +26,15 @@ rustPlatform.buildRustPackage (finalAttrs: { cargoHash = "sha256-ZXw7KEvf1sUHWIM5R4Th2SmekTX6rGXznAq3mtcf3Zo="; - # use the non-vendored openssl - env.OPENSSL_NO_VENDOR = 1; - nativeBuildInputs = [ makeWrapper pkg-config ]; - buildInputs = [ openssl ]; + buildInputs = [ + libgit2 + openssl + ]; postFixup = '' wrapProgram $out/bin/lumen --prefix PATH : ${ From 838ab2bbe30806de04325afbf2933f0873982b9d Mon Sep 17 00:00:00 2001 From: picnoir Date: Thu, 5 Nov 2026 20:53:32 +0100 Subject: [PATCH 2371/2378] gitui: add libgit2 buildinput https://github.com/NixOS/nixpkgs/pull/537108 is now forcing common system libs. https://github.com/NixOS/nixpkgs/issues/570939 --- pkgs/by-name/gi/gitui/package.nix | 2 ++ 1 file changed, 2 insertions(+) diff --git a/pkgs/by-name/gi/gitui/package.nix b/pkgs/by-name/gi/gitui/package.nix index 971625b7b9fc..6b7e68ed32f4 100644 --- a/pkgs/by-name/gi/gitui/package.nix +++ b/pkgs/by-name/gi/gitui/package.nix @@ -3,6 +3,7 @@ stdenv, rustPlatform, fetchFromGitHub, + libgit2, libiconv, openssl, pkg-config, @@ -31,6 +32,7 @@ rustPlatform.buildRustPackage (finalAttrs: { buildInputs = [ openssl + libgit2 ] ++ lib.optional stdenv.hostPlatform.isLinux xclip ++ lib.optionals stdenv.hostPlatform.isDarwin [ From 4643f1fcece993cc6b63666ffd9a69b214df0f56 Mon Sep 17 00:00:00 2001 From: Alex Epelde Date: Thu, 5 Nov 2026 15:09:49 -0500 Subject: [PATCH 2372/2378] nextcloud-notify_push: add missing system libs --- pkgs/by-name/ne/nextcloud-notify_push/package.nix | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/pkgs/by-name/ne/nextcloud-notify_push/package.nix b/pkgs/by-name/ne/nextcloud-notify_push/package.nix index 87fa00f63d4d..48ce67865531 100644 --- a/pkgs/by-name/ne/nextcloud-notify_push/package.nix +++ b/pkgs/by-name/ne/nextcloud-notify_push/package.nix @@ -3,6 +3,9 @@ fetchFromGitHub, nixosTests, rustPlatform, + pkg-config, + aws-lc, + sqlite, fetchNextcloudApp, }: @@ -24,6 +27,15 @@ rustPlatform.buildRustPackage rec { cargoHash = "sha256-skKOCJBtpvtdc594eOxbvSIl+SucaH0jl1gFv9kfvNA="; + nativeBuildInputs = [ + pkg-config + ]; + + buildInputs = [ + aws-lc + sqlite + ]; + passthru = rec { app = fetchNextcloudApp { appName = "notify_push"; From be76fcb823f481dd3512bcf3b54456494f8c8bde Mon Sep 17 00:00:00 2001 From: Alex Epelde Date: Thu, 5 Nov 2026 16:30:19 -0500 Subject: [PATCH 2373/2378] forgejo{,-lts}: fix tests with Go 1.27 --- pkgs/by-name/fo/forgejo/generic.nix | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/pkgs/by-name/fo/forgejo/generic.nix b/pkgs/by-name/fo/forgejo/generic.nix index d78e9a63d383..a18a36eb63b8 100644 --- a/pkgs/by-name/fo/forgejo/generic.nix +++ b/pkgs/by-name/fo/forgejo/generic.nix @@ -26,6 +26,7 @@ runCommand, stdenv, fetchFromCodeberg, + fetchpatch, buildNpmPackage, writableTmpDirAsHomeHook, }: @@ -83,7 +84,18 @@ buildGoModule rec { patches = [ ./static-root-path.patch + + (fetchpatch { + name = "go_1_27.patch"; + url = "https://codeberg.org/forgejo/forgejo/commit/cb7b3bacd473302856f44db440f334e5bc4ff3c2.patch"; + includes = [ + "modules/avatar/hash_test.go" + "modules/packages/alpine/metadata_test.go" + ]; + hash = "sha256-orSzsV7ophjmTC8EHjRgGanXNnGt07YazofLnIuqmcc="; + }) ]; + postPatch = '' substituteInPlace modules/setting/server.go --subst-var data ''; From d59e71131c8ecbe58ada514720ebcda30a1b1068 Mon Sep 17 00:00:00 2001 From: Alex Epelde Date: Thu, 5 Nov 2026 17:41:37 -0500 Subject: [PATCH 2374/2378] framework-tool: add missing system libs --- pkgs/by-name/fr/framework-tool/package.nix | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/pkgs/by-name/fr/framework-tool/package.nix b/pkgs/by-name/fr/framework-tool/package.nix index edd5dc9be5dd..3137fb9d1e2c 100644 --- a/pkgs/by-name/fr/framework-tool/package.nix +++ b/pkgs/by-name/fr/framework-tool/package.nix @@ -3,6 +3,7 @@ rustPlatform, fetchFromGitHub, pkg-config, + libgit2, udev, }: @@ -20,7 +21,11 @@ rustPlatform.buildRustPackage (finalAttrs: { cargoHash = "sha256-gc/diU6reAaFnar1HZ4tMzYsGo8k3LH35g9Er5T8xas="; nativeBuildInputs = [ pkg-config ]; - buildInputs = [ udev ]; + + buildInputs = [ + libgit2 + udev + ]; meta = { description = "Swiss army knife for Framework laptops"; From 4653a79e0578fe97fae6f84b7a6d866cc45e06be Mon Sep 17 00:00:00 2001 From: Martin Weinelt Date: Wed, 4 Nov 2026 11:02:01 +0100 Subject: [PATCH 2375/2378] python3Packages.asgiref: 3.11.1 -> 3.13.0 https://github.com/django/asgiref/blob/3.13.0/CHANGELOG.txt --- pkgs/development/python-modules/asgiref/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/asgiref/default.nix b/pkgs/development/python-modules/asgiref/default.nix index 516fb48f8b5f..209913f89afe 100644 --- a/pkgs/development/python-modules/asgiref/default.nix +++ b/pkgs/development/python-modules/asgiref/default.nix @@ -10,7 +10,7 @@ }: buildPythonPackage (finalAttrs: { - version = "3.11.1"; + version = "3.13.0"; pname = "asgiref"; pyproject = true; @@ -18,7 +18,7 @@ buildPythonPackage (finalAttrs: { owner = "django"; repo = "asgiref"; tag = finalAttrs.version; - hash = "sha256-Mhnaowgv5a+O2hN0ZSdtdhCBQx8HoKSwtRC3gHodgKY="; + hash = "sha256-Qsg0PwD6XYZkcBIcnwEjPC+2fCro35MQyXMPWm64014="; }; build-system = [ setuptools ]; From 9a25b3efabd3d8ae494f9dbf2a9afe8c52ba2487 Mon Sep 17 00:00:00 2001 From: Randy Eckenrode Date: Fri, 30 Oct 2026 11:50:29 -0400 Subject: [PATCH 2376/2378] swift: ensure there is enough room for install names on Darwin MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit We need to make sure there’s enough space in the binary for the new install name when installing the dylibs and updating references to them. Otherwise, it can fail. While this is only affecting Swift 6.4 on Hydra, the change is also being applied to 6.2 just in case the failure happens intermittently and just hasn’t affected 6.2 yet. --- .../compilers/swift/by-name/sw/swiftc/package.nix | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/pkgs/development/compilers/swift/by-name/sw/swiftc/package.nix b/pkgs/development/compilers/swift/by-name/sw/swiftc/package.nix index 706a5503ac9e..f73776fdc387 100644 --- a/pkgs/development/compilers/swift/by-name/sw/swiftc/package.nix +++ b/pkgs/development/compilers/swift/by-name/sw/swiftc/package.nix @@ -327,6 +327,11 @@ stdenv.mkDerivation (finalAttrs: { # dependent packages to require a linker plugin to read the LLVM bitcode. ++ lib.optionals (bootstrapStage == 2 && stdenv.hostPlatform.isElf) [ "-ffat-lto-objects" ] ); + } + // lib.optionalAttrs stdenv.hostPlatform.isDarwin { + # Avoid the following error when running `install_name_tool`: + # changing install names or rpaths can't be redone for: (for architecture arm64) because larger updated load commands do not fit + NIX_LDFLAGS = "-headerpad_max_install_names"; }; preConfigure = From a9dc3058ec623a3e7f095e9d5ebef77ebfaf9dfa Mon Sep 17 00:00:00 2001 From: Ethan Carter Edwards Date: Thu, 5 Nov 2026 22:45:18 -0500 Subject: [PATCH 2377/2378] nix-check-deps: fix build by adding system libs Signed-off-by: Ethan Carter Edwards --- pkgs/by-name/ni/nix-check-deps/package.nix | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/pkgs/by-name/ni/nix-check-deps/package.nix b/pkgs/by-name/ni/nix-check-deps/package.nix index 7b9831d97a99..8b8121210372 100644 --- a/pkgs/by-name/ni/nix-check-deps/package.nix +++ b/pkgs/by-name/ni/nix-check-deps/package.nix @@ -2,6 +2,8 @@ lib, rustPlatform, fetchFromGitHub, + pkg-config, + zstd, unstableGitUpdater, }: @@ -9,6 +11,8 @@ rustPlatform.buildRustPackage { pname = "nix-check-deps"; version = "0-unstable-2025-04-09"; + __structuredAttrs = true; + src = fetchFromGitHub { owner = "GrimmTheShrimp"; repo = "nix-check-deps"; @@ -18,6 +22,10 @@ rustPlatform.buildRustPackage { cargoHash = "sha256-1fazKGz3PtyTvcIW+PY/LwYc6JlErSO9ZFisTUXJdhc="; + nativeBuildInputs = [ pkg-config ]; + + buildInputs = [ zstd ]; + passthru.updateScript = unstableGitUpdater { }; meta = { From ba5344b37e9faa1af08bd677335c858961d65a3b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Vladim=C3=ADr=20=C4=8Cun=C3=A1t?= Date: Fri, 6 Nov 2026 10:33:17 +0100 Subject: [PATCH 2378/2378] gitlab-elasticsearch-indexer: fixup build after devendor --- pkgs/by-name/gi/gitlab-elasticsearch-indexer/code-parser.nix | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/pkgs/by-name/gi/gitlab-elasticsearch-indexer/code-parser.nix b/pkgs/by-name/gi/gitlab-elasticsearch-indexer/code-parser.nix index 281cbafbf516..744e9ede6077 100644 --- a/pkgs/by-name/gi/gitlab-elasticsearch-indexer/code-parser.nix +++ b/pkgs/by-name/gi/gitlab-elasticsearch-indexer/code-parser.nix @@ -4,6 +4,8 @@ rustPlatform, pkg-config, openssl, + oniguruma, + zstd, clang, }: @@ -27,6 +29,8 @@ rustPlatform.buildRustPackage (finalAttrs: { ]; buildInputs = [ openssl.dev + oniguruma + zstd ]; preInstall = ''