about summary refs log tree commit diff
path: root/pkgs/development/ocaml-modules/apron/default.nix
diff options
context:
space:
mode:
authorVincent Laporte <Vincent.Laporte@gmail.com>2023-09-28 10:54:32 +0200
committerVincent Laporte <vbgl@users.noreply.github.com>2023-09-28 12:49:51 +0200
commit3dfaa2a965f3ab82ab1f19c543c2917621c0014c (patch)
tree393ba68175ca5310dea62d7ab8a1b79030c1f90c /pkgs/development/ocaml-modules/apron/default.nix
parented2ccd4d1748e52d5d28c440d5be4b25a4f21c08 (diff)
ocamlPackages.apron: don’t strip libraries on darwin
See https://github.com/antoinemine/apron/issues/93
Diffstat (limited to 'pkgs/development/ocaml-modules/apron/default.nix')
-rw-r--r--pkgs/development/ocaml-modules/apron/default.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/pkgs/development/ocaml-modules/apron/default.nix b/pkgs/development/ocaml-modules/apron/default.nix
index edf5ae9a4f337..5ad98224962e3 100644
--- a/pkgs/development/ocaml-modules/apron/default.nix
+++ b/pkgs/development/ocaml-modules/apron/default.nix
@@ -23,7 +23,7 @@ stdenv.mkDerivation rec {
 
   configurePhase = ''
     runHook preConfigure
-    ./configure -prefix $out
+    ./configure -prefix $out ${lib.optionalString stdenv.isDarwin "-no-strip"}
     mkdir -p $out/lib/ocaml/${ocaml.version}/site-lib/stublibs
     runHook postConfigure
   '';