about summary refs log tree commit diff
path: root/pkgs/by-name/sp
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/by-name/sp')
-rw-r--r--pkgs/by-name/sp/spades/package.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/pkgs/by-name/sp/spades/package.nix b/pkgs/by-name/sp/spades/package.nix
index b390524f718c..daa748087b3c 100644
--- a/pkgs/by-name/sp/spades/package.nix
+++ b/pkgs/by-name/sp/spades/package.nix
@@ -21,7 +21,7 @@ stdenv.mkDerivation (finalAttrs: {
     hash = "sha256-k2+ddJIgGE41KGZODovU9VdurbWerEtdqNrFDwyuFjo=";
   };
 
-  sourceRoot = "source/src";
+  sourceRoot = "${finalAttrs.src.name}/src";
 
   patches = [
     # https://github.com/ablab/spades/pull/1314