Skip to content

Commit

Permalink
z3: add installCheckPhase
Browse files Browse the repository at this point in the history
  • Loading branch information
numinit committed Jan 12, 2025
1 parent df99435 commit c556717
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions pkgs/applications/science/logic/z3/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -101,6 +101,11 @@ let
moveToOutput "lib/libz3java.${stdenv.hostPlatform.extensions.sharedLibrary}" "$java"
'';

doInstallCheck = true;
installCheckPhase = ''
$out/bin/z3 -version 2>&1 | grep -F "Z3 version $version"
'';

outputs =
[
"out"
Expand Down

0 comments on commit c556717

Please sign in to comment.