···492 darwinMinVersionVariable
493 ;
494 }
495- // lib.optionalAttrs (apple-sdk != null && stdenvNoCC.targetPlatform.isDarwin) {
496 # Wrapped compilers should do something useful even when no SDK is provided at `DEVELOPER_DIR`.
497 fallback_sdk = apple-sdk.__spliced.buildTarget or apple-sdk;
498 };
···492 darwinMinVersionVariable
493 ;
494 }
495+ // lib.optionalAttrs (stdenvNoCC.targetPlatform.isDarwin && apple-sdk != null) {
496 # Wrapped compilers should do something useful even when no SDK is provided at `DEVELOPER_DIR`.
497 fallback_sdk = apple-sdk.__spliced.buildTarget or apple-sdk;
498 };
+1-1
pkgs/build-support/cc-wrapper/default.nix
···888 # These will become empty strings when not targeting Darwin.
889 inherit (targetPlatform) darwinMinVersion darwinMinVersionVariable;
890 }
891- // lib.optionalAttrs (apple-sdk != null && stdenvNoCC.targetPlatform.isDarwin) {
892 # Wrapped compilers should do something useful even when no SDK is provided at `DEVELOPER_DIR`.
893 fallback_sdk = apple-sdk.__spliced.buildTarget or apple-sdk;
894 };
···888 # These will become empty strings when not targeting Darwin.
889 inherit (targetPlatform) darwinMinVersion darwinMinVersionVariable;
890 }
891+ // lib.optionalAttrs (stdenvNoCC.targetPlatform.isDarwin && apple-sdk != null) {
892 # Wrapped compilers should do something useful even when no SDK is provided at `DEVELOPER_DIR`.
893 fallback_sdk = apple-sdk.__spliced.buildTarget or apple-sdk;
894 };
+11-7
pkgs/build-support/trivial-builders/default.nix
···1022 postPatch ? "",
1023 ...
1024 }@args:
0000001025 if patches == [ ] && prePatch == "" && postPatch == "" then
1026 src # nothing to do, so use original src to avoid additional drv
1027 else
···1051 phases = "unpackPhase patchPhase installPhase";
1052 installPhase = "cp -R ./ $out";
1053 }
1054- # Carry and merge information from the underlying `src` if present.
1055- // (optionalAttrs (src ? meta || args ? meta) {
1056- meta = src.meta or { } // args.meta or { };
1057 })
1058- // (optionalAttrs (extraPassthru != { } || src ? passthru || args ? passthru) {
1059- passthru = extraPassthru // src.passthru or { } // args.passthru or { };
1060 })
1061 # Forward any additional arguments to the derviation
1062 // (removeAttrs args [
1063 "src"
1064 "name"
1065- "meta"
1066- "passthru"
1067 "patches"
1068 "prePatch"
1069 "postPatch"
···1022 postPatch ? "",
1023 ...
1024 }@args:
1025+ assert lib.assertMsg (
1026+ !args ? meta
1027+ ) "applyPatches will not merge 'meta', change it in 'src' instead";
1028+ assert lib.assertMsg (
1029+ !args ? passthru
1030+ ) "applyPatches will not merge 'passthru', change it in 'src' instead";
1031 if patches == [ ] && prePatch == "" && postPatch == "" then
1032 src # nothing to do, so use original src to avoid additional drv
1033 else
···1057 phases = "unpackPhase patchPhase installPhase";
1058 installPhase = "cp -R ./ $out";
1059 }
1060+ # Carry (and merge) information from the underlying `src` if present.
1061+ // (optionalAttrs (src ? meta) {
1062+ inherit (src) meta;
1063 })
1064+ // (optionalAttrs (extraPassthru != { } || src ? passthru) {
1065+ passthru = extraPassthru // src.passthru or { };
1066 })
1067 # Forward any additional arguments to the derviation
1068 // (removeAttrs args [
1069 "src"
1070 "name"
001071 "patches"
1072 "prePatch"
1073 "postPatch"
···1353 # When the nixops_unstable alias is removed, nixops_unstable_minimal can be renamed to nixops_unstable.
13541355 nixosTest = testers.nixosTest; # Added 2022-05-05
00001356 nmap-unfree = throw "'nmap-unfree' has been renamed to/replaced by 'nmap'"; # Converted to throw 2024-10-17
1357 noah = throw "'noah' has been removed because it was broken and its upstream archived"; # Added 2025-05-10
1358 nodejs_18 = throw "Node.js 18.x has reached End-Of-Life and has been removed"; # Added 2025-04-23
···1353 # When the nixops_unstable alias is removed, nixops_unstable_minimal can be renamed to nixops_unstable.
13541355 nixosTest = testers.nixosTest; # Added 2022-05-05
1356+ nltk-data.averaged_perceptron_tagger = nltk-data.averaged-perceptron-tagger; # Added 2025-05-21
1357+ nltk-data.averaged_perceptron_tagger_eng = nltk-data.averaged-perceptron-tagger-eng; # Added 2025-05-21
1358+ nltk-data.punkt_tab = nltk-data.punkt-tab; # Added 2025-05-21
1359+ nltk-data.snowball_data = nltk-data.snowball-data; # Added 2025-05-21
1360 nmap-unfree = throw "'nmap-unfree' has been renamed to/replaced by 'nmap'"; # Converted to throw 2024-10-17
1361 noah = throw "'noah' has been removed because it was broken and its upstream archived"; # Added 2025-05-10
1362 nodejs_18 = throw "Node.js 18.x has reached End-Of-Life and has been removed"; # Added 2025-04-23