citra: add `wrapQtAppsHook`, making the qt interface work

main
superwhiskers 3 years ago committed by Jonathan Ringer
parent cbb7455d73
commit 2e4c0d21eb
  1. 7
      pkgs/misc/emulators/citra/default.nix

@ -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

Loading…
Cancel
Save