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. --- krops.nix | 11 ++--------- 1 file changed, 2 insertions(+), 9 deletions(-) (limited to 'krops.nix') diff --git a/krops.nix b/krops.nix index 21b02eef..35b03eb3 100644 --- a/krops.nix +++ b/krops.nix @@ -102,15 +102,8 @@ rec { stockholm.file = { path = toString ~/sync/src/stockholm; }; - # At the revision of pkgs/rust/tincr, for its NixOS module. - tincr.git = { - ref = (import ./pkgs/rust/tincr { - fetchFromGitHub = lib.id; - installShellFiles = null; - runCommand = null; - }).src.rev; - url = "https://github.com/Mic92/tincr"; - }; + # For its NixOS module. + tincr = gitSource "tincr"; }; source = lib.evalSource [ sources ]; -- cgit v1.3.1