forked from mirrors/nixpkgs
Fixing some conflict on the variable 'cross'.
svn path=/nixpkgs/branches/stdenv-updates/; revision=18357
This commit is contained in:
parent
81f695899a
commit
d06dce4e42
|
@ -18,7 +18,7 @@ let
|
|||
result =
|
||||
|
||||
derivation {
|
||||
inherit system cross name;
|
||||
inherit system name cross;
|
||||
|
||||
builder = shell;
|
||||
|
||||
|
@ -53,7 +53,9 @@ let
|
|||
["-e" (if attrs ? builder then attrs.builder else ./default-builder.sh)];
|
||||
stdenv = result;
|
||||
system = result.system;
|
||||
cross = result.cross;
|
||||
# The env variable 'cross' is used in all the crosscompiler
|
||||
# bootstrapping in another sense
|
||||
crossTarget = result.cross;
|
||||
})
|
||||
)
|
||||
# The meta attribute is passed in the resulting attribute set,
|
||||
|
|
|
@ -208,7 +208,7 @@ rec {
|
|||
name = "stdenv-linux" +
|
||||
stdenvLinuxBoot3Pkgs.lib.optionalString (cross != null) "-${cross}";
|
||||
|
||||
inherit system;
|
||||
inherit system cross;
|
||||
|
||||
preHook = builtins.toFile "prehook.sh" commonPreHook;
|
||||
|
||||
|
|
Loading…
Reference in a new issue