about summary refs log tree commit diff
path: root/pkgs/development/tools/analysis
diff options
context:
space:
mode:
authorVincent Laporte <Vincent.Laporte@gmail.com>2024-01-10 06:35:02 +0100
committerVincent Laporte <vbgl@users.noreply.github.com>2024-01-22 08:36:01 +0100
commit4873da366c63c39daaddf4e4313f30c793c0ff3e (patch)
tree7f1824f80fdf83b32e2cae8c024c67a5f7e4aa67 /pkgs/development/tools/analysis
parentfff96c57d40f944ff32ab1ee4168d12008ba8883 (diff)
downloadnixlib-4873da366c63c39daaddf4e4313f30c793c0ff3e.tar
nixlib-4873da366c63c39daaddf4e4313f30c793c0ff3e.tar.gz
nixlib-4873da366c63c39daaddf4e4313f30c793c0ff3e.tar.bz2
nixlib-4873da366c63c39daaddf4e4313f30c793c0ff3e.tar.lz
nixlib-4873da366c63c39daaddf4e4313f30c793c0ff3e.tar.xz
nixlib-4873da366c63c39daaddf4e4313f30c793c0ff3e.tar.zst
nixlib-4873da366c63c39daaddf4e4313f30c793c0ff3e.zip
framac: fix build with OCaml ≥ 5
Diffstat (limited to 'pkgs/development/tools/analysis')
-rw-r--r--pkgs/development/tools/analysis/frama-c/default.nix4
1 files changed, 4 insertions, 0 deletions
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;