aboutsummaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
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 \