aboutsummaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
Diffstat (limited to 'lib')
-rw-r--r--lib/slurm.nix (renamed from lib/sbatch.nix)6
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/sbatch.nix b/lib/slurm.nix
index d52c23e..daca4af 100644
--- a/lib/sbatch.nix
+++ b/lib/slurm.nix
@@ -8,12 +8,12 @@ drv:
in lib.overrideDerivation drv ({ args, builder, name, ... }: {
builder = stdenv.shell;
args = let
- script = writeScript "sbatch-script" ''
+ script = writeScript "slurm-script" ''
#!${stdenv.shell}
${builder} ${lib.escapeShellArgs args}
'';
- sbatch = writeScript "sbatch" ''
+ slurm = writeScript "slurm" ''
#!${stdenv.shell}
NIX_BUILD_CORES=${toString ppnReified}
@@ -24,5 +24,5 @@ drv:
${script}
'';
- in [ "-c" sbatch ];
+ in [ "-c" slurm ];
})