3 ms·
I love Guile over Nix syntax, but the one killer feature Nix has that Guix doesn’t is making a single static binary of common programs and then deploying them e
by tetris11 9mo ago
I love Guile over Nix syntax, but the one killer feature Nix has that Guix doesn’t is making a single static binary of common programs and then deploying them elsewhere.
In Nix, this is a single flag. In Guix, you either deploy with all libraries on a custom /guix path, or nothing.
- dhon_ 9mo agoHow do you do it in nix?
- kwk1 9mo agoIs `guix pack` not sufficient for this? https://guix.gnu.org/manual/1.5.0/en/html_node/Invoking-guix-pack.html https://guix.gnu.org/manual/1.5.0/en/html_node/Invoking-guix...
- tetris11 9mo agoNo, it produces a tree of libraries that you have to untar on the host machine. If you dont have root, then unpacking to /gnu/store is impossible
- kwk1 9mo agoI checked and it looks like the root-required issue has been addressed with a --relocatable flag, and there are a few options as well for needing to untar, e.g. producing an appimage format output.
- tetris11 9mo agoI think I tried with this flag, but either it was incompatible with a cross-compile target, or it did not support my target arch properly