summaryrefslogtreecommitdiff
path: root/pkgs/development/python-modules/termplotlib/gnuplot-subprocess.patch
diff options
context:
space:
mode:
authorMaximilian Bosch <maximilian@mbosch.me>2025-06-05 14:00:09 +0200
committerMaximilian Bosch <maximilian@mbosch.me>2025-07-02 15:53:12 +0200
commit59b4d0de90d4f91025178c8a09399defffd895d6 (patch)
treebb848d39111632776b388baafc48cb56ec1af1f4 /pkgs/development/python-modules/termplotlib/gnuplot-subprocess.patch
parent12d516726903aae3c89fe2b6b65a6880c7101c25 (diff)
nixos/lib/test-driver: try using XDG_RUNTIME_DIR if available
At work we have the use-case that several people connect to a large Linux box to run tests and debug those interactively. All tests write their state into a global `/tmp` -- e.g. the vde1 socket and the VMs' state. This leads to conflicts when multiple people are doing this. This change tries to use XDG_RUNTIME_DIR before using Python's detection of a global temp directory: when connecting, this requires a working user session, but then we get working directories per user. This is preferable over doing something like `mktemp -d` per run since that would break use-cases where you want to keep the VMs' state across multiple sessions (`--keep-vm-state`).
Diffstat (limited to 'pkgs/development/python-modules/termplotlib/gnuplot-subprocess.patch')
0 files changed, 0 insertions, 0 deletions