4 ms·
What's the problem with storing dependencies in /nix/store? Nix removes the downside of having dependencies. Manually finding and installing them, conflicting d
by Aerbil313 2y ago
What's the problem with storing dependencies in /nix/store? Nix removes the downside of having dependencies. Manually finding and installing them, conflicting dependencies, multiple versions of the same software/libraries, dependencies that are no longer needed but you don't know it, different installation method and instructions for different platforms, temporary installation - all are solved problems with Nix. Every package in nixpkgs, world's largest software collection, is a `nix-shell -p <package-name>` away.
- dmz73 2y agoDependency may not be available on target system and cannot be installed because: 1) no external network access 2) not enough privileges to install 3) different architecture that doesn't have nix dependency available 4) target does not / cannot trust nix external dependencies
- otabdeveloper4 2y agoThere is no such thing as a "nix dependency", Nix builds everything from scratch. You yourself control the whole software supply chain. [It's still not a completely fixed problem - Nix needs to finish their content-addressable scheme, and for that you need reproducible builds; this is a detail, though.]