summaryrefslogtreecommitdiffstats
path: root/pkgs/rust/tincr/default.nix
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
commit8304ba70fc911058364df7f6ac5d89dd29ba8158 (patch)
tree3c8355ef7d222cd70e05d922c54ecfd301b2c0a2 /pkgs/rust/tincr/default.nix
parent8848b846a579685ac027a3d249a78a4ae97b9875 (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/tincr/default.nix')
-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 */ ''
[cgit] Unable to lock slot /tmp/cgit/0d000000.lock: Permission denied (13)