Add nix build option for GUI

This commit is contained in:
linuswck 2025-02-12 14:48:07 +08:00
parent 5911049456
commit 4a3fe50427
2 changed files with 3 additions and 1 deletions

View File

@ -8,7 +8,8 @@
## Building
### Reproducible build with Nix
1. Run `nix build .#packages.armv7l-linux.fast-servo-sd-image` to build the sd card image.
2. Run `nix develop` to build a dev shell to access the GUI.
2. Run `nix build .#packages.armv7l-linux.fast-servo-gui` to build the GUI
3. Run `nix develop` to build a dev shell having access the GUI.
### Flashing
1. Plug in your SD card to your computer and run `lsblk` to locate SD card

View File

@ -656,6 +656,7 @@
"${board}-dtb" = dtb;
"${board}-sd-image" = sd-image;
"${board}-qemu" = not-os-qemu;
"${board}-gui" = linien-gui;
};
in rec {
devShell.x86_64-linux = pkgs.mkShell {