lol

pkgs-lib: Make `lib` overlays be propagated

This is useful because the tests in `pkgs-lib` can mock out certain
`lib` functions like this using a `lib` overlay.

authored by

Silvan Mosberger and committed by
h7x4
9ebcb6f5 39a779e2

+6 -1
+6 -1
pkgs/top-level/all-packages.nix
··· 1480 1480 writers = callPackage ../build-support/writers { }; 1481 1481 1482 1482 # lib functions depending on pkgs 1483 - inherit (import ../pkgs-lib { inherit lib pkgs; }) formats; 1483 + inherit (import ../pkgs-lib { 1484 + # The `lib` variable in this scope doesn't include any applied lib overlays, 1485 + # `pkgs.lib` does. 1486 + inherit (pkgs) lib; 1487 + inherit pkgs; 1488 + }) formats; 1484 1489 1485 1490 testers = callPackage ../build-support/testers { }; 1486 1491