From 4cc9cc67ebd2847f5ed332a226e9109c97336ecf Mon Sep 17 00:00:00 2001 From: 1444 <54070204+0x5a4@users.noreply.github.com> Date: Tue, 15 Jul 2025 17:20:41 +0200 Subject: [PATCH] wayfire: fix broken configuration.ini test (#7478) Normalize store paths so it will pass even with flake updates and on different architectures. --- tests/modules/services/wayfire/configuration.ini | 2 +- tests/modules/services/wayfire/configuration.nix | 6 ++---- 2 files changed, 3 insertions(+), 5 deletions(-) diff --git a/tests/modules/services/wayfire/configuration.ini b/tests/modules/services/wayfire/configuration.ini index 56c5c576..ef2af239 100644 --- a/tests/modules/services/wayfire/configuration.ini +++ b/tests/modules/services/wayfire/configuration.ini @@ -10,4 +10,4 @@ plugins=command expo cube autostart xwayland=true [cube] -skydome_texture=/nix/store/yk5hl40w5254k2xkicn32l8ky8sfm9va-dummy +skydome_texture=/nix/store/00000000000000000000000000000000-dummy diff --git a/tests/modules/services/wayfire/configuration.nix b/tests/modules/services/wayfire/configuration.nix index 055d866a..94285ca0 100644 --- a/tests/modules/services/wayfire/configuration.nix +++ b/tests/modules/services/wayfire/configuration.nix @@ -14,9 +14,7 @@ }; nmt.script = '' - wayfireConfig=home-files/.config/wayfire.ini - - assertFileExists "$wayfireConfig" - assertFileContent "$wayfireConfig" "${./configuration.ini}" + assertFileExists home-files/.config/wayfire.ini + assertFileContent "$(normalizeStorePaths home-files/.config/wayfire.ini)" "${./configuration.ini}" ''; }