3
0
Fork 0
forked from mirrors/nixpkgs

buildGoModule: forward prePatch, postPatch and postBuild to vendoring

to be more prediactable
This commit is contained in:
Sandro Jäckel 2023-01-26 17:08:55 +01:00
parent d85d5f1723
commit 5ce647b8bf
No known key found for this signature in database
GPG key ID: B1763F8651144063

View file

@ -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";