aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLibravatar Rutger Broekhoff2024-04-29 18:58:39 +0200
committerLibravatar Rutger Broekhoff2024-04-29 18:58:39 +0200
commit80c4d49ad7f590f5af1304939fdaea7baf13142e (patch)
tree129dd91b09e96bf951c129253ba342db2ff23036
parenta072a4206e2056e91d0e92d3ac21d9806eed555c (diff)
downloadgitolfs3-80c4d49ad7f590f5af1304939fdaea7baf13142e.tar.gz
gitolfs3-80c4d49ad7f590f5af1304939fdaea7baf13142e.zip
Use installManPage instead
-rw-r--r--.gitignore1
-rw-r--r--flake.nix14
2 files changed, 8 insertions, 7 deletions
diff --git a/.gitignore b/.gitignore
index fdfe02a..15873fc 100644
--- a/.gitignore
+++ b/.gitignore
@@ -3,6 +3,5 @@
3.vscode/ 3.vscode/
4# nix build 4# nix build
5/result 5/result
6/result-man
7# cargo build 6# cargo build
8/target/ 7/target/
diff --git a/flake.nix b/flake.nix
index 1a5da5c..586486c 100644
--- a/flake.nix
+++ b/flake.nix
@@ -58,15 +58,17 @@
58 # We already have the gitolfs3-nextest check 58 # We already have the gitolfs3-nextest check
59 doCheck = false; 59 doCheck = false;
60 })).overrideAttrs(old: old // { 60 })).overrideAttrs(old: old // {
61 nativeBuildInputs = (old.nativeBuildInputs or []) ++ [
62 pkgs.installShellFiles
63 ];
64
61 postInstall = (old.postInstall or "") + '' 65 postInstall = (old.postInstall or "") + ''
62 ls docs 66 installManPage docs/man/gitolfs3-authenticate.1
63 ls docs/man 67 installManPage docs/man/gitolfs3-server.1
64 install -D docs/man/gitolfs3-authenticate.1 $man/share/man/gitolfs3-authenticate.1 68 installManPage docs/man/gitolfs3-shell.1
65 install -D docs/man/gitolfs3-server.1 $man/share/man/gitolfs3-server.1
66 install -D docs/man/gitolfs3-shell.1 $man/share/man/gitolfs3-shell.1
67 ''; 69 '';
68 70
69 outputs = [ "out" "man" ]; 71 outputs = [ "out" ];
70 }); 72 });
71 in 73 in
72 { 74 {