1
0
Fork 1
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:
Aristid Breitkreuz 2013-07-21 19:32:54 +02:00
parent 38a2056f70
commit 147a6ae62f

View file

@ -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