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.
This commit is contained in:
parent
dd0260ccc9
commit
8f254b8107
@ -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 = ''
|
||||
|
Loading…
Reference in New Issue
Block a user