From 4873da366c63c39daaddf4e4313f30c793c0ff3e Mon Sep 17 00:00:00 2001 From: Vincent Laporte Date: Wed, 10 Jan 2024 06:35:02 +0100 Subject: [PATCH] =?UTF-8?q?framac:=20fix=20build=20with=20OCaml=20?= =?UTF-8?q?=E2=89=A5=205?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pkgs/development/tools/analysis/frama-c/default.nix | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/pkgs/development/tools/analysis/frama-c/default.nix b/pkgs/development/tools/analysis/frama-c/default.nix index 4b6cadfcfa82..0ff3e6ad1af6 100644 --- a/pkgs/development/tools/analysis/frama-c/default.nix +++ b/pkgs/development/tools/analysis/frama-c/default.nix @@ -45,6 +45,10 @@ stdenv.mkDerivation rec { hash = "sha256-KWEogjMOy27d0LTKOvwEkrcND+szeaG46JMZTG4XOYM="; }; + preConfigure = '' + substituteInPlace src/dune --replace " bytes " " " + ''; + postConfigure = "patchShebangs src/plugins/eva/gen-api.sh"; strictDeps = true;