1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2025-01-22 14:45:27 +00:00

nix: fix stdenv.system check -- should be hostPlatform

(stdenv.system is the system running the build, apparently)
This commit is contained in:
Will Dietz 2018-04-28 22:11:30 -05:00
parent 1b1be29bf8
commit 6e8118b239

View file

@ -41,7 +41,7 @@ let
propagatedBuildInputs = [ boehmgc ];
# Seems to be required when using std::atomic with 64-bit types
NIX_LDFLAGS = lib.optionalString (stdenv.system == "armv6l-linux") "-latomic";
NIX_LDFLAGS = lib.optionalString (stdenv.hostPlatform.system == "armv6l-linux") "-latomic";
configureFlags =
[ "--with-store-dir=${storeDir}"