vampire: portability fixes
These have been submitted upstream, but seconds before writing this message so naturally no upstream response "yet" :). Regardless of response, fetch patches from the corresponding PR's for context and of course hopefully they'll be included in next version.
This commit is contained in:
parent
8e6db30bb7
commit
600abbedc9
1 changed files with 22 additions and 1 deletions
|
@ -1,4 +1,4 @@
|
|||
{ stdenv, fetchFromGitHub, z3, zlib, git }:
|
||||
{ stdenv, fetchFromGitHub, fetchpatch, z3, zlib, git }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
version = "4.2.2";
|
||||
|
@ -18,6 +18,27 @@ stdenv.mkDerivation rec {
|
|||
|
||||
makeFlags = [ "vampire_z3_rel" "CC:=$(CC)" "CXX:=$(CXX)" ];
|
||||
|
||||
patches = [
|
||||
# https://github.com/vprover/vampire/pull/54
|
||||
(fetchpatch {
|
||||
name = "fix-apple-cygwin-defines.patch";
|
||||
url = https://github.com/vprover/vampire/pull/54.patch;
|
||||
sha256 = "0i6nrc50wlg1dqxq38lkpx4rmfb3lf7s8f95l4jkvqp0nxa20cza";
|
||||
})
|
||||
# https://github.com/vprover/vampire/pull/55
|
||||
(fetchpatch {
|
||||
name = "fix-wait-any.patch";
|
||||
url = https://github.com/vprover/vampire/pull/55.patch;
|
||||
sha256 = "1pwfpwpl23bqsgkmmvw6bnniyvp5j9v8l3z9s9pllfabnfcrcz9l";
|
||||
})
|
||||
# https://github.com/vprover/vampire/pull/56
|
||||
(fetchpatch {
|
||||
name = "fenv.patch";
|
||||
url = https://github.com/vprover/vampire/pull/56.patch;
|
||||
sha256 = "0xl3jcyqmk146mg3qj5hdd0pbja6wbq3250zmfhbxqrjh40mm40g";
|
||||
})
|
||||
];
|
||||
|
||||
fixupPhase = ''
|
||||
rm -rf z3
|
||||
'';
|
||||
|
|
Loading…
Reference in a new issue