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