virtualbox: use python2
and remove python buildInput. Python should only be added when `pythonBindings` is true.
This commit is contained in:
parent
cd351e25aa
commit
95c54db397
@ -4,7 +4,7 @@
|
||||
, which, alsaLib, curl, libvpx, gawk, nettools, dbus
|
||||
, xorriso, makeself, perl, pkgconfig
|
||||
, javaBindings ? false, jdk ? null
|
||||
, pythonBindings ? false, python ? null
|
||||
, pythonBindings ? false, python2 ? null
|
||||
, enableExtensionPack ? false, requireFile ? null, patchelf ? null, fakeroot ? null
|
||||
, pulseSupport ? false, libpulseaudio ? null
|
||||
, enableHardening ? false
|
||||
@ -15,6 +15,7 @@
|
||||
with stdenv.lib;
|
||||
|
||||
let
|
||||
python = python2;
|
||||
buildType = "release";
|
||||
|
||||
inherit (importJSON ./upstream-info.json) version extpackRev extpack main;
|
||||
@ -48,7 +49,7 @@ in stdenv.mkDerivation {
|
||||
|
||||
buildInputs =
|
||||
[ iasl dev86 libxslt libxml2 xproto libX11 libXext libXcursor libIDL
|
||||
libcap glib lvm2 python alsaLib curl libvpx pam xorriso makeself perl
|
||||
libcap glib lvm2 alsaLib curl libvpx pam xorriso makeself perl
|
||||
pkgconfig which libXmu libpng patchelfUnstable ]
|
||||
++ optional javaBindings jdk
|
||||
++ optional pythonBindings python
|
||||
|
Loading…
Reference in New Issue
Block a user