qdjango: Fix tests

Wants sqlite driver.
This commit is contained in:
OPNA2608
2026-04-22 12:13:31 +02:00
parent 16c855b0cc
commit 74f0d69a4b
@@ -5,6 +5,7 @@
testers,
doxygen,
qmake,
qtbase,
}:
stdenv.mkDerivation (finalAttrs: {
@@ -55,7 +56,10 @@ stdenv.mkDerivation (finalAttrs: {
doCheck = stdenv.buildPlatform.canExecute stdenv.hostPlatform;
preCheck = lib.optionalString stdenv.hostPlatform.isDarwin ''
preCheck = ''
export QT_PLUGIN_PATH=${lib.getBin qtbase}/${qtbase.qtPluginPrefix}
''
+ lib.optionalString stdenv.hostPlatform.isDarwin ''
# at this point in the build, install_name for dylibs hasn't been patched yet so we need to set the library path.
# for some reason, this doesn't work when just exporting the needed paths even though the autogenerated wrappers
# should at most prepend paths? just patch them into the wrappers instead