Merge pull request #145299 from kira-bruneau/sqlitebrowser

sqlitebrowser: fix darwin build
This commit is contained in:
Domen Kožar 2021-11-09 22:55:54 -06:00 committed by GitHub
commit b4f7c6742c
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

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 ];