From a0396ab4110c97856dc64b89dd88d0907d873099 Mon Sep 17 00:00:00 2001 From: Peder Bergebakken Sundt Date: Fri, 2 Aug 2024 14:53:11 +0200 Subject: treewide: use src.name in sourceRoot --- pkgs/by-name/sp/spades/package.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'pkgs/by-name/sp') 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 -- cgit 1.4.1