1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-17 11:10:03 +00:00

flake: drop libVersionInfoOverlay

It's not really a pkgs overlay, but a lib overlay.
This commit is contained in:
Maximilian Bosch 2023-12-10 13:25:14 +01:00
parent cb289a9256
commit b96ba988d6
No known key found for this signature in database
GPG key ID: D006A998C6ABFDF1

View file

@ -15,10 +15,6 @@
forAllSystems = lib.genAttrs lib.systems.flakeExposed;
in
{
overlays.setLibVersionInfo = final: prev: {
lib = prev.lib.extend libVersionInfoOverlay;
};
lib = lib.extend (final: prev: {
nixos = import ./nixos/lib { lib = final; };
@ -53,7 +49,9 @@
# which keeps `nix flake show` on Nixpkgs reasonably fast, though less
# information rich.
legacyPackages = forAllSystems (system:
(import ./. { inherit system; }).extend self.overlays.setLibVersionInfo
(import ./. { inherit system; }).extend (final: prev: {
lib = prev.lib.extend libVersionInfoOverlay;
})
);
nixosModules = {