You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Dec 13, 2024. It is now read-only.
# using the same nixpkgs as nixos-rk3588 to utilize the cross-compilation cache.
inherit(nixos-rk3588.inputs)nixpkgs;
boardModule=nixos-rk3588.nixosModules.orangepi5;
# 1. for cross-compilation on x86_64-linux
system="x86_64-linux";
# Compile the kernel using a cross-compilation tool chain
# Which is faster than emulating the target system.
pkgsKernel=importnixpkgs{
localSystem="x86_64-linux";
crossSystem="aarch64-linux";
};
# 2. for native compilation on aarch64-linux SBCs.
# system = "aarch64-linux";
# native compilation tool chain for the linux kernel
# pkgsKernel = nixpkgs;
in{
colmena={
meta={
nixpkgs=importnixpkgs{inheritsystem;};
rk3588={
inheritnixpkgspkgsKernel;
};
};
Can you explain how it works, because if you remove colmena from the configuration and make it regular nixos configuration and try to crosscompile it would look like this:
and used my orangepi 5 as remote builder (as described here) and everything worked flawlessly. Maybe example should be updated or I can add example featuring regular deployment.
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
I'm finding it weird that local system is used for nixpkgs here:
nixos-rk3588/demo/flake.nix
Lines 13 to 36 in 349f39d
Can you explain how it works, because if you remove colmena from the configuration and make it regular nixos configuration and try to crosscompile it would look like this:
Which is a bit weird, cause system is still
aarch64-linux
.The text was updated successfully, but these errors were encountered: