mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-25 00:12:56 +00:00
gnuradio: also use PYTHONPATH from runtime environment
So that extra modules can be used without rebuilding (e.g. in gnuradio-companion). PYTHONPATH from the environment is added *after* the default deps.
This commit is contained in:
parent
12b50bb9f6
commit
d23ea79667
@ -53,7 +53,7 @@ stdenv.mkDerivation rec {
|
||||
|
||||
for file in "$out"/bin/* "$out"/share/gnuradio/examples/*/*.py; do
|
||||
wrapProgram "$file" \
|
||||
--set PYTHONPATH $PYTHONPATH:$(toPythonPath "$out") \
|
||||
--prefix PYTHONPATH : $PYTHONPATH:$(toPythonPath "$out") \
|
||||
--set MATPLOTLIBRC "$out/share/gnuradio"
|
||||
done
|
||||
'';
|
||||
|
Loading…
Reference in New Issue
Block a user