about summary refs log tree commit diff
path: root/pkgs/development/libraries/hwloc
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/development/libraries/hwloc')
-rw-r--r--pkgs/development/libraries/hwloc/default.nix3
1 files changed, 2 insertions, 1 deletions
diff --git a/pkgs/development/libraries/hwloc/default.nix b/pkgs/development/libraries/hwloc/default.nix
index 502e8b94bbd9c..48ee3cebe7e8f 100644
--- a/pkgs/development/libraries/hwloc/default.nix
+++ b/pkgs/development/libraries/hwloc/default.nix
@@ -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;