nix-gl-host icon indicating copy to clipboard operation
nix-gl-host copied to clipboard

Store the driver top-level DSOs to /run/opengl-driver

Open picnoir opened this issue 5 months ago • 0 comments

Idea of @soupglasses

We would still modify the rpaths to point to /var/lib

Pros:

  • Can use Nix binaries without wrapping them first.
  • Fixes the wrapper startup overhead.

Cons:

  • Need something to keep /run/opengl-driver in sync.
    • We can do that using the package managers hooks. That means we have to distribute nix-gl-host through the host package manager though.
    • We can do that using a nix-distributed daemon epolling the top-level DSOs.

picnoir avatar Sep 09 '24 10:09 picnoir