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

pressure-vessel: Make /nix available read-only, if it exists

On NixOS, all hard-coded paths in libraries point into /nix, so
mounting it is going to be necessary (although not sufficient) to get
pressure-vessel working on NixOS.

Manual test, in an updated SteamLinuxRuntime or
SteamLinuxRuntime_soldier depot:

    ./run -- xterm
    sudo mkdir /nix
    sudo touch /nix/not-really
    ./run -- xterm

and in the xterm:

    ls -al /nix

Expected result: /nix exists in the container if and only if it exists
outside the container.

Partially addresses https://github.com/NixOS/nixpkgs/issues/100655



Signed-off-by: default avatarSimon McVittie <smcv@collabora.com>
parent 07514b25
No related branches found
No related tags found
1 merge request!178pressure-vessel: Make /nix available read-only, if it exists
Pipeline #5342 passed
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment