Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Issues with /run on NixOS #37

Open
RossComputerGuy opened this issue Jun 20, 2024 · 0 comments · May be fixed by #38
Open

Issues with /run on NixOS #37

RossComputerGuy opened this issue Jun 20, 2024 · 0 comments · May be fixed by #38

Comments

@RossComputerGuy
Copy link

RossComputerGuy commented Jun 20, 2024

On NixOS, we use /run for many runtime things such as symlinking the current system state to /run/current-system. This means the system "installed" packages will not be accessible unless /run/current-system is available. We also have the OpenGL drivers symlinked to /run/opengl-driver. Without that symlink being available, GPU related access via Mesa is not possible. Since /run isn't shared to krun, this means system packages and OpenGL are both not available.

Possible solution is to check if NIXOS_SYSTEM is an env var set and to mount the value of it to /run/current-system. A similar solution could be done for OpenGL.

@RossComputerGuy RossComputerGuy linked a pull request Jun 20, 2024 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant