@@ -1,5 +1,5 @@
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
44, readline, freeipmi, libssh2, xorg, lz4
55# enable internal X11 support via libssh2
@@ -34,7 +34,7 @@ stdenv.mkDerivation rec {
3434
3535 nativeBuildInputs = [ pkgconfig libtool ];
3636 buildInputs = [
37− curl python munge perl pam openssl
37+ curl python munge perl pam openssl zlib
3838 mysql.connector-c ncurses gtk2 lz4
3939 lua hwloc numactl readline freeipmi
4040 ] ++ stdenv.lib.optionals enableX11 [ libssh2 xorg.xauth ];
@@ -42,9 +42,10 @@ stdenv.mkDerivation rec {
4242 configureFlags = with stdenv.lib;
4343 [ "--with-freeipmi=${freeipmi}"
4444 "--with-hwloc=${hwloc.dev}"
45− "--with-lz4=${lz4}"
45+ "--with-lz4=${lz4.dev}"
4646 "--with-munge=${munge}"
4747 "--with-ssl=${openssl.dev}"
48+ "--with-zlib=${zlib}"
4849 "--sysconfdir=/etc/slurm"
4950 ] ++ (optional (gtk2 == null) "--disable-gtktest")
5051 ++ (optional enableX11 "--with-libssh2=${libssh2.dev}");