fix: handle desktop readiness and validate compositor updates

This commit is contained in:
Coding Agent
2026-09-05 06:17:15 +00:00
parent cb003093c2
commit 88e889bf65
7 changed files with 137 additions and 28 deletions
+8
View File
@@ -43,6 +43,14 @@
in
{
desktop = import ./desktop-test.nix { inherit inputs pkgs; };
desktop-config =
pkgs.runCommand "hyprland-config-check" { nativeBuildInputs = [ pkgs.hyprland ]; }
''
export HOME="$TMPDIR/home" XDG_RUNTIME_DIR="$TMPDIR/runtime"
mkdir -m 700 -p "$HOME" "$XDG_RUNTIME_DIR"
Hyprland --verify-config -c ${./hyprland.lua}
touch "$out"
'';
updates =
pkgs.runCommand "update-workflow-check"
{