aboutsummaryrefslogtreecommitdiff
path: root/tools/samtools-sort.nix
diff options
context:
space:
mode:
authorl-d-s <distefano.l@wehi.edu.au>2018-12-11 14:17:22 +1100
committerl-d-s <distefano.l@wehi.edu.au>2018-12-11 14:17:22 +1100
commitf0357e09b8c473b55d22c4632692fcc79021570d (patch)
tree9c92993d1f0c788a162159e6440ea958eae3e35d /tools/samtools-sort.nix
parent6742864b8f92f5d7d56da4901486b7e83a271e23 (diff)
parent10bdecf6c1338d7f531ddf7b41da14dfe4a4ac33 (diff)
Merge branch 'master' of https://github.com/PapenfussLab/bionix
Diffstat (limited to 'tools/samtools-sort.nix')
-rw-r--r--tools/samtools-sort.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/samtools-sort.nix b/tools/samtools-sort.nix
index e77f3db..37df5c8 100644
--- a/tools/samtools-sort.nix
+++ b/tools/samtools-sort.nix
@@ -25,7 +25,7 @@ in stdenv.mkDerivation {
buildInputs = [ samtools ];
buildCommand =
if alreadySorted then
- "ln -s $out ${input}"
+ "ln -s ${input} $out"
else
''
samtools sort -@ $NIX_BUILD_CORES \