Merge pull request #15780 from joachifm/slurm-refactor
Slurm refactorings
This commit is contained in:
commit
bb0d8b5519
@ -40,7 +40,7 @@ in
|
|||||||
defaultText = "pkgs.slurm-llnl";
|
defaultText = "pkgs.slurm-llnl";
|
||||||
example = literalExample "pkgs.slurm-llnl-full";
|
example = literalExample "pkgs.slurm-llnl-full";
|
||||||
description = ''
|
description = ''
|
||||||
The packge to use for slurm binaries.
|
The package to use for slurm binaries.
|
||||||
'';
|
'';
|
||||||
};
|
};
|
||||||
|
|
||||||
@ -111,7 +111,7 @@ in
|
|||||||
builder = pkgs.writeText "builder.sh" ''
|
builder = pkgs.writeText "builder.sh" ''
|
||||||
source $stdenv/setup
|
source $stdenv/setup
|
||||||
mkdir -p $out/bin
|
mkdir -p $out/bin
|
||||||
find ${cfg.package}/bin -type f -executable | while read EXE
|
find ${getBin cfg.package}/bin -type f -executable | while read EXE
|
||||||
do
|
do
|
||||||
exename="$(basename $EXE)"
|
exename="$(basename $EXE)"
|
||||||
wrappername="$out/bin/$exename"
|
wrappername="$out/bin/$exename"
|
||||||
|
@ -11,9 +11,11 @@ stdenv.mkDerivation rec {
|
|||||||
sha256 = "05si1cn7zivggan25brsqfdw0ilvrlnhj96pwv16dh6vfkggzjr1";
|
sha256 = "05si1cn7zivggan25brsqfdw0ilvrlnhj96pwv16dh6vfkggzjr1";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
outputs = [ "dev" "out" ];
|
||||||
|
|
||||||
|
nativeBuildInputs = [ pkgconfig ];
|
||||||
buildInputs = [
|
buildInputs = [
|
||||||
pkgconfig curl python munge perl pam openssl mysql.lib ncurses gtk lua
|
curl python munge perl pam openssl mysql.lib ncurses gtk lua hwloc numactl
|
||||||
hwloc numactl
|
|
||||||
];
|
];
|
||||||
|
|
||||||
configureFlags =
|
configureFlags =
|
||||||
|
Loading…
x
Reference in New Issue
Block a user