diff options
author | Bjørn Forsman <bjorn.forsman@gmail.com> | 2022-05-21 12:10:54 +0200 |
---|---|---|
committer | Bjørn Forsman <bjorn.forsman@gmail.com> | 2022-05-21 12:56:23 +0200 |
commit | 8f254b8107ba70ca189e335652f685374c74ed00 (patch) | |
tree | 0925d16fec50404e201615c5bec8a0506a07423f /pkgs/applications/radio/gqrx/default.nix | |
parent | dd0260ccc9b0306ca735ea18aef4df660193de1d (diff) |
gqrx: add wrapGAppsHook
Fixes saving settings on non-NixOS systems ("No GSettings schemas are installed on the system"). Fix https://github.com/NixOS/nixpkgs/issues/173848.
Diffstat (limited to 'pkgs/applications/radio/gqrx/default.nix')
-rw-r--r-- | pkgs/applications/radio/gqrx/default.nix | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/pkgs/applications/radio/gqrx/default.nix b/pkgs/applications/radio/gqrx/default.nix index d138dd350c04c..8dcc9ca65d45d 100644 --- a/pkgs/applications/radio/gqrx/default.nix +++ b/pkgs/applications/radio/gqrx/default.nix @@ -9,6 +9,7 @@ , fftwFloat , alsa-lib , libjack2 +, wrapGAppsHook # drivers (optional): , rtl-sdr , hackrf @@ -36,6 +37,7 @@ gnuradio3_8Minimal.pkgs.mkDerivation rec { cmake pkg-config qt5.wrapQtAppsHook + wrapGAppsHook ]; buildInputs = [ gnuradio3_8Minimal.unwrapped.log4cpp @@ -67,6 +69,12 @@ gnuradio3_8Minimal.pkgs.mkDerivation rec { "-DLINUX_AUDIO_BACKEND=${audioBackend}" ]; + # Prevent double-wrapping, inject wrapper args manually instead. + dontWrapGApps = true; + preFixup = '' + qtWrapperArgs+=("''${gappsWrapperArgs[@]}") + ''; + meta = with lib; { description = "Software defined radio (SDR) receiver"; longDescription = '' |