virtualbox: move extensionPack from meta to passthru

This commit is contained in:
Herwig Hochleitner 2017-10-29 02:03:12 +02:00
parent 443d1f2e6e
commit 2ede55a37b

View file

@ -190,13 +190,15 @@ in stdenv.mkDerivation {
cp -rv out/linux.*/${buildType}/bin/src "$modsrc"
'';
passthru = { inherit version; /* for guest additions */ };
passthru = {
inherit version; # for guest additions
inherit extensionPack; # for inclusion in profile to prevent gc
};
meta = {
description = "PC emulator";
homepage = http://www.virtualbox.org/;
maintainers = [ lib.maintainers.sander ];
platforms = lib.platforms.linux;
inherit extensionPack;
};
}