nix: Fix build on ARMv6

This commit is contained in:
Tuomas Tynkkynen 2018-03-11 19:44:22 +02:00
parent 46037503f6
commit 22df741045

View File

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