WIP: update woodpecker
All checks were successful
ci/woodpecker/push/check Pipeline was successful

This commit is contained in:
Bruno BELANYI 2023-07-30 13:56:46 +01:00
parent ef4e5e3ccc
commit 11e4772f4d
6 changed files with 1157 additions and 1093 deletions

View file

@ -1,4 +1,4 @@
{ buildGoModule, callPackage, fetchpatch }:
{ buildGoModule, callPackage }:
let
common = callPackage ./common.nix { };
in
@ -6,15 +6,6 @@ buildGoModule {
pname = "woodpecker-agent";
inherit (common) version src ldflags postInstall vendorHash;
patches = [
# https://github.com/woodpecker-ci/woodpecker/pull/1686
(fetchpatch {
name = "fix-local-pipeline-home.patch";
url = "https://github.com/woodpecker-ci/woodpecker/commit/d2c9b73ebf015bfa64062b9855c33e14484ccc3e.patch";
hash = "sha256-1wYe4+oCWiV/6W4cIbdDT+mEL9ETQmcYQZhjJASvmUk=";
})
];
subPackages = "cmd/agent";
CGO_ENABLED = 0;