aboutsummaryrefslogtreecommitdiffhomepage
path: root/flake.nix
diff options
context:
space:
mode:
authorFernando Ayats <[email protected]>2022-06-20 12:16:07 +0200
committerFernando Ayats <[email protected]>2022-06-20 12:16:07 +0200
commitbd953011884d656d726b06764157be076d59a916 (patch)
treed75a30a7216b8e0dabf3836e95657dfc9cb5cb0d /flake.nix
parentd6b324306bc455d83af629ca553c0e4e3a6765dc (diff)
downloadHyprland-bd953011884d656d726b06764157be076d59a916.tar.gz
Hyprland-bd953011884d656d726b06764157be076d59a916.zip
nix: no pseudo-overlay
Diffstat (limited to 'flake.nix')
-rw-r--r--flake.nix10
1 files changed, 5 insertions, 5 deletions
diff --git a/flake.nix b/flake.nix
index 2edd9a04..9ea3283a 100644
--- a/flake.nix
+++ b/flake.nix
@@ -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";
};
}