Skip to content

Issues with /run on NixOS #37

Closed

Description

@RossComputerGuy

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.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions