diff options
author | Rutger Broekhoff | 2024-04-29 18:58:39 +0200 |
---|---|---|
committer | Rutger Broekhoff | 2024-04-29 18:58:39 +0200 |
commit | 80c4d49ad7f590f5af1304939fdaea7baf13142e (patch) | |
tree | 129dd91b09e96bf951c129253ba342db2ff23036 | |
parent | a072a4206e2056e91d0e92d3ac21d9806eed555c (diff) | |
download | gitolfs3-80c4d49ad7f590f5af1304939fdaea7baf13142e.tar.gz gitolfs3-80c4d49ad7f590f5af1304939fdaea7baf13142e.zip |
Use installManPage instead
-rw-r--r-- | .gitignore | 1 | ||||
-rw-r--r-- | flake.nix | 14 |
2 files changed, 8 insertions, 7 deletions
@@ -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/ |
@@ -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 | { |