···18 # revision/hash as well. See
19 # http://download.virtualbox.org/virtualbox/${version}/SHA256SUMS
20 # for hashes.
21- version = "5.0.20";
2223 forEachModule = action: ''
24 for mod in \
···39 '';
4041 # See https://github.com/NixOS/nixpkgs/issues/672 for details
42- extpackRevision = "106931";
43 extensionPack = requireFile rec {
44 name = "Oracle_VM_VirtualBox_Extension_Pack-${version}-${extpackRevision}.vbox-extpack";
45 # IMPORTANT: Hash must be base16 encoded because it's used as an input to
46 # VBoxExtPackHelperApp!
47- sha256 = "11f40842a56ebb17da1bbc82a21543e66108a5330ebd54ded68038a990aa071b";
48 message = ''
49 In order to use the extension pack, you need to comply with the VirtualBox Personal Use
50 and Evaluation License (PUEL) available at:
···6364 src = fetchurl {
65 url = "http://download.virtualbox.org/virtualbox/${version}/VirtualBox-${version}.tar.bz2";
66- sha256 = "0asc5n9an2dzvrd4isjz3vac2h0sm6dbzvrc36hn8ag2ma3hg75g";
67 };
6869 buildInputs =
···97 set +x
98 '';
99100- patches = optional enableHardening ./hardened.patch
101- ++ [
102- (fetchurl rec {
103- name = "fix-detect-gcc-5.4.patch";
104- url = "https://bugs.debian.org/cgi-bin/bugreport.cgi?att=1;bug=827193;filename=${name};msg=5";
105- sha256 = "0y6v5dc6fqj9iv27cl8q2g87v1kxg19129mpas4vjg7g0529v4g9";
106- })
107- ];
108109 postPatch = ''
110 sed -i -e 's|/sbin/ifconfig|${nettools}/bin/ifconfig|' \
···18 # revision/hash as well. See
19 # http://download.virtualbox.org/virtualbox/${version}/SHA256SUMS
20 # for hashes.
21+ version = "5.0.26";
2223 forEachModule = action: ''
24 for mod in \
···39 '';
4041 # See https://github.com/NixOS/nixpkgs/issues/672 for details
42+ extpackRevision = "108824";
43 extensionPack = requireFile rec {
44 name = "Oracle_VM_VirtualBox_Extension_Pack-${version}-${extpackRevision}.vbox-extpack";
45 # IMPORTANT: Hash must be base16 encoded because it's used as an input to
46 # VBoxExtPackHelperApp!
47+ sha256 = "2f2302c7ba3d00a1258fe8e7767a6eb08dccdc3c31f6e3eeb74063c2c268b104";
48 message = ''
49 In order to use the extension pack, you need to comply with the VirtualBox Personal Use
50 and Evaluation License (PUEL) available at:
···6364 src = fetchurl {
65 url = "http://download.virtualbox.org/virtualbox/${version}/VirtualBox-${version}.tar.bz2";
66+ sha256 = "78dec1369d2c8feefea3c682d95e76c0e99414c56626388035cf4061d4dad62e";
67 };
6869 buildInputs =
···97 set +x
98 '';
99100+ patches = optional enableHardening ./hardened.patch;
0000000101102 postPatch = ''
103 sed -i -e 's|/sbin/ifconfig|${nettools}/bin/ifconfig|' \