diff options
Diffstat (limited to 'lib')
-rw-r--r-- | lib/slurm.nix | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/slurm.nix b/lib/slurm.nix index 4ad41ab..c050628 100644 --- a/lib/slurm.nix +++ b/lib/slurm.nix @@ -5,7 +5,7 @@ with lib; let escape = x: if builtins.typeOf x == "string" then escapeShellArg x else x; in { ppn, mem, walltime, partition ? null, slurmFlags ? null -, salloc ? "/usr/bin/salloc", srun ? "/usr/bin/srun" }: +, salloc ? "/usr/bin/salloc", srun ? "/usr/bin/srun", ... }: drv: let ppnReified = if drv.multicore then ppn else 1; in overrideDerivation drv ({ args, builder, name, ... }: { |