diff options
author | Wouter den Breejen <uu@denbreejen.net> | 2007-07-12 11:52:34 +0000 |
---|---|---|
committer | Wouter den Breejen <uu@denbreejen.net> | 2007-07-12 11:52:34 +0000 |
commit | b8d6a28c222eaf1d9f177a13d89e49fd9473b459 (patch) | |
tree | 3b2d729bf6646ded8fc3988b9012238a00e9e5cd /pkgs/os-specific | |
parent | 7c9741e899e8ceeb7cc0554cdf27714a5daab885 (diff) | |
download | nixpkgs-b8d6a28c222eaf1d9f177a13d89e49fd9473b459.tar nixpkgs-b8d6a28c222eaf1d9f177a13d89e49fd9473b459.tar.gz nixpkgs-b8d6a28c222eaf1d9f177a13d89e49fd9473b459.tar.bz2 nixpkgs-b8d6a28c222eaf1d9f177a13d89e49fd9473b459.tar.lz nixpkgs-b8d6a28c222eaf1d9f177a13d89e49fd9473b459.tar.xz nixpkgs-b8d6a28c222eaf1d9f177a13d89e49fd9473b459.tar.zst nixpkgs-b8d6a28c222eaf1d9f177a13d89e49fd9473b459.zip |
Added version number
svn path=/nixpkgs/trunk/; revision=8977
Diffstat (limited to 'pkgs/os-specific')
-rw-r--r-- | pkgs/os-specific/linux/nvidia/default.nix | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/pkgs/os-specific/linux/nvidia/default.nix b/pkgs/os-specific/linux/nvidia/default.nix index 727f8954964..6ebb7f22c0c 100644 --- a/pkgs/os-specific/linux/nvidia/default.nix +++ b/pkgs/os-specific/linux/nvidia/default.nix @@ -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 { - name = "nvidiaDrivers"; + name = "nvidiaDrivers-" + versionNumber; builder = ./builder.sh; 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; 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; xorgOutPath = xorg_server.outPath; @@ -35,5 +40,4 @@ stdenv.mkDerivation { NIX_LDFLAGS = "-rpath ${libX11}/lib -rpath ${libXext}/lib"; LD_LIBRARY_PATH = "${libX11}/lib:${libXext}/lib/"; - } |