mirror of
https://github.com/CHN-beta/nixpkgs.git
synced 2026-01-12 02:40:31 +08:00
buildGoModule: forward prePatch, postPatch and postBuild to vendoring
to be more prediactable
This commit is contained in:
@@ -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";
|
||||
|
||||
Reference in New Issue
Block a user