1
1
Fork 0
mirror of https://github.com/NixOS/nix.git synced 2025-11-15 06:52:43 +01:00

nix: build with libsodium on macOS

This commit is contained in:
Graham Christensen 2017-07-10 19:37:47 -04:00
parent 661daed683
commit 0c13077d83
No known key found for this signature in database
GPG key ID: 06121D366FE9435C

View file

@ -87,7 +87,7 @@ let
buildInputs = buildInputs =
[ curl perl bzip2 xz openssl pkgconfig sqlite boehmgc ] [ curl perl bzip2 xz openssl pkgconfig sqlite boehmgc ]
++ lib.optional stdenv.isLinux libseccomp ++ lib.optional stdenv.isLinux libseccomp
++ lib.optional stdenv.isLinux libsodium; ++ lib.optional (stdenv.isLinux || stdenv.isDarwin) libsodium;
configureFlags = '' configureFlags = ''
--disable-init-state --disable-init-state