git.iko.soy/typeable/nixpkgs
on master help sign in
Merge pull request #15780 from joachifm/slurm-refactor

Slurm refactorings

commitbb0d8b55195a0c671c65a60dfacb19c9f8ba54b2 authorArseniy Seroka <jagajaga@users.noreply.github.com> dateSat 28 May 2016, 21:25 (11 years ago) parent1ce4a7cb05bb30
2 files changed+6−4
nixos/modules/services/computing/slurm/slurm.nix+2−2 pkgs/servers/computing/slurm/default.nix+4−2
nixos/modules/services/computing/slurm/slurm.nix+2−2
@@ -40,7 +40,7 @@ in
4040 defaultText = "pkgs.slurm-llnl";
4141 example = literalExample "pkgs.slurm-llnl-full";
4242 description = ''
43− The packge to use for slurm binaries.
43+ The package to use for slurm binaries.
4444 '';
4545 };
4646
@@ -111,7 +111,7 @@ in
111111 builder = pkgs.writeText "builder.sh" ''
112112 source $stdenv/setup
113113 mkdir -p $out/bin
114− find ${cfg.package}/bin -type f -executable | while read EXE
114+ find ${getBin cfg.package}/bin -type f -executable | while read EXE
115115 do
116116 exename="$(basename $EXE)"
117117 wrappername="$out/bin/$exename"
pkgs/servers/computing/slurm/default.nix+4−2
@@ -11,9 +11,11 @@ stdenv.mkDerivation rec {
1111 sha256 = "05si1cn7zivggan25brsqfdw0ilvrlnhj96pwv16dh6vfkggzjr1";
1212 };
1313
14+ outputs = [ "dev" "out" ];
15+
16+ nativeBuildInputs = [ pkgconfig ];
1417 buildInputs = [
15− pkgconfig curl python munge perl pam openssl mysql.lib ncurses gtk lua
16− hwloc numactl
18+ curl python munge perl pam openssl mysql.lib ncurses gtk lua hwloc numactl
1719 ];
1820
1921 configureFlags =