Fix nixos package #3

Merged
kmendell merged 5 commits from fix/nixos-package into main 2026-08-07 22:55:43 -05:00
Owner

Have to remember to update the hash on every commit or the build breaks as it expects one hash and the actual hash is different.

Have to remember to update the hash on every commit or the build breaks as it expects one hash and the actual hash is different.
next/font/google fetches Geist from fonts.googleapis.com during `next
build`, which fails in a sandbox. Use the `geist` package (next/font/local)
and map --font-sans/--font-mono onto --font-geist-sans/--font-geist-mono.
The committed vendorHash and pnpm-deps hash had drifted from the source
and lockfile, so `nix build` of the package never succeeded. Also match
*.tmpl in the Go source fileset -- internal/web embeds install.ps1.tmpl,
not just install.sh.tmpl.
Guard the internal/web embed behind a `noweb` build tag (ui_web.go vs
ui_noweb.go) so node and CLI builds need no web toolchain. package.nix
takes a `variant` arg and the flake exposes overpass-{cp,node,cli}; the
overpass-node module defaults to the web-free build. `overpass`/`default`
are unchanged. Adds `just build-node` and `just build-cli`.
docs: nixos build variants and packaging notes
Some checks failed
CI / test (pull_request) Failing after 27s
CI / lint (pull_request) Failing after 27s
7d472e68ea
Document the four package variants, drop the `inputs.nixpkgs.follows`
guidance (following a consumer's nixpkgs invalidates the pinned Go/pnpm
hashes), and fix the stale "tlsPin or insecure is required" claim -- that
module assertion was removed; with neither set the agent does PKI validation.
Merge branch 'main' into fix/nixos-package
Some checks failed
CI / test (pull_request) Failing after 33s
CI / lint (pull_request) Successful in 49s
724f848522
kmendell deleted branch fix/nixos-package 2026-08-07 22:55:43 -05:00
Sign in to join this conversation.
No reviewers
No labels
No milestone
No project
No assignees
2 participants
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
ofkm/overpass!3
No description provided.