mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-28 18:03:04 +00:00
Merge pull request #39666 from dtzWill/fix/stdenv-system-nix
nix: fix stdenv.system check -- should be hostPlatform
This commit is contained in:
commit
47b25136b1
@ -41,7 +41,7 @@ let
|
|||||||
propagatedBuildInputs = [ boehmgc ];
|
propagatedBuildInputs = [ boehmgc ];
|
||||||
|
|
||||||
# Seems to be required when using std::atomic with 64-bit types
|
# 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 =
|
configureFlags =
|
||||||
[ "--with-store-dir=${storeDir}"
|
[ "--with-store-dir=${storeDir}"
|
||||||
|
Loading…
Reference in New Issue
Block a user