Add Nix flake with dev shell and prebuilt run target#712
Open
0x4bs3nt wants to merge 1 commit into
Open
Conversation
Let contributors enter a reproducible dev shell and let anyone try the editor with `nix run`. - Pin Zig 0.16 in the dev shell via the zig-overlay input, fixing `bun dev` failing the Zig version check (Rust already comes from rust-overlay) - Wrap the prebuilt upstream Linux release tarball (x86_64 and aarch64) as packages.default/apps.default, patchelf'd for the bundled CEF runtime - Add update-nix.yml to bump the pinned version and per-arch hashes when a release is published - Exclude generated and vendored trees (.direnv, dist, build, target, src-tauri) from the test runner so direnv-materialized copies are not run - Ignore .direnv and nix result artifacts
4f7fa55 to
f8311a2
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Add Nix support so contributors get a reproducible dev shell and anyone can try the editor with
nix run github:athasdev/athas.bun dev's Zig version check (Rust already comes from rust-overlay), by @0x4bs3ntpackages.default/apps.defaultwrapping the prebuilt Linux release tarball (x86_64 + aarch64), patchelf'd for the bundled CEF runtime, by @0x4bs3ntupdate-nix.ymlto bump the pinned version and per-arch hashes when a release is published, by @0x4bs3nt.direnv,dist,build,target,src-tauri) so direnv-materialized copies aren't double-run, by @0x4bs3nt.direnvand Nixresultartifacts, by @0x4bs3ntnix run/nix build/nix flake check,actionlint,commitlint, and the frontend checks all pass, by @0x4bs3nt