Nix darwin use libsodium

This commit is contained in:
Anthony Cowley 2015-08-17 18:09:19 -04:00
parent 9b5242b625
commit 7dbea7aa78

View File

@ -13,7 +13,8 @@ let
nativeBuildInputs = [ perl pkgconfig ];
buildInputs = [ curl openssl sqlite ] ++ lib.optional stdenv.isLinux libsodium;
buildInputs = [ curl openssl sqlite ] ++
lib.optional (stdenv.isLinux || stdenv.isDarwin) libsodium;
propagatedBuildInputs = [ boehmgc ];