mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-23 23:43:30 +00:00
hwloc: Disable dependency on Cairo and X11 on Cygwin.
svn path=/nixpkgs/trunk/; revision=34278
This commit is contained in:
parent
472a9d6e3d
commit
606913fc8f
@ -14,7 +14,8 @@ stdenv.mkDerivation rec {
|
|||||||
# Filter out `null' inputs. This allows users to `.override' the
|
# Filter out `null' inputs. This allows users to `.override' the
|
||||||
# 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)
|
||||||
[ cairo expat ncurses libX11 ];
|
([ expat ncurses ]
|
||||||
|
++ (stdenv.lib.optionals (!stdenv.isCygwin) [ cairo libX11 ]));
|
||||||
|
|
||||||
doCheck = true;
|
doCheck = true;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user