about summary refs log tree commit diff
diff options
context:
space:
mode:
authorEelco Dolstra <eelco.dolstra@logicblox.com>2015-02-10T13·15+0100
committerEelco Dolstra <eelco.dolstra@logicblox.com>2015-02-10T13·15+0100
commitb4e7eec16a77fa51ae38472d5f518528b18fcc9b (patch)
tree7fcc9ee1a0af4aad6ce6ebf865c750848ba3e779
parent1c972cba145dc95cb0930a83caf191f1ef722f8b (diff)
Don't depend on libsodium on Darwin
It doesn't build at the moment.

http://hydra.nixos.org/build/19557641
-rw-r--r--release.nix4
1 files changed, 3 insertions, 1 deletions
diff --git a/release.nix b/release.nix
index 3eff28b00d30..ff164ce57208 100644
--- a/release.nix
+++ b/release.nix
@@ -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