aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--flake.nix22
1 files changed, 21 insertions, 1 deletions
diff --git a/flake.nix b/flake.nix
index e484e36..b1a452d 100644
--- a/flake.nix
+++ b/flake.nix
@@ -46,10 +46,30 @@
46 46
47 cargoArtifacts = craneLib.buildDepsOnly commonArgs; 47 cargoArtifacts = craneLib.buildDepsOnly commonArgs;
48 48
49 gitolfs3 = craneLib.buildPackage (commonArgs // { 49 gitolfs3-bare = craneLib.buildPackage (commonArgs // {
50 # We already have the gitolfs3-nextest check 50 # We already have the gitolfs3-nextest check
51 doCheck = false; 51 doCheck = false;
52 }); 52 });
53
54 gitolfs3-man = pkgs.stdenv.mkDerivation {
55 name = "gitolfs3-man";
56
57 src = ./docs/man;
58
59 installPhase = ''
60 install -D gitolfs3-authenticate.1 $out/share/man/gitolfs3-authenticate.1
61 install -D gitolfs3-server.1 $out/share/man/gitolfs3-server.1
62 install -D gitolfs3-shell.1 $out/share/man/gitolfs3-shell.1
63 '';
64 };
65
66 gitolfs3 = pkgs.buildEnv {
67 name = "gitolfs3";
68
69 paths = [ gitolfs3-bare gitolfs3-man ];
70
71 pathsToLink = [ "/bin" "/share/man" ];
72 };
53 in 73 in
54 { 74 {
55 checks = { 75 checks = {