Skip to content
Snippets Groups Projects
Commit 8881f9cc authored by Simon McVittie's avatar Simon McVittie
Browse files

pv-runtime: Don't rewrite /nix/store/... to /run/host/nix/store/...

We must expose /nix in the sandbox as /nix, not /run/host/nix, because
hard-coding paths below /nix is ubiquitous on NixOS. There's already
a special case in wrap.c to mount /nix read-only.

This resolves a regression that occurred when we switched to a runtime
structure that relies on PRESSURE_VESSEL_COPY_RUNTIME.

Resolves: https://github.com/ValveSoftware/steam-runtime/issues/431


Signed-off-by: default avatarSimon McVittie <smcv@collabora.com>
parent 0c11b636
No related branches found
No related tags found
1 merge request!336pv-runtime: Don't rewrite /nix/store/... to /run/host/nix/store/...
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment