Rename overlays for new convention

This commit is contained in:
Evie Litherland-Smith 2023-06-30 09:16:30 +01:00
parent 86c8db45af
commit 7539e4677c
2 changed files with 3 additions and 3 deletions

View file

@ -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 { in {
nixosConfigurations = { nixosConfigurations = {
Legion = nixpkgs.lib.nixosSystem { Legion = nixpkgs.lib.nixosSystem {

View file

@ -1,8 +1,8 @@
{...}: { {...}: {
imports = [./default.nix]; imports = [./default.nix];
nixpkgs.overlays = [ nixpkgs.overlays = [
(self: super: { (final: prev: {
waybar = super.waybar.overrideAttrs (oldAttrs: { waybar = prev.waybar.overrideAttrs (oldAttrs: {
mesonFlags = oldAttrs.mesonFlags ++ ["-Dexperimental=true"]; mesonFlags = oldAttrs.mesonFlags ++ ["-Dexperimental=true"];
}); });
}) })