diff options
author | Fernando Ayats <[email protected]> | 2022-06-20 12:16:07 +0200 |
---|---|---|
committer | Fernando Ayats <[email protected]> | 2022-06-20 12:16:07 +0200 |
commit | bd953011884d656d726b06764157be076d59a916 (patch) | |
tree | d75a30a7216b8e0dabf3836e95657dfc9cb5cb0d /flake.nix | |
parent | d6b324306bc455d83af629ca553c0e4e3a6765dc (diff) | |
download | Hyprland-bd953011884d656d726b06764157be076d59a916.tar.gz Hyprland-bd953011884d656d726b06764157be076d59a916.zip |
nix: no pseudo-overlay
Diffstat (limited to 'flake.nix')
-rw-r--r-- | flake.nix | 10 |
1 files changed, 5 insertions, 5 deletions
@@ -25,8 +25,9 @@ (__substring 4 2 longDate) (__substring 6 2 longDate) ]); - pseudo-overlay = prev: rec { - wlroots-hyprland = prev.wlroots.overrideAttrs (_: { + in { + overlays.default = _: prev: rec { + wlroots-hyprland = prev.wlroots.overrideAttrs (__: { version = mkDate (inputs.wlroots.lastModifiedDate or "19700101"); src = inputs.wlroots; }); @@ -35,9 +36,9 @@ wlroots = wlroots-hyprland; }; }; - in { + packages = genSystems (system: - (pseudo-overlay pkgsFor.${system}) + (self.overlays.default null pkgsFor.${system}) // { default = self.packages.${system}.hyprland; }); @@ -46,7 +47,6 @@ 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"; }; } |