Merge pull request #83099 from marsam/fix-buildGoModule-packages-darwin

treewide: fix buildGoModule packages on darwin
This commit is contained in:
Mario Rodas
2020-03-22 08:13:37 -05:00
committed by GitHub
133 changed files with 857 additions and 440 deletions
+3 -3
View File
@@ -1,11 +1,9 @@
{ stdenv, buildGoModule, fetchFromGitHub }:
{ stdenv, buildGoModule, fetchFromGitHub, Security }:
buildGoModule rec {
pname = "hugo";
version = "0.68.0";
goPackagePath = "github.com/gohugoio/hugo";
src = fetchFromGitHub {
owner = "gohugoio";
repo = pname;
@@ -15,6 +13,8 @@ buildGoModule rec {
modSha256 = "04vzm65kbj9905z4cf5yh6yc6g3b0pd5vc00lrxw84pwgqgc0ykb";
buildInputs = stdenv.lib.optionals stdenv.isDarwin [ Security ];
buildFlags = [ "-tags" "extended" ];
subPackages = [ "." ];