We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent cf00dcf commit 98c6ea6Copy full SHA for 98c6ea6
1 file changed
tests/integration_python/pixi_global/test_shortcuts.py
@@ -25,6 +25,10 @@ def setup_data(tmp_path: Path) -> SetupData:
25
env = {
26
"PIXI_HOME": str(pixi_home),
27
"HOME": str(data_home), # Used for macOS and Linux
28
+ # menuinst follows XDG on Linux and falls back to $HOME/.local/share only when
29
+ # XDG_DATA_HOME is unset, so override it explicitly to keep the shortcut inside
30
+ # the per-test data_home.
31
+ "XDG_DATA_HOME": str(data_home / ".local" / "share"),
32
"MENUINST_FAKE_DIRECTORIES": str(data_home), # Used for Windows
33
}
34
return SetupData(pixi_home=pixi_home, data_home=data_home, env=env)
0 commit comments