Skip to content

Add flake.nix - #151

Merged
JohnAZoidberg merged 1 commit into
mainfrom
nix-flake
Nov 26, 2026
Merged

JohnAZoidberg merged 1 commit into
mainfrom
nix-flake

Conversation

@JohnAZoidberg

Copy link
Copy Markdown
Member
  • nix run - runs inputmodule-control (--help output confirmed)
  • nix build .#inputmodule-control - host binary
  • nix build .#ledmatrix / .#b1display / .#c1minimal / .#qtpy - each produces bin/.elf (ARM EABI5 Thumb, confirmed via file)
  • nix develop - stable Rust with thumbv6m-none-eabi target, plus flip-link, cargo-make, pkg-config, elf2uf2-rs, and udev on Linux

- `nix run` - runs inputmodule-control (--help output confirmed)
- `nix build .#inputmodule-control` - host binary
- `nix build .#ledmatrix / .#b1display / .#c1minimal / .#qtpy` - each
  produces bin/<name>.elf and a ready-to-flash bin/<name>.uf2
- `nix develop` - stable Rust with thumbv6m-none-eabi target, plus
  flip-link, cargo-make, pkg-config, elf2uf2-rs, and udev on Linux
- README: new "Using the Nix flake" section documenting the above

Signed-off-by: Daniel Schaefer <dhs@frame.work>
@JohnAZoidberg
JohnAZoidberg merged commit 0edebaf into main Nov 26, 2026
11 of 12 checks passed
@JohnAZoidberg
JohnAZoidberg deleted the nix-flake branch November 26, 2026 09:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant