Skip to content

Commit fc02e3d

Browse files
ntninjabbhtt
authored andcommitted
pip: Fix dependency list generation on systems where $TMPDIR is set
1 parent 368aa42 commit fc02e3d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pip/flatpak-pip-generator.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -541,7 +541,7 @@ def to_ver(v: str) -> Version | None:
541541
get_flatpak_runtime_scope(opts.runtime),
542542
"--devel",
543543
"--share=network",
544-
"--filesystem=/tmp",
544+
f"--filesystem={tempfile.gettempdir()}",
545545
f"--command={pip_executable}",
546546
"run",
547547
opts.runtime,

0 commit comments

Comments
 (0)