From 7dbea7aa780a7b594e153ece1f9eebf46bf2f699 Mon Sep 17 00:00:00 2001 From: Anthony Cowley Date: Mon, 17 Aug 2015 18:09:19 -0400 Subject: [PATCH] Nix darwin use libsodium --- pkgs/tools/package-management/nix/default.nix | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/pkgs/tools/package-management/nix/default.nix b/pkgs/tools/package-management/nix/default.nix index f2099e1d76f6..daef731e7b54 100644 --- a/pkgs/tools/package-management/nix/default.nix +++ b/pkgs/tools/package-management/nix/default.nix @@ -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 ];