mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-08-27 02:34:53 +00:00
When `hardware.nvidia.datacenter.enable` is turned on we likely want the NVIDIA Management Library (NVML) at runtime so that Slurm can query GPU metrics. This adds the driver directory containing `libnvidia‑ml.so` to `slurmd` environment's `LD_LIBRARY_PATH`, making it discoverable.