aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJustin Bedo <cu@cua0.org>2019-04-07 08:29:11 +1000
committerJustin Bedo <cu@cua0.org>2019-04-07 08:29:11 +1000
commit761d47937eeb6787ff807c34be7a3623a4bde0e9 (patch)
tree03b197388312ff4d7ccb1e53d93181e76664ff7e
parentdbbfc5655b840e9cd1d10993b411376ec0a90135 (diff)
update stage names to include bionix- prefix
-rw-r--r--default.nix2
-rw-r--r--tools/strelka-call.nix2
-rw-r--r--tools/strelka-callSomatic.nix2
3 files changed, 3 insertions, 3 deletions
diff --git a/default.nix b/default.nix
index 736eef0..7b49279 100644
--- a/default.nix
+++ b/default.nix
@@ -63,7 +63,7 @@ let
# Export nixpkgs and standard library lib
pkgs = nixpkgs;
lib = nixpkgs.lib // { types = types; };
- stage = x: { multicore = false; } // nixpkgs.stdenvNoCC.mkDerivation x;
+ stage = x@{ name, ... }: { multicore = false; } // nixpkgs.stdenvNoCC.mkDerivation (x // {name = "bionix-" + name;});
# splitting/joining
splitFile = file: drv: stage {
diff --git a/tools/strelka-call.nix b/tools/strelka-call.nix
index 4471d7d..7836bbe 100644
--- a/tools/strelka-call.nix
+++ b/tools/strelka-call.nix
@@ -21,7 +21,7 @@ in
assert (length (unique refs) == 1);
stage {
- name = "strelka";
+ name = "strelka-call";
buildInputs = with pkgs; [ strelka ];
buildCommand = ''
ln -s ${ref} ref.fa
diff --git a/tools/strelka-callSomatic.nix b/tools/strelka-callSomatic.nix
index ed5626b..256065b 100644
--- a/tools/strelka-callSomatic.nix
+++ b/tools/strelka-callSomatic.nix
@@ -22,7 +22,7 @@ in
assert (length (unique refs) == 1);
stage {
- name = "strelka";
+ name = "strelka-callSomatic";
buildInputs = with pkgs; [ strelka ];
buildCommand = ''
ln -s ${ref} ref.fa