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 65 66 66 setupHook = [ grcSetupHook ]; 67 67 68 + # patch wxgui and pygtk check due to python importerror in a headless environment 68 69 preConfigure = '' 69 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 70 73 ''; 71 74 72 75 # Framework path needed for qwt6_qt4 but not qwt5