mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-11-13 21:32:23 +03:00
Merge pull request #245135 from amarshall/pax-utils-non-linux
This commit is contained in:
commit
d5597ff02e
@ -4,7 +4,7 @@
|
||||
, buildPackages
|
||||
, docbook_xml_dtd_44
|
||||
, docbook_xsl
|
||||
, libcap
|
||||
, withLibcap ? stdenv.isLinux, libcap
|
||||
, pkg-config
|
||||
, meson
|
||||
, ninja
|
||||
@ -25,9 +25,13 @@ stdenv.mkDerivation rec {
|
||||
|
||||
strictDeps = true;
|
||||
|
||||
mesonFlags = [
|
||||
(lib.mesonEnable "use_libcap" withLibcap)
|
||||
];
|
||||
|
||||
depsBuildBuild = [ buildPackages.stdenv.cc ];
|
||||
nativeBuildInputs = [ docbook_xml_dtd_44 docbook_xsl meson ninja pkg-config xmlto ];
|
||||
buildInputs = [ libcap ];
|
||||
buildInputs = lib.optionals withLibcap [ libcap ];
|
||||
# Needed for lddtree
|
||||
propagatedBuildInputs = [ (python3.withPackages (p: with p; [ pyelftools ])) ];
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user