hugo: fix build on darwin

This commit is contained in:
Mario Rodas
2020-03-21 05:12:00 -05:00
parent c058bc936d
commit 069aff87e7
2 changed files with 6 additions and 4 deletions
+3 -3
View File
@@ -1,11 +1,9 @@
{ stdenv, buildGoModule, fetchFromGitHub }:
{ stdenv, buildGoModule, fetchFromGitHub, Security }:
buildGoModule rec {
pname = "hugo";
version = "0.67.1";
goPackagePath = "github.com/gohugoio/hugo";
src = fetchFromGitHub {
owner = "gohugoio";
repo = pname;
@@ -15,6 +13,8 @@ buildGoModule rec {
modSha256 = "0s7a13jkhsr6h19a9ysr8877imac5skdray0zg2qgwrapic2nw17";
buildInputs = stdenv.lib.optionals stdenv.isDarwin [ Security ];
buildFlags = [ "-tags" "extended" ];
subPackages = [ "." ];