Merge pull request #97917 from NobbZ/lefthook-go-114

lefthook: use go 1.14 to build
This commit is contained in:
Mario Rodas 2020-09-13 14:09:28 -05:00 committed by GitHub
commit 57f00c0459
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 11 additions and 1 deletions

View File

@ -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 { };

View File

@ -1,5 +1,11 @@
{ stdenv, buildGoModule, fetchFromGitHub }:
# Currently `buildGo114Module` is passed as `buildGoModule` from
# `../default.nix`. Please remove the fixed 1.14 once a new release has been
# made and the issue linked below has been closed upstream.
# https://github.com/Arkweid/lefthook/issues/151
buildGoModule rec {
pname = "lefthook";
version = "0.7.2";