hugo: fix build on darwin
This commit is contained in:
parent
c058bc936d
commit
069aff87e7
@ -1,11 +1,9 @@
|
|||||||
{ stdenv, buildGoModule, fetchFromGitHub }:
|
{ stdenv, buildGoModule, fetchFromGitHub, Security }:
|
||||||
|
|
||||||
buildGoModule rec {
|
buildGoModule rec {
|
||||||
pname = "hugo";
|
pname = "hugo";
|
||||||
version = "0.67.1";
|
version = "0.67.1";
|
||||||
|
|
||||||
goPackagePath = "github.com/gohugoio/hugo";
|
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "gohugoio";
|
owner = "gohugoio";
|
||||||
repo = pname;
|
repo = pname;
|
||||||
@ -15,6 +13,8 @@ buildGoModule rec {
|
|||||||
|
|
||||||
modSha256 = "0s7a13jkhsr6h19a9ysr8877imac5skdray0zg2qgwrapic2nw17";
|
modSha256 = "0s7a13jkhsr6h19a9ysr8877imac5skdray0zg2qgwrapic2nw17";
|
||||||
|
|
||||||
|
buildInputs = stdenv.lib.optionals stdenv.isDarwin [ Security ];
|
||||||
|
|
||||||
buildFlags = [ "-tags" "extended" ];
|
buildFlags = [ "-tags" "extended" ];
|
||||||
|
|
||||||
subPackages = [ "." ];
|
subPackages = [ "." ];
|
||||||
|
@ -19859,7 +19859,9 @@ in
|
|||||||
wxGTK = wxGTK30;
|
wxGTK = wxGTK30;
|
||||||
};
|
};
|
||||||
|
|
||||||
hugo = callPackage ../applications/misc/hugo { };
|
hugo = callPackage ../applications/misc/hugo {
|
||||||
|
inherit (darwin.apple_sdk.frameworks) Security;
|
||||||
|
};
|
||||||
|
|
||||||
hydrogen = callPackage ../applications/audio/hydrogen { };
|
hydrogen = callPackage ../applications/audio/hydrogen { };
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user