fix(flake.nix): fix site build & add missing inputs for darwin hosts (#16153)

- update `flake.nix`:
  - use `devShells.default` instead of `devShell`
  - include macOS-specific build inputs
  - use the same nodejs version in the default devShell and pnpm frontend build
- update `site/.npmrc` to include tarball URLs for a reproducible Nix build.

Change-Id: I28f0e301298806f251121cc93224740bcc02bcba
Signed-off-by: Thomas Kosiewski <tk@coder.com>
This commit is contained in:
Thomas Kosiewski
2025-01-15 19:16:40 +01:00
committed by GitHub
parent 3e3de0588a
commit ad02b741d5
3 changed files with 1336 additions and 1320 deletions
+3
View File
@@ -1,2 +1,5 @@
save-exact=true
engine-strict=true
# Needed for nix builds of the site; see: https://github.com/nzbr/pnpm2nix-nzbr/issues/33#issuecomment-2381628294
lockfile-include-tarball-url=true
+1312 -1311
View File
File diff suppressed because it is too large Load Diff