summary refs log tree commit diff
path: root/pkgs/development/libraries/hwloc
diff options
context:
space:
mode:
authorLudovic Courtès <ludo@gnu.org>2012-07-05 11:55:24 +0200
committerLudovic Courtès <ludo@gnu.org>2012-07-05 11:55:24 +0200
commit1ae3ea8385e60f964c322bd317ebfd55d3597b68 (patch)
treeb155ff15d80f3440eb730930eb22f164ed953664 /pkgs/development/libraries/hwloc
parent622a53ca61d2a39a7504c2e8772e08f8b4e9ee2c (diff)
downloadnixpkgs-1ae3ea8385e60f964c322bd317ebfd55d3597b68.tar
nixpkgs-1ae3ea8385e60f964c322bd317ebfd55d3597b68.tar.gz
nixpkgs-1ae3ea8385e60f964c322bd317ebfd55d3597b68.tar.bz2
nixpkgs-1ae3ea8385e60f964c322bd317ebfd55d3597b68.tar.lz
nixpkgs-1ae3ea8385e60f964c322bd317ebfd55d3597b68.tar.xz
nixpkgs-1ae3ea8385e60f964c322bd317ebfd55d3597b68.tar.zst
nixpkgs-1ae3ea8385e60f964c322bd317ebfd55d3597b68.zip
hwloc: Propagate `pciutils'.
Diffstat (limited to 'pkgs/development/libraries/hwloc')
-rw-r--r--pkgs/development/libraries/hwloc/default.nix6
1 files changed, 5 insertions, 1 deletions
diff --git a/pkgs/development/libraries/hwloc/default.nix b/pkgs/development/libraries/hwloc/default.nix
index aa59a891714..4f2bd4f679a 100644
--- a/pkgs/development/libraries/hwloc/default.nix
+++ b/pkgs/development/libraries/hwloc/default.nix
@@ -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)