fix(hypr): override stdenv for hyprlandPlugins
All checks were successful
Discord / discord commits (push) Has been skipped
All checks were successful
Discord / discord commits (push) Has been skipped
This commit is contained in:
parent
9c18766ee1
commit
627f9c31f6
2 changed files with 27 additions and 1 deletions
|
@ -3,7 +3,10 @@ self: {pkgs, ...}: let
|
|||
in {
|
||||
config = {
|
||||
wayland.windowManager.hyprland = {
|
||||
plugins = [self.inputs.hyprland-plugins.packages.${pkgs.system}.hyprexpo];
|
||||
# FIXME: https://pr-tracker.nelim.org/?pr=365776
|
||||
plugins = [(self.inputs.hyprland-plugins.packages.${pkgs.system}.hyprexpo.override {
|
||||
hyprlandPlugins = pkgs.hyprlandPlugins;
|
||||
})];
|
||||
|
||||
settings = {
|
||||
plugin.hyprexpo = {
|
||||
|
|
|
@ -1,4 +1,27 @@
|
|||
final: prev: {
|
||||
# FIXME: https://pr-tracker.nelim.org/?pr=357699
|
||||
nodejs_latest = prev.nodejs_22;
|
||||
|
||||
# FIXME: https://pr-tracker.nelim.org/?pr=365776
|
||||
hyprlandPlugins =
|
||||
prev.hyprlandPlugins
|
||||
// {
|
||||
mkHyprlandPlugin = hyprland: args @ {pluginName, ...}:
|
||||
hyprland.stdenv.mkDerivation (
|
||||
args
|
||||
// {
|
||||
pname = "${pluginName}";
|
||||
nativeBuildInputs = [final.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.";
|
||||
};
|
||||
}
|
||||
);
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue