diff options
author | Justin Bedo <cu@cua0.org> | 2018-12-18 14:05:19 +1100 |
---|---|---|
committer | Justin Bedo <cu@cua0.org> | 2018-12-18 14:11:57 +1100 |
commit | 0418c23f5d3bff108744d96d1075b0e76b580fdd (patch) | |
tree | 4a77565abe39bba1dc93139f2d4539496a041198 /lib | |
parent | 2ec0e115917d194eeea6ef4c1b4b1f7f6a7f416b (diff) |
qsub: refactor overriding
Diffstat (limited to 'lib')
-rw-r--r-- | lib/qsub.nix | 2 |
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" '' |