diff options
author | Alexis Hildebrandt <afh@surryhill.net> | 2023-03-20 21:08:38 +0100 |
---|---|---|
committer | Martin Michlmayr <tbm@cyrius.com> | 2023-03-21 10:01:48 +0800 |
commit | 1db189b3dc4366d7b3edcb1d46ad1c238cf6c819 (patch) | |
tree | 90a514b1433a207bff73e0582c38f112aa6ee7bf /flake.nix | |
parent | c82646b568a3c312ccb2f0f5526a3167717004a5 (diff) | |
download | fork-ledger-1db189b3dc4366d7b3edcb1d46ad1c238cf6c819.tar.gz fork-ledger-1db189b3dc4366d7b3edcb1d46ad1c238cf6c819.tar.bz2 fork-ledger-1db189b3dc4366d7b3edcb1d46ad1c238cf6c819.zip |
flake: Run pre and post hooks in checkPhase
Diffstat (limited to 'flake.nix')
-rw-r--r-- | flake.nix | 8 |
1 files changed, 5 insertions, 3 deletions
@@ -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; |