wrapQtAppsHook: Remove ad hoc Qt wrappers
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
{ stdenv, makeWrapper, bash-completion, cmake, fetchFromGitHub, hidapi, libusb1, pkgconfig
|
||||
, qtbase, qttranslations, qtsvg }:
|
||||
{ stdenv, bash-completion, cmake, fetchFromGitHub, hidapi, libusb1, pkgconfig
|
||||
, qtbase, qttranslations, qtsvg, wrapQtAppsHook }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
name = "nitrokey-app-${version}";
|
||||
@@ -29,15 +29,10 @@ stdenv.mkDerivation rec {
|
||||
nativeBuildInputs = [
|
||||
cmake
|
||||
pkgconfig
|
||||
makeWrapper
|
||||
wrapQtAppsHook
|
||||
];
|
||||
cmakeFlags = "-DCMAKE_BUILD_TYPE=Release";
|
||||
|
||||
postFixup = ''
|
||||
wrapProgram $out/bin/nitrokey-app \
|
||||
--prefix QT_PLUGIN_PATH : "${qtbase}/${qtbase.qtPluginPrefix}"
|
||||
'';
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
description = "Provides extra functionality for the Nitrokey Pro and Storage";
|
||||
longDescription = ''
|
||||
|
||||
Reference in New Issue
Block a user