diff options
| author | Ethan P. <eth-p+git@hidden.email> | 2025-09-12 18:06:39 -0700 |
|---|---|---|
| committer | Ethan P. <eth-p+git@hidden.email> | 2025-09-12 18:06:39 -0700 |
| commit | ddcde1fa9a72a67505f1005fc9043a44abc73989 (patch) | |
| tree | d13a8fcf337c2f9a145d0a0a201f884746dce7f8 /pkgs/development/python-modules/termplotlib/gnuplot-subprocess.patch | |
| parent | ad4e6dd68c30bc8bd1860a27bc6f0c485bd7f3b6 (diff) | |
mission-center: add GPU drivers to LD_LIBRARY_PATH
This fixes an issue where NVIDIA cards will not show up on NixOS.
Under the hood, missioncenter-magpie executable uses nvtop to read
information for and stats about GPU devices. nvtop uses `dlopen` to
load vendor-specific libraries at runtime. For NVIDIA cards, this
requires having the appropriate version of `libnvidia-ml.so` available
under the LD_LIBRARY_PATH or RUNPATH.
Ideally, we would use `addDriverRunpath` directly to edit the
`missioncenter-magpie` RUNPATH. We instead have to wrap it with an
updated LD_LIBRARY_PATH to include the path which `addDriverRunpath`
would have added, as `$out/bin/missioncenter-magpie` is actually an
executable wrapper created by the `wrapGAppsHook4` hook.
Diffstat (limited to 'pkgs/development/python-modules/termplotlib/gnuplot-subprocess.patch')
0 files changed, 0 insertions, 0 deletions
