···21 buildType = "release";22 # Use maintainers/scripts/update.nix to update the version and all related hashes or23 # change the hashes in extpack.nix and guest-additions/default.nix as well manually.24- version = "6.1.4";2526 iasl' = iasl.overrideAttrs (old: rec {27 inherit (old) pname;···3839 src = fetchurl {40 url = "https://download.virtualbox.org/virtualbox/${version}/VirtualBox-${version}.tar.bz2";41- sha256 = "59f8f5774473f593e3eb5940e2a337e0674bcd9854164b2578fd43f896260c99";42 };4344 outputs = [ "out" "modsrc" ];···107 postPatch = ''108 sed -i -e 's|/sbin/ifconfig|${nettools}/bin/ifconfig|' \109 src/VBox/HostDrivers/adpctl/VBoxNetAdpCtl.cpp0000110 '';111112 # first line: ugly hack, and it isn't yet clear why it's a problem
···21 buildType = "release";22 # Use maintainers/scripts/update.nix to update the version and all related hashes or23 # change the hashes in extpack.nix and guest-additions/default.nix as well manually.24+ version = "6.1.6";2526 iasl' = iasl.overrideAttrs (old: rec {27 inherit (old) pname;···3839 src = fetchurl {40 url = "https://download.virtualbox.org/virtualbox/${version}/VirtualBox-${version}.tar.bz2";41+ sha256 = "b031c30d770f28c5f884071ad933e8c1f83e65b93aaba03a4012077c1d90a54f";42 };4344 outputs = [ "out" "modsrc" ];···107 postPatch = ''108 sed -i -e 's|/sbin/ifconfig|${nettools}/bin/ifconfig|' \109 src/VBox/HostDrivers/adpctl/VBoxNetAdpCtl.cpp110+ '' + optionalString headless ''111+ # Fix compile error in version 6.1.6112+ substituteInPlace src/VBox/HostServices/SharedClipboard/VBoxSharedClipboardSvc-x11-stubs.cpp \113+ --replace PSHCLFORMATDATA PSHCLFORMATS114 '';115116 # first line: ugly hack, and it isn't yet clear why it's a problem
···12 # Manually sha256sum the extensionPack file, must be hex!13 # Thus do not use `nix-prefetch-url` but instead plain old `sha256sum`.14 # Checksums can also be found at https://www.virtualbox.org/download/hashes/${version}/SHA256SUMS15- let value = "3b73798d776ff223ea8025b1a45001762f8d4e5bcd1ea61449773c1249935800";16 in assert (builtins.stringLength value) == 64; value;1718 meta = {
···12 # Manually sha256sum the extensionPack file, must be hex!13 # Thus do not use `nix-prefetch-url` but instead plain old `sha256sum`.14 # Checksums can also be found at https://www.virtualbox.org/download/hashes/${version}/SHA256SUMS15+ let value = "80b96b4b51a502141f6a8981f1493ade08a00762622c39e48319e5b122119bf3";16 in assert (builtins.stringLength value) == 64; value;1718 meta = {