remove unused fixPatch

This commit is contained in:
Jörg Thalheim 2024-07-13 02:14:20 +02:00 committed by mergify[bot]
parent c3346978d5
commit 6efd536381

View file

@ -410,19 +410,10 @@ in
"${if hasSSL then "https" else "http"}://${cfg.domain}/"; "${if hasSSL then "https" else "http"}://${cfg.domain}/";
dbUrl = config.services.buildbot-nix.master.dbUrl; dbUrl = config.services.buildbot-nix.master.dbUrl;
package = package =
let
fixPatch = { patch, name }:
pkgs.runCommand "${name}.patch" { } ''
sed -r \
's~^(---|\+\+\+) (a|b)/master/(.+)$~\1 \2/\3~' \
${patch} >$out
'';
in
cfg.package.overrideAttrs (old: { cfg.package.overrideAttrs (old: {
patches = patches =
old.patches ++ [ old.patches ++ [
./0001-Support-per-installation-tokens-in-GithubStatusPush-.patch #; ./0001-Support-per-installation-tokens-in-GithubStatusPush-.patch #;
]; ];
}); });
pythonPackages = ps: [ pythonPackages = ps: [