mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-21 05:00:16 +00:00
nvidia: also install useful nvidia-smi tool
This commit is contained in:
parent
38a2056f70
commit
147a6ae62f
|
@ -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