nixos-configuration/pkgs/overlays/version-info-fixup.nix
Wroclaw c5246a1b46 treewide: adopt flakes
after using non-flake setup time has arrived to
switch to flakes
eeleco clearly won and flakes are the future
2025-04-01 01:33:23 +02:00

12 lines
424 B
Nix

{ inputs ? import ../../inputs.nix {} }:
self: super: {
lib = super.lib.extend (import ../../lib/overlays/version-info-fixup.nix { revision = inputs.nixpkgs.rev; });
} //
super.lib.optionalAttrs (super ? unstable && super ? unstableRevision) {
unstable = super.unstable // {
lib = super.unstable.lib.extend (import ../../lib/overlays/version-info-fixup.nix {
revision = super.unstableRevision;
});
};
}