2 ms·
You're providing a synthetic filesystem to every process? If so, that sounds absurd and over-engineered.
by oldbbsnickname 3y ago
You're providing a synthetic filesystem to every process? If so, that sounds absurd and over-engineered.
- grhmc 3y agoNo, however because of the general requirement to use /nix/store as a prefix we do support using this method for avoiding global installations.
- Tyrubias 3y agoI’m no expert, but my understanding is without this you cannot avoid the need to create /nix using sudo. On a tangent: I’m a big fan of Homebrew, but Nix’s deterministic builds are more isolated than Homebrew’s. Last I heard, Homebrew also tries to avoid keeping around any but the latest version of a formula, which would force you to upgrade. With Nix, your installed libraries are isolated, so I can (for example) open a shell with GCC 5 and Python 2 and another with GCC 12 and Python 3.12 with absolute confidence there’s no “contamination” so to speak. With Nix you come a lot closer (even on macOS) to achieving the dream of having your entire system declaratively managed, so you can get a brand new machine, pull in your config from GitHub, and have an identical setup with minimal hassle. I think even with `brew bundle` it’s not that easy to achieve this.