summaryrefslogtreecommitdiffstats
path: root/pkgs/rust/tincr/default.nix
diff options
context:
space:
mode:
authortv <tv@krebsco.de>2026-11-29 14:13:12 +0000
committertv <tv@krebsco.de>2026-11-29 14:13:12 +0000
commit3d8a0d85fef0c467de1eccd37cd1ded989a1ec1d (patch)
treefec0c4a95c31a1b673ec5e8f453d9dd25ab719bb /pkgs/rust/tincr/default.nix
parentf43d1d9280569ee015e3add030ea2b0f50c0ccbe (diff)
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.
Diffstat (limited to 'pkgs/rust/tincr/default.nix')
-rw-r--r--pkgs/rust/tincr/default.nix5
1 files changed, 3 insertions, 2 deletions
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