gnuradio: force wxgui and pygtk check to true

enables gnuradio-companion compilation in headless/nix-multiuser environment

+3
+3
pkgs/applications/misc/gnuradio/default.nix
··· 65 66 setupHook = [ grcSetupHook ]; 67 68 preConfigure = '' 69 export NIX_CFLAGS_COMPILE="$NIX_CFLAGS_COMPILE -Wno-unused-variable -std=c++11" 70 ''; 71 72 # Framework path needed for qwt6_qt4 but not qwt5
··· 65 66 setupHook = [ grcSetupHook ]; 67 68 + # patch wxgui and pygtk check due to python importerror in a headless environment 69 preConfigure = '' 70 export NIX_CFLAGS_COMPILE="$NIX_CFLAGS_COMPILE -Wno-unused-variable -std=c++11" 71 + sed -i 's/.*wx\.version.*/set(WX_FOUND TRUE)/g' gr-wxgui/CMakeLists.txt 72 + sed -i 's/.*pygtk_version.*/set(PYGTK_FOUND TRUE)/g' grc/CMakeLists.txt 73 ''; 74 75 # Framework path needed for qwt6_qt4 but not qwt5