about summary refs log tree commit diff
path: root/pkgs/by-name/sp
diff options
context:
space:
mode:
authorPeder Bergebakken Sundt2024-08-09 04:41:06 +0200
committerGitHub2024-08-09 04:41:06 +0200
commitea08d0dede9019152de1c02dfbf538496f61a43b (patch)
treeabadbbfa3bae544f86b15d36bf3670ac6fc6f29b /pkgs/by-name/sp
parent54cdfe944a38d658d808ebc786ac96e3094bcc05 (diff)
parenta0396ab4110c97856dc64b89dd88d0907d873099 (diff)
Merge pull request #331770 from pbsds/fix-sourceRoot-1722602716
treewide: use src.name in sourceRoot
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