fix evaluation
This commit is contained in:
parent
3477e662e6
commit
b3d9562fc8
@ -198,14 +198,14 @@ let
|
|||||||
};
|
};
|
||||||
|
|
||||||
# We use pkgs_ because accessing pkgs would lead to an infinite recursion in stdenvOverrides
|
# We use pkgs_ because accessing pkgs would lead to an infinite recursion in stdenvOverrides
|
||||||
defaultStdenv = stdenvAdapters.useHardenFlags (
|
defaultStdenv = (import ../stdenv/adapters.nix pkgs_).useHardenFlags (
|
||||||
pkgs_.allStdenvs.stdenv // { inherit platform; }
|
pkgs_.allStdenvs.stdenv // { inherit platform; }
|
||||||
);
|
);
|
||||||
|
|
||||||
stdenvCross = lowPrio (makeStdenvCross defaultStdenv crossSystem binutilsCross gccCrossStageFinal);
|
stdenvCross = lowPrio (makeStdenvCross defaultStdenv crossSystem binutilsCross gccCrossStageFinal);
|
||||||
|
|
||||||
stdenv =
|
stdenv =
|
||||||
if bootStdenv != null then (stdenvAdapters.useHardenFlags bootStdenv // {inherit platform;}) else
|
if bootStdenv != null then ((import ../stdenv/adapters.nix pkgs_).useHardenFlags bootStdenv // {inherit platform;}) else
|
||||||
if crossSystem != null then
|
if crossSystem != null then
|
||||||
stdenvCross
|
stdenvCross
|
||||||
else
|
else
|
||||||
|
Loading…
x
Reference in New Issue
Block a user