@@ -1,4 +1,4 @@
1−{ stdenv, cmake, pkgconfig, SDL2, qtbase, qttools, xorg, fetchFromGitHub }:
1+{ stdenv, cmake, pkgconfig, SDL2, qtbase, qttools, makeQtWrapper, xorg, fetchFromGitHub }:
22
33stdenv.mkDerivation rec {
44 name = "antimicro-${version}";
@@ -12,9 +12,13 @@ stdenv.mkDerivation rec {
1212 };
1313
1414 buildInputs = [
15− cmake pkgconfig SDL2 qtbase qttools xorg.libXtst
15+ cmake pkgconfig SDL2 qtbase qttools xorg.libXtst makeQtWrapper
1616 ];
1717
18+ postInstall = ''
19+ wrapQtProgram $out/bin/antimicro
20+ '';
21+
1822 meta = with stdenv.lib; {
1923 description = "GUI for mapping keyboard and mouse controls to a gamepad";
2024 inherit (src.meta) homepage;