about summary refs log tree commit diff
path: root/pkgs/applications/radio/gnuradio
diff options
context:
space:
mode:
authorDoron Behar <doron.behar@gmail.com>2024-05-02 17:37:44 +0300
committerGitHub <noreply@github.com>2024-05-02 17:37:44 +0300
commit50a655b9bd077b28b377fc2170f906ed3805d5bc (patch)
tree4c749b1e93018292adf130135ce6f13a1143b078 /pkgs/applications/radio/gnuradio
parent577f71035bbe230a6681178331cab6a4aeadf19d (diff)
parentcaacdcc33b1bf16de30c8ac5d62bbbeb33b35ca3 (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.nix4
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 (