···492492 darwinMinVersionVariable
493493 ;
494494 }
495495- // lib.optionalAttrs (apple-sdk != null && stdenvNoCC.targetPlatform.isDarwin) {
495495+ // lib.optionalAttrs (stdenvNoCC.targetPlatform.isDarwin && apple-sdk != null) {
496496 # Wrapped compilers should do something useful even when no SDK is provided at `DEVELOPER_DIR`.
497497 fallback_sdk = apple-sdk.__spliced.buildTarget or apple-sdk;
498498 };
+1-1
pkgs/build-support/cc-wrapper/default.nix
···888888 # These will become empty strings when not targeting Darwin.
889889 inherit (targetPlatform) darwinMinVersion darwinMinVersionVariable;
890890 }
891891- // lib.optionalAttrs (apple-sdk != null && stdenvNoCC.targetPlatform.isDarwin) {
891891+ // lib.optionalAttrs (stdenvNoCC.targetPlatform.isDarwin && apple-sdk != null) {
892892 # Wrapped compilers should do something useful even when no SDK is provided at `DEVELOPER_DIR`.
893893 fallback_sdk = apple-sdk.__spliced.buildTarget or apple-sdk;
894894 };
+11-7
pkgs/build-support/trivial-builders/default.nix
···10221022 postPatch ? "",
10231023 ...
10241024 }@args:
10251025+ assert lib.assertMsg (
10261026+ !args ? meta
10271027+ ) "applyPatches will not merge 'meta', change it in 'src' instead";
10281028+ assert lib.assertMsg (
10291029+ !args ? passthru
10301030+ ) "applyPatches will not merge 'passthru', change it in 'src' instead";
10251031 if patches == [ ] && prePatch == "" && postPatch == "" then
10261032 src # nothing to do, so use original src to avoid additional drv
10271033 else
···10511057 phases = "unpackPhase patchPhase installPhase";
10521058 installPhase = "cp -R ./ $out";
10531059 }
10541054- # Carry and merge information from the underlying `src` if present.
10551055- // (optionalAttrs (src ? meta || args ? meta) {
10561056- meta = src.meta or { } // args.meta or { };
10601060+ # Carry (and merge) information from the underlying `src` if present.
10611061+ // (optionalAttrs (src ? meta) {
10621062+ inherit (src) meta;
10571063 })
10581058- // (optionalAttrs (extraPassthru != { } || src ? passthru || args ? passthru) {
10591059- passthru = extraPassthru // src.passthru or { } // args.passthru or { };
10641064+ // (optionalAttrs (extraPassthru != { } || src ? passthru) {
10651065+ passthru = extraPassthru // src.passthru or { };
10601066 })
10611067 # Forward any additional arguments to the derviation
10621068 // (removeAttrs args [
10631069 "src"
10641070 "name"
10651065- "meta"
10661066- "passthru"
10671071 "patches"
10681072 "prePatch"
10691073 "postPatch"
···13531353 # When the nixops_unstable alias is removed, nixops_unstable_minimal can be renamed to nixops_unstable.
1354135413551355 nixosTest = testers.nixosTest; # Added 2022-05-05
13561356+ nltk-data.averaged_perceptron_tagger = nltk-data.averaged-perceptron-tagger; # Added 2025-05-21
13571357+ nltk-data.averaged_perceptron_tagger_eng = nltk-data.averaged-perceptron-tagger-eng; # Added 2025-05-21
13581358+ nltk-data.punkt_tab = nltk-data.punkt-tab; # Added 2025-05-21
13591359+ nltk-data.snowball_data = nltk-data.snowball-data; # Added 2025-05-21
13561360 nmap-unfree = throw "'nmap-unfree' has been renamed to/replaced by 'nmap'"; # Converted to throw 2024-10-17
13571361 noah = throw "'noah' has been removed because it was broken and its upstream archived"; # Added 2025-05-10
13581362 nodejs_18 = throw "Node.js 18.x has reached End-Of-Life and has been removed"; # Added 2025-04-23