diff options
| author | sempiternal-aurora <78790545+sempiternal-aurora@users.noreply.github.com> | 2026-02-05 21:41:48 +0800 |
|---|---|---|
| committer | sempiternal-aurora <78790545+sempiternal-aurora@users.noreply.github.com> | 2026-02-05 21:41:48 +0800 |
| commit | 1c1bf1b8dabacac016819661592ea756b41453c5 (patch) | |
| tree | 83508cca51ff2bfdbf9bce9b913650319ee117f3 | |
| parent | vampire: add nix-update-script (diff) | |
| download | nixpkgs-1c1bf1b8dabacac016819661592ea756b41453c5.tar.gz | |
isabelle: remove z3 as vampire dependency
| -rw-r--r-- | pkgs/by-name/is/isabelle/package.nix | 41 |
1 files changed, 23 insertions, 18 deletions
diff --git a/pkgs/by-name/is/isabelle/package.nix b/pkgs/by-name/is/isabelle/package.nix index 0e483c20773e..297fb7c15a3d 100644 --- a/pkgs/by-name/is/isabelle/package.nix +++ b/pkgs/by-name/is/isabelle/package.nix @@ -51,28 +51,33 @@ let # Isabelle uses a branch of vampire that is not in the normal release line # that adds support for higher order goals vampireStdenv = if stdenv.hostPlatform.isLinux then gcc14Stdenv else stdenv; - vampire' = (vampire.override { stdenv = vampireStdenv; }).overrideAttrs (_: { - pname = "vampire-for-isabelle"; - version = "4.8"; + vampire' = + (vampire.override { + stdenv = vampireStdenv; + z3' = null; + }).overrideAttrs + (_: { + pname = "vampire-for-isabelle"; + version = "4.8"; - src = fetchFromGitHub { - owner = "vprover"; - repo = "vampire"; - tag = "v4.8HO4Sledgahammer"; - hash = "sha256-CmppaGa4M9tkE1b25cY1LSPFygJy5yV4kpHKbPqvcVE="; - }; + src = fetchFromGitHub { + owner = "vprover"; + repo = "vampire"; + tag = "v4.8HO4Sledgahammer"; + hash = "sha256-CmppaGa4M9tkE1b25cY1LSPFygJy5yV4kpHKbPqvcVE="; + }; - patches = [ ./vampire-add-install-directive.patch ]; + patches = [ ./vampire-add-install-directive.patch ]; - postInstall = '' - mv $out/bin/vampire_rel $out/bin/vampire - ''; + postInstall = '' + mv $out/bin/vampire_rel $out/bin/vampire + ''; - cmakeFlags = [ - (lib.cmakeFeature "CMAKE_BUILD_HOL" "On") - (lib.cmakeFeature "CMAKE_DISABLE_FIND_PACKAGE_Z3" "On") - ]; - }); + cmakeFlags = [ + (lib.cmakeFeature "CMAKE_BUILD_HOL" "On") + (lib.cmakeFeature "CMAKE_DISABLE_FIND_PACKAGE_Z3" "On") + ]; + }); sha1 = stdenv.mkDerivation { pname = "isabelle-sha1"; |
