mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-19 00:08:32 +01:00
Merge pull request #53346 from astro/libxslt-libgcrypt
libxslt: add libgcrypt to buildInputs for cryptoSupport
This commit is contained in:
commit
68a16fcc74
1 changed files with 4 additions and 2 deletions
|
@ -1,4 +1,4 @@
|
|||
{ stdenv, fetchurl, libxml2, findXMLCatalogs, python2
|
||||
{ stdenv, fetchurl, libxml2, findXMLCatalogs, python2, libgcrypt
|
||||
, cryptoSupport ? false
|
||||
, pythonSupport ? stdenv.buildPlatform == stdenv.hostPlatform
|
||||
}:
|
||||
|
@ -28,7 +28,9 @@ stdenv.mkDerivation rec {
|
|||
|
||||
outputs = [ "bin" "dev" "out" "man" "doc" ] ++ stdenv.lib.optional pythonSupport "py";
|
||||
|
||||
buildInputs = [ libxml2.dev ] ++ stdenv.lib.optionals pythonSupport [ libxml2.py python2 ];
|
||||
buildInputs = [ libxml2.dev ]
|
||||
++ stdenv.lib.optionals pythonSupport [ libxml2.py python2 ]
|
||||
++ stdenv.lib.optionals cryptoSupport [ libgcrypt ];
|
||||
|
||||
propagatedBuildInputs = [ findXMLCatalogs ];
|
||||
|
||||
|
|
Loading…
Reference in a new issue