From 0418c23f5d3bff108744d96d1075b0e76b580fdd Mon Sep 17 00:00:00 2001 From: Justin Bedo Date: Tue, 18 Dec 2018 14:05:19 +1100 Subject: qsub: refactor overriding --- lib/qsub.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib') 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" '' -- cgit v1.2.3