From 17bf20cdbccc5469d2c05aad101f7aacf8172cf5 Mon Sep 17 00:00:00 2001 From: Sergei Poljanski Date: Tue, 17 Nov 2026 12:44:22 +0400 Subject: [PATCH] flake: pin the blog input's commit in its URL, for Renovate Renovate's nix manager follows a flake input along its branch only when the URL names a commit (rev=); without one it leaves the input to lock file maintenance, which bumps every input at once. The blog input now carries ref=main and the deployed rev, which Renovate moves forward. Assisted-by: Claude:opus-5-5 --- nixos/flake.lock | 1 + nixos/flake.nix | 6 ++++-- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/nixos/flake.lock b/nixos/flake.lock index 3979be2..21cadbf 100644 --- a/nixos/flake.lock +++ b/nixos/flake.lock @@ -17,6 +17,7 @@ }, "original": { "ref": "main", + "rev": "f4c1887a42cc190f2d535eb4273f7d3533c8ef16", "type": "git", "url": "https://git.asxp.io/asxpi/blog" } diff --git a/nixos/flake.nix b/nixos/flake.nix index 9c119e9..d4ab533 100644 --- a/nixos/flake.nix +++ b/nixos/flake.nix @@ -15,9 +15,11 @@ inputs.nixpkgs.follows = "nixpkgs"; inputs.treefmt-nix.inputs.nixpkgs.follows = "nixpkgs"; }; - # The apps, each from its own repository (hosts/asxpio-services/apps.nix) + # The apps, each from its own repository (hosts/asxpio-services/apps.nix). + # ref names the branch, rev the commit deployed: Renovate moves rev + # along the branch (renovate.json); without it Renovate cannot. blog = { - url = "git+https://git.asxp.io/asxpi/blog?ref=main"; + url = "git+https://git.asxp.io/asxpi/blog?ref=main&rev=f4c1887a42cc190f2d535eb4273f7d3533c8ef16"; inputs.nixpkgs.follows = "nixpkgs-unstable"; # only HTML ships }; # services.crawler-alert (hosts/asxpio-ops/crawler.nix)