qvge: don't use libsForQt5.mkDerivation
commitfedc3db7ba5a6f29f2518db4c01fcda87ef0c487
authorDmitry Kalinkin <dmitry.kalinkin@gmail.com>
dateSat 20 Nov 2021, 14:18 (5 years ago)
parent74cb071
pkgs/applications/graphics/qvge/default.nix+4−3
@@ -1,14 +1,15 @@
11{ lib
2−, mkDerivation
2+, stdenv
33, fetchFromGitHub
44, substituteAll
5+, wrapQtAppsHook
56, qmake
67, qtsvg
78, qtx11extras
89, graphviz
910}:
1011
11−mkDerivation rec {
12+stdenv.mkDerivation rec {
1213 pname = "qvge";
1314 version = "0.6.3";
1415
@@ -26,7 +27,7 @@ mkDerivation rec {
2627 inherit graphviz;
2728 });
2829
29− nativeBuildInputs = [ qmake ];
30+ nativeBuildInputs = [ wrapQtAppsHook qmake ];
3031
3132 buildInputs = if stdenv.isDarwin then [ qtsvg ] else [ qtx11extras ];
3233