summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMinijackson <minijackson@riseup.net>2018-08-10 10:37:26 +0200
committerMinijackson <minijackson@riseup.net>2018-08-10 10:37:26 +0200
commitd47d1b4b462e1b4f7268bcbd1e59c73b9c1a0054 (patch)
tree1a374669a845b132bfe95ee0976c0caea7fbfd6f
parentca5dfb1c8b1a2a67335f6edd7442f89dc9ebfb31 (diff)
downloadnix_repo-d47d1b4b462e1b4f7268bcbd1e59c73b9c1a0054.tar.gz
nix_repo-d47d1b4b462e1b4f7268bcbd1e59c73b9c1a0054.zip
Use current directory for HOME
-rw-r--r--default.nix3
1 files changed, 1 insertions, 2 deletions
diff --git a/default.nix b/default.nix
index e0c5430..a372bba 100644
--- a/default.nix
+++ b/default.nix
@@ -98,7 +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 export HOME="$PWD"
102 mkdir -p plugins/sink/resources 102 mkdir -p plugins/sink/resources
103 ln -s examples/*resource/libsink_resource*.so plugins/sink/resources/ 103 ln -s examples/*resource/libsink_resource*.so plugins/sink/resources/
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/ 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/
@@ -122,7 +122,6 @@ in rec {
122 ./tests/upgradetest && 122 ./tests/upgradetest &&
123 ./tests/resourcecontroltest && 123 ./tests/resourcecontroltest &&
124 ./tests/dummyresourcetest 124 ./tests/dummyresourcetest
125 rm -rf "$HOME"
126 ''; 125 '';
127 }); 126 });
128 127