Closed BananchickPasha closed 1 year ago
@BananchickPasha Thanks for the feedback! I'll test this when I have time, or you can use nixos-rebuild
directly for local deployment. It is not necessary to use colmena in local deployment
Native builds don't need to use crossSystem, so you need to remove this part of the code from flake.nix
as well:
# line 35...
{
nixpkgs.crossSystem = {
config = "aarch64-unknown-linux-gnu";
};
}
# line 40...
The command nix run nixpkgs#colmena build
works properly after making the following changes in flake.nix
:
system = "x86_64-linux";
to system = "aarch64-linux";
nixpkgs.crossSystem
.$ nix run nixpkgs#colmena build
warning: Git tree '/root/nixos-rk3588' is dirty
[INFO ] Using flake: git+file:///root/nixos-rk3588?dir=demo
[INFO ] Enumerating nodes...
[INFO ] Selected all 1 nodes.
🕙 18m 1 running, 1 succeeded
opi5 ✅ 9s Evaluated opi5
✅ 38m All done!
opi5 ✅ 9s Evaluated opi5
opi5 ✅ 38m Built "/nix/store/11zyzik8bjj93s7ybfi625ig0jymzixx-nixos-system-orangepi5-23.05pre-git"
Steps to reproduce
system = "x86_64-linux";
toaarch64-linux
inflake.nix
orangepi5
colemna output instead ofopi5
nix run nixpkgs#colmena build
on orangepiResults
More detailed log:
I also tried to disable everything in
configuration.nix
, as well as providing optionsservices.jack.alsa.enable = false;
andhardware.enableAllFirmware = false;
in attempt to disable building of alsa-fimware, but it didn't help. Updatingflake.lock
didn't help either