aboutsummaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorJustin Bedo <cu@cua0.org>2018-12-11 14:11:52 +1100
committerJustin Bedo <cu@cua0.org>2018-12-11 14:11:52 +1100
commit10bdecf6c1338d7f531ddf7b41da14dfe4a4ac33 (patch)
treebaa8c958eccd66d650d038f4fcf70254f6812be5 /tools
parentd79fc6785f2b8714fa2762bd07a9a9f937bf4513 (diff)
samtools-sort: fix reversed link for identity sort
Diffstat (limited to 'tools')
-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 \