diff options
| author | tv <tv@krebsco.de> | 2026-11-29 14:13:12 +0000 |
|---|---|---|
| committer | tv <tv@krebsco.de> | 2026-11-29 14:13:12 +0000 |
| commit | 3d8a0d85fef0c467de1eccd37cd1ded989a1ec1d (patch) | |
| tree | fec0c4a95c31a1b673ec5e8f453d9dd25ab719bb /pkgs/rust | |
| parent | f43d1d9280569ee015e3add030ea2b0f50c0ccbe (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')
| -rw-r--r-- | pkgs/rust/tincr/default.nix | 5 |
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 |
