diff options
author | Doron Behar <doron.behar@gmail.com> | 2020-12-15 12:31:32 +0200 |
---|---|---|
committer | Doron Behar <doron.behar@gmail.com> | 2021-03-13 12:46:59 +0200 |
commit | 6a4744a09436803e6a0865fe7c2ed2e3c4cd5497 (patch) | |
tree | 97287d96b38672da8d313449bf9e1fbf1cf34bdd /pkgs/applications/radio/gnuradio/shared.nix | |
parent | 2d08e55e9b8f96cf00466bd55fe0d132f1abd008 (diff) | |
download | nixpkgs-6a4744a09436803e6a0865fe7c2ed2e3c4cd5497.tar nixpkgs-6a4744a09436803e6a0865fe7c2ed2e3c4cd5497.tar.gz nixpkgs-6a4744a09436803e6a0865fe7c2ed2e3c4cd5497.tar.bz2 nixpkgs-6a4744a09436803e6a0865fe7c2ed2e3c4cd5497.tar.lz nixpkgs-6a4744a09436803e6a0865fe7c2ed2e3c4cd5497.tar.xz nixpkgs-6a4744a09436803e6a0865fe7c2ed2e3c4cd5497.tar.zst nixpkgs-6a4744a09436803e6a0865fe7c2ed2e3c4cd5497.zip |
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.
Diffstat (limited to 'pkgs/applications/radio/gnuradio/shared.nix')
-rw-r--r-- | pkgs/applications/radio/gnuradio/shared.nix | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/pkgs/applications/radio/gnuradio/shared.nix b/pkgs/applications/radio/gnuradio/shared.nix index 9b354d5b960..271819e6072 100644 --- a/pkgs/applications/radio/gnuradio/shared.nix +++ b/pkgs/applications/radio/gnuradio/shared.nix @@ -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; |