4 ms·
I think you can install 100 % of Nix packages at once if you forget to provide a package name to `nix-env -i` (please stop using `nix-env`). [1] About 3 times
by Diti 2y ago
I think you can install 100 % of Nix packages at once if you forget to provide a package name to `nix-env -i` (please stop using `nix-env`). [1]
About 3 times more packages than Alpine. [2] RIP!
____
[1]: https://github.com/NixOS/nix/issues/308 https://github.com/NixOS/nix/issues/308
[2]: https://repology.org/repositories/graphs https://repology.org/repositories/graphs
- jchw 2y agoAlthough that is true, it'll presumably be hard to use them all since some of them will trample each other's symlinks. It doesn't really make that much sense, but I've always wanted a sort-of hybrid lazy Nix store. Rebuilding my NixOS machines take a long time since I like to have my preferred software configured and installed at the system level mostly, but there's some stuff that isn't so essential that it needs to block the upgrade. So I've thought about a hybrid solution where the packages would get built in the background and you could have some kind of magic FUSE system to block while the derivations are built or pulled from Hydra. If you wanted to, you could combine this with the idea of installing every Nixpkgs package. It might even sort of make sense, as long as you ditch the "also work on them in the background" part... although it makes the surface area of your system absurd.
- ycombinatrix 2y ago>some kind of magic FUSE system to block while the derivations are built or pulled Like OneDrive in Windows
- rkeene2 2y agoAppFS (my project) and CERN VMFS do this, if I understand you correctly.
- dnr 2y agoHey, I sorta did this. Lazy substitution, at least, not lazy build. Plus a bunch of tricks to speed up downloads. https://github.com/dnr/styx/ https://github.com/dnr/styx/ Lazy build sounds tricky: you don't know the contents of the package before you build it, so you don't even know what to symlink into /run/current-system/sw. I guess you'd have to have some kind of wrapper. Maybe similar to comma. I just solved that part by setting up CI for most of my system config (integrated with the above).
- exe34 2y agoi have a system level and a user config, so the system is always the basic stuff like emacs and chrome, while the user config will pull in things like vlc, evince, etc. plus it's not like you have to log out to rebuild, it just fills up your bandwidth.
- a3w 2y agoYou urge me to not install all of them? But I might need that program later and not have internet. /s
- iqandjoke 2y agoDoes it even work at all for the installation to be finished without error? Just curious.