treewide: Purge stdenv.platform and top-level platform

Progress towards #27069
This commit is contained in:
John Ericson
2018-08-20 15:18:07 -04:00
parent f0d6e22b7f
commit 7d85ade0cc
12 changed files with 16 additions and 20 deletions

View File

@@ -6,7 +6,7 @@ let
arch = if stdenv.isAarch32
then (if stdenv.is64bit then "arm64" else "arm")
else (if stdenv.is64bit then "x64" else "ia32");
armHardFloat = stdenv.isAarch32 && (stdenv.platform.gcc.float or null) == "hard";
armHardFloat = stdenv.isAarch32 && (stdenv.hostPlatform.platform.gcc.float or null) == "hard";
in
stdenv.mkDerivation rec {