nvidia_x11.dc_535: 535.129.03 -> 535.154.05
nvidia_x11.dc_535.fabricmanager: shrink rpath, remove find leftover
This commit is contained in:
parent
7436f147b0
commit
2571e9c054
@ -99,11 +99,11 @@ rec {
|
||||
};
|
||||
|
||||
dc_535 = generic rec {
|
||||
version = "535.129.03";
|
||||
version = "535.154.05";
|
||||
url = "https://us.download.nvidia.com/tesla/${version}/NVIDIA-Linux-x86_64-${version}.run";
|
||||
sha256_64bit = "sha256-5tylYmomCMa7KgRs/LfBrzOLnpYafdkKwJu4oSb/AC4=";
|
||||
persistencedSha256 = "sha256-FRMqY5uAJzq3o+YdM2Mdjj8Df6/cuUUAnh52Ne4koME=";
|
||||
fabricmanagerSha256 = "sha256-5KRYS+JLVAhDkBn8Z7e0uJvULQy6dSpwnYsbBxw7Mxg=";
|
||||
sha256_64bit = "sha256-fpUGXKprgt6SYRDxSCemGXLrEsIA6GOinp+0eGbqqJg=";
|
||||
persistencedSha256 = "sha256-d0Q3Lk80JqkS1B54Mahu2yY/WocOqFFbZVBh+ToGhaE=";
|
||||
fabricmanagerSha256 = "sha256-/HQfV7YA3MYVmre/sz897PF6tc6MaMiS/h7Q10m2p/o=";
|
||||
useSettings = false;
|
||||
usePersistenced = true;
|
||||
useFabricmanager = true;
|
||||
|
@ -18,12 +18,12 @@ stdenv.mkDerivation rec {
|
||||
};
|
||||
|
||||
installPhase = ''
|
||||
find .
|
||||
mkdir -p $out/{bin,share/nvidia-fabricmanager}
|
||||
for bin in nv{-fabricmanager,switch-audit};do
|
||||
${patchelf}/bin/patchelf \
|
||||
--set-interpreter ${stdenv.cc.libc}/lib/ld-${bsys}.so.2 \
|
||||
--set-rpath ${lib.makeLibraryPath [ stdenv.cc.libc ]} \
|
||||
--shrink-rpath \
|
||||
bin/$bin
|
||||
done
|
||||
mv bin/nv{-fabricmanager,switch-audit} $out/bin/.
|
||||
|
Loading…
Reference in New Issue
Block a user