Fix hyprexpo Hyprland plugin loading

This commit is contained in:
2026-05-22 05:54:04 -07:00
parent 4360850f82
commit 72c9177f95
2 changed files with 12 additions and 6 deletions

6
nixos/flake.lock generated
View File

@@ -745,11 +745,11 @@
]
},
"locked": {
"lastModified": 1779446260,
"narHash": "sha256-ZXwD/THjBMTtRzPiwkYQrkRW9yUPm1wGD3I5BWzWoGk=",
"lastModified": 1779454209,
"narHash": "sha256-n4yKGRu/vh7Y3ltmJsqDTe+D+KM3MyRQcZmTmu8Q8do=",
"owner": "colonelpanic8",
"repo": "hyprexpo",
"rev": "c1f7fe882f669e482aec2ce3a4b0ef491136828d",
"rev": "1036964b11dac19d09069309e118f5e3196c1dc1",
"type": "github"
},
"original": {

View File

@@ -22,6 +22,9 @@
# GCC 15.2 ICEs while compiling Hyprland 0.55 on this pin. Keep the
# Hyprland/plugin pin set intact and build Hyprland itself with Clang.
baseHyprlandPackage = avoidHyprlandGccIce hyprlandInput.packages.${system}.hyprland;
hyprlandPluginsForBase = pkgs.callPackage "${pkgs.path}/pkgs/applications/window-managers/hyprwm/hyprland-plugins" {
hyprland = baseHyprlandPackage;
};
cleanupStaleGraphicalSession = pkgs.writeShellScript "cleanup-stale-graphical-session" ''
set -u
@@ -124,8 +127,11 @@
./packages/hyprwobbly-safe-geometry-and-idle-timer.patch
];
});
hyprexpo = pkgs.callPackage "${inputs.hyprexpo}/default.nix" {};
hyprwinview = pkgs.hyprlandPlugins.mkHyprlandPlugin {
hyprexpo = pkgs.callPackage "${inputs.hyprexpo}/default.nix" {
hyprland = baseHyprlandPackage;
hyprlandPlugins = hyprlandPluginsForBase;
};
hyprwinview = hyprlandPluginsForBase.mkHyprlandPlugin {
pluginName = "hyprwinview";
version = "0.1.0";
src = inputs.hyprwinview;
@@ -138,7 +144,7 @@
platforms = lib.platforms.linux;
};
};
hyprWorkspaceHistory = pkgs.hyprlandPlugins.mkHyprlandPlugin {
hyprWorkspaceHistory = hyprlandPluginsForBase.mkHyprlandPlugin {
pluginName = "hypr-workspace-history";
version = "0.1.0";
src = inputs.hypr-workspace-history;