3
0
Fork 0
forked from mirrors/nixpkgs

stdenv/common-path.nix: move to stdenv/generic/

Do this since it is part of the generic stdenv/`mkDerivation`
infrastructure, rather than being a bootstrapping strategy.
This commit is contained in:
John Ericson 2022-07-29 18:24:00 -04:00
parent e3a3abe560
commit 9d59a4df78
5 changed files with 4 additions and 4 deletions

View file

@ -73,7 +73,7 @@ mkDerivation {
};
buildPhase = let
initialPath = import ../../stdenv/common-path.nix { inherit pkgs; };
initialPath = import ../../stdenv/generic/common-path.nix { inherit pkgs; };
in ''
set -x
mkdir -p "$out/dev-envs" "$out/nix-support" "$out/bin"

View file

@ -683,7 +683,7 @@ rec {
__stdenvImpureHostDeps = commonImpureHostDeps;
__extraImpureHostDeps = commonImpureHostDeps;
initialPath = import ../common-path.nix { inherit pkgs; };
initialPath = import ../generic/common-path.nix { inherit pkgs; };
shell = "${pkgs.bash}/bin/bash";
cc = pkgs."${finalLlvmPackages}".libcxxClang;

View file

@ -397,7 +397,7 @@ in
preHook = commonPreHook;
initialPath =
((import ../common-path.nix) {pkgs = prevStage;});
((import ../generic/common-path.nix) {pkgs = prevStage;});
extraNativeBuildInputs = [ prevStage.patchelf ] ++
# Many tarballs come with obsolete config.sub/config.guess that don't recognize aarch64.

View file

@ -21,7 +21,7 @@ bootStages ++ [
export NIX_IGNORE_LD_THROUGH_GCC=1
'';
initialPath = (import ../common-path.nix) { pkgs = prevStage; };
initialPath = (import ../generic/common-path.nix) { pkgs = prevStage; };
cc = import ../../build-support/cc-wrapper {
inherit lib;