diff options
author | John Ericson <John.Ericson@Obsidian.Systems> | 2018-08-06 18:07:02 -0400 |
---|---|---|
committer | John Ericson <John.Ericson@Obsidian.Systems> | 2018-08-06 18:07:02 -0400 |
commit | 68d31ddaf5d680983610215fb6ea4d81122c9a72 (patch) | |
tree | 0adb49b91e0903c8ec99aeb25a33fc6c0069d6a6 /nixos/modules/system/boot/stage-1.nix | |
parent | 05daf390b3a2d391d8990cb647e2ab3ab6487cf3 (diff) | |
download | nixlib-68d31ddaf5d680983610215fb6ea4d81122c9a72.tar nixlib-68d31ddaf5d680983610215fb6ea4d81122c9a72.tar.gz nixlib-68d31ddaf5d680983610215fb6ea4d81122c9a72.tar.bz2 nixlib-68d31ddaf5d680983610215fb6ea4d81122c9a72.tar.lz nixlib-68d31ddaf5d680983610215fb6ea4d81122c9a72.tar.xz nixlib-68d31ddaf5d680983610215fb6ea4d81122c9a72.tar.zst nixlib-68d31ddaf5d680983610215fb6ea4d81122c9a72.zip |
stage-1: Remove last reference of now-removed stdenv.isCross
Diffstat (limited to 'nixos/modules/system/boot/stage-1.nix')
-rw-r--r-- | nixos/modules/system/boot/stage-1.nix | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/nixos/modules/system/boot/stage-1.nix b/nixos/modules/system/boot/stage-1.nix index 71b806a0b4e1..35062d891b8b 100644 --- a/nixos/modules/system/boot/stage-1.nix +++ b/nixos/modules/system/boot/stage-1.nix @@ -179,7 +179,7 @@ let fi done - if [ -z "${toString pkgs.stdenv.isCross}" ]; then + if [ -z "${toString (pkgs.stdenv.hostPlatform != pkgs.stdenv.buildPlatform)}" ]; then # Make sure that the patchelf'ed binaries still work. echo "testing patched programs..." $out/bin/ash -c 'echo hello world' | grep "hello world" |