mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-12-26 12:53:59 +03:00
hwloc: Propagate `pciutils'.
This commit is contained in:
parent
622a53ca61
commit
1ae3ea8385
@ -17,7 +17,11 @@ stdenv.mkDerivation rec {
|
||||
buildInputs = stdenv.lib.filter (x: x != null)
|
||||
([ expat ncurses ]
|
||||
++ (stdenv.lib.optionals (!stdenv.isCygwin) [ cairo libX11 ])
|
||||
++ (stdenv.lib.optionals stdenv.isLinux [ pciutils numactl ]));
|
||||
++ (stdenv.lib.optionals stdenv.isLinux [ numactl ]));
|
||||
|
||||
propagatedBuildInputs =
|
||||
# Since `libpci' appears in `hwloc.pc', it must be propagated.
|
||||
stdenv.lib.optional stdenv.isLinux pciutils;
|
||||
|
||||
postInstall =
|
||||
stdenv.lib.optionalString (stdenv.isLinux && numactl != null)
|
||||
|
Loading…
Reference in New Issue
Block a user