gnuradio: Remove qt5 and gtk from passthru if not used

Attributes such as gnuradioMinimal built without gui support should not
have the `qt` and `gtk` attributes in it's passthru.
This commit is contained in:
Doron Behar 2020-12-15 12:31:32 +02:00
parent 2d08e55e9b
commit 6a4744a094

View File

@ -103,9 +103,11 @@ rec {
features features
featuresInfo featuresInfo
python python
qt
gtk
; ;
} // lib.optionalAttrs (hasFeature "gr-qtgui" features) {
inherit qt;
} // lib.optionalAttrs (hasFeature "gnuradio-companion" features) {
inherit gtk;
}; };
# Wrapping is done with an external wrapper # Wrapping is done with an external wrapper
dontWrapPythonPrograms = true; dontWrapPythonPrograms = true;