Added version number
svn path=/nixpkgs/trunk/; revision=8977
This commit is contained in:
parent
7c9741e899
commit
b8d6a28c22
@ -10,8 +10,13 @@
|
|||||||
|
|
||||||
}:
|
}:
|
||||||
|
|
||||||
|
let
|
||||||
|
|
||||||
|
versionNumber = "100.14.11"; #important ! to also update this if the sources are updated, this is used as follows: extensions/libglx.so.$versionNumber
|
||||||
|
|
||||||
|
in
|
||||||
stdenv.mkDerivation {
|
stdenv.mkDerivation {
|
||||||
name = "nvidiaDrivers";
|
name = "nvidiaDrivers-" + versionNumber;
|
||||||
builder = ./builder.sh;
|
builder = ./builder.sh;
|
||||||
|
|
||||||
nvidiasrc = fetchurl { #we cannot use $src since this variable is also used in the nvidia sources
|
nvidiasrc = fetchurl { #we cannot use $src since this variable is also used in the nvidia sources
|
||||||
@ -20,7 +25,7 @@ stdenv.mkDerivation {
|
|||||||
url = http://us.download.nvidia.com/XFree86/Linux-x86/100.14.11/NVIDIA-Linux-x86-100.14.11-pkg1.run;
|
url = http://us.download.nvidia.com/XFree86/Linux-x86/100.14.11/NVIDIA-Linux-x86-100.14.11-pkg1.run;
|
||||||
sha256 = "8665370e590328cc5bf3d13737739a80dacbfb6844436cab03c992e84bf16b0c";
|
sha256 = "8665370e590328cc5bf3d13737739a80dacbfb6844436cab03c992e84bf16b0c";
|
||||||
};
|
};
|
||||||
versionNumber = "100.14.11"; #important ! to also update this if the sources are updated, this is used as follows: extensions/libglx.so.$versionNumber
|
inherit versionNumber;
|
||||||
|
|
||||||
kernelOutPath = kernel.outPath;
|
kernelOutPath = kernel.outPath;
|
||||||
xorgOutPath = xorg_server.outPath;
|
xorgOutPath = xorg_server.outPath;
|
||||||
@ -35,5 +40,4 @@ stdenv.mkDerivation {
|
|||||||
|
|
||||||
NIX_LDFLAGS = "-rpath ${libX11}/lib -rpath ${libXext}/lib";
|
NIX_LDFLAGS = "-rpath ${libX11}/lib -rpath ${libXext}/lib";
|
||||||
LD_LIBRARY_PATH = "${libX11}/lib:${libXext}/lib/";
|
LD_LIBRARY_PATH = "${libX11}/lib:${libXext}/lib/";
|
||||||
|
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user