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
featuresInfo
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
dontWrapPythonPrograms = true;