@@ -1,7 +1,7 @@
11{ stdenv, fetchFromGitHub, pkgconfig, libtool, curl
2−, python, munge, perl, pam, openssl
2+, python, munge, perl, pam, openssl, zlib
33, ncurses, mysql, gtk2, lua, hwloc, numactl
4−, readline, freeipmi, libssh2, xorg
4+, readline, freeipmi, libssh2, xorg, lz4
55# enable internal X11 support via libssh2
66, enableX11 ? true
77}:
@@ -34,16 +34,18 @@ stdenv.mkDerivation rec {
3434
3535 nativeBuildInputs = [ pkgconfig libtool ];
3636 buildInputs = [
37− curl python munge perl pam openssl
38− mysql.connector-c ncurses gtk2
37+ curl python munge perl pam openssl zlib
38+ mysql.connector-c ncurses gtk2 lz4
3939 lua hwloc numactl readline freeipmi
4040 ] ++ stdenv.lib.optionals enableX11 [ libssh2 xorg.xauth ];
4141
4242 configureFlags = with stdenv.lib;
43− [ "--with-munge=${munge}"
44− "--with-ssl=${openssl.dev}"
43+ [ "--with-freeipmi=${freeipmi}"
4544 "--with-hwloc=${hwloc.dev}"
46− "--with-freeipmi=${freeipmi}"
45+ "--with-lz4=${lz4.dev}"
46+ "--with-munge=${munge}"
47+ "--with-ssl=${openssl.dev}"
48+ "--with-zlib=${zlib}"
4749 "--sysconfdir=/etc/slurm"
4850 ] ++ (optional (gtk2 == null) "--disable-gtktest")
4951 ++ (optional enableX11 "--with-libssh2=${libssh2.dev}");