nixos/slurm: fix X11 with spank module
* Fix path in module for slurm to find plugstack.conf * Fix configure flags so that slurm can be compiled without internal X11 support (required for spank-x11).
This commit is contained in:
@@ -48,7 +48,8 @@ stdenv.mkDerivation rec {
|
||||
"--with-zlib=${zlib}"
|
||||
"--sysconfdir=/etc/slurm"
|
||||
] ++ (optional (gtk2 == null) "--disable-gtktest")
|
||||
++ (optional enableX11 "--with-libssh2=${libssh2.dev}");
|
||||
++ (optional enableX11 "--with-libssh2=${libssh2.dev}")
|
||||
++ (optional (!enableX11) "--disable-x11");
|
||||
|
||||
|
||||
preConfigure = ''
|
||||
|
||||
Reference in New Issue
Block a user