Restore hyprexpo on Hyprland Lua branch
This commit is contained in:
32
nixos/flake.lock
generated
32
nixos/flake.lock
generated
@@ -1121,6 +1121,37 @@
|
||||
"type": "github"
|
||||
}
|
||||
},
|
||||
"hyprland-plugins-lua": {
|
||||
"inputs": {
|
||||
"hyprland": [
|
||||
"hyprland-lua-config"
|
||||
],
|
||||
"nixpkgs": [
|
||||
"hyprland-plugins-lua",
|
||||
"hyprland",
|
||||
"nixpkgs"
|
||||
],
|
||||
"systems": [
|
||||
"hyprland-plugins-lua",
|
||||
"hyprland",
|
||||
"systems"
|
||||
]
|
||||
},
|
||||
"locked": {
|
||||
"lastModified": 1777412965,
|
||||
"narHash": "sha256-lVGYGUWf9ynV5lR8QAygAfmYRkko1btIe26UcQ1bGXw=",
|
||||
"owner": "colonelpanic8",
|
||||
"repo": "hyprland-plugins",
|
||||
"rev": "fd5a23b732d881233941402984cbc4903e6ed927",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
"owner": "colonelpanic8",
|
||||
"ref": "hyprexpo-lua-hyprland",
|
||||
"repo": "hyprland-plugins",
|
||||
"type": "github"
|
||||
}
|
||||
},
|
||||
"hyprland-protocols": {
|
||||
"inputs": {
|
||||
"nixpkgs": [
|
||||
@@ -2132,6 +2163,7 @@
|
||||
"hyprland": "hyprland",
|
||||
"hyprland-lua-config": "hyprland-lua-config",
|
||||
"hyprland-plugins": "hyprland-plugins",
|
||||
"hyprland-plugins-lua": "hyprland-plugins-lua",
|
||||
"hyprscratch": "hyprscratch",
|
||||
"imalison-taffybar": "imalison-taffybar",
|
||||
"kanshi-sni": "kanshi-sni",
|
||||
|
||||
@@ -119,6 +119,11 @@
|
||||
inputs.hyprland.follows = "hyprland";
|
||||
};
|
||||
|
||||
hyprland-plugins-lua = {
|
||||
url = "github:colonelpanic8/hyprland-plugins?ref=hyprexpo-lua-hyprland";
|
||||
inputs.hyprland.follows = "hyprland-lua-config";
|
||||
};
|
||||
|
||||
hyprscratch = {
|
||||
url = "github:colonelpanic8/hyprscratch/reapply-rules-on-toggle";
|
||||
inputs.nixpkgs.follows = "nixpkgs";
|
||||
@@ -498,10 +503,12 @@
|
||||
kat-org-agenda-api = containerLib.containers.kat;
|
||||
} // lib.optionalAttrs pkgs.stdenv.isLinux {
|
||||
hyprNStack = inputs.hyprNStack.packages.${system}.hyprNStack;
|
||||
hyprexpo-lua = inputs.hyprland-plugins-lua.packages.${system}.hyprexpo;
|
||||
};
|
||||
|
||||
checks = lib.optionalAttrs pkgs.stdenv.isLinux {
|
||||
hyprNStack = inputs.hyprNStack.packages.${system}.hyprNStack;
|
||||
hyprexpo-lua = inputs.hyprland-plugins-lua.packages.${system}.hyprexpo;
|
||||
hyprland-lua-config-syntax = pkgs.runCommand "hyprland-lua-config-syntax" {
|
||||
nativeBuildInputs = [ pkgs.lua5_4 ];
|
||||
} ''
|
||||
|
||||
@@ -9,6 +9,7 @@ let
|
||||
else inputs.hyprland;
|
||||
luaPluginPackages = lib.optionals cfg.useLuaConfigBranch [
|
||||
inputs.hyprNStack.packages.${system}.hyprNStack
|
||||
inputs.hyprland-plugins-lua.packages.${system}.hyprexpo
|
||||
];
|
||||
hyprexpoPatched = inputs.hyprland-plugins.packages.${system}.hyprexpo.overrideAttrs (old: {
|
||||
patches = (old.patches or [ ]) ++ [
|
||||
@@ -162,8 +163,8 @@ let
|
||||
jq
|
||||
] ++ luaPluginPackages ++ lib.optionals enableExternalPluginPackages [
|
||||
# External plugin packages are pinned to the stable 0.53 stack.
|
||||
# PR 13817's Hyprland branch builds, but hy3 / hyprexpo do not yet build
|
||||
# against it, so keep them out of the experimental Lua branch for now.
|
||||
# Keep hy3 on the stable stack; the Lua branch uses hyprNStack and the
|
||||
# forked Lua-compatible hyprexpo input instead.
|
||||
inputs.hy3.packages.${system}.hy3
|
||||
hyprexpoPatched
|
||||
];
|
||||
@@ -176,8 +177,8 @@ enabledModule // {
|
||||
default = false;
|
||||
description = ''
|
||||
Use the experimental Hyprland PR 13817 Lua-config branch for the
|
||||
Hyprland package itself. The experimental package set excludes hy3 and
|
||||
hyprexpo, and includes the Lua-branch build of hyprNStack instead. When
|
||||
Hyprland package itself. The experimental package set excludes hy3, and
|
||||
includes the Lua-branch builds of hyprNStack and hyprexpo instead. When
|
||||
a sibling `hyprland.lua` is present, the Lua config manager picks it
|
||||
before `hyprland.conf`.
|
||||
'';
|
||||
|
||||
Reference in New Issue
Block a user