git.iko.soy/typeable/nixpkgs
on master help sign in
virtualbox: move extensionPack from meta to passthru
commit2ede55a37b1b6c93cd776ec4032458e656dfd70a authorHerwig Hochleitner <herwig@bendlas.net> dateSun 29 Oct 2017, 02:03 (9 years ago) parent443d1f2
1 file changed+4−2
pkgs/applications/virtualization/virtualbox/default.nix+4−2
pkgs/applications/virtualization/virtualbox/default.nix+4−2
@@ -190,13 +190,15 @@ in stdenv.mkDerivation {
190190 cp -rv out/linux.*/${buildType}/bin/src "$modsrc"
191191 '';
192192
193− passthru = { inherit version; /* for guest additions */ };
193+ passthru = {
194+ inherit version; # for guest additions
195+ inherit extensionPack; # for inclusion in profile to prevent gc
196+ };
194197
195198 meta = {
196199 description = "PC emulator";
197200 homepage = http://www.virtualbox.org/;
198201 maintainers = [ lib.maintainers.sander ];
199202 platforms = lib.platforms.linux;
200− inherit extensionPack;
201203 };
202204}