Skip to content

Commit

Permalink
virtualbox: move extensionPack from meta to passthru
Browse files Browse the repository at this point in the history
  • Loading branch information
bendlas committed Oct 29, 2017
1 parent 443d1f2 commit 2ede55a
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions pkgs/applications/virtualization/virtualbox/default.nix
Expand Up @@ -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;
};
}

0 comments on commit 2ede55a

Please sign in to comment.