HI. First time using nix bundler. I tried:
‘nix bundle nixpkgs#cpuid.’ Which created a symlink back to the nix store.
/nix/store/1vwlc51yma9qrsq0flvp6lp6mwbzajsr-arx
Docs say: nix bundle , by default, packs the closure of the installable into a single self-extracting executable.
I’m missing something. I thought it would work something like an AppImage. Nix bundle would
create the equivalent of exa.AppImage which I could copy to another distro.
“Just take it on a USB and have fun with it.”
Not sure what ‘it’ is referring to.
Can I extract the exa bundle from the store or does it always have to be in the store?
Yes, just copy the bundle from the store to another PC and it should work.
I have to be honest though, Last time I played with bundle it only worked for smaller stuff, and only CLI tools.
It was not a pleasing experience, especially given the size of the artifacts. This has been 18+ months ago though, back before the official 2.4 release when nix-bundle still was an additional tool.