gnuradio: wrapProgram: set DYLD_FRAMEWORK_PATH
This prevents CoreFoundation-related crashes
This commit is contained in:
parent
e81d84fcea
commit
3cdf4308b2
1 changed files with 2 additions and 1 deletions
|
@ -74,7 +74,8 @@ stdenv.mkDerivation rec {
|
|||
for file in $(find $out/bin $out/share/gnuradio/examples -type f -executable); do
|
||||
wrapProgram "$file" \
|
||||
--prefix PYTHONPATH : $PYTHONPATH:$(toPythonPath "$out") \
|
||||
--set MATPLOTLIBRC "$out/share/gnuradio"
|
||||
--set MATPLOTLIBRC "$out/share/gnuradio" \
|
||||
${stdenv.lib.optionalString stdenv.isDarwin "--set DYLD_FRAMEWORK_PATH /System/Library/Frameworks"}
|
||||
done
|
||||
'';
|
||||
|
||||
|
|
Loading…
Reference in a new issue