@@ -1,5 +1,6 @@
1−{ stdenv, fetchurl, pkgconfig, curl, python, munge, perl, pam, openssl,
2− ncurses, mysql, gtk }:
1+{ stdenv, fetchurl, pkgconfig, curl, python, munge, perl, pam, openssl
2+, ncurses, mysql, gtk, lua, hwloc, numactl
3+}:
34
45stdenv.mkDerivation rec {
56 name = "slurm-llnl-${version}";
@@ -10,11 +11,15 @@ stdenv.mkDerivation rec {
1011 sha256 = "05si1cn7zivggan25brsqfdw0ilvrlnhj96pwv16dh6vfkggzjr1";
1112 };
1213
13− buildInputs = [ pkgconfig curl python munge perl pam openssl mysql.lib ncurses gtk ];
14+ buildInputs = [
15+ pkgconfig curl python munge perl pam openssl mysql.lib ncurses gtk lua
16+ hwloc numactl
17+ ];
1418
1519 configureFlags =
1620 [ "--with-munge=${munge}"
1721 "--with-ssl=${openssl.dev}"
22+ "--sysconfdir=/etc/slurm"
1823 ] ++ stdenv.lib.optional (gtk == null) "--disable-gtktest";
1924
2025 preConfigure = ''
@@ -22,6 +27,10 @@ stdenv.mkDerivation rec {
2227 substituteInPlace ./doc/man/man2html.py --replace "/usr/bin/env python" "${python.interpreter}"
2328 '';
2429
30+ postInstall = ''
31+ rm -f $out/lib/*.la $out/lib/slurm/*.la
32+ '';
33+
2534 meta = with stdenv.lib; {
2635 homepage = http://www.schedmd.com/;
2736 description = "Simple Linux Utility for Resource Management";