From 4312e2460a98c88438ad15a0797b14c7c873ab8b Mon Sep 17 00:00:00 2001 From: Norbert Melzer Date: Sun, 13 Sep 2020 18:20:22 +0200 Subject: lefthook: use go 1.14 to build Due to some changes in `go` from 1.14 to 1.15 the lefthook tool currently can't start external programs and errors each test it tries to run, making it effectively useless. This is a temporary fix to make `lefthook` usable again until the upstream issue was fixed and a new release has been cut. Upstream issue: https://github.com/Arkweid/lefthook/issues/151 --- pkgs/applications/version-management/git-and-tools/default.nix | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'pkgs/applications/version-management/git-and-tools/default.nix') diff --git a/pkgs/applications/version-management/git-and-tools/default.nix b/pkgs/applications/version-management/git-and-tools/default.nix index 765c2157a22..d068fb73169 100644 --- a/pkgs/applications/version-management/git-and-tools/default.nix +++ b/pkgs/applications/version-management/git-and-tools/default.nix @@ -201,7 +201,11 @@ let lab = callPackage ./lab { }; - lefthook = callPackage ./lefthook { }; + lefthook = callPackage ./lefthook { + # Please use empty attrset once upstream bugs have been fixed + # https://github.com/Arkweid/lefthook/issues/151 + buildGoModule = buildGo114Module; + }; legit = callPackage ./legit { }; -- cgit 1.4.1