mission-center: add GPU drivers to LD_LIBRARY_PATH (#442525)

This commit is contained in:
Gaétan Lepage
2025-09-13 20:04:33 +00:00
committed by GitHub
@@ -39,6 +39,7 @@
wayland,
# magpie wrapper
addDriverRunpath,
libGL,
vulkan-loader,
@@ -128,6 +129,7 @@ stdenv.mkDerivation (finalAttrs: {
};
nativeBuildInputs = [
addDriverRunpath
blueprint-compiler
cargo
libxml2
@@ -178,6 +180,10 @@ stdenv.mkDerivation (finalAttrs: {
libGL
libdrm
vulkan-loader
# NVIDIA support requires linking libnvidia-ml.so at runtime:
# https://github.com/Syllo/nvtop/blob/3.2.0/src/extract_gpuinfo_nvidia.c#L274-L276
addDriverRunpath.driverLink
]
}"
'';