From fed98249ba6e7c818155b42591fed3205d36ff6c Mon Sep 17 00:00:00 2001 From: Mario Rodas Date: Mon, 25 May 2020 18:00:00 -0500 Subject: [PATCH] miniflux: install manpage --- pkgs/servers/miniflux/default.nix | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/pkgs/servers/miniflux/default.nix b/pkgs/servers/miniflux/default.nix index 5f41527c59f1..8420f53aba3c 100644 --- a/pkgs/servers/miniflux/default.nix +++ b/pkgs/servers/miniflux/default.nix @@ -1,4 +1,4 @@ -{ stdenv, buildGoPackage, fetchFromGitHub }: +{ stdenv, buildGoPackage, fetchFromGitHub, installShellFiles }: buildGoPackage rec { pname = "miniflux"; @@ -13,14 +13,17 @@ buildGoPackage rec { goPackagePath = "miniflux.app"; + nativeBuildInputs = [ installShellFiles ]; + doCheck = true; buildFlagsArray = '' - -ldflags=-X miniflux.app/version.Version=${version} + -ldflags=-s -w -X miniflux.app/version.Version=${version} ''; postInstall = '' mv $out/bin/miniflux.app $out/bin/miniflux + installManPage go/src/${goPackagePath}/miniflux.1 ''; meta = with stdenv.lib; {