forked from mirrors/nixpkgs
buildGoModule: forward prePatch, postPatch and postBuild to vendoring
to be more prediactable
This commit is contained in:
parent
d85d5f1723
commit
5ce647b8bf
|
@ -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";
|
||||
|
|
Loading…
Reference in a new issue