diff options
author | Justin Bedo <cu@cua0.org> | 2018-09-26 11:43:42 +1000 |
---|---|---|
committer | Justin Bedo <cu@cua0.org> | 2018-09-26 11:43:42 +1000 |
commit | 852eae6261f83bcf70f639843dea1213347a0b0e (patch) | |
tree | 876ac8a783c387ab967430f5eab03c88757b762c | |
parent | 91e6ec3f53b9183082f56c0e52931436d069528e (diff) |
Add qsub to bionix top level
-rw-r--r-- | default.nix | 2 | ||||
-rw-r--r-- | lib/qsub.nix | 2 |
2 files changed, 4 insertions, 0 deletions
diff --git a/default.nix b/default.nix index a5c9f3f..6050857 100644 --- a/default.nix +++ b/default.nix @@ -11,5 +11,7 @@ let ref = callBionix ./references.nix; samtools = callBionix ./tools/samtools.nix; strelka = callBionix ./tools/strelka.nix; + + qsub = nixpkgs.callPackage ./lib/qsub.nix {}; }); in bionix diff --git a/lib/qsub.nix b/lib/qsub.nix index ba9456f..e53a36c 100644 --- a/lib/qsub.nix +++ b/lib/qsub.nix @@ -1,5 +1,7 @@ {lib}: +with lib; + { ppn ? 1, mem ? 1, walltime ? "24:00:00" }: drv: lib.overrideDerivation drv ({ args, builder, ... }: { builder = "/bin/bash"; |