1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-21 05:00:16 +00:00

libarchive: add propagatedBuildInputs for attr and acl to appease pkgconfig dependencies

This commit is contained in:
Dan Peebles 2016-04-29 03:29:30 +00:00
parent df42fe1582
commit 42f46936bb

View file

@ -21,6 +21,9 @@ stdenv.mkDerivation rec {
buildInputs = [ sharutils libxml2 zlib bzip2 openssl xz lzo ] ++
stdenv.lib.optionals stdenv.isLinux [ e2fsprogs attr acl ];
# Without this, pkgconfig-based dependencies are unhappy
propagatedBuildInputs = stdenv.lib.optionals stdenv.isLinux [ attr acl ];
preBuild = if stdenv.isCygwin then ''
echo "#include <windows.h>" >> config.h
'' else null;