From 7539e4677cb0db1c7b0cb03edc5ea78233756113 Mon Sep 17 00:00:00 2001 From: Evie Litherland-Smith Date: Fri, 30 Jun 2023 09:16:30 +0100 Subject: [PATCH] Rename overlays for new convention --- flake.nix | 2 +- wm/hyprland.nix | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/flake.nix b/flake.nix index d09c4d7f..c78cb587 100644 --- a/flake.nix +++ b/flake.nix @@ -113,7 +113,7 @@ }; }; }; - waybar-experimental = self: super: {waybar = super.waybar.overrideAttrs (oldAttrs: {mesonFlags = oldAttrs.mesonFlags ++ ["-Dexperimental=true"];});}; + waybar-experimental = final: prev: {waybar = prev.waybar.overrideAttrs (oldAttrs: {mesonFlags = oldAttrs.mesonFlags ++ ["-Dexperimental=true"];});}; in { nixosConfigurations = { Legion = nixpkgs.lib.nixosSystem { diff --git a/wm/hyprland.nix b/wm/hyprland.nix index f4dc4d6a..c24eca31 100644 --- a/wm/hyprland.nix +++ b/wm/hyprland.nix @@ -1,8 +1,8 @@ {...}: { imports = [./default.nix]; nixpkgs.overlays = [ - (self: super: { - waybar = super.waybar.overrideAttrs (oldAttrs: { + (final: prev: { + waybar = prev.waybar.overrideAttrs (oldAttrs: { mesonFlags = oldAttrs.mesonFlags ++ ["-Dexperimental=true"]; }); })