glow: fix build on darwin
This commit is contained in:
parent
7faf44250d
commit
73cb29e6d9
|
@ -1,4 +1,4 @@
|
|||
{ lib, buildGoModule, fetchFromGitHub }:
|
||||
{ stdenv, buildGoModule, fetchFromGitHub, Security }:
|
||||
|
||||
buildGoModule rec {
|
||||
pname = "glow";
|
||||
|
@ -13,9 +13,11 @@ buildGoModule rec {
|
|||
|
||||
modSha256 = "0r0yq7kgz7i1wf4gxxihdrn1c8mi4wcyhadncxbln24s9c5apxsf";
|
||||
|
||||
buildInputs = stdenv.lib.optionals stdenv.isDarwin [ Security ];
|
||||
|
||||
buildFlagsArray = [ "-ldflags=" "-X=main.Version=${version}" ];
|
||||
|
||||
meta = with lib; {
|
||||
meta = with stdenv.lib; {
|
||||
description = "Render markdown on the CLI";
|
||||
homepage = "https://github.com/charmbracelet/glow";
|
||||
license = licenses.mit;
|
||||
|
|
|
@ -19690,7 +19690,9 @@ in
|
|||
inherit (darwin) IOKit;
|
||||
};
|
||||
|
||||
glow = callPackage ../applications/editors/glow { };
|
||||
glow = callPackage ../applications/editors/glow {
|
||||
inherit (darwin.apple_sdk.frameworks) Security;
|
||||
};
|
||||
|
||||
glowing-bear = callPackage ../applications/networking/irc/glowing-bear { };
|
||||
|
||||
|
|
Loading…
Reference in a new issue