diff options
author | Doron Behar <doron.behar@gmail.com> | 2020-03-09 18:57:08 +0200 |
---|---|---|
committer | Bjørn Forsman <bjorn.forsman@gmail.com> | 2020-04-05 10:35:22 +0200 |
commit | 0ba95d0fc2cc30179436ff9bac0b34c0b790734e (patch) | |
tree | 0509f4b7eeed174dfa19ef156669c16c4b2ca43f /pkgs/applications/radio | |
parent | 7da8a30a64a8e130958069343b3a5fee3e6f481e (diff) |
uhd: switch to python3 by default
Diffstat (limited to 'pkgs/applications/radio')
-rw-r--r-- | pkgs/applications/radio/uhd/default.nix | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/pkgs/applications/radio/uhd/default.nix b/pkgs/applications/radio/uhd/default.nix index 91e28977f6f99..20dec9ef28511 100644 --- a/pkgs/applications/radio/uhd/default.nix +++ b/pkgs/applications/radio/uhd/default.nix @@ -8,7 +8,7 @@ , enableLibuhd_C_api ? true # requires numpy , enableLibuhd_Python_api ? false -, python ? null +, python3 ? null , enableExamples ? false , enableUtils ? false , enableLiberio ? false @@ -87,7 +87,7 @@ stdenv.mkDerivation rec { ; # 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 (enableUtils) [ requests six ] ); |