remove unused fixPatch
This commit is contained in:
parent
c3346978d5
commit
6efd536381
|
@ -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: [
|
||||||
|
|
Loading…
Reference in a new issue