Skip to content
Snippets Groups Projects

default.nix: init [MANUAL MERGE]

Closed q3k requested to merge q3k/firmware:q3k/nix into master
All threads resolved!

We provide a nix expression to build card10 firmware.

On Linux/Darwin with Nix and NixOS, this can be used as follows:

$ git submodule update --init
$ nix build
$ ls result/
result/bootloader:
bootloader.elf

result/epicardium:
epicardium.elf

result/pycardium:
pycardium.elf  pycardium_epicardium.bin

This derivation can also be used for development:

$ nix-shell
$ meson --cross-file card10-cross.ini build/
$ ninja -C build/ -j8
$ # hack on things
$ ninja -C build/ -j 8
$ ls build/
[ ... ]
Edited by rahix

Merge request reports

Pipeline #1441 passed

Pipeline passed for f5bbe819 on q3k:q3k/nix

Approval is optional

Closed by rahixrahix 5 years ago (Jul 25, 2019 4:11pm UTC)

Merge details

  • The changes were not merged into master.

Activity

Filter activity
  • Approvals
  • Assignees & reviewers
  • Comments (from bots)
  • Comments (from users)
  • Commits & branches
  • Edits
  • Labels
  • Lock status
  • Mentions
  • Merge request status
  • Tracking
  • rahix resolved all threads

    resolved all threads

  • Manually merged in 4d8af366.

  • closed

  • rahix changed title from default.nix: init to default.nix: init [MANUAL MERGE]

    changed title from default.nix: init to default.nix: init [MANUAL MERGE]

  • Please register or sign in to reply
    Loading