sqlitebrowser: fix darwin build

This commit is contained in:
Kira Bruneau 2021-11-09 21:35:37 -05:00
parent 05abd836d2
commit 73df68c1ab

View File

@ -1,5 +1,6 @@
{ mkDerivation, lib, fetchFromGitHub, cmake
, qtbase, qttools, sqlcipher, wrapGAppsHook }:
{ lib, stdenv, mkDerivation, fetchFromGitHub, cmake
, qtbase, qttools, sqlcipher, wrapGAppsHook, qtmacextras
}:
mkDerivation rec {
pname = "sqlitebrowser";
@ -16,7 +17,7 @@ mkDerivation rec {
# but qscintilla is currently in a bit of a mess as some consumers expect a
# -qt4 or -qt5 prefix while others do not.
# We *really* should get that cleaned up.
buildInputs = [ qtbase sqlcipher ];
buildInputs = [ qtbase sqlcipher ] ++ lib.optionals stdenv.isDarwin [ qtmacextras ];
nativeBuildInputs = [ cmake qttools wrapGAppsHook ];