aboutsummaryrefslogtreecommitdiff
path: root/.config
diff options
context:
space:
mode:
authortdro <tdro@users.noreply.github.com>2020-11-11 03:28:19 -0500
committertdro <tdro@users.noreply.github.com>2020-11-11 03:28:19 -0500
commit15bba4d187b84cd15c7244e3300f0edb52e551c4 (patch)
treeca32fcd54dbd6e597ac1012cb2e2bb369de8494e /.config
parent2043bf1411eb0be124952fbf6d328ad3fe2d3a7f (diff)
downloaddotfiles-15bba4d187b84cd15c7244e3300f0edb52e551c4.tar.gz
dotfiles-15bba4d187b84cd15c7244e3300f0edb52e551c4.tar.bz2
dotfiles-15bba4d187b84cd15c7244e3300f0edb52e551c4.zip
.config/nixpkgs/packages/ntrviewer: Add man page
Diffstat (limited to '.config')
-rw-r--r--.config/nixpkgs/packages/ntrviewer/default.nix4
1 files changed, 4 insertions, 0 deletions
diff --git a/.config/nixpkgs/packages/ntrviewer/default.nix b/.config/nixpkgs/packages/ntrviewer/default.nix
index 093115b..6a754bf 100644
--- a/.config/nixpkgs/packages/ntrviewer/default.nix
+++ b/.config/nixpkgs/packages/ntrviewer/default.nix
@@ -22,8 +22,12 @@ stdenv.mkDerivation rec {
];
installPhase = ''
+ runHook preInstall
mkdir -p $out/bin
+ mkdir -p $out/share/man/man1
cp dist/Debug/GNU-Linux/ntrviewer $out/bin
+ cp ntrviewer.1 $out/share/man/man1
+ runHook postInstall
'';
meta = with stdenv.lib; {