fix(nix): allow network access for Google Fonts during build
Add __noChroot=true to enable network access for next/font/google to fetch Poppins and Bai_Jamjuree fonts during the Next.js build. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
co-authored by
Claude Opus 4.5
parent
9e8fc7c07f
commit
5f28b9b406
@@ -9,6 +9,9 @@ pkgs.buildNpmPackage {
|
||||
npmFlags = [ "--legacy-peer-deps" ];
|
||||
makeCacheWritable = true;
|
||||
|
||||
# Allow network access for Google Fonts fetching during Next.js build
|
||||
__noChroot = true;
|
||||
|
||||
nativeBuildInputs = with pkgs; [
|
||||
nodejs_22
|
||||
nodePackages.npm
|
||||
|
||||
Reference in New Issue
Block a user