+1
-1
doc/stdenv/cross-compilation.chapter.md
+1
-1
doc/stdenv/cross-compilation.chapter.md
···-If one explores Nixpkgs, they will see derivations with names like `gccCross`. Such `*Cross` derivations is a holdover from before we properly distinguished between the host and target platforms—the derivation with “Cross” in the name covered the `build = host != target` case, while the other covered the `host = target`, with build platform the same or not based on whether one was using its `.nativeDrv` or `.crossDrv`. This ugliness will disappear soon.+If one explores Nixpkgs, they will see derivations with names like `gccCross`. Such `*Cross` derivations is a holdover from before we properly distinguished between the host and target platforms—the derivation with “Cross” in the name covered the `build = host != target` case, while the other covered the `host = target`, with build platform the same or not based on whether one was using its `.__spliced.buildHost` or `.__spliced.hostTarget`.
+1
lib/customisation.nix
+1
lib/customisation.nix
+1
-1
pkgs/build-support/kernel/make-initrd-ng.nix
+1
-1
pkgs/build-support/kernel/make-initrd-ng.nix
···nativeBuildInputs = [makeInitrdNGTool cpio] ++ lib.optional makeUInitrd ubootTools ++ lib.optional strip binutils;
+4
-5
pkgs/build-support/node/build-npm-package/hooks/default.nix
+4
-5
pkgs/build-support/node/build-npm-package/hooks/default.nix
······-# The `.nativeDrv` stanza works like nativeBuildInputs and ensures cross-compiling has the right version available.···
+1
-3
pkgs/build-support/rust/hooks/default.nix
+1
-3
pkgs/build-support/rust/hooks/default.nix
······-# The `.nativeDrv` stanza works like nativeBuildInputs and ensures cross-compiling has the right version available.
+2
pkgs/development/libraries/qt-6/default.nix
+2
pkgs/development/libraries/qt-6/default.nix
+1
-1
pkgs/development/libraries/qt-6/qtModule.nix
+1
-1
pkgs/development/libraries/qt-6/qtModule.nix
···
+4
-4
pkgs/stdenv/generic/make-derivation.nix
+4
-4
pkgs/stdenv/generic/make-derivation.nix
···(map (drv: drv.__spliced.buildBuild or drv) (checkDependencyList "depsBuildBuild" depsBuildBuild))+(map (drv: drv.__spliced.buildHost or drv) (checkDependencyList "nativeBuildInputs" nativeBuildInputs++ lib.optional stdenv.hostPlatform.isWindows ../../build-support/setup-hooks/win-dll-link.sh···(map (drv: drv.__spliced.hostHost or drv) (checkDependencyList "depsHostHost" depsHostHost))(map (drv: drv.__spliced.targetTarget or drv) (checkDependencyList "depsTargetTarget" depsTargetTarget))···(map (drv: drv.__spliced.buildBuild or drv) (checkDependencyList "depsBuildBuildPropagated" depsBuildBuildPropagated))-(map (drv: drv.nativeDrv or drv) (checkDependencyList "propagatedNativeBuildInputs" propagatedNativeBuildInputs))+(map (drv: drv.__spliced.buildHost or drv) (checkDependencyList "propagatedNativeBuildInputs" propagatedNativeBuildInputs))(map (drv: drv.__spliced.buildTarget or drv) (checkDependencyList "depsBuildTargetPropagated" depsBuildTargetPropagated))(map (drv: drv.__spliced.hostHost or drv) (checkDependencyList "depsHostHostPropagated" depsHostHostPropagated))-(map (drv: drv.crossDrv or drv) (checkDependencyList "propagatedBuildInputs" propagatedBuildInputs))+(map (drv: drv.__spliced.hostTarget or drv) (checkDependencyList "propagatedBuildInputs" propagatedBuildInputs))
+6
-11
pkgs/top-level/splice.nix
+6
-11
pkgs/top-level/splice.nix
···+# `__spliced.buildHost` field for the build-time version, and `__spliced.hostTarget` field for the···+// (lib.optionalAttrs (pkgsBuildHost ? ${name}) { nativeDrv = lib.warn "use ${name}.__spliced.buildHost instead of ${name}.nativeDrv" valueBuildHost; })+// (lib.optionalAttrs (pkgsHostTarget ? ${name}) { crossDrv = lib.warn "use ${name}.__spliced.hostTarget instead of ${name}.crossDrv" valueHostTarget; })