Loading
nixForLinking: init
Overlays for CppNix nightly, Lix, or Tvix want to change the default Nix implementation in Nixpkgs by overriding `pkgs.nix`. However, some packages link against the internal/unstable CppNix APIs directly, and these packages will break if built with different versions or implementations of Nix. If you want to swap out the Nix implementation in your package set, you don't want these packages to break. Therefore, some packages will refer to `nixForLinking` explicitly, at least until these dependencies can be sorted out. The addition of an explicit `nixForLinking` attribute decoupled from `nix`, which is just "a Nix implementation", will help Nix implementation maintainers test Nix implementations in Nixpkgs with minimal hassle.