Skip to content

Commit

Permalink
virtualbox: 6.0.6 -> 6.0.8 (#62067)
Browse files Browse the repository at this point in the history
virtualbox: 6.0.6 -> 6.0.8
  • Loading branch information
flokli authored May 26, 2019
2 parents c7bcd42 + 1430e10 commit c689671
Show file tree
Hide file tree
Showing 7 changed files with 7 additions and 80 deletions.
10 changes: 2 additions & 8 deletions pkgs/applications/virtualization/virtualbox/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,8 @@ let
buildType = "release";
# Remember to change the extpackRev and version in extpack.nix and
# guest-additions/default.nix as well.
main = "0lp584a350ya1zn03lhgmdbi91yp8yfja9hlg2jz1xyfj2dc869l";
version = "6.0.6";
main = "11sxx2zaablkvjiw0i5g5i5ibak6bsq6fldrcxwbcby6318shnhv";
version = "6.0.8";
in stdenv.mkDerivation {
name = "virtualbox-${version}";

Expand Down Expand Up @@ -76,12 +76,6 @@ in stdenv.mkDerivation {
optional enableHardening ./hardened.patch
++ [
./qtx11extras.patch
# https://www.virtualbox.org/ticket/18620
./fix_kbuild.patch
# https://www.virtualbox.org/ticket/18621
./fix_module_makefile_sed.patch
# https://forums.virtualbox.org/viewtopic.php?f=7&t=92815
./fix_printk_test.patch
];

postPatch = ''
Expand Down
4 changes: 2 additions & 2 deletions pkgs/applications/virtualization/virtualbox/extpack.nix
Original file line number Diff line number Diff line change
Expand Up @@ -2,15 +2,15 @@

with lib;

let version = "6.0.6";
let version = "6.0.8";
in
fetchurl rec {
name = "Oracle_VM_VirtualBox_Extension_Pack-${version}.vbox-extpack";
url = "https://download.virtualbox.org/virtualbox/${version}/${name}";
sha256 =
# Manually sha256sum the extensionPack file, must be hex!
# Thus do not use `nix-prefetch-url` but instead plain old `sha256sum`.
let value = "794f023a186bd217c29c3d30bd1434b6e9de3b242c7bf740d06d10f2d3d981c6";
let value = "6d89127c7f043fa96592da96ca87ac5ee9a7afd347d788380f91b695b67d7954";
in assert (builtins.stringLength value) == 64; value;

meta = {
Expand Down
12 changes: 0 additions & 12 deletions pkgs/applications/virtualization/virtualbox/fix_kbuild.patch

This file was deleted.

This file was deleted.

14 changes: 0 additions & 14 deletions pkgs/applications/virtualization/virtualbox/fix_printk_test.patch

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ stdenv.mkDerivation {

src = fetchurl {
url = "http://download.virtualbox.org/virtualbox/${version}/VBoxGuestAdditions_${version}.iso";
sha256 = "1srcsf9264l5yxbq2x83z66j38blbfrywq5lkzwb5kih6sv548c3";
sha256 = "1njgxb18r8a1m8fk2b32mmnbwciip3wcxwyhza5k73bx4q2sifac";
};

KERN_DIR = "${kernel.dev}/lib/modules/${kernel.modDirVersion}/build";
Expand Down
9 changes: 2 additions & 7 deletions pkgs/os-specific/linux/virtualbox/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -11,13 +11,8 @@ stdenv.mkDerivation {

KERN_DIR = "${kernel.dev}/lib/modules/${kernel.modDirVersion}/build";

makeFlags = [
"-C ${kernel.dev}/lib/modules/${kernel.modDirVersion}/build"
"INSTALL_MOD_PATH=$(out)"
];
preBuild = "makeFlagsArray+=(\"M=$(pwd)\")";
buildFlags = [ "modules" ];
installTargets = [ "modules_install" ];
makeFlags = [ "INSTALL_MOD_PATH=$(out)" ];
installTargets = [ "install" ];

enableParallelBuilding = true;

Expand Down

0 comments on commit c689671

Please sign in to comment.