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 | 8304ba70fc911058364df7f6ac5d89dd29ba8158 (patch) | |
| tree | 3c8355ef7d222cd70e05d922c54ecfd301b2c0a2 | |
| parent | 8848b846a579685ac027a3d249a78a4ae97b9875 (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 */ '' |
