mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-19 00:08:32 +01:00
glow: fix build on darwin
This commit is contained in:
parent
7faf44250d
commit
73cb29e6d9
2 changed files with 7 additions and 3 deletions
|
@ -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