Skip to content

Fix sandboxing support in NixOS#6333

Merged
kit-ty-kate merged 1 commit intoocaml:masterfrom
kit-ty-kate:nixos-sandbox
Dec 12, 2024
Merged

Fix sandboxing support in NixOS#6333
kit-ty-kate merged 1 commit intoocaml:masterfrom
kit-ty-kate:nixos-sandbox

Conversation

@kit-ty-kate
Copy link
Copy Markdown
Member

Upstreams changes from NixOS/nixpkgs#363770

The issue is that in the bubblewrap sandbox /run is mounted as tmpfs so its content is emptied inside the sandbox and Nix makes use of /run/current-system/sw to store the whole system (everything symlinks to it if i understand correctly).

cc @RyanGibb just in case you can tell me if i've done/said something awful

@RyanGibb
Copy link
Copy Markdown
Contributor

This sounds great :-)

@kit-ty-kate kit-ty-kate requested a review from rjbou December 11, 2024 15:34
@kit-ty-kate kit-ty-kate merged commit 8f48372 into ocaml:master Dec 12, 2024
@kit-ty-kate kit-ty-kate deleted the nixos-sandbox branch December 12, 2024 20:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants