sqlitebrowser: add wrapGAppsHook

Fixes opening file dialogs on non-NixOS:

$ ./result/bin/sqlitebrowser
[... try to open a file dialog: File -> Open Database ...]
(.sqlitebrowser-wrapped:7229): GLib-GIO-ERROR **: 11:27:46.197: Settings schema 'org.gtk.Settings.FileChooser' does not contain a key named 'show-type-column'
Trace/breakpoint trap (core dumped)
This commit is contained in:
Bjørn Forsman 2021-07-03 11:36:19 +02:00
parent 86bb7b63e2
commit 397e068a54

View file

@ -1,5 +1,5 @@
{ mkDerivation, lib, fetchFromGitHub, cmake
, qtbase, qttools, sqlite }:
, qtbase, qttools, sqlite, wrapGAppsHook }:
mkDerivation rec {
pname = "sqlitebrowser";
@ -18,7 +18,7 @@ mkDerivation rec {
# We *really* should get that cleaned up.
buildInputs = [ qtbase sqlite ];
nativeBuildInputs = [ cmake qttools ];
nativeBuildInputs = [ cmake qttools wrapGAppsHook ];
meta = with lib; {
description = "DB Browser for SQLite";