3 ms·
What I can't currently figure out with Nix though is how I kill off dependency explosions though. I want to reach into a big tree of derivations and force libr
by XorNot 2y ago
What I can't currently figure out with Nix though is how I kill off dependency explosions though.
I want to reach into a big tree of derivations and force library and compiler versions to a single common one so we don't, for example, have 6 rust compilers being used.
- chriswarbo 2y agoThe usual approach is to give Nixpkgs some `overlays`, which override the attributes you want. This can be handy in conjunction with attributes like `.override`, `.overrideAttrs`, etc. for swapping-out things deeper in the dependency graph. The https://codeberg.org/amjoseph/infuse.nix https://codeberg.org/amjoseph/infuse.nix project looks nice as a way to simplify annoying chains of overrides; though I haven't used it personally.