From 597aebc94d1d9cdea387b83cd49f272df63e2fa4 Mon Sep 17 00:00:00 2001 From: John Wiegley Date: Thu, 21 May 2015 10:55:54 -0500 Subject: [PATCH] libgcrypt: Set libpcap to null on Darwin --- pkgs/top-level/all-packages.nix | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index 34584ef005f7..fca6146a14ac 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -6658,7 +6658,9 @@ let libftdi1 = callPackage ../development/libraries/libftdi/1.x.nix { }; - libgcrypt = callPackage ../development/libraries/libgcrypt { }; + libgcrypt = callPackage ../development/libraries/libgcrypt { + libcap = if stdenv.isDarwin then null else pkgs.libcap; + }; libgdiplus = callPackage ../development/libraries/libgdiplus { };