diff options
Diffstat (limited to 'pkgs')
| -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 */ '' |
