flake: remove merged overlay

This commit is contained in:
Mihai Fufezan 2025-03-21 11:51:12 +02:00
parent 4e85fb4fbf
commit 7429a0ea78
No known key found for this signature in database

View file

@ -22,7 +22,6 @@
localSystem.system = system;
overlays = [
self.overlays.hyprland-plugins
self.overlays.gcc14Stdenv
hyprland.overlays.hyprland-packages
];
});
@ -59,31 +58,6 @@
xtra-dispatchers = callPackage ./xtra-dispatchers {};
};
};
# TODO: remove when https://github.com/NixOS/nixpkgs/pull/365776 lands in master
gcc14Stdenv = final: prev: {
hyprlandPlugins =
(prev.hyprlandPlugins or {})
// {
mkHyprlandPlugin = hyprland: args @ {pluginName, ...}:
hyprland.stdenv.mkDerivation (
args
// {
pname = pluginName;
nativeBuildInputs = [prev.pkg-config] ++ args.nativeBuildInputs or [];
buildInputs = [hyprland] ++ hyprland.buildInputs ++ (args.buildInputs or []);
meta =
args.meta
// {
description = args.meta.description or "";
longDescription =
(args.meta.longDescription or "")
+ "\n\nPlugins can be installed via a plugin entry in the Hyprland NixOS or Home Manager options.";
};
}
);
};
};
};
checks = eachSystem (system: self.packages.${system});