aboutsummaryrefslogtreecommitdiff
path: root/nixos/modules/system/boot/stage-1.nix
diff options
context:
space:
mode:
authorJohn Ericson <John.Ericson@Obsidian.Systems>2018-08-06 18:07:02 -0400
committerJohn Ericson <John.Ericson@Obsidian.Systems>2018-08-06 18:07:02 -0400
commit68d31ddaf5d680983610215fb6ea4d81122c9a72 (patch)
tree0adb49b91e0903c8ec99aeb25a33fc6c0069d6a6 /nixos/modules/system/boot/stage-1.nix
parent05daf390b3a2d391d8990cb647e2ab3ab6487cf3 (diff)
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.nix2
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"