why3: drop

This commit is contained in:
Primrose 2025-05-19 22:40:37 +02:00
parent 812a974c75
commit 15332f55e4
Signed by: primrose
GPG key ID: 4E887A4CA9714ADA
3 changed files with 0 additions and 56 deletions

View file

@ -63,13 +63,6 @@ in rec {
logisim-evolution = pkgs.callPackage ./logisim-evolution.nix {};
necrolib = pkgs.callPackage ./necrolib.nix {};
why3-wrapped = let
why3-pinned = import sources.pin-why3 {};
alt-ergo-pinned = import sources.pin-alt-ergo {
config.allowUnfree = true;
};
in
why3-pinned.callPackage ./why3.nix {inherit (alt-ergo-pinned) alt-ergo;};
maeel = pkgs.callPackage ./maeel.nix {};
tokei = pkgs.callPackage ./tokei {}; # alpha tokei with typst, skel, hledger

View file

@ -1,25 +0,0 @@
{
symlinkJoin,
makeWrapper,
why3,
cvc4,
z3_4_12,
alt-ergo,
}: let
provers = [
alt-ergo
cvc4
z3_4_12
];
in
symlinkJoin {
name = "why3";
# Generate configuration in the store, and wrap why3 with the corresponding option
paths = [(why3.override {version = "1.6.0";})];
buildInputs = provers;
nativeBuildInputs = [makeWrapper];
postBuild = ''
$out/bin/why3 config detect --config=$out/why3.conf
wrapProgram $out/bin/why3 --add-flags "--config=$out/why3.conf"
'';
}