sqlitestudio: include official plugins
This commit is contained in:
@@ -8,6 +8,9 @@
|
||||
python3,
|
||||
copyDesktopItems,
|
||||
makeDesktopItem,
|
||||
|
||||
sqlitestudio-plugins,
|
||||
includeOfficialPlugins ? lib.meta.availableOn stdenv.hostPlatform sqlitestudio-plugins,
|
||||
}:
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "sqlitestudio";
|
||||
@@ -41,7 +44,14 @@ stdenv.mkDerivation rec {
|
||||
qtscript
|
||||
]);
|
||||
|
||||
qmakeFlags = [ "./SQLiteStudio3" ];
|
||||
qmakeFlags =
|
||||
[
|
||||
"./SQLiteStudio3"
|
||||
"DEFINES+=NO_AUTO_UPDATES"
|
||||
]
|
||||
++ lib.optionals includeOfficialPlugins [
|
||||
"DEFINES+=PLUGINS_DIR=${sqlitestudio-plugins}/lib/sqlitestudio"
|
||||
];
|
||||
|
||||
desktopItems = [
|
||||
(makeDesktopItem {
|
||||
|
||||
Reference in New Issue
Block a user