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:
@@ -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
|
||||
|
||||
@@ -2818,6 +2818,7 @@ extra-packages:
|
||||
- optparse-applicative < 0.16 # needed for niv-0.2.19
|
||||
- refinery == 0.3.* # required by hls-tactics-plugin-1.0.0.0
|
||||
- resolv == 0.1.1.2 # required to build cabal-install-3.0.0.0 with pre ghc-8.8.x
|
||||
- sbv == 7.13 # required for pkgs.petrinizer
|
||||
|
||||
package-maintainers:
|
||||
peti:
|
||||
|
||||
@@ -229602,6 +229602,37 @@ self: {
|
||||
license = lib.licenses.bsd3;
|
||||
}) {};
|
||||
|
||||
"sbv_7_13" = callPackage
|
||||
({ mkDerivation, array, async, base, bytestring, containers
|
||||
, crackNum, deepseq, directory, doctest, filepath, generic-deriving
|
||||
, ghc, Glob, hlint, mtl, pretty, process, QuickCheck, random, syb
|
||||
, tasty, tasty-golden, tasty-hunit, tasty-quickcheck
|
||||
, template-haskell, time, z3
|
||||
}:
|
||||
mkDerivation {
|
||||
pname = "sbv";
|
||||
version = "7.13";
|
||||
sha256 = "0bk400swnb4s98c5p71ml1px6jndaiqhf5dj7zmnliyplqcgpfik";
|
||||
enableSeparateDataOutput = true;
|
||||
libraryHaskellDepends = [
|
||||
array async base containers crackNum deepseq directory filepath
|
||||
generic-deriving ghc mtl pretty process QuickCheck random syb
|
||||
template-haskell time
|
||||
];
|
||||
testHaskellDepends = [
|
||||
base bytestring containers crackNum directory doctest filepath Glob
|
||||
hlint mtl QuickCheck random syb tasty tasty-golden tasty-hunit
|
||||
tasty-quickcheck template-haskell
|
||||
];
|
||||
testSystemDepends = [ z3 ];
|
||||
description = "SMT Based Verification: Symbolic Haskell theorem prover using SMT solving";
|
||||
license = lib.licenses.bsd3;
|
||||
platforms = [
|
||||
"armv7l-linux" "i686-linux" "x86_64-darwin" "x86_64-linux"
|
||||
];
|
||||
hydraPlatforms = lib.platforms.none;
|
||||
}) {inherit (pkgs) z3;};
|
||||
|
||||
"sbv" = callPackage
|
||||
({ mkDerivation, array, async, base, bench-show, bytestring
|
||||
, containers, deepseq, directory, doctest, filepath, gauge, Glob
|
||||
|
||||
Reference in New Issue
Block a user