mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-16 06:45:16 +01:00
libgcrypt: fix darwin build
This commit is contained in:
parent
6f868088df
commit
d5ccec3c4e
1 changed files with 2 additions and 1 deletions
|
@ -1,4 +1,4 @@
|
|||
{ stdenv, fetchurl, libgpgerror, enableCapabilities ? false, libcap }:
|
||||
{ stdenv, fetchurl, gettext, libgpgerror, enableCapabilities ? false, libcap }:
|
||||
|
||||
assert enableCapabilities -> stdenv.isLinux;
|
||||
|
||||
|
@ -20,6 +20,7 @@ stdenv.mkDerivation rec {
|
|||
hardeningDisable = stdenv.lib.optional stdenv.cc.isClang "fortify";
|
||||
|
||||
buildInputs = [ libgpgerror ]
|
||||
++ stdenv.lib.optional stdenv.isDarwin gettext
|
||||
++ stdenv.lib.optional enableCapabilities libcap;
|
||||
|
||||
# Make sure libraries are correct for .pc and .la files
|
||||
|
|
Loading…
Reference in a new issue