diff options
author | Jörg Thalheim <Mic92@users.noreply.github.com> | 2020-03-28 06:57:59 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-03-28 06:57:59 +0000 |
commit | 774ddebd87174173db00a9e8160325be4fc5d3e8 (patch) | |
tree | ed3d04ac279cae16624585d0bb4be2bd4b73f9d7 /pkgs/applications/editors | |
parent | dc0d45999aaea997ca12effe713bd9b8596ed293 (diff) | |
parent | 066db11215a2287a88a80ec71595cd8764563444 (diff) |
Merge pull request #83472 from Mic92/propragate-darwin-go
Propragate darwin go
Diffstat (limited to 'pkgs/applications/editors')
-rw-r--r-- | pkgs/applications/editors/glow/default.nix | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/pkgs/applications/editors/glow/default.nix b/pkgs/applications/editors/glow/default.nix index 80fdcc8a09c1a..928291940cfe3 100644 --- a/pkgs/applications/editors/glow/default.nix +++ b/pkgs/applications/editors/glow/default.nix @@ -1,4 +1,4 @@ -{ stdenv, buildGoModule, fetchFromGitHub, Security }: +{ lib, buildGoModule, fetchFromGitHub }: buildGoModule rec { pname = "glow"; @@ -13,11 +13,9 @@ buildGoModule rec { modSha256 = "0r0yq7kgz7i1wf4gxxihdrn1c8mi4wcyhadncxbln24s9c5apxsf"; - buildInputs = stdenv.lib.optionals stdenv.isDarwin [ Security ]; - buildFlagsArray = [ "-ldflags=" "-X=main.Version=${version}" ]; - meta = with stdenv.lib; { + meta = with lib; { description = "Render markdown on the CLI"; homepage = "https://github.com/charmbracelet/glow"; license = licenses.mit; |