mirror of
https://github.com/hyprwm/Hyprland
synced 2024-11-22 20:05:58 +01:00
nix: no pseudo-overlay
This commit is contained in:
parent
d6b324306b
commit
bd95301188
1 changed files with 5 additions and 5 deletions
10
flake.nix
10
flake.nix
|
@ -25,8 +25,9 @@
|
||||||
(__substring 4 2 longDate)
|
(__substring 4 2 longDate)
|
||||||
(__substring 6 2 longDate)
|
(__substring 6 2 longDate)
|
||||||
]);
|
]);
|
||||||
pseudo-overlay = prev: rec {
|
in {
|
||||||
wlroots-hyprland = prev.wlroots.overrideAttrs (_: {
|
overlays.default = _: prev: rec {
|
||||||
|
wlroots-hyprland = prev.wlroots.overrideAttrs (__: {
|
||||||
version = mkDate (inputs.wlroots.lastModifiedDate or "19700101");
|
version = mkDate (inputs.wlroots.lastModifiedDate or "19700101");
|
||||||
src = inputs.wlroots;
|
src = inputs.wlroots;
|
||||||
});
|
});
|
||||||
|
@ -35,9 +36,9 @@
|
||||||
wlroots = wlroots-hyprland;
|
wlroots = wlroots-hyprland;
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
in {
|
|
||||||
packages = genSystems (system:
|
packages = genSystems (system:
|
||||||
(pseudo-overlay pkgsFor.${system})
|
(self.overlays.default null pkgsFor.${system})
|
||||||
// {
|
// {
|
||||||
default = self.packages.${system}.hyprland;
|
default = self.packages.${system}.hyprland;
|
||||||
});
|
});
|
||||||
|
@ -46,7 +47,6 @@
|
||||||
|
|
||||||
nixosModules.default = import ./nix/module.nix self;
|
nixosModules.default = import ./nix/module.nix self;
|
||||||
|
|
||||||
overlays.default = final: pseudo-overlay;
|
|
||||||
overlay = throw "Hyprland: .overlay output is deprecated, please use the .overlays.default output";
|
overlay = throw "Hyprland: .overlay output is deprecated, please use the .overlays.default output";
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue