summaryrefslogtreecommitdiffstats
path: root/default.nix
diff options
context:
space:
mode:
Diffstat (limited to 'default.nix')
-rw-r--r--default.nix2
1 files changed, 2 insertions, 0 deletions
diff --git a/default.nix b/default.nix
index 5ddc23a..e0c5430 100644
--- a/default.nix
+++ b/default.nix
@@ -98,6 +98,7 @@ in rec {
98 doCheck = true; 98 doCheck = true;
99 # Only tests that does not involve external resources 99 # Only tests that does not involve external resources
100 checkPhase = '' 100 checkPhase = ''
101 export HOME="$(mktemp -d)"
101 mkdir -p plugins/sink/resources 102 mkdir -p plugins/sink/resources
102 ln -s examples/*resource/libsink_resource*.so plugins/sink/resources/ 103 ln -s examples/*resource/libsink_resource*.so plugins/sink/resources/
103 export LD_LIBRARY_PATH=$PWD/tests:$PWD/examples/caldavresource/:$PWD/examples/dummyresource/:$PWD/tests/hawd:$PWD/common QT_PLUGIN_PATH=$QT_PLUGIN_PATH:$PWD/plugins/ PATH=$PATH:$PWD/synchronizer/ 104 export LD_LIBRARY_PATH=$PWD/tests:$PWD/examples/caldavresource/:$PWD/examples/dummyresource/:$PWD/tests/hawd:$PWD/common QT_PLUGIN_PATH=$QT_PLUGIN_PATH:$PWD/plugins/ PATH=$PATH:$PWD/synchronizer/
@@ -121,6 +122,7 @@ in rec {
121 ./tests/upgradetest && 122 ./tests/upgradetest &&
122 ./tests/resourcecontroltest && 123 ./tests/resourcecontroltest &&
123 ./tests/dummyresourcetest 124 ./tests/dummyresourcetest
125 rm -rf "$HOME"
124 ''; 126 '';
125 }); 127 });
126 128