summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--flake.nix8
1 files changed, 5 insertions, 3 deletions
diff --git a/flake.nix b/flake.nix
index 9a1ab86e..301b98ae 100644
--- a/flake.nix
+++ b/flake.nix
@@ -50,9 +50,11 @@
installTargets = [ "doc" "install" ];
checkPhase = ''
- export LD_LIBRARY_PATH=$PWD
- export DYLD_LIBRARY_PATH=$PWD
- ctest -j$NIX_BUILD_CORES
+ runHook preCheck
+ env LD_LIBRARY_PATH=$PWD \
+ DYLD_LIBRARY_PATH=$PWD \
+ ctest -j$NIX_BUILD_CORES
+ runHook postCheck
'';
doCheck = true;