-
Notifications
You must be signed in to change notification settings - Fork 2
Linking Z3 fails on rebuild #160
Comments
It seems making a meaningful change to
should produce this error message. |
I get the same error when I try putting |
Looking at the ouput of |
If I replace
IIRC this was caused by Template Haskell. |
Any chance these commands are inadvertently run from outside a nix shell? |
Nope, I was very much in the Nix Shell (I wouldn't even have Cabal on the outside and I made sure that the Nix Shell was up to date). |
Describe the bug
It sometimes happen that linking Z3 will fail at compile time, raising the following error:
To Reproduce
This is unclear. @Niols says it sometimes happens to him when running
cabal run test
, it happened to me while rebuilding Pirouette after a change.Expected behavior
Pirouette should compile properly every time.
Additional context
This was introduced in #154. This doesn't seem to happen on the very first build, as the CI didn't fail unexpectedly after that. A solution is to explicitely set
in
shell.nix
, but it doesn't feel right: Nix should be doing that automatically.The text was updated successfully, but these errors were encountered: