miniflux: install manpage
This commit is contained in:
parent
78e5bcf9ae
commit
fed98249ba
1 changed files with 5 additions and 2 deletions
|
@ -1,4 +1,4 @@
|
||||||
{ stdenv, buildGoPackage, fetchFromGitHub }:
|
{ stdenv, buildGoPackage, fetchFromGitHub, installShellFiles }:
|
||||||
|
|
||||||
buildGoPackage rec {
|
buildGoPackage rec {
|
||||||
pname = "miniflux";
|
pname = "miniflux";
|
||||||
|
@ -13,14 +13,17 @@ buildGoPackage rec {
|
||||||
|
|
||||||
goPackagePath = "miniflux.app";
|
goPackagePath = "miniflux.app";
|
||||||
|
|
||||||
|
nativeBuildInputs = [ installShellFiles ];
|
||||||
|
|
||||||
doCheck = true;
|
doCheck = true;
|
||||||
|
|
||||||
buildFlagsArray = ''
|
buildFlagsArray = ''
|
||||||
-ldflags=-X miniflux.app/version.Version=${version}
|
-ldflags=-s -w -X miniflux.app/version.Version=${version}
|
||||||
'';
|
'';
|
||||||
|
|
||||||
postInstall = ''
|
postInstall = ''
|
||||||
mv $out/bin/miniflux.app $out/bin/miniflux
|
mv $out/bin/miniflux.app $out/bin/miniflux
|
||||||
|
installManPage go/src/${goPackagePath}/miniflux.1
|
||||||
'';
|
'';
|
||||||
|
|
||||||
meta = with stdenv.lib; {
|
meta = with stdenv.lib; {
|
||||||
|
|
Loading…
Reference in a new issue