From dfa53c71d753004c1d36a206a7d00fe016565daf Mon Sep 17 00:00:00 2001 From: Ryan Yin Date: Thu, 5 Nov 2026 11:45:51 +0800 Subject: [PATCH] fix(nix): take NUR packages from ryan4yin.cachix.org 58d1af8f dropped the cache while adding the pull-through caches. Without it a NUR bump rebuilds its npm deps here, and dsh's npmDepsFetcherVersion 2 fixed output includes the packuments the Huawei npm mirror rewrites, so the build fails NUR's hash check instead of reusing its CI-built output. Assisted-by: DeepSeek Harness (deepseek-flash) --- modules/base/nix.nix | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/modules/base/nix.nix b/modules/base/nix.nix index d93435de..fd6db7ae 100644 --- a/modules/base/nix.nix +++ b/modules/base/nix.nix @@ -45,6 +45,10 @@ "https://nix-cache.writefor.fun/cache.numtide.com" # Direct fallback if the LAN proxy is unavailable. "https://cache.numtide.com" + + # My own NUR cache, built by the ryan4yin/nur-packages CI. NUR's npm + # dep hashes assume no registry mirror, so take them from the cache. + "https://ryan4yin.cachix.org" ]; # WARNING: every key here trusts *everything* that key signs. Add one only @@ -52,6 +56,8 @@ # a third party the ability to ship you arbitrary store paths. trusted-public-keys = [ "niks3.numtide.com-1:DTx8wZduET09hRmMtKdQDxNNthLQETkc/yaX7M4qK0g=" + # ryan4yin.cachix.org, see substituters above. + "ryan4yin.cachix.org-1:Gbk27ZU5AYpGS9i3ssoLlwdvMIh0NxG0w8it/cv9kbU=" ]; builders-use-substitutes = true; };