hwloc: Propagate `pciutils'.

This commit is contained in:
Ludovic Courtès 2012-07-05 11:55:24 +02:00
parent 622a53ca61
commit 1ae3ea8385

View File

@ -17,7 +17,11 @@ stdenv.mkDerivation rec {
buildInputs = stdenv.lib.filter (x: x != null) buildInputs = stdenv.lib.filter (x: x != null)
([ expat ncurses ] ([ expat ncurses ]
++ (stdenv.lib.optionals (!stdenv.isCygwin) [ cairo libX11 ]) ++ (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 = postInstall =
stdenv.lib.optionalString (stdenv.isLinux && numactl != null) stdenv.lib.optionalString (stdenv.isLinux && numactl != null)