From f6763cc130d72e5ce81265a12a82b3171af60a7c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bj=C3=B8rn=20Forsman?= Date: Wed, 7 Aug 2019 20:34:49 +0200 Subject: [PATCH] v4l-utils: 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/os-specific/linux/v4l-utils/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/os-specific/linux/v4l-utils/default.nix b/pkgs/os-specific/linux/v4l-utils/default.nix index 3b5b08ff084c..ede9fa682809 100644 --- a/pkgs/os-specific/linux/v4l-utils/default.nix +++ b/pkgs/os-specific/linux/v4l-utils/default.nix @@ -1,4 +1,4 @@ -{ stdenv, lib, fetchurl, pkgconfig, perl +{ stdenv, lib, fetchurl, pkgconfig, perl, mkDerivation , libjpeg, udev , withUtils ? true , withGUI ? true, alsaLib, libX11, qtbase, libGLU @@ -6,7 +6,7 @@ # See libv4l in all-packages.nix for the libs only (overrides alsa, libX11 & QT) -stdenv.mkDerivation rec { +mkDerivation rec { name = "v4l-utils-${version}"; version = "1.16.6";