aboutsummaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorJustin Bedo <cu@cua0.org>2018-12-18 14:05:19 +1100
committerJustin Bedo <cu@cua0.org>2018-12-18 14:11:57 +1100
commit0418c23f5d3bff108744d96d1075b0e76b580fdd (patch)
tree4a77565abe39bba1dc93139f2d4539496a041198 /lib
parent2ec0e115917d194eeea6ef4c1b4b1f7f6a7f416b (diff)
qsub: refactor overriding
Diffstat (limited to 'lib')
-rw-r--r--lib/qsub.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/qsub.nix b/lib/qsub.nix
index f7b3c3e..77e773f 100644
--- a/lib/qsub.nix
+++ b/lib/qsub.nix
@@ -1,6 +1,6 @@
{stdenv, lib, writeScript}:
-{ ppn ? 1, mem ? 1, walltime ? "24:00:00", tmpDir ? "/tmp" , sleepTime ? 60}: drv: lib.overrideDerivation drv ({ args, builder, name, ... }: {
+{ ppn, mem, walltime, tmpDir, sleepTime}: drv: lib.overrideDerivation drv ({ args, builder, name, ... }: {
builder = "/bin/bash";
args = let
script = writeScript "qsub-script" ''