From 1235977c25d9934f373c25603b80a6a369076184 Mon Sep 17 00:00:00 2001 From: Shea Levy Date: Mon, 18 Apr 2011 19:41:34 +0000 Subject: [PATCH] Bump virtualbox guest additions to 4.0.4 svn path=/nixpkgs/trunk/; revision=26884 --- .../virtualization/virtualbox/guest-additions/default.nix | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/pkgs/applications/virtualization/virtualbox/guest-additions/default.nix b/pkgs/applications/virtualization/virtualbox/guest-additions/default.nix index 52c1f46fdaeb..a89efd414035 100644 --- a/pkgs/applications/virtualization/virtualbox/guest-additions/default.nix +++ b/pkgs/applications/virtualization/virtualbox/guest-additions/default.nix @@ -1,11 +1,13 @@ { stdenv, fetchurl, lib, patchelf, cdrkit, kernel, which, makeWrapper , libX11, libXt, libXext, libXmu, libXcomposite, libXfixes, libXrandr, libXcursor}: +let version = "4.0.4"; in + stdenv.mkDerivation { - name = "VirtualBox-GuestAdditions-4.0.2"; + name = "VirtualBox-GuestAdditions-${version}"; src = fetchurl { - url = http://download.virtualbox.org/virtualbox/4.0.2/VBoxGuestAdditions_4.0.2.iso; - sha256 = "4c8726f70d4202747d35e1ad715ca9dcd29be1fe74720492097d7fb83cae7988"; + url = "http://download.virtualbox.org/virtualbox/${version}/VBoxGuestAdditions_${version}.iso"; + sha256 = "0f3phmy75cfyhvfsyljs85rgra13kiy2zans6bhc7sqji30kkk48"; }; KERN_DIR = "${kernel}/lib/modules/*/build"; buildInputs = [ patchelf cdrkit makeWrapper ];