diff options
Diffstat (limited to 'pkgs/stdenv/linux/default.nix')
-rw-r--r-- | pkgs/stdenv/linux/default.nix | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/pkgs/stdenv/linux/default.nix b/pkgs/stdenv/linux/default.nix index 228c626341efe..9a90e4b28df8d 100644 --- a/pkgs/stdenv/linux/default.nix +++ b/pkgs/stdenv/linux/default.nix @@ -206,7 +206,7 @@ rec { # dependency (`nix-store -qR') on bootstrapTools. stdenvLinux = import ../generic { name = "stdenv-linux" + - stdenvLinuxBoot3Pkgs.lib.optionalString (cross != null) "-${cross}"; + stdenvLinuxBoot3Pkgs.lib.optionalString (cross != null) "-${cross.config}"; inherit system cross; @@ -221,7 +221,7 @@ rec { postHook = if (cross != null) then (builtins.toFile "cross-posthook.sh" '' - configureFlags="$configureFlags --build=${system} --host=${cross}" + configureFlags="$configureFlags --build=${system} --host=${cross.config}" dontStrip=1 '') else null; |