diff options
| author | tv <tv@krebsco.de> | 2026-12-01 02:19:10 +0000 |
|---|---|---|
| committer | tv <tv@krebsco.de> | 2026-12-01 02:19:10 +0000 |
| commit | 7ac7990c9b76aa9e9aba6a15974c22e37c024a00 (patch) | |
| tree | a1eb0f9c042fd7164177d8f9a32b43ca02022147 | |
| parent | 8cc8b7f4307c21f6e14b2ba2b7c65f011dda9f74 (diff) | |
tincr: take the man pages from the source as built
As enstate's completion: with ~/sync/src/tincr, from that checkout.
| -rw-r--r-- | pkgs/rust/tincr/default.nix | 11 |
1 files changed, 5 insertions, 6 deletions
diff --git a/pkgs/rust/tincr/default.nix b/pkgs/rust/tincr/default.nix index 424727ba..6a532c1c 100644 --- a/pkgs/rust/tincr/default.nix +++ b/pkgs/rust/tincr/default.nix @@ -2,20 +2,19 @@ let pin = (builtins.fromJSON (builtins.readFile ../../../sources.json)).tincr; +in +{ + name = "tincr"; src = fetchFromGitHub { owner = "Mic92"; repo = "tincr"; inherit (pin) rev hash; }; -in - -{ - name = "tincr"; - inherit src; # Without tinc-ffi and fuzz, which are for tests. members = [ "tincd" "tinc-tools" ]; - extraPaths = [ + # From the source as built, which can be a checkout instead. + extraPaths = { src }: [ (runCommand "tincr-man" { nativeBuildInputs = [ installShellFiles ]; } /* sh */ '' |
