From a26168ff46e78d308d6024af9c303f1e0d4c5311 Mon Sep 17 00:00:00 2001 From: Bjørn Forsman Date: Wed, 7 Aug 2019 20:32:45 +0200 Subject: gqrx: use qt5's mkDerivation Fixes qt.qpa.plugin: Could not find the Qt platform plugin "xcb" in "" This application failed to start because no Qt platform plugin could be initialized. Reinstalling the application may fix this problem. See https://github.com/NixOS/nixpkgs/issues/65399 --- pkgs/applications/radio/gqrx/default.nix | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'pkgs/applications/radio/gqrx') diff --git a/pkgs/applications/radio/gqrx/default.nix b/pkgs/applications/radio/gqrx/default.nix index 1258dd32b9f5..cd5f8b0db9e6 100644 --- a/pkgs/applications/radio/gqrx/default.nix +++ b/pkgs/applications/radio/gqrx/default.nix @@ -1,4 +1,5 @@ { stdenv, fetchFromGitHub, cmake, qtbase, qtsvg, gnuradio, boost, gr-osmosdr +, mkDerivation # drivers (optional): , rtl-sdr, hackrf , pulseaudioSupport ? true, libpulseaudio @@ -6,7 +7,7 @@ assert pulseaudioSupport -> libpulseaudio != null; -stdenv.mkDerivation rec { +mkDerivation rec { name = "gqrx-${version}"; version = "2.11.5"; -- cgit 1.4.1