Modernize toolchain & deps, fix on-device serving, rename eisrom→esrom #1
Loading…
Reference in a new issue
No description provided.
Delete branch "modernize-and-rename"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Dependency & toolchain update:
Erlang/OTP 28 + Elixir 1.18 via beam.packages.erlang_28.
to the 1.7 web structure (Layouts / PageHTML / ErrorHTML+ErrorJSON,
verified routes, ~H render, live routes); drop the old view/template tree.
exclusively, so open it once per morse run and reuse the handle instead
of reopening on every dot/dash.
2.0.3, nerves_pack, ring_logger, toolshed, …).
Fixes:
targetPkgs = p: with p; [...], andwith p;silently shadowed the erlang_28 pin with nixpkgs' defaultOTP-27 beam set — breaking the Nerves host/target OTP match
(nerves_system_rpi2 wants OTP 28). Bind the toolchain under
collision-proof names and put
erlon PATH.server: trueand binds 0.0.0.0:80 in the non-host (firmware) branch. Previously the
endpoint started with no listener, so the device pinged but served
no page.
Rename eisrom → esrom across directories, modules (Esrom*), app atoms
(:esrom_ui / :esrom_firmware), and config keys. The project is "esrom";
"eisrom" was a typo.
Docs: rewrite README with Nix-oriented build/flash instructions and a
troubleshooting section (FHS
sudo/no_new_privs limitation, host/targetOTP mismatch, unmounting auto-mounted SD partitions).
Co-Authored-By: Claude Opus 4.8 noreply@anthropic.com