about summary refs log tree commit diff
path: root/pkgs/applications/science/logic/easycrypt
diff options
context:
space:
mode:
authorVincent Laporte <Vincent.Laporte@gmail.com>2022-04-30 15:53:28 +0200
committerVincent Laporte <Vincent.Laporte@gmail.com>2022-05-19 00:13:20 +0200
commit4a87fcbc86fd458a790b09c849ad451812dcdc33 (patch)
treeeaed15563ca697ad191a48aa43b28cb32dd56991 /pkgs/applications/science/logic/easycrypt
parent6e3a86f2f73a466656a401302d3ece26fba401d9 (diff)
why3: 1.4.1 → 1.5.0
easycrypt: fix build with why3-1.5.0
frama-c: build with why3 1.4.1
Diffstat (limited to 'pkgs/applications/science/logic/easycrypt')
-rw-r--r--pkgs/applications/science/logic/easycrypt/default.nix8
1 files changed, 7 insertions, 1 deletions
diff --git a/pkgs/applications/science/logic/easycrypt/default.nix b/pkgs/applications/science/logic/easycrypt/default.nix
index 5f28ca73c4e73..da4ff212e294b 100644
--- a/pkgs/applications/science/logic/easycrypt/default.nix
+++ b/pkgs/applications/science/logic/easycrypt/default.nix
@@ -1,4 +1,4 @@
-{ lib, stdenv, fetchFromGitHub, ocamlPackages, why3 }:
+{ lib, stdenv, fetchFromGitHub, fetchpatch, ocamlPackages, why3 }:
 
 stdenv.mkDerivation rec {
   pname = "easycrypt";
@@ -11,6 +11,12 @@ stdenv.mkDerivation rec {
     sha256 = "sha256:09rdwcj70lkamkhd895p284rfpz4bcnsf55mcimhiqncd2a21ml7";
   };
 
+  # Fix build with Why3 1.5
+  patches = fetchpatch {
+    url = "https://github.com/EasyCrypt/easycrypt/commit/d226387432deb7f22738e1d5579346a2cbc9be7a.patch";
+    sha256 = "sha256:1zvxij35fnr3h9b5wdl8ml17aqfx3a39rd4mgwmdvkapbg3pa4lm";
+  };
+
   nativeBuildInputs = with ocamlPackages; [
     dune_3
     findlib