From 5ce647b8bf7aee0d3862006d94df7878c7fc03a6 Mon Sep 17 00:00:00 2001 From: Sandro Jäckel Date: Thu, 26 Jan 2023 17:08:55 +0100 Subject: buildGoModule: forward prePatch, postPatch and postBuild to vendoring to be more prediactable --- pkgs/build-support/go/module.nix | 3 +++ 1 file changed, 3 insertions(+) (limited to 'pkgs/build-support/go/module.nix') diff --git a/pkgs/build-support/go/module.nix b/pkgs/build-support/go/module.nix index 647f2a2f7ad..448143f7690 100644 --- a/pkgs/build-support/go/module.nix +++ b/pkgs/build-support/go/module.nix @@ -83,9 +83,12 @@ let inherit (args) src; inherit (go) GOOS GOARCH; + prePatch = args.prePatch or ""; patches = args.patches or []; patchFlags = args.patchFlags or []; + postPatch = args.postPatch or ""; preBuild = args.preBuild or ""; + postBuild = args.postBuild or ""; sourceRoot = args.sourceRoot or ""; GO111MODULE = "on"; -- cgit 1.4.1