Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add shell.nix #55

Merged
merged 3 commits into from
Mar 14, 2024
Merged

Add shell.nix #55

merged 3 commits into from
Mar 14, 2024

Conversation

cyber-murmel
Copy link
Contributor

Add Nix expression that provides shell with riscv32-unknown-linux-gnu toolchain from riscv32-glibc-ubuntu-22.04-gcc-nightly-2024.03.01. Users if Nix(OS) simply can run nix-shell in the root of this repo.

@robotman2412
Copy link
Member

Might want to add clang-format and clang-tidy (19.0) but otherwise LGTM

@cyber-murmel cyber-murmel merged commit df760d0 into badgeteam:main Mar 14, 2024
6 checks passed
@cyber-murmel
Copy link
Contributor Author

@robotman2412 shoot, overlooked you comment. the most recent version of clang-tools ported to nix seems to be version 17. I also just ran it and it failed with

bash: line 1: clang-format-18: command not found
make[1]: *** [Makefile:30: clang-format-check] Error 127
make: *** [Makefile:28: clang-format-check] Error 2

Removing the version number from the call in the make file yields some violations.

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.

2 participants