framac: fix build

This commit is contained in:
Weijia Wang 2023-05-11 12:30:10 +03:00
parent 77a317d656
commit a296146f80

View file

@ -1,4 +1,4 @@
{ lib, stdenv, fetchurl, makeWrapper, writeText
{ lib, stdenv, fetchurl, fetchpatch, makeWrapper, writeText
, graphviz, doxygen
, ocamlPackages, ltl2ba, coq, why3
, gdk-pixbuf, wrapGAppsHook
@ -53,6 +53,14 @@ stdenv.mkDerivation rec {
hash = "sha256-UT7ajIyu8e5vzrz2oBKDDrtZqUacgUP/TRi0/kz9Qkg=";
};
patches = [
(fetchpatch {
name = "fixes-yojson-2_1-support.patch";
url = "https://git.frama-c.com/pub/frama-c/-/commit/647eace02ed8dac46e75452898c3470f82576818.patch";
hash = "sha256-XfLi4kW1Y2MCLjHHQZAD8DvXvfZuDH3OKd9hlTV0XCw=";
})
];
postConfigure = "patchShebangs src/plugins/eva/gen-api.sh";
strictDeps = true;