aboutsummaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorJustin Bedo <cu@cua0.org>2018-09-26 11:48:56 +1000
committerJustin Bedo <cu@cua0.org>2018-09-26 11:48:56 +1000
commitcd0b68faa6cbf0462b33d64216ea9271a2c23e2e (patch)
treee41eccdfd05c7c7d6c81a3f45be554cae3a1867e /lib
parent852eae6261f83bcf70f639843dea1213347a0b0e (diff)
fix qsub expression
Diffstat (limited to 'lib')
-rw-r--r--lib/qsub.nix5
1 files changed, 1 insertions, 4 deletions
diff --git a/lib/qsub.nix b/lib/qsub.nix
index e53a36c..ddff8fe 100644
--- a/lib/qsub.nix
+++ b/lib/qsub.nix
@@ -1,7 +1,4 @@
-{lib}:
-
-with lib;
-
+{stdenv, lib, writeScript}:
{ ppn ? 1, mem ? 1, walltime ? "24:00:00" }: drv: lib.overrideDerivation drv ({ args, builder, ... }: {
builder = "/bin/bash";