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 a new issue