Merge pull request #51878 from ambrop72/vbox-extpack-hash-fix

vboxExtpack: Fix the sha256 to be hex.
This commit is contained in:
markuskowa 2018-12-11 22:40:09 +01:00 committed by GitHub
commit 3be43b7483
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -7,7 +7,11 @@ in
fetchurl rec {
name = "Oracle_VM_VirtualBox_Extension_Pack-${version}.vbox-extpack";
url = "https://download.virtualbox.org/virtualbox/${version}/${name}";
sha256 = "1vria59m7xr521hp2sakfihv8282xcfd5hl6dr1gbcjicmk514kp";
sha256 =
# Manually sha256sum the extensionPack file, must be hex!
# Thus do not use `nix-prefetch-url` but instead plain old `sha256sum`.
let value = "779250666551b2f5426e86c2d21ceb0209b46174536971611025f753535131ef";
in assert (builtins.stringLength value) == 64; value;
meta = {
description = "Oracle Extension pack for VirtualBox";