uhd: switch to python3 by default

This commit is contained in:
Doron Behar
2020-04-05 10:35:22 +02:00
committed by Bjørn Forsman
parent 7da8a30a64
commit 0ba95d0fc2
+2 -2
View File
@@ -8,7 +8,7 @@
, enableLibuhd_C_api ? true , enableLibuhd_C_api ? true
# requires numpy # requires numpy
, enableLibuhd_Python_api ? false , enableLibuhd_Python_api ? false
, python ? null , python3 ? null
, enableExamples ? false , enableExamples ? false
, enableUtils ? false , enableUtils ? false
, enableLiberio ? false , enableLiberio ? false
@@ -87,7 +87,7 @@ stdenv.mkDerivation rec {
; ;
# Python + Mako are always required for the build itself but not necessary for runtime. # Python + Mako are always required for the build itself but not necessary for runtime.
pythonEnv = python.withPackages (ps: with ps; [ Mako ] pythonEnv = python3.withPackages (ps: with ps; [ Mako ]
++ optionals (enableLibuhd_Python_api) [ numpy setuptools ] ++ optionals (enableLibuhd_Python_api) [ numpy setuptools ]
++ optionals (enableUtils) [ requests six ] ++ optionals (enableUtils) [ requests six ]
); );