From 9c2d517c498e1ea2fa27366d19dc01856fa136ee Mon Sep 17 00:00:00 2001 From: tv Date: Thu, 4 Feb 2021 19:49:05 +0100 Subject: tv rxvt_unicode: use rawdiff instead of patch When using patch, cgit will append its version to the output, causing hashes to become invalid as it gets updated. --- tv/5pkgs/override/rxvt_unicode.nix | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/tv/5pkgs/override/rxvt_unicode.nix b/tv/5pkgs/override/rxvt_unicode.nix index 4d9c3abc3..53aaf0658 100644 --- a/tv/5pkgs/override/rxvt_unicode.nix +++ b/tv/5pkgs/override/rxvt_unicode.nix @@ -3,15 +3,15 @@ rxvt_unicode.overrideAttrs (old: { patches = old.patches ++ [ (fetchurl { name = "rxvt-unicode.cancel-running-selection-request.patch"; - url = https://cgit.krebsco.de/rxvt-unicode/patch/?id=15f3f94; - sha256 = "12vldwsds27c9l15ffc6svk9mj17jhypcz736pvpmpqbsymlkz2p"; + url = "https://cgit.krebsco.de/rxvt-unicode/rawdiff/?id=15f3f94&id2=15f3f94^"; + sha256 = "1c7jq8phl85d2f581b4mc6fkmr2nv9n44qjjs4idi51sd2hs7sxw"; }) # Fix segfault when calling editor-input from XMonad. (fetchurl { name = "rxvt-unicode.no-perl_destruct.patch"; - url = "https://cgit.krebsco.de/rxvt-unicode/patch/?id=d63f96a"; - sha256 = "0i8nqrqgprv7cygflkrdp5zx75dv9bv84vrr2yc3vnfpqxamc43n"; + url = "https://cgit.krebsco.de/rxvt-unicode/rawdiff/?id=d63f96a&id2=d63f96a^"; + sha256 = "0fq9w4fq8mw05jk9bblzlh1x51m2cmk62xbc4c1mbiqagjmsi9f8"; }) ]; }) -- cgit v1.2.3