Use upstream hyprexpo flake package

This commit is contained in:
2026-05-15 02:08:01 -07:00
parent e203230c4d
commit e9c95cfc45
5 changed files with 21 additions and 98 deletions

22
nixos/flake.lock generated
View File

@@ -753,13 +753,27 @@
}
},
"hyprexpo": {
"flake": false,
"inputs": {
"hyprland": [
"hyprland"
],
"nixpkgs": [
"hyprexpo",
"hyprland",
"nixpkgs"
],
"systems": [
"hyprexpo",
"hyprland",
"systems"
]
},
"locked": {
"lastModified": 1778829240,
"narHash": "sha256-r+gsmmJM8cXuq1TDuaBUjl5g1HYMA357Rl+NH6svV8E=",
"lastModified": 1778831952,
"narHash": "sha256-Hp1ip+DnnXIJ1Ezvvyn4t6CVmvlSaExwgnJXFdohMYw=",
"owner": "colonelpanic8",
"repo": "hyprexpo",
"rev": "67adc97d818cf13fef7fa4a6ad7e94ab7d0c002a",
"rev": "b5f1e72e1db92a4326f9b376f39f1d6a85b9a758",
"type": "github"
},
"original": {

View File

@@ -117,7 +117,7 @@
hyprexpo = {
url = "github:colonelpanic8/hyprexpo";
flake = false;
inputs.hyprland.follows = "hyprland";
};
Hyprspace = {

View File

@@ -26,15 +26,7 @@
hyprlang = inputs.hyprlang.packages.${system}.hyprlang;
hyprutils = inputs.hyprutils.packages.${system}.hyprutils;
};
hyprexpo = pkgs.callPackage ../packages/hyprexpo {
src = inputs.hyprexpo;
hyprland = inputs.hyprland.packages.${system}.hyprland;
aquamarine = inputs.aquamarine.packages.${system}.aquamarine;
hyprcursor = inputs.hyprcursor.packages.${system}.hyprcursor;
hyprgraphics = inputs.hyprgraphics.packages.${system}.hyprgraphics;
hyprlang = inputs.hyprlang.packages.${system}.hyprlang;
hyprutils = inputs.hyprutils.packages.${system}.hyprutils;
};
hyprexpo = inputs.hyprexpo.packages.${system}.hyprexpo;
tangledConfig = dotfilesOrgApi.org-agenda-custom-config;
# Import container build logic

View File

@@ -115,15 +115,7 @@
./packages/hyprwobbly-safe-geometry-and-idle-timer.patch
];
});
hyprexpo = pkgs.callPackage ./packages/hyprexpo {
src = inputs.hyprexpo;
hyprland = baseHyprlandPackage;
aquamarine = inputs.aquamarine.packages.${system}.aquamarine;
hyprcursor = inputs.hyprcursor.packages.${system}.hyprcursor;
hyprgraphics = inputs.hyprgraphics.packages.${system}.hyprgraphics;
hyprlang = inputs.hyprlang.packages.${system}.hyprlang;
hyprutils = inputs.hyprutils.packages.${system}.hyprutils;
};
hyprexpo = inputs.hyprexpo.packages.${system}.hyprexpo;
hyprlandPluginPackages =
[
inputs.hyprNStack.packages.${system}.hyprNStack

View File

@@ -1,75 +0,0 @@
{
stdenv,
lib,
cmake,
pkg-config,
aquamarine,
cairo,
glslang,
hyprland,
hyprcursor,
hyprgraphics,
hyprlang,
hyprutils,
libdrm,
libGL,
libinput,
libxcb,
libxcb-errors,
libxcb-wm,
libxkbcommon,
lua,
pango,
pixman,
systemd,
wayland,
src,
}:
stdenv.mkDerivation {
pname = "hyprexpo";
version = "unstable-${src.shortRev or "unknown"}";
inherit src;
nativeBuildInputs = [
cmake
pkg-config
];
buildInputs = [
aquamarine
cairo
glslang
hyprland
hyprcursor
hyprgraphics
hyprlang
hyprutils
libdrm
libGL
libinput
libxcb
libxcb-errors
libxcb-wm
libxkbcommon
lua
pango
pixman
systemd
wayland
];
installPhase = ''
runHook preInstall
install -Dm755 libhyprexpo.so "$out/lib/libhyprexpo.so"
runHook postInstall
'';
meta = {
description = "Hyprland workspace overview plugin";
homepage = "https://github.com/colonelpanic8/hyprexpo";
license = lib.licenses.bsd3;
platforms = lib.platforms.linux;
};
}