kuruczgy / x1e-nixos-config

NixOS configs for the Lenovo Yoga Slim 7x
MIT License
9 stars 2 forks source link

Frequently create binary releases of the installer #18

Open kuruczgy opened 1 day ago

kuruczgy commented 1 day ago

I just need to figure out how to conveniently create releases on GitHub. While if you are very paranoid you might still want to build everything from source, many people would probably prefer to skip the hours of compile time (especially if just doing some quick testing for the first time with their new laptop).

Automated builds are probably out of the question for now, but for the foreseeable future manual uploads by me should work well enough.

korken89 commented 19 hours ago

A note on the build, it only takes ~20 min on the 7x if you do it in WSL. It makes the compile a lot less of a burden :)

kuruczgy commented 3 hours ago

Hm... using WSL is quite clever actually, given that this is my first serious aarch64 machine I only saw cross compiling from x86 as the straightforward path to bootstrapping. (And for cross compiled packages you don't have a binary cache, so you have to compile everything from scratch.)

alyraffauf commented 3 hours ago

Is there a WSL aarch64 build of NixOS? I mean you can just use Ubuntu and install Nix yourself, but I wasn't sure if the NixOS 'app' was native or not.

kuruczgy commented 3 hours ago

Note: If either of you document the procedure for compiling using WSL, a PR to adding it as an additional section to the README is welcome :)

(I don't think I ever managed to use WSL successfully for anything so I am a noob at this.)

kuruczgy commented 2 hours ago

Just created a release, it was relatively simple. I don't see why I couldn't create one after every update to main.

I would prefer to document the procedure, so I will wait until I do so before closing this issue.