Add flake #4

Merged
Yehowshua merged 10 commits from Artturin/RiscV-Formal:addnix into main 2025-03-14 15:55:41 +00:00
Showing only changes of commit ac8a2ea238 - Show all commits

View file

@ -31,19 +31,25 @@
}; };
shell = shell =
let let
#riscv64-linux = prev.pkgsCross.riscv64-embedded.__splicedPackages; riscv64-linux = prev.pkgsCross.riscv64-embedded.__splicedPackages;
riscv64-linux = (import prev.pkgs.path { # Everything here builds and runs without needing the below crossSystem
localSystem = system; #riscv64-linux = (import prev.pkgs.path {
crossSystem = { # localSystem = system;
# crossSystem = {
config = "riscv64-none-elf"; # config = "riscv64-none-elf";
libc = "newlib"; # libc = "newlib";
gcc = { # gcc = {
arch = "rv64g"; # # Both sets work to build and run hello_world
abi = "lp64d"; # # This matches what is in the makefile
}; # #arch = "rv64ima";
}; # #abi = "lp64";
}).__splicedPackages; # # This matches what you asked for on matrix
# #arch = "rv64g";
# #abi = "lp64d";
# };
# };
#}).__splicedPackages;
in in
{ {
tools = { tools = {