Skip to content

Add Nix flake dev shell and NixOS SPI setup docs#414

Open
anicolao wants to merge 2 commits intowaveshareteam:masterfrom
anicolao:feat/nixos-devshell-flake
Open

Add Nix flake dev shell and NixOS SPI setup docs#414
anicolao wants to merge 2 commits intowaveshareteam:masterfrom
anicolao:feat/nixos-devshell-flake

Conversation

@anicolao
Copy link

@anicolao anicolao commented Feb 14, 2026

Summary

  • add RaspberryPi_JetsonNano/c/flake.nix dev shell for this Waveshare C project
  • add RaspberryPi_JetsonNano/c/flake.lock for reproducible inputs
  • add RaspberryPi_JetsonNano/c/NIX_CONFIG.md with persistent NixOS SPI + non-root device access steps

Dev shell details

  • includes: bun, gcc, gnumake, pkg-config, linuxHeaders, wiringpi, libgpiod_1
  • sets MAKEFLAGS=USELIB_RPI=USE_DEV_LIB so plain make -j4 EPD=... works

Validation

  • verified build inside shell with: make -j4 EPD=epd5in65f

Notes

  • docs recommend nix develop path:. to avoid full repo copy behavior with git flakes in this mono-repo

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