From 8ff60c275dbd19f5e66b458eb310c4ad17899ca3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Vladim=C3=ADr=20=C4=8Cun=C3=A1t?= Date: Wed, 20 May 2026 12:03:29 +0200 Subject: [PATCH] spades: simplify the fetchpatch2 call Co-authored-by: Tom --- pkgs/by-name/sp/spades/package.nix | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/pkgs/by-name/sp/spades/package.nix b/pkgs/by-name/sp/spades/package.nix index c79115d4ad49..3e48963fcc00 100644 --- a/pkgs/by-name/sp/spades/package.nix +++ b/pkgs/by-name/sp/spades/package.nix @@ -25,8 +25,7 @@ stdenv.mkDerivation (finalAttrs: { # Add missing for uint{8,64}_t to fix build with gcc 15. (fetchpatch2 { url = "https://github.com/ablab/spades/commit/10b6af96ead72fdb19e8e524aa24bdcff9986e76.patch?full_index=1"; - stripLen = 2; - extraPrefix = ""; + relative = "src"; hash = "sha256-yAQVqE6DwPe+GZ4VR1cGytaO8NmHz6TUG7EdtbxIuTU="; }) ];