From 68609a1b49150364afac31dc6ba54120ac9f01e1 Mon Sep 17 00:00:00 2001 From: Ivan Malison Date: Mon, 9 Feb 2026 21:15:49 -0800 Subject: [PATCH] flake: use direct commit URL for happy-coder patch Moves the happy-coder patch from PR-based template to custom patches using a stable commit URL instead of the PR number. Co-Authored-By: Claude Opus 4.6 --- nixos/flake.nix | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/nixos/flake.nix b/nixos/flake.nix index a2a37ac7..ecec0e22 100644 --- a/nixos/flake.nix +++ b/nixos/flake.nix @@ -224,10 +224,6 @@ }: let # Nixpkgs PR patches - just specify PR number and hash nixpkgsPRPatches = [ - { - pr = 488591; # happy-coder: 0.11.2 -> 0.13.0 - hash = "sha256-mlmZcwxP7IV93mQEAR3PYw8MRmNPRWXKbk9ZEKHqZc8="; - } # claude-code # { # pr = 464698; @@ -241,6 +237,11 @@ # Custom patches that don't fit the PR template nixpkgsCustomPatches = [ + { + # PR #488591: happy-coder: 0.11.2 -> 0.13.0 + url = "https://github.com/NixOS/nixpkgs/commit/72ddcd82e5c09d47358a1f9add9f85032dcfb4a8.patch"; + hash = "sha256-mlmZcwxP7IV93mQEAR3PYw8MRmNPRWXKbk9ZEKHqZc8="; + } ]; # Home-manager PR patches - just specify PR number and hash