Skip to content

Commit

Permalink
flake: drop libVersionInfoOverlay
Browse files Browse the repository at this point in the history
It's not really a pkgs overlay, but a lib overlay.
  • Loading branch information
Ma27 committed Dec 10, 2023
1 parent cb289a9 commit b96ba98
Showing 1 changed file with 3 additions and 5 deletions.
8 changes: 3 additions & 5 deletions flake.nix
Original file line number Diff line number Diff line change
Expand Up @@ -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; };
Expand Down Expand Up @@ -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 = {
Expand Down

0 comments on commit b96ba98

Please sign in to comment.