diff options
author | Michael Weiss <dev.primeos@gmail.com> | 2020-03-27 14:47:48 +0100 |
---|---|---|
committer | Jon <jonringer@users.noreply.github.com> | 2020-03-27 10:49:52 -0700 |
commit | 0950324466d7d978dadccf8dee58c89344d8326b (patch) | |
tree | b631f3381f45c3af48c8344cae1a8a6e995323a4 /pkgs/misc/drivers | |
parent | e9aa2ef64ac52d3dca00422a3dfb54dcc7e3cc93 (diff) |
scons: Add passthru.py2 for backward compatibility
Not all packages build with Python 3, see #75877. The goal is to get rid of Python 2 but this approach ensures a smoother transition.
Diffstat (limited to 'pkgs/misc/drivers')
-rw-r--r-- | pkgs/misc/drivers/xboxdrv/default.nix | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/pkgs/misc/drivers/xboxdrv/default.nix b/pkgs/misc/drivers/xboxdrv/default.nix index e2f2bcc2f24bc..8b51060acd026 100644 --- a/pkgs/misc/drivers/xboxdrv/default.nix +++ b/pkgs/misc/drivers/xboxdrv/default.nix @@ -13,8 +13,8 @@ in stdenv.mkDerivation { }; makeFlags = [ "PREFIX=$(out)" ]; - nativeBuildInputs = [ pkgconfig ]; - buildInputs = [ scons libX11 libusb1 boost glib dbus-glib ]; + nativeBuildInputs = [ pkgconfig scons.py2 ]; + buildInputs = [ libX11 libusb1 boost glib dbus-glib ]; dontUseSconsInstall = true; meta = with stdenv.lib; { |