hwloc: Add dependency on pciutils and numactl on Linux.
svn path=/nixpkgs/trunk/; revision=34304
This commit is contained in:
parent
c2fd3c184b
commit
99e9ea69b5
@ -1,4 +1,5 @@
|
|||||||
{ stdenv, fetchurl, pkgconfig, cairo, expat, ncurses, libX11 }:
|
{ stdenv, fetchurl, pkgconfig, cairo, expat, ncurses, libX11
|
||||||
|
, pciutils, numactl }:
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
name = "hwloc-1.4.2";
|
name = "hwloc-1.4.2";
|
||||||
@ -15,7 +16,8 @@ stdenv.mkDerivation rec {
|
|||||||
# derivation and set optional dependencies to `null'.
|
# derivation and set optional dependencies to `null'.
|
||||||
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 ]));
|
||||||
|
|
||||||
doCheck = true;
|
doCheck = true;
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user