wrapQtAppsHook: Remove ad hoc Qt wrappers
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
{ stdenv, lib, fetchFromGitHub, cmake, pkgconfig, makeWrapper
|
||||
{ stdenv, lib, fetchFromGitHub, cmake, pkgconfig, wrapQtAppsHook
|
||||
, qtbase, libuuid, libcap, uwsgi, grantlee, pcre
|
||||
}:
|
||||
|
||||
@@ -13,7 +13,7 @@ stdenv.mkDerivation rec {
|
||||
sha256 = "09cgfpr2k1jp98h1ahxqm5lmv3qbk0bcxpqpill6n5wmq2c8kl8b";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ cmake pkgconfig makeWrapper ];
|
||||
nativeBuildInputs = [ cmake pkgconfig wrapQtAppsHook ];
|
||||
buildInputs = [ qtbase libuuid libcap uwsgi grantlee pcre ];
|
||||
|
||||
cmakeFlags = [
|
||||
@@ -31,12 +31,6 @@ stdenv.mkDerivation rec {
|
||||
unset LD_LIBRARY_PATH
|
||||
'';
|
||||
|
||||
postInstall = ''
|
||||
for prog in $out/bin/*; do
|
||||
wrapProgram "$prog" --set QT_PLUGIN_PATH '${qtbase}/${qtbase.qtPluginPrefix}'
|
||||
done
|
||||
'';
|
||||
|
||||
meta = with lib; {
|
||||
description = "C++ Web Framework built on top of Qt";
|
||||
homepage = https://cutelyst.org/;
|
||||
|
||||
Reference in New Issue
Block a user