From 3d8a0d85fef0c467de1eccd37cd1ded989a1ec1d Mon Sep 17 00:00:00 2001 From: tv Date: Sun, 29 Nov 2026 14:13:12 +0000 Subject: tincr: pin in sources.json With the hash, as the package fetches it into the store, and without a branch, as a new revision needs a new plan. krops.nix reads the same entry for the NixOS module, instead of importing the package file. --- pkgs/rust/tincr/default.nix | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'pkgs') diff --git a/pkgs/rust/tincr/default.nix b/pkgs/rust/tincr/default.nix index 127fc8e9..424727ba 100644 --- a/pkgs/rust/tincr/default.nix +++ b/pkgs/rust/tincr/default.nix @@ -1,11 +1,12 @@ { fetchFromGitHub, installShellFiles, runCommand }: let + pin = (builtins.fromJSON (builtins.readFile ../../../sources.json)).tincr; + src = fetchFromGitHub { owner = "Mic92"; repo = "tincr"; - rev = "457908ae775007e3f26fe5857a6ccab5eb4db2da"; - hash = "sha256-rT+hOB96Fp9ALxIbkfk7rWunAuULPda6aKr9+uGCafA="; + inherit (pin) rev hash; }; in -- cgit v1.3.1