From 10bdecf6c1338d7f531ddf7b41da14dfe4a4ac33 Mon Sep 17 00:00:00 2001 From: Justin Bedo Date: Tue, 11 Dec 2018 14:11:52 +1100 Subject: samtools-sort: fix reversed link for identity sort --- tools/samtools-sort.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tools/samtools-sort.nix') 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 \ -- cgit v1.2.3