This commit is contained in:
parent
ef4e5e3ccc
commit
11e4772f4d
6 changed files with 1157 additions and 1093 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue