Merge pull request #46956 from Taneb/sbv-fix-z3
haskellPackages.sbv: fix location of z3 executable
This commit is contained in:
commit
b2042983ef
@ -511,4 +511,10 @@ self: super: builtins.intersectAttrs super {
|
|||||||
# Doctests hang only when compiling with nix.
|
# Doctests hang only when compiling with nix.
|
||||||
# https://github.com/cdepillabout/termonad/issues/15
|
# https://github.com/cdepillabout/termonad/issues/15
|
||||||
termonad = dontCheck super.termonad;
|
termonad = dontCheck super.termonad;
|
||||||
|
|
||||||
|
# Expects z3 to be on path so we replace it with a hard
|
||||||
|
sbv = overrideCabal super.sbv (drv: {
|
||||||
|
postPatch = ''
|
||||||
|
sed -i -e 's|"z3"|"${pkgs.z3}/bin/z3"|' Data/SBV/Provers/Z3.hs'';
|
||||||
|
});
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user