use cross compilation for riscv for now
Some checks are pending
Hydra nixosConfigurations.not522 Hydra build #26850 of nixos-config:pr618:nixosConfigurations.not522
Hydra nixosConfigurations.oracle-installer Hydra build #26851 of nixos-config:pr618:nixosConfigurations.oracle-installer
Hydra nixosConfigurations.pc-installer Hydra build #26852 of nixos-config:pr618:nixosConfigurations.pc-installer
Hydra nixosConfigurations.rainbow-resort Hydra build #26853 of nixos-config:pr618:nixosConfigurations.rainbow-resort
Hydra nixosConfigurations.thinkrac Hydra build #26854 of nixos-config:pr618:nixosConfigurations.thinkrac
Hydra packages.aarch64-linux.element-web Hydra build #26847 of nixos-config:pr618:packages.aarch64-linux.element-web
Hydra packages.aarch64-linux.element-desktop Hydra build #26846 of nixos-config:pr618:packages.aarch64-linux.element-desktop
Hydra packages.x86_64-linux.element-web Hydra build #26849 of nixos-config:pr618:packages.x86_64-linux.element-web
Hydra packages.x86_64-linux.element-desktop Hydra build #26848 of nixos-config:pr618:packages.x86_64-linux.element-desktop

This commit is contained in:
Charlotte 🦝 Delenk 2024-11-20 09:12:39 +01:00
parent 4f3a997b14
commit 062a739a0d
3 changed files with 12 additions and 4 deletions

View file

@ -178,11 +178,11 @@
systems' = { systems' = {
not522 = { not522 = {
config = ./machine/not522; config = ./machine/not522;
system = "riscv64-linux"; system = "x86_64-linux";
}; };
not522-installer = { not522-installer = {
config = ./machine/not522/installer; config = ./machine/not522/installer;
system = "riscv64-linux"; system = "x86_64-linux";
}; };
oracle-installer = { oracle-installer = {
config = ./machine/oracle-installer; config = ./machine/oracle-installer;
@ -264,7 +264,7 @@
}) })
[ [
"x86_64-linux" "x86_64-linux"
"riscv64-linux" #"riscv64-linux"
"aarch64-linux" "aarch64-linux"
] ]
); );

View file

@ -9,7 +9,7 @@
"${nixos-config}/config" "${nixos-config}/config"
./disko.nix ./disko.nix
./hardware.nix ./hardware.nix
./cross-packages.nix #./cross-packages.nix
"${nixpkgs}/nixos/modules/profiles/minimal.nix" "${nixpkgs}/nixos/modules/profiles/minimal.nix"
]; ];
system.stateVersion = "24.11"; system.stateVersion = "24.11";
@ -18,4 +18,8 @@
"native-riscv" "native-riscv"
"big-parallel" "big-parallel"
]; ];
nixpkgs.crossSystem = {
config = "riscv64-unknown-linux-gnu";
system = "riscv64-linux";
};
} }

View file

@ -27,4 +27,8 @@
'') '')
]; ];
isInstaller = true; isInstaller = true;
nixpkgs.crossSystem = {
config = "riscv64-unknown-linux-gnu";
system = "riscv64-linux";
};
} }