Unverified Commit ae0678af authored by Lin Jian's avatar Lin Jian
Browse files

resources: show Nvidia GPU info

Previously, resources failed to show Nvidia GPU info because it failed
to load libnvidia-ml.so.

```console
$ RUST_LOG=resources=debug resources
...
WARN  resources::utils::gpu::nvidia > Connection to NVML failed, reason: a libloading error occurred: libnvidia-ml.so: cannot open shared object file: No such file or directory
...
```
parent 1ef77d2f
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -2,6 +2,7 @@
, stdenv
, fetchFromGitHub
, appstream-glib
, autoAddDriverRunpath
, cargo
, desktop-file-utils
, meson
@@ -37,6 +38,7 @@ stdenv.mkDerivation (finalAttrs: {

  nativeBuildInputs = [
    appstream-glib
    autoAddDriverRunpath
    desktop-file-utils
    meson
    ninja