From 42f46936bbc83438011fa0d96013f92fd7fec6c4 Mon Sep 17 00:00:00 2001 From: Dan Peebles Date: Fri, 29 Apr 2016 03:29:30 +0000 Subject: [PATCH] libarchive: add propagatedBuildInputs for attr and acl to appease pkgconfig dependencies --- pkgs/development/libraries/libarchive/default.nix | 3 +++ 1 file changed, 3 insertions(+) diff --git a/pkgs/development/libraries/libarchive/default.nix b/pkgs/development/libraries/libarchive/default.nix index 467dd87f43e9..55ff770f4bd9 100644 --- a/pkgs/development/libraries/libarchive/default.nix +++ b/pkgs/development/libraries/libarchive/default.nix @@ -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 " >> config.h '' else null;