3
0
Fork 0
forked from mirrors/nixpkgs

hwloc: Disable dependency on Cairo and X11 on Cygwin.

svn path=/nixpkgs/trunk/; revision=34278
This commit is contained in:
Ludovic Courtès 2012-05-29 16:37:31 +00:00
parent 472a9d6e3d
commit 606913fc8f

View file

@ -14,7 +14,8 @@ stdenv.mkDerivation rec {
# Filter out `null' inputs. This allows users to `.override' the
# derivation and set optional dependencies to `null'.
buildInputs = stdenv.lib.filter (x: x != null)
[ cairo expat ncurses libX11 ];
([ expat ncurses ]
++ (stdenv.lib.optionals (!stdenv.isCygwin) [ cairo libX11 ]));
doCheck = true;