aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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 {