Skip to content

Commit ae0678a

Browse files
committed
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 ... ```
1 parent 1ef77d2 commit ae0678a

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

pkgs/by-name/re/resources/package.nix

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
, stdenv
33
, fetchFromGitHub
44
, appstream-glib
5+
, autoAddDriverRunpath
56
, cargo
67
, desktop-file-utils
78
, meson
@@ -37,6 +38,7 @@ stdenv.mkDerivation (finalAttrs: {
3738

3839
nativeBuildInputs = [
3940
appstream-glib
41+
autoAddDriverRunpath
4042
desktop-file-utils
4143
meson
4244
ninja

0 commit comments

Comments
 (0)