diff options
author | Doron Behar <doron.behar@gmail.com> | 2024-05-02 17:37:44 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-05-02 17:37:44 +0300 |
commit | 50a655b9bd077b28b377fc2170f906ed3805d5bc (patch) | |
tree | 4c749b1e93018292adf130135ce6f13a1143b078 /pkgs/applications/radio/gnuradio | |
parent | 577f71035bbe230a6681178331cab6a4aeadf19d (diff) | |
parent | caacdcc33b1bf16de30c8ac5d62bbbeb33b35ca3 (diff) |
Merge pull request #307435 from doronbehar/pkg/uhd-python
uhd: fix python api feature
Diffstat (limited to 'pkgs/applications/radio/gnuradio')
-rw-r--r-- | pkgs/applications/radio/gnuradio/wrapper.nix | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/pkgs/applications/radio/gnuradio/wrapper.nix b/pkgs/applications/radio/gnuradio/wrapper.nix index ac08d17397fa7..fdaa76f6f7e8e 100644 --- a/pkgs/applications/radio/gnuradio/wrapper.nix +++ b/pkgs/applications/radio/gnuradio/wrapper.nix @@ -58,6 +58,10 @@ let # may wish to wrap GR without python support. pythonPkgs = extraPythonPackages ++ [ (unwrapped.python.pkgs.toPythonModule unwrapped) ] + ++ unwrapped.passthru.uhd.pythonPath + ++ lib.optionals (unwrapped.passthru.uhd.pythonPath != []) [ + (unwrapped.python.pkgs.toPythonModule unwrapped.passthru.uhd) + ] # Add the extraPackages as python modules as well ++ (builtins.map unwrapped.python.pkgs.toPythonModule extraPackages) ++ lib.flatten (lib.mapAttrsToList ( |