Merge pull request #44576 from obsidiansystems/last-isCross

stage-1: Remove last reference of now-removed stdenv.isCross
This commit is contained in:
John Ericson 2018-08-06 20:10:50 -04:00 committed by GitHub
commit 643e8d57f9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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"