summary refs log tree commit diff
path: root/pkgs/applications/misc/gnuradio
diff options
context:
space:
mode:
authorLuke Adams <luke.adams@belljar.io>2017-07-14 18:24:07 -0500
committerLuke Adams <luke.adams@belljar.io>2017-11-22 16:42:20 -0600
commitb9c426c5a6748a5b6a994c7680c31f1f124839a7 (patch)
tree612cc4f1ed7c9f651273481a1d1858833fb13bc4 /pkgs/applications/misc/gnuradio
parentba49dfb318dd892677788b9850a2717cdbf8e215 (diff)
downloadnixlib-b9c426c5a6748a5b6a994c7680c31f1f124839a7.tar
nixlib-b9c426c5a6748a5b6a994c7680c31f1f124839a7.tar.gz
nixlib-b9c426c5a6748a5b6a994c7680c31f1f124839a7.tar.bz2
nixlib-b9c426c5a6748a5b6a994c7680c31f1f124839a7.tar.lz
nixlib-b9c426c5a6748a5b6a994c7680c31f1f124839a7.tar.xz
nixlib-b9c426c5a6748a5b6a994c7680c31f1f124839a7.tar.zst
nixlib-b9c426c5a6748a5b6a994c7680c31f1f124839a7.zip
gnuradio: use qwt6_qt4 instead of qwt5
Diffstat (limited to 'pkgs/applications/misc/gnuradio')
-rw-r--r--pkgs/applications/misc/gnuradio/default.nix4
1 files changed, 4 insertions, 0 deletions
diff --git a/pkgs/applications/misc/gnuradio/default.nix b/pkgs/applications/misc/gnuradio/default.nix
index 338763d980e2..71b61391535a 100644
--- a/pkgs/applications/misc/gnuradio/default.nix
+++ b/pkgs/applications/misc/gnuradio/default.nix
@@ -54,6 +54,10 @@ stdenv.mkDerivation rec {
     export NIX_CFLAGS_COMPILE="$NIX_CFLAGS_COMPILE -Wno-unused-variable -std=c++11"
   '';
 
+  # Framework path needed for qwt6_qt4 but not qwt5
+  cmakeFlags =
+    stdenv.lib.optionals stdenv.isDarwin [ "-DCMAKE_FRAMEWORK_PATH=${qwt}/lib" ];
+
   # - Ensure we get an interactive backend for matplotlib. If not the gr_plot_*
   #   programs will not display anything. Yes, $MATPLOTLIBRC must point to the
   #   *dirname* where matplotlibrc is located, not the file itself.