1
1
Fork 0
mirror of https://github.com/NixOS/nix.git synced 2025-11-14 22:42:41 +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 =
[ curl perl bzip2 xz openssl pkgconfig sqlite boehmgc ]
++ lib.optional stdenv.isLinux libseccomp
++ lib.optional stdenv.isLinux libsodium;
++ lib.optional (stdenv.isLinux || stdenv.isDarwin) libsodium;
configureFlags = ''
--disable-init-state