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;