summaryrefslogtreecommitdiffstats
path: root/pkgs/rust
diff options
context:
space:
mode:
authortv <tv@krebsco.de>2026-12-01 02:19:10 +0000
committertv <tv@krebsco.de>2026-12-01 02:19:10 +0000
commit7ac7990c9b76aa9e9aba6a15974c22e37c024a00 (patch)
treea1eb0f9c042fd7164177d8f9a32b43ca02022147 /pkgs/rust
parent8cc8b7f4307c21f6e14b2ba2b7c65f011dda9f74 (diff)
tincr: take the man pages from the source as built
As enstate's completion: with ~/sync/src/tincr, from that checkout.
Diffstat (limited to 'pkgs/rust')
-rw-r--r--pkgs/rust/tincr/default.nix11
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 */ ''