mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-16 14:54:29 +01:00
nvidia: also install useful nvidia-smi tool
This commit is contained in:
parent
38a2056f70
commit
147a6ae62f
1 changed files with 1 additions and 1 deletions
|
@ -74,7 +74,7 @@ installPhase() {
|
|||
# Install the programs.
|
||||
mkdir -p $out/bin
|
||||
|
||||
for i in nvidia-settings nvidia-xconfig; do
|
||||
for i in nvidia-settings nvidia-smi nvidia-xconfig; do
|
||||
cp $i $out/bin/$i
|
||||
patchelf --interpreter "$(cat $NIX_GCC/nix-support/dynamic-linker)" \
|
||||
--set-rpath $out/lib:$programPath:$glPath $out/bin/$i
|
||||
|
|
Loading…
Reference in a new issue