diff options
author | Will Dietz <w@wdtz.org> | 2018-04-28 22:11:30 -0500 |
---|---|---|
committer | Will Dietz <w@wdtz.org> | 2018-04-28 22:11:30 -0500 |
commit | 6e8118b2395ab928594e20585dba1e83c8354820 (patch) | |
tree | d0803ab53e5cd9a25d8c32be0b64652a113a64b7 /pkgs | |
parent | 1b1be29bf827fc177100ae175030b2fda4132e47 (diff) | |
download | nixlib-6e8118b2395ab928594e20585dba1e83c8354820.tar nixlib-6e8118b2395ab928594e20585dba1e83c8354820.tar.gz nixlib-6e8118b2395ab928594e20585dba1e83c8354820.tar.bz2 nixlib-6e8118b2395ab928594e20585dba1e83c8354820.tar.lz nixlib-6e8118b2395ab928594e20585dba1e83c8354820.tar.xz nixlib-6e8118b2395ab928594e20585dba1e83c8354820.tar.zst nixlib-6e8118b2395ab928594e20585dba1e83c8354820.zip |
nix: fix stdenv.system check -- should be hostPlatform
(stdenv.system is the system running the build, apparently)
Diffstat (limited to 'pkgs')
-rw-r--r-- | pkgs/tools/package-management/nix/default.nix | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pkgs/tools/package-management/nix/default.nix b/pkgs/tools/package-management/nix/default.nix index aee6678d1167..230994897234 100644 --- a/pkgs/tools/package-management/nix/default.nix +++ b/pkgs/tools/package-management/nix/default.nix @@ -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}" |