Skip to content

Commit

Permalink
virtualbox: use python2
Browse files Browse the repository at this point in the history
and remove python buildInput. Python should only be added when
`pythonBindings` is true.
  • Loading branch information
FRidh committed Nov 8, 2016
1 parent cd351e2 commit 95c54db
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions pkgs/applications/virtualization/virtualbox/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -15,6 +15,7 @@
with stdenv.lib;

let
python = python2;
buildType = "release";

inherit (importJSON ./upstream-info.json) version extpackRev extpack main;
Expand Down Expand Up @@ -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
Expand Down

0 comments on commit 95c54db

Please sign in to comment.