citra: add wrapQtAppsHook, making the qt interface work

This commit is contained in:
superwhiskers 2021-11-01 23:00:31 -05:00 committed by Jonathan Ringer
parent cbb7455d73
commit 2e4c0d21eb

View File

@ -1,4 +1,5 @@
{ mkDerivation, lib, fetchgit, cmake, SDL2, qtbase, qtmultimedia, boost }:
{ mkDerivation, lib, fetchgit, cmake, SDL2, qtbase, qtmultimedia, boost
, wrapQtAppsHook }:
mkDerivation {
pname = "citra";
@ -11,11 +12,9 @@ mkDerivation {
sha256 = "1bbg8cwrgncmcavqpj3yp4dbfkip1i491krp6dcpgvsd5yfr7f0v";
};
nativeBuildInputs = [ cmake ];
nativeBuildInputs = [ cmake wrapQtAppsHook ];
buildInputs = [ SDL2 qtbase qtmultimedia boost ];
dontWrapQtApps = true;
preConfigure = ''
# Trick configure system.
sed -n 's,^ *path = \(.*\),\1,p' .gitmodules | while read path; do