mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-23 23:43:30 +00:00
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:
parent
2d08e55e9b
commit
6a4744a094
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user