hwloc: disable x11 by default
I think nothing actually uses what this feature provides but all headless machines suffer.
This commit is contained in:
parent
ad78e52357
commit
7f7e117c94
@ -1,8 +1,9 @@
|
|||||||
{ stdenv, fetchurl, pkgconfig, expat, ncurses, pciutils, numactl
|
{ stdenv, fetchurl, pkgconfig, expat, ncurses, pciutils, numactl
|
||||||
, cairo, libX11
|
, x11Support ? false, libX11 ? null, cairo ? null
|
||||||
, x11Support ? (!stdenv.isCygwin)
|
|
||||||
}:
|
}:
|
||||||
|
|
||||||
|
assert x11Support -> libX11 != null && cairo != null;
|
||||||
|
|
||||||
with stdenv.lib;
|
with stdenv.lib;
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
|
Loading…
Reference in New Issue
Block a user