flake.nix: Comments
This commit is contained in:
parent
56a80fe749
commit
ac8a2ea238
30
flake.nix
30
flake.nix
|
@ -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 = {
|
||||||
|
|
Loading…
Reference in a new issue