From 4741ab2e0465275d58c36db426b169c742d964cf Mon Sep 17 00:00:00 2001 From: Ivan Molodetskikh Date: Mon, 30 Dec 2024 22:15:44 +0300 Subject: [PATCH] spec: Set XDG_RUNTIME_DIR for tests --- niri.spec.rpkg | 1 + 1 file changed, 1 insertion(+) diff --git a/niri.spec.rpkg b/niri.spec.rpkg index 71ef94947..266cc886a 100644 --- a/niri.spec.rpkg +++ b/niri.spec.rpkg @@ -127,6 +127,7 @@ install -Dm644 -t %{buildroot}%{_userunitdir} ./resources/niri-shutdown.target %if %{with check} %check +export XDG_RUNTIME_DIR="$(mktemp -d)" %cargo_test -- --workspace --exclude niri-visual-tests %endif