Skip to content

Commit

Permalink
gqrx: use qt5's mkDerivation
Browse files Browse the repository at this point in the history
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 NixOS#65399
  • Loading branch information
bjornfor committed Aug 7, 2019
1 parent 55aa81a commit a26168f
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion pkgs/applications/radio/gqrx/default.nix
Original file line number Diff line number Diff line change
@@ -1,12 +1,13 @@
{ stdenv, fetchFromGitHub, cmake, qtbase, qtsvg, gnuradio, boost, gr-osmosdr
, mkDerivation
# drivers (optional):
, rtl-sdr, hackrf
, pulseaudioSupport ? true, libpulseaudio
}:

assert pulseaudioSupport -> libpulseaudio != null;

stdenv.mkDerivation rec {
mkDerivation rec {
name = "gqrx-${version}";
version = "2.11.5";

Expand Down

0 comments on commit a26168f

Please sign in to comment.