qdjango: Fix tests
Wants sqlite driver.
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user