gnuradio: wrapProgram: set DYLD_FRAMEWORK_PATH

This prevents CoreFoundation-related crashes
This commit is contained in:
Luke Adams 2017-07-14 18:31:53 -05:00
parent e81d84fcea
commit 3cdf4308b2

View file

@ -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
'';