nano-wallet: fix Qt wrapping

This commit is contained in:
Jaakko Luttinen 2019-09-08 19:41:05 +03:00
parent e38a36094b
commit fa0b1870d1
No known key found for this signature in database
GPG key ID: 7B1CE13152E6B964

View file

@ -1,4 +1,5 @@
{lib, stdenv, fetchFromGitHub, cmake, pkgconfig, boost, libGL, qtbase}: { lib, stdenv, fetchFromGitHub, cmake, pkgconfig, wrapQtAppsHook, boost, libGL
, qtbase}:
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
@ -32,7 +33,7 @@ stdenv.mkDerivation rec {
optionToFlag = name: value: "-D${name}=${value}"; optionToFlag = name: value: "-D${name}=${value}";
in lib.mapAttrsToList optionToFlag options; in lib.mapAttrsToList optionToFlag options;
nativeBuildInputs = [ cmake pkgconfig ]; nativeBuildInputs = [ cmake pkgconfig wrapQtAppsHook ];
buildInputs = [ boost libGL qtbase ]; buildInputs = [ boost libGL qtbase ];
buildPhase = '' buildPhase = ''