petrinizer: fix build

* take z3 haskell package from haskellPackages
* take sbv 7.13 from haskellPackages, apply patch fixing build
  with GHC >= 8.8.8
This commit is contained in:
sternenseemann
2021-05-06 11:43:59 +02:00
committed by sterni
parent abf5583c5a
commit 73c2dd4aa6
6 changed files with 44 additions and 58 deletions
@@ -1852,4 +1852,12 @@ self: super: {
doCheck = pkgs.stdenv.targetPlatform.system == "x86_64-linux";
};
# Fix build failure by picking patch from 8.5,
# we need this version of sbv for petrinizer
sbv_7_13 = appendPatch super.sbv_7_13
(pkgs.fetchpatch {
url = "https://github.com/LeventErkok/sbv/commit/57014b9c7c67dd9b63619a996e2c66e32c33c958.patch";
sha256 = "10npa8nh2413n6p6qld795qfkbld08icm02bspmk93y0kabpgmgm";
});
} // import ./configuration-tensorflow.nix {inherit pkgs haskellLib;} self super