aboutsummaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
Diffstat (limited to 'tools')
-rw-r--r--tools/samtools-merge.nix2
1 files changed, 2 insertions, 0 deletions
diff --git a/tools/samtools-merge.nix b/tools/samtools-merge.nix
index 81b0c15..792ee52 100644
--- a/tools/samtools-merge.nix
+++ b/tools/samtools-merge.nix
@@ -16,6 +16,8 @@ in
assert inputIsHomogenous;
+if length inputs == 1 then head inputs else
+
stage {
name = "samtools-merge";
buildInputs = with pkgs; [ samtools ];