···7272 buildType = "release";
7373 # Use maintainers/scripts/update.nix to update the version and all related hashes or
7474 # change the hashes in extpack.nix and guest-additions/default.nix as well manually.
7575- virtualboxVersion = "7.1.12";
7575+ virtualboxVersion = "7.2.0";
7676 virtualboxSubVersion = "";
7777- virtualboxSha256 = "6f9618f39168898134975f51df7c2d6d5129c0aa82b6ae11cf47f920c70df276";
7777+ virtualboxSha256 = "4f2804ff27848ea772aee6b637bb1e10ee74ec2da117c257413e2d2c4f670ba0";
78787979- kvmPatchVersion = "20250207";
8080- kvmPatchHash = "sha256-GzRLIXhzWL1NLvaGKcWVBCdvay1IxgJUE4koLX1ze7Y=";
7979+ kvmPatchVboxVersion = "7.2.0";
8080+ kvmPatchVersion = "20250903";
8181+ kvmPatchHash = "sha256-JTE9Kr+nJ6HLeDrzL2EVyDQhxzn3UsoQVIQ6zNCwioY=";
81828283 # The KVM build is not compatible to VirtualBox's kernel modules. So don't export
8384 # modsrc at all.
···231232 # No update patch disables check for update function
232233 # https://bugs.launchpad.net/ubuntu/+source/virtualbox-ose/+bug/272212
233234 (fetchpatch {
234234- url = "https://salsa.debian.org/pkg-virtualbox-team/virtualbox/-/raw/42a1ca1291fde365bfba140cb21a8a074aaccce2/debian/patches/16-no-update.patch";
235235- hash = "sha256-qM2e4DkkpmA18Z76OUsnY1MhcGb1dT2PG68JUy6fZEE=";
235235+ url = "https://salsa.debian.org/pkg-virtualbox-team/virtualbox/-/raw/8028d88e6876ca5977de13c58b54e243229efe98/debian/patches/16-no-update.patch";
236236+ hash = "sha256-AGtFsRjwd8Yw296eqX3NC2TUptAhpFTRaOMutiheQ6Y=";
236237 })
237238 ]
238239 ++ [ ./extra_symbols.patch ]
···250251 )
251252 # While the KVM patch should not break any other behavior if --with-kvm is not specified,
252253 # we don't take any chances and only apply it if people actually want to use KVM support.
253253- ++ optional enableKvm (
254254- let
255255- patchVboxVersion =
256256- # There is no updated patch for 7.1.12 yet, but the older one still applies.
257257- if finalAttrs.virtualboxVersion == "7.1.12" then "7.1.6" else finalAttrs.virtualboxVersion;
258258- in
259259- fetchpatch {
260260- name = "virtualbox-${finalAttrs.virtualboxVersion}-kvm-dev-${finalAttrs.kvmPatchVersion}.patch";
261261- url = "https://github.com/cyberus-technology/virtualbox-kvm/releases/download/dev-${finalAttrs.kvmPatchVersion}/kvm-backend-${patchVboxVersion}-dev-${finalAttrs.kvmPatchVersion}.patch";
262262- hash = finalAttrs.kvmPatchHash;
263263- }
264264- )
254254+ ++ optional enableKvm (fetchpatch {
255255+ name = "virtualbox-${finalAttrs.virtualboxVersion}-kvm-dev-${finalAttrs.kvmPatchVersion}.patch";
256256+ url = "https://github.com/cyberus-technology/virtualbox-kvm/releases/download/dev-${finalAttrs.kvmPatchVersion}/kvm-backend-${kvmPatchVboxVersion}-dev-${finalAttrs.kvmPatchVersion}.patch";
257257+ hash = finalAttrs.kvmPatchHash;
258258+ })
265259 ++ [
266260 ./qt-dependency-paths.patch
267261 # https://github.com/NixOS/nixpkgs/issues/123851
268262 ./fix-audio-driver-loading.patch
269269- ./fix-graphics-driver-loading.patch
270263 ];
271264272265 postPatch = ''
···44 virtualbox,
55}:
66let
77- virtualboxExtPackVersion = "7.1.12";
77+ virtualboxExtPackVersion = "7.2.0";
88in
99fetchurl rec {
1010 name = "Oracle_VirtualBox_Extension_Pack-${virtualboxExtPackVersion}.vbox-extpack";
···1414 # Thus do not use `nix-prefetch-url` but instead plain old `sha256sum`.
1515 # Checksums can also be found at https://www.virtualbox.org/download/hashes/${version}/SHA256SUMS
1616 let
1717- value = "c7ed97f4755988ecc05ec633475e299bbc1e0418cc3d143747a45c99df53abd3";
1717+ value = "8a44f3eeaf9bb71fab297bf4b3d38bd1bc55243f3c1a12bfb0e8d78170f949a0";
1818 in
1919 assert (builtins.stringLength value) == 64;
2020 value;