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
1 changed files with 1 additions and 1 deletions

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