···1919let
2020 python = python3;
2121 buildType = "release";
2222- # Remember to change the extpackRev and version in extpack.nix and
2323- # guest-additions/default.nix as well.
2424- main = "59f8f5774473f593e3eb5940e2a337e0674bcd9854164b2578fd43f896260c99";
2222+ # Use maintainers/scripts/update.nix to update the version and all related hashes or
2323+ # change the hashes in extpack.nix and guest-additions/default.nix as well manually.
2524 version = "6.1.4";
26252726 iasl' = iasl.overrideAttrs (old: rec {
···39384039 src = fetchurl {
4140 url = "https://download.virtualbox.org/virtualbox/${version}/VirtualBox-${version}.tar.bz2";
4242- sha256 = main;
4141+ sha256 = "59f8f5774473f593e3eb5940e2a337e0674bcd9854164b2578fd43f896260c99";
4342 };
44434544 outputs = [ "out" "modsrc" ];
···216215 passthru = {
217216 inherit version; # for guest additions
218217 inherit extensionPack; # for inclusion in profile to prevent gc
218218+ updateScript = ./update.sh;
219219 };
220220221221 meta = {