Fix build fail on nix flake.

This should fix nix build fail caused by introduced new qt module.

Signed-off-by: oluceps <i@oluceps.uk>
This commit is contained in:
oluceps 2023-01-05 21:55:05 +08:00
parent 21e6093520
commit eb390814d8
No known key found for this signature in database
GPG Key ID: ECBE55269336CCCD

View File

@ -17,7 +17,7 @@
, msaClientID ? "" , msaClientID ? ""
, extraJDKs ? [ ] , extraJDKs ? [ ]
, extra-cmake-modules , extra-cmake-modules
, qtcharts
# flake # flake
, self , self
, version , version
@ -51,7 +51,7 @@ stdenv.mkDerivation rec {
src = lib.cleanSource self; src = lib.cleanSource self;
nativeBuildInputs = [ cmake extra-cmake-modules ninja jdk ghc_filesystem file wrapQtAppsHook ]; nativeBuildInputs = [ cmake extra-cmake-modules ninja jdk ghc_filesystem file wrapQtAppsHook ];
buildInputs = [ qtbase quazip zlib ]; buildInputs = [ qtbase quazip zlib qtcharts ];
dontWrapQtApps = true; dontWrapQtApps = true;