GNU Radio: Difference between revisions
imported>Chuangzhu add extraPythonPackages |
m added to Category:Applications |
||
| (One intermediate revision by one other user not shown) | |||
| Line 16: | Line 16: | ||
} | } | ||
</syntaxhighlight> | </syntaxhighlight> | ||
To directly run generated Python programs, you can use {{ic|gnuradio.pythonEnv}}. For example: | |||
<syntaxhighlight lang="bash"> | |||
$ nix-shell -p '(gnuradio.override { extraPackages = [ gnuradioPackages.osmosdr ]; }).pythonEnv' qt5.qtwayland | |||
[nix-shell:~]$ ./default.py | |||
</syntaxhighlight> | |||
[[Category:Applications]] | |||