duf: install man page
This commit is contained in:
parent
6d9a36c0eb
commit
bf1fb37cdc
@ -1,4 +1,4 @@
|
||||
{ lib, fetchFromGitHub, buildGoModule }:
|
||||
{ lib, fetchFromGitHub, buildGoModule, installShellFiles }:
|
||||
|
||||
buildGoModule rec {
|
||||
pname = "duf";
|
||||
@ -15,6 +15,12 @@ buildGoModule rec {
|
||||
|
||||
ldflags = [ "-s" "-w" "-X=main.Version=${version}" ];
|
||||
|
||||
nativeBuildInputs = [ installShellFiles ];
|
||||
|
||||
postInstall = ''
|
||||
installManPage duf.1
|
||||
'';
|
||||
|
||||
meta = with lib; {
|
||||
homepage = "https://github.com/muesli/duf/";
|
||||
description = "Disk Usage/Free Utility";
|
||||
|
Loading…
Reference in New Issue
Block a user