about summary refs log tree commit diff
path: root/pkgs/applications/radio/gnuradio/wrapper.nix
diff options
context:
space:
mode:
authorgithub-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>2024-05-02 18:01:05 +0000
committerGitHub <noreply@github.com>2024-05-02 18:01:05 +0000
commit31135daf485709c22c7c64f6cddfd436731cb590 (patch)
tree1e1e859b59a4c8948db34d42439b5599fdba6d3e /pkgs/applications/radio/gnuradio/wrapper.nix
parent7e5eff56a35b2d87cb2bd2802a3aea9d0f761d0a (diff)
parent4c704748b3f2dc351cfb7168793edd84837064a6 (diff)
Merge master into staging-next
Diffstat (limited to 'pkgs/applications/radio/gnuradio/wrapper.nix')
-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 9e2430334231c..9ec00058f1b8c 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 (