diff options
author | Yves Fischer <yvesf+git@xapek.org> | 2020-09-19 21:48:38 +0200 |
---|---|---|
committer | Yves Fischer <yvesf+git@xapek.org> | 2020-09-20 16:35:24 +0200 |
commit | 2f934a967c67423d842c813ed5c1275e7a1e58d4 (patch) | |
tree | 1416acc2d3e051528f57c8ce99c3da761fdfcef1 /pkgs/applications/misc/qcad | |
parent | ea72791b9bfe3303635484daa6f5bc772ce590f9 (diff) |
qcad: fix library browser
the drawing library of qcad uses qt's database abstract for sqlite. Somehow the libqsqlite library file is not found in the default location. As workaround it is copied to the qcad library directory.
Diffstat (limited to 'pkgs/applications/misc/qcad')
-rw-r--r-- | pkgs/applications/misc/qcad/default.nix | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/pkgs/applications/misc/qcad/default.nix b/pkgs/applications/misc/qcad/default.nix index 0472a88c356b6..ad3c884f25e54 100644 --- a/pkgs/applications/misc/qcad/default.nix +++ b/pkgs/applications/misc/qcad/default.nix @@ -61,6 +61,10 @@ mkDerivationWith stdenv.mkDerivation rec { cp -r plugins $out/lib/plugins cp -r patterns $out/lib/patterns + # workaround to fix the library browser: + rm -r $out/lib/plugins/sqldrivers + ln -s -t $out/lib/plugins ${qt5.qtbase}/${qt5.qtbase.qtPluginPrefix}/sqldrivers + install -Dm644 scripts/qcad_icon.svg $out/share/icons/hicolor/scalable/apps/qcad.svg runHook postInstall |