From 73df68c1ab6ebe0cafd834f7317669c0a58d516c Mon Sep 17 00:00:00 2001 From: Kira Bruneau Date: Tue, 9 Nov 2021 21:35:37 -0500 Subject: [PATCH] sqlitebrowser: fix darwin build --- pkgs/development/tools/database/sqlitebrowser/default.nix | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/pkgs/development/tools/database/sqlitebrowser/default.nix b/pkgs/development/tools/database/sqlitebrowser/default.nix index 0a4df4bd21b7..aa5e2d8f6e0e 100644 --- a/pkgs/development/tools/database/sqlitebrowser/default.nix +++ b/pkgs/development/tools/database/sqlitebrowser/default.nix @@ -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 ];