lol

treewide: add __attrsFailEvaluation and __recurseIntoDerivationForReleaseJobs

+103 -71
+1
lib/types.nix
··· 67 67 ; 68 68 outer_types = 69 69 rec { 70 + __attrsFailEvaluation = true; 70 71 isType = type: x: (x._type or "") == type; 71 72 72 73 setType = typeName: value: value // {
+1 -1
pkgs/applications/editors/eclipse/default.nix
··· 226 226 227 227 ### Plugins 228 228 229 - plugins = callPackage ./plugins.nix { }; 229 + plugins = callPackage ./plugins.nix { } // { __attrsFailEvaluation = true; }; 230 230 231 231 }
+1 -1
pkgs/applications/editors/emacs/elisp-packages/elpa-devel-packages.nix
··· 89 89 90 90 in elpaDevelPackages // { inherit elpaBuild; }); 91 91 92 - in generateElpa { } 92 + in (generateElpa { }) // { __attrsFailEvaluation = true; }
+1 -1
pkgs/applications/editors/emacs/elisp-packages/elpa-packages.nix
··· 181 181 182 182 in elpaPackages // { inherit elpaBuild; }); 183 183 184 - in generateElpa { } 184 + in (generateElpa { }) // { __attrsFailEvaluation = true; }
+2
pkgs/applications/editors/emacs/elisp-packages/manual-packages.nix
··· 113 113 emacsSessionManagement = self.session-management-for-emacs; 114 114 rectMark = self.rect-mark; 115 115 sunriseCommander = self.sunrise-commander; 116 + 117 + __attrsFailEvaluation = true; 116 118 }
+2 -1
pkgs/applications/editors/emacs/elisp-packages/melpa-packages.nix
··· 735 735 in lib.mapAttrs (n: v: if lib.hasAttr n overrides then overrides.${n} else v) super); 736 736 737 737 in 738 - generateMelpa { } 738 + (generateMelpa { }) 739 + // { __attrsFailEvaluation = true; }
+2 -2
pkgs/applications/editors/emacs/elisp-packages/nongnu-packages.nix
··· 20 20 generated ? ./nongnu-generated.nix 21 21 }: let 22 22 23 - imported = import generated { 23 + imported = (import generated { 24 24 callPackage = pkgs: args: self.callPackage pkgs (args // { 25 25 # Use custom elpa url fetcher with fallback/uncompress 26 26 fetchurl = buildPackages.callPackage ./fetchelpa.nix { }; 27 27 }); 28 - }; 28 + }) // { __attrsFailEvaluation = true; }; 29 29 30 30 super = imported; 31 31
+1 -1
pkgs/applications/editors/jetbrains/default.nix
··· 249 249 250 250 webstorm = mkJetBrainsProduct { pname = "webstorm"; extraBuildInputs = [ stdenv.cc.cc musl ]; }; 251 251 252 - plugins = callPackage ./plugins { }; 252 + plugins = callPackage ./plugins { } // { __attrsFailEvaluation = true; }; 253 253 254 254 }
+3
pkgs/desktops/gnome/extensions/default.nix
··· 35 35 lib.trivial.pipe extensions [ 36 36 (map (extension: lib.nameValuePair extension.extensionUuid extension)) 37 37 builtins.listToAttrs 38 + (attrs: attrs // { __attrsFailEvaluation = true; }) 38 39 ]; 39 40 40 41 # Map the list of extensions to an attrset based on the pname as key, which is more human readable than the UUID ··· 66 67 67 68 # Keep the last three versions in here 68 69 gnomeExtensions = lib.trivial.pipe (gnome43Extensions // gnome44Extensions // gnome45Extensions) [ 70 + (v: builtins.removeAttrs v [ "__attrsFailEvaluation" ]) 69 71 # Apply some custom patches for automatically packaged extensions 70 72 (callPackage ./extensionOverrides.nix {}) 71 73 # Add all manually packaged extensions ··· 88 90 # Make the set "public" 89 91 lib.recurseIntoAttrs 90 92 ]; 93 + 91 94 }
+1 -1
pkgs/development/compilers/chicken/4/default.nix
··· 3 3 callPackage = newScope self; 4 4 5 5 self = { 6 - pkgs = self; 6 + pkgs = self // { recurseForDerivations = false; }; 7 7 8 8 fetchegg = callPackage ./fetchegg { }; 9 9
+1 -1
pkgs/development/compilers/rust/default.nix
··· 62 62 bootRustPlatform = makeRustPlatform bootstrapRustPackages; 63 63 in { 64 64 # Packages suitable for build-time, e.g. `build.rs`-type stuff. 65 - buildRustPackages = (selectRustPackage buildPackages).packages.stable; 65 + buildRustPackages = (selectRustPackage buildPackages).packages.stable // { __attrsFailEvaluation = true; }; 66 66 # Analogous to stdenv 67 67 rustPlatform = makeRustPlatform self.buildRustPackages; 68 68 rustc-unwrapped = self.callPackage ./rustc.nix ({
+2 -1
pkgs/development/compilers/swift/default.nix
··· 55 55 darwin = pkgs.darwin.overrideScope (_: prev: { 56 56 inherit apple_sdk; 57 57 inherit (apple_sdk) Libsystem LibsystemCross libcharset libunwind objc4 configd IOKit Security; 58 - CF = apple_sdk.CoreFoundation; 58 + CF = apple_sdk.CoreFoundation // { __attrsFailEvaluation = true; }; 59 + __attrsFailEvaluation = true; 59 60 }); 60 61 xcodebuild = pkgs.xcbuild.override { 61 62 inherit (apple_sdk.frameworks) CoreServices CoreGraphics ImageIO;
+2 -1
pkgs/development/haskell-modules/default.nix
··· 18 18 19 19 haskellPackages = pkgs.callPackage makePackageSet { 20 20 package-set = initialPackages; 21 - inherit stdenv haskellLib ghc buildHaskellPackages extensible-self all-cabal-hashes; 21 + inherit stdenv haskellLib ghc extensible-self all-cabal-hashes; 22 + buildHaskellPackages = buildHaskellPackages // { __attrsFailEvaluation = true; }; 22 23 }; 23 24 24 25 platformConfigurations = lib.optionals stdenv.hostPlatform.isAarch [
+2 -2
pkgs/development/haskell-modules/make-package-set.nix
··· 614 614 Type: [str] -> drv -> drv 615 615 */ 616 616 generateOptparseApplicativeCompletions = 617 - self.callPackage ( 617 + (self.callPackage ( 618 618 { stdenv }: 619 619 620 620 commands: ··· 623 623 if stdenv.buildPlatform.canExecute stdenv.hostPlatform 624 624 then lib.foldr haskellLib.__generateOptparseApplicativeCompletion pkg commands 625 625 else pkg 626 - ) { }; 626 + ) { }) // { __attrsFailEvaluation = true; }; 627 627 628 628 /* 629 629 Modify given Haskell package to force GHC to employ the LLVM
+2 -1
pkgs/development/interpreters/lua-5/default.nix
··· 65 65 inherit (luaPackages) requiredLuaModules; 66 66 }; 67 67 withPackages = import ./with-packages.nix { inherit buildEnv luaPackages;}; 68 - pkgs = luaPackages; 68 + pkgs = let lp = luaPackages; 69 + in lp // { luaPackages = lp.luaPackages // { __attrsFailEvaluation = true; }; }; 69 70 interpreter = "${self}/bin/${executable}"; 70 71 inherit executable luaversion; 71 72 luaOnBuild = luaOnBuildForHost.override { inherit packageOverrides; self = luaOnBuild; };
+1 -1
pkgs/development/libraries/qt-5/5.15/default.nix
··· 23 23 24 24 let 25 25 26 - srcs = import ./srcs.nix { inherit lib fetchgit fetchFromGitHub; }; 26 + srcs = import ./srcs.nix { inherit lib fetchgit fetchFromGitHub; } // { __attrsFailEvaluation = true; }; 27 27 28 28 qtCompatVersion = srcs.qtbase.version; 29 29
+2
pkgs/test/cuda/default.nix
··· 27 27 cuda-library-samples_cudatoolkit_11_3 28 28 cuda-library-samples_cudatoolkit_11_4 29 29 ; 30 + 31 + __attrsFailEvaluation = true; 30 32 }
+2 -2
pkgs/test/default.nix
··· 119 119 120 120 macOSSierraShared = callPackage ./macos-sierra-shared {}; 121 121 122 - cross = callPackage ./cross {}; 122 + cross = callPackage ./cross {} // { __attrsFailEvaluation = true; }; 123 123 124 124 php = recurseIntoAttrs (callPackages ./php {}); 125 125 126 - pkg-config = recurseIntoAttrs (callPackage ../top-level/pkg-config/tests.nix { }); 126 + pkg-config = recurseIntoAttrs (callPackage ../top-level/pkg-config/tests.nix { }) // { __recurseIntoDerivationForReleaseJobs = true; }; 127 127 128 128 buildRustCrate = callPackage ../build-support/rust/build-rust-crate/test { }; 129 129 importCargoLock = callPackage ../build-support/rust/test/import-cargo-lock { };
+38 -31
pkgs/top-level/all-packages.nix
··· 116 116 # We don't want nix-env -q to enter this, because all of these are aliases. 117 117 dontRecurseIntoAttrs ( 118 118 import ./pkg-config/defaultPkgConfigPackages.nix pkgs 119 - ); 119 + ) // { __attrsFailEvaluation = true; }; 120 120 121 121 ### Nixpkgs maintainer tools 122 122 ··· 159 159 system = stdenv.hostPlatform.system; 160 160 callTest = config: config.test.driver; 161 161 }; 162 + __attrsFailEvaluation = true; 162 163 }; 163 164 164 165 ### BUILD SUPPORT ··· 902 903 903 904 dockerTools = callPackage ../build-support/docker { 904 905 writePython3 = buildPackages.writers.writePython3; 905 - }; 906 + } // { __attrsFailEvaluation = true; }; 906 907 907 908 fakeNss = callPackage ../build-support/fake-nss { }; 908 909 ··· 10346 10347 inherit (callPackages ../build-support/node/fetch-npm-deps { }) 10347 10348 fetchNpmDeps prefetch-npm-deps; 10348 10349 10349 - nodePackages_latest = dontRecurseIntoAttrs nodejs_latest.pkgs; 10350 + nodePackages_latest = dontRecurseIntoAttrs nodejs_latest.pkgs // { __attrsFailEvaluation = true; }; 10350 10351 10351 - nodePackages = dontRecurseIntoAttrs nodejs.pkgs; 10352 + nodePackages = dontRecurseIntoAttrs nodejs.pkgs // { __attrsFailEvaluation = true; }; 10352 10353 10353 10354 node2nix = nodePackages.node2nix; 10354 10355 ··· 16251 16252 # Prefer native-bignum to avoid linking issues with gmp 16252 16253 else if stdenv.hostPlatform.isStatic 16253 16254 then haskell.packages.native-bignum.ghc94 16254 - else haskell.packages.ghc94); 16255 + else haskell.packages.ghc94) 16256 + // { __recurseIntoDerivationForReleaseJobs = true; }; 16255 16257 16256 16258 # haskellPackages.ghc is build->host (it exposes the compiler used to build the 16257 16259 # set, similarly to stdenv.cc), but pkgs.ghc should be host->target to be more ··· 16832 16834 ocamlPackages = ocaml-ng.ocamlPackages_4_14; 16833 16835 }; 16834 16836 16835 - ocaml-ng = callPackage ./ocaml-packages.nix { }; 16837 + ocaml-ng = callPackage ./ocaml-packages.nix { } // { __attrsFailEvaluation = true; }; 16836 16838 ocaml = ocamlPackages.ocaml; 16837 16839 16838 16840 ocamlPackages = recurseIntoAttrs ocaml-ng.ocamlPackages; ··· 17616 17618 inherit (beam.packages.erlang) 17617 17619 erlang-ls erlfmt elvis-erlang 17618 17620 rebar rebar3 rebar3WithPlugins 17619 - fetchHex beamPackages 17621 + fetchHex 17620 17622 lfe lfe_2_1; 17623 + beamPackages = beam.packages.erlang // { __attrsFailEvaluation = true; }; 17621 17624 17622 17625 expr = callPackage ../development/interpreters/expr { }; 17623 17626 ··· 17899 17902 # List of extensions with overrides to apply to all Python package sets. 17900 17903 pythonPackagesExtensions = [ ]; 17901 17904 # Python package sets. 17902 - python27Packages = python27.pkgs; 17903 - python38Packages = python38.pkgs; 17904 - python39Packages = python39.pkgs; 17905 - python310Packages = recurseIntoAttrs python310.pkgs; 17906 - python311Packages = recurseIntoAttrs python311.pkgs; 17907 - python312Packages = python312.pkgs; 17908 - python313Packages = python313.pkgs; 17909 - pypyPackages = pypy.pkgs; 17910 - pypy2Packages = pypy2.pkgs; 17911 - pypy27Packages = pypy27.pkgs; 17912 - pypy3Packages = pypy3.pkgs; 17913 - pypy39Packages = pypy39.pkgs; 17914 - pypy310Packages = pypy310.pkgs; 17905 + python27Packages = python27.pkgs // { __attrsFailEvaluation = true; }; 17906 + python38Packages = python38.pkgs // { __attrsFailEvaluation = true; }; 17907 + python39Packages = python39.pkgs // { __attrsFailEvaluation = true; }; 17908 + python310Packages = recurseIntoAttrs python310.pkgs // { pythonPackages = python310.pkgs // { __attrsFailEvaluation = true; }; }; 17909 + python311Packages = recurseIntoAttrs python311.pkgs // { pythonPackages = python311.pkgs // { __attrsFailEvaluation = true; }; }; 17910 + python312Packages = python312.pkgs // { __attrsFailEvaluation = true; }; 17911 + python313Packages = python313.pkgs // { __attrsFailEvaluation = true; }; 17912 + pypyPackages = pypy.pkgs // { __attrsFailEvaluation = true; }; 17913 + pypy2Packages = pypy2.pkgs // { __attrsFailEvaluation = true; }; 17914 + pypy27Packages = pypy27.pkgs // { __attrsFailEvaluation = true; }; 17915 + pypy3Packages = pypy3.pkgs // { __attrsFailEvaluation = true; }; 17916 + pypy39Packages = pypy39.pkgs // { __attrsFailEvaluation = true; }; 17917 + pypy310Packages = pypy310.pkgs // { __attrsFailEvaluation = true; }; 17915 17918 17916 17919 py3c = callPackage ../development/libraries/py3c { }; 17917 17920 ··· 24663 24666 stdenv = if stdenv.isDarwin then overrideSDK stdenv "11.0" else stdenv; 24664 24667 }); 24665 24668 24666 - libsForQt5 = recurseIntoAttrs (import ./qt5-packages.nix { 24669 + libsForQt5 = (recurseIntoAttrs (import ./qt5-packages.nix { 24667 24670 inherit lib __splicedPackages makeScopeWithSplicing' generateSplicesForMkScope pkgsHostTarget; 24668 - }); 24671 + })) // { __recurseIntoDerivationForReleaseJobs = true; }; 24669 24672 24670 24673 # plasma5Packages maps to the Qt5 packages set that is used to build the plasma5 desktop 24671 24674 plasma5Packages = libsForQt5; ··· 25980 25983 }; 25981 25984 25982 25985 lispPackages = quicklispPackages // 25983 - (lispPackagesFor (wrapLisp_old sbcl)); 25986 + (lispPackagesFor (wrapLisp_old sbcl)) // { __attrsFailEvaluation = true; }; 25984 25987 25985 25988 quicklispPackagesFor = clwrapper: callPackage ../development/lisp-modules-obsolete/quicklisp-to-nix.nix { 25986 25989 inherit clwrapper; 25987 - }; 25990 + } // { __attrsFailEvaluation = true; }; 25988 25991 quicklispPackagesClisp = dontRecurseIntoAttrs (quicklispPackagesFor (wrapLisp_old clisp)); 25989 25992 quicklispPackagesSBCL = dontRecurseIntoAttrs (quicklispPackagesFor (wrapLisp_old sbcl)); 25990 25993 quicklispPackagesECL = dontRecurseIntoAttrs (quicklispPackagesFor (wrapLisp_old ecl)); ··· 25994 25997 quicklispPackages = quicklispPackagesSBCL; 25995 25998 25996 25999 # Alternative lisp-modules implementation 25997 - lispPackages_new = callPackage ../development/lisp-modules-new-obsolete/lisp-packages.nix {}; 26000 + lispPackages_new = callPackage ../development/lisp-modules-new-obsolete/lisp-packages.nix {} 26001 + // { __attrsFailEvaluation = true; }; 25998 26002 25999 26003 ## End of DEPRECATED 26000 26004 ··· 26140 26144 26141 26145 rstudioServerWrapper = rstudioWrapper.override { rstudio = rstudio-server; }; 26142 26146 26143 - rPackages = dontRecurseIntoAttrs (callPackage ../development/r-modules { 26147 + rPackages = (dontRecurseIntoAttrs (callPackage ../development/r-modules { 26144 26148 overrides = (config.rPackageOverrides or (_: {})) pkgs; 26145 - }); 26149 + })) // { __attrsFailEvaluation = true; }; 26146 26150 26147 26151 ### SERVERS 26148 26152 ··· 31383 31387 31384 31388 # This alias should live in aliases.nix but that would cause Hydra not to evaluate/build the packages. 31385 31389 # If you turn this into "real" alias again, please add it to pkgs/top-level/packages-config.nix again too 31386 - emacsPackages = emacs.pkgs; 31390 + emacsPackages = emacs.pkgs // { __recurseIntoDerivationForReleaseJobs = true; }; 31387 31391 31388 31392 emptty = callPackage ../applications/display-managers/emptty { }; 31389 31393 ··· 33816 33820 33817 33821 mop = callPackage ../applications/misc/mop { }; 33818 33822 33819 - mopidyPackages = callPackages ../applications/audio/mopidy { 33823 + mopidyPackages = (callPackages ../applications/audio/mopidy { 33820 33824 python = python3; 33821 - }; 33825 + }) // { __attrsFailEvaluation = true; }; 33822 33826 33823 33827 inherit (mopidyPackages) 33824 33828 mopidy ··· 34725 34729 34726 34730 picosnitch = callPackage ../tools/networking/picosnitch { }; 34727 34731 34728 - pidginPackages = recurseIntoAttrs (callPackage ../applications/networking/instant-messengers/pidgin/pidgin-plugins { }); 34732 + pidginPackages = 34733 + let pidgin-plugins = 34734 + recurseIntoAttrs (callPackage ../applications/networking/instant-messengers/pidgin/pidgin-plugins { }); 34735 + in pidgin-plugins // { pidginPackages = pidgin-plugins.pidginPackages // { __attrsFailEvaluation = true; }; }; 34729 34736 34730 34737 inherit (pidginPackages) pidgin; 34731 34738
+2
pkgs/top-level/beam-packages.nix
··· 101 101 erlang_25 = self.packagesWith self.interpreters.erlang_25; 102 102 erlang_24 = self.packagesWith self.interpreters.erlang_24; 103 103 } // packagesAliases; 104 + 105 + __attrsFailEvaluation = true; 104 106 }
+18 -16
pkgs/top-level/coq-packages.nix
··· 8 8 mkCoqPackages' = self: coq: 9 9 let callPackage = self.callPackage; in { 10 10 inherit coq lib; 11 - coqPackages = self; 11 + coqPackages = self // { coqPackages = self.coqPackages // { recurseForDerivations = false; }; }; 12 12 13 13 metaFetch = import ../build-support/coq/meta-fetch/default.nix 14 14 {inherit lib stdenv fetchzip; }; ··· 190 190 coq_8_17 = mkCoq "8.17"; 191 191 coq_8_18 = mkCoq "8.18"; 192 192 193 - coqPackages_8_5 = mkCoqPackages coq_8_5; 194 - coqPackages_8_6 = mkCoqPackages coq_8_6; 195 - coqPackages_8_7 = mkCoqPackages coq_8_7; 196 - coqPackages_8_8 = mkCoqPackages coq_8_8; 197 - coqPackages_8_9 = mkCoqPackages coq_8_9; 198 - coqPackages_8_10 = mkCoqPackages coq_8_10; 199 - coqPackages_8_11 = mkCoqPackages coq_8_11; 200 - coqPackages_8_12 = mkCoqPackages coq_8_12; 201 - coqPackages_8_13 = mkCoqPackages coq_8_13; 202 - coqPackages_8_14 = mkCoqPackages coq_8_14; 203 - coqPackages_8_15 = mkCoqPackages coq_8_15; 204 - coqPackages_8_16 = mkCoqPackages coq_8_16; 205 - coqPackages_8_17 = mkCoqPackages coq_8_17; 206 - coqPackages_8_18 = mkCoqPackages coq_8_18; 207 - coqPackages = recurseIntoAttrs coqPackages_8_18; 193 + coqPackages_8_5 = mkCoqPackages coq_8_5 // { __attrsFailEvaluation = true; }; 194 + coqPackages_8_6 = mkCoqPackages coq_8_6 // { __attrsFailEvaluation = true; }; 195 + coqPackages_8_7 = mkCoqPackages coq_8_7 // { __attrsFailEvaluation = true; }; 196 + coqPackages_8_8 = mkCoqPackages coq_8_8 // { __attrsFailEvaluation = true; }; 197 + coqPackages_8_9 = mkCoqPackages coq_8_9 // { __attrsFailEvaluation = true; }; 198 + coqPackages_8_10 = mkCoqPackages coq_8_10 // { __attrsFailEvaluation = true; }; 199 + coqPackages_8_11 = mkCoqPackages coq_8_11 // { __attrsFailEvaluation = true; }; 200 + coqPackages_8_12 = mkCoqPackages coq_8_12 // { __attrsFailEvaluation = true; }; 201 + coqPackages_8_13 = mkCoqPackages coq_8_13 // { __attrsFailEvaluation = true; }; 202 + coqPackages_8_14 = mkCoqPackages coq_8_14 // { __attrsFailEvaluation = true; }; 203 + coqPackages_8_15 = mkCoqPackages coq_8_15 // { __attrsFailEvaluation = true; }; 204 + coqPackages_8_16 = mkCoqPackages coq_8_16 // { __attrsFailEvaluation = true; }; 205 + coqPackages_8_17 = mkCoqPackages coq_8_17 // { __attrsFailEvaluation = true; }; 206 + coqPackages_8_18 = mkCoqPackages coq_8_18 // { __attrsFailEvaluation = true; }; 207 + coqPackages = 208 + let cp = recurseIntoAttrs coqPackages_8_18; 209 + in cp // { coqPackages = cp.coqPackages // { __attrsFailEvaluation = true; }; } // { __recurseIntoDerivationForReleaseJobs = true; }; 208 210 coq = coqPackages.coq; 209 211 210 212 }
+2 -1
pkgs/top-level/cuda-packages.nix
··· 26 26 lib, 27 27 newScope, 28 28 pkgs, 29 + __attrsFailEvaluation ? true, 29 30 }: 30 31 let 31 32 inherit (lib) ··· 118 119 fixedPoints.extends composedExtension passthruFunction 119 120 ); 120 121 in 121 - cudaPackages 122 + cudaPackages // { inherit __attrsFailEvaluation; }
+1
pkgs/top-level/java-packages.nix
··· 35 35 else package-darwin; 36 36 in { 37 37 inherit package-linux package-darwin; 38 + __attrsFailEvaluation = true; 38 39 39 40 jdk-hotspot = callPackage package.jdk-hotspot {}; 40 41 jre-hotspot = callPackage package.jre-hotspot {};
+7 -2
pkgs/top-level/linux-kernels.nix
··· 398 398 399 399 nvidiabl = callPackage ../os-specific/linux/nvidiabl { }; 400 400 401 - nvidiaPackages = dontRecurseIntoAttrs (lib.makeExtensible (_: callPackage ../os-specific/linux/nvidia-x11 { })); 401 + nvidiaPackages = dontRecurseIntoAttrs (lib.makeExtensible (_: callPackage ../os-specific/linux/nvidia-x11 { })) 402 + // { __attrsFailEvaluation = true; }; 402 403 403 404 nvidia_x11 = nvidiaPackages.stable; 404 405 nvidia_x11_beta = nvidiaPackages.beta; ··· 589 590 linux_6_1 = recurseIntoAttrs (packagesFor kernels.linux_6_1); 590 591 linux_6_5 = recurseIntoAttrs (packagesFor kernels.linux_6_5); 591 592 linux_6_6 = recurseIntoAttrs (packagesFor kernels.linux_6_6); 593 + __attrsFailEvaluation = true; 592 594 } // lib.optionalAttrs config.allowAliases { 593 595 linux_4_9 = throw "linux 4.9 was removed because it will reach its end of life within 22.11"; # Added 2022-11-08 594 596 linux_4_14 = throw "linux 4.14 was removed because it will reach its end of life within 23.11"; # Added 2023-10-11 ··· 606 608 linux_rt_5_10 = packagesFor kernels.linux_rt_5_10; 607 609 linux_rt_5_15 = packagesFor kernels.linux_rt_5_15; 608 610 linux_rt_6_1 = packagesFor kernels.linux_rt_6_1; 611 + __attrsFailEvaluation = true; 609 612 }; 610 613 611 614 rpiPackages = { ··· 613 616 linux_rpi2 = packagesFor kernels.linux_rpi2; 614 617 linux_rpi3 = packagesFor kernels.linux_rpi3; 615 618 linux_rpi4 = packagesFor kernels.linux_rpi4; 619 + __attrsFailEvaluation = true; 616 620 }; 617 621 618 622 packages = recurseIntoAttrs (vanillaPackages // rtPackages // rpiPackages // { ··· 641 645 linux_libre = recurseIntoAttrs (packagesFor kernels.linux_libre); 642 646 643 647 linux_latest_libre = recurseIntoAttrs (packagesFor kernels.linux_latest_libre); 648 + __recurseIntoDerivationForReleaseJobs = true; 644 649 } // lib.optionalAttrs config.allowAliases { 645 650 linux_5_18_hardened = throw "linux 5.18 was removed because it has reached its end of life upstream"; 646 651 linux_5_19_hardened = throw "linux 5.19 was removed because it has reached its end of life upstream"; ··· 655 660 linux_mptcp = throw "'linux_mptcp' has been moved to https://github.com/teto/mptcp-flake"; 656 661 linux_rt_default = packages.linux_rt_5_4; 657 662 linux_rt_latest = packages.linux_rt_6_1; 658 - }; 663 + } // { __attrsFailEvaluation = true; }; 659 664 660 665 manualConfig = callPackage ../os-specific/linux/kernel/manual-config.nix {}; 661 666
+1 -1
pkgs/top-level/perl-packages.nix
··· 23 23 with self; { 24 24 25 25 inherit perl; 26 - perlPackages = self; 26 + perlPackages = self // { perlPackages = self.perlPackages // { __attrsFailEvaluation = true; }; }; 27 27 28 28 # Check whether a derivation provides a perl module. 29 29 hasPerlModule = drv: drv ? perlModule ;
+1 -1
pkgs/top-level/pkg-config/tests.nix
··· 17 17 }; 18 18 in 19 19 lib.recurseIntoAttrs { 20 - defaultPkgConfigPackages = allPkgs.callPackage ./test-defaultPkgConfigPackages.nix { }; 20 + defaultPkgConfigPackages = allPkgs.callPackage ./test-defaultPkgConfigPackages.nix { } // { __recurseIntoDerivationForReleaseJobs = true; }; 21 21 }
+3 -1
pkgs/top-level/qt5-packages.nix
··· 69 69 }; 70 70 in (lib.makeOverridable mkMaui attrs); 71 71 72 - noExtraAttrs = set: lib.attrsets.removeAttrs set [ "extend" "override" "overrideScope" "overrideScope'" "overrideDerivation" ]; 72 + noExtraAttrs = set: 73 + lib.attrsets.removeAttrs set [ "extend" "override" "overrideScope" "overrideScope'" "overrideDerivation" ] 74 + // { __attrsFailEvaluation = true; }; 73 75 74 76 in (noExtraAttrs (kdeFrameworks // plasmaMobileGear // plasma5 // plasma5.thirdParty // kdeGear // mauiPackages // qt5 // { 75 77
+1 -1
pkgs/top-level/release-python.nix
··· 29 29 let res = builtins.tryEval ( 30 30 if isDerivation value then 31 31 value.meta.isBuildPythonPackage or [] 32 - else if value.recurseForDerivations or false || value.recurseForRelease or false then 32 + else if value.recurseForDerivations or false || value.recurseForRelease or false || value.__recurseIntoDerivationForReleaseJobs or false then 33 33 packagePython value 34 34 else 35 35 []);