refactor/radar-native-build #1

Merged
alex merged 2 commits from refactor/radar-native-build into main 2026-05-11 18:55:52 +03:00

2 Commits

Author SHA1 Message Date
cbaa6b6bca fix(radar): inject correct build version via ldflags
Some checks failed
CI / check (pull_request) Has been cancelled
Version was showing as "dev" instead of "v1.5.14" because ldflags
targeted the wrong variable. Changed from internal/version.Current
to main.version which is the variable actually used by cmd/explorer.
2026-05-11 18:49:47 +03:00
3b0bc435c4 refactor(radar): build from source instead of prebuilt binary
Replace fetchurl + prebuilt binary with buildGoModule + buildNpmPackage
to compile radar natively from source. Frontend (React/Vite) is built
as a separate derivation, then embedded into the Go binary via go:embed.

Also patches the npm lockfile to add missing resolved URLs for
workspace packages that lacked them, enabling proper dependency fetching.

Closes nix-overlay-qlc
2026-05-11 18:09:02 +03:00