Loading pkgs/applications/radio/gnuradio/wrapper.nix +8 −4 Original line number Diff line number Diff line Loading @@ -64,10 +64,14 @@ let pythonPkgs = extraPythonPackages ++ [ (unwrapped.python.pkgs.toPythonModule unwrapped) ] ++ unwrapped.passthru.uhd.pythonPath ++ lib.optionals (unwrapped.hasFeature "gr-uhd") ( unwrapped.passthru.uhd.pythonPath # Check if uhd was built with python support, which means it should # be added as a python module too. ++ lib.optionals (unwrapped.passthru.uhd.pythonPath != [ ]) [ (unwrapped.python.pkgs.toPythonModule unwrapped.passthru.uhd) ] ) # Add the extraPackages as python modules as well ++ (map unwrapped.python.pkgs.toPythonModule extraPackages) ++ lib.flatten ( Loading Loading
pkgs/applications/radio/gnuradio/wrapper.nix +8 −4 Original line number Diff line number Diff line Loading @@ -64,10 +64,14 @@ let pythonPkgs = extraPythonPackages ++ [ (unwrapped.python.pkgs.toPythonModule unwrapped) ] ++ unwrapped.passthru.uhd.pythonPath ++ lib.optionals (unwrapped.hasFeature "gr-uhd") ( unwrapped.passthru.uhd.pythonPath # Check if uhd was built with python support, which means it should # be added as a python module too. ++ lib.optionals (unwrapped.passthru.uhd.pythonPath != [ ]) [ (unwrapped.python.pkgs.toPythonModule unwrapped.passthru.uhd) ] ) # Add the extraPackages as python modules as well ++ (map unwrapped.python.pkgs.toPythonModule extraPackages) ++ lib.flatten ( Loading