Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: NixOS/nixpkgs
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: c7bcd4277cc9
Choose a base ref
...
head repository: NixOS/nixpkgs
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: c689671345f8
Choose a head ref
  • 2 commits
  • 7 files changed
  • 2 contributors

Commits on May 25, 2019

  1. virtualbox: 6.0.6 -> 6.0.8

    ambrop72 committed May 25, 2019
    Copy the full SHA
    1430e10 View commit details

Commits on May 26, 2019

  1. virtualbox: 6.0.6 -> 6.0.8 (#62067)

    virtualbox: 6.0.6 -> 6.0.8
    flokli authored May 26, 2019

    Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
    Copy the full SHA
    c689671 View commit details
10 changes: 2 additions & 8 deletions pkgs/applications/virtualization/virtualbox/default.nix
Original file line number Diff line number Diff line change
@@ -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}";

@@ -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 = ''
4 changes: 2 additions & 2 deletions pkgs/applications/virtualization/virtualbox/extpack.nix
Original file line number Diff line number Diff line change
@@ -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 = {
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
@@ -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";
9 changes: 2 additions & 7 deletions pkgs/os-specific/linux/virtualbox/default.nix
Original file line number Diff line number Diff line change
@@ -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;