Remix.run Logo
wasting_time 5 hours ago

I'm surprised to see no mention of Guix. It solves all of these issues, and already has a good story both for cross and native builds on a variety of architectures.

Adding new targets is deceptively easy, just copy an existing template and substitute your values.

https://codeberg.org/guix/guix/src/branch/master/gnu/system/...

https://codeberg.org/guix/guix/src/branch/master/gnu/bootloa...

yjftsjthsd-h 5 hours ago | parent [-]

Does guix have any advantage here over nix?

wasting_time 5 hours ago | parent | next [-]

I didn't know Nix had support for embedded systems. Where are the images defined?

KingMachiavelli 4 hours ago | parent [-]

What do you mean by image? In Nix you instantiate a NixOS system and specify the architecture. There are a number of tools to build a disk image from a NixOS system.

$ my-arm-system = nixpkgs.lib.nixosSystem { system = "aarch64-linux"; modules = [ ./configuration.nix ]; };

$ :b arm-system.config.system.build.images.iso

mghackerlady 5 hours ago | parent | prev [-]

Lisp