Don't depend on libsodium on Darwin

It doesn't build at the moment.

http://hydra.nixos.org/build/19557641
This commit is contained in:
Eelco Dolstra 2015-02-10 14:15:42 +01:00
parent 1c972cba14
commit b4e7eec16a

View file

@ -80,7 +80,9 @@ let
name = "nix";
src = tarball;
buildInputs = [ curl perl bzip2 openssl pkgconfig sqlite boehmgc libsodium ];
buildInputs =
[ curl perl bzip2 openssl pkgconfig sqlite boehmgc ]
++ lib.optional stdenv.isLinux libsodium;
configureFlags = ''
--disable-init-state