about summary refs log tree commit diff
path: root/pkgs/development/ocaml-modules/janestreet
diff options
context:
space:
mode:
authorVincent Laporte <Vincent.Laporte@gmail.com>2018-02-23 17:19:25 +0000
committerVincent Laporte <vbgl@users.noreply.github.com>2018-02-28 19:10:34 +0100
commit7f327dfa63c09997213dc8b710e777fd4ed5cf97 (patch)
treeac9e943ba99a0961244a9a7f08a349131a93ab09 /pkgs/development/ocaml-modules/janestreet
parentd8ab8ddae1c3e5d0ce872a2cbfabaa616e6f93eb (diff)
downloadnixlib-7f327dfa63c09997213dc8b710e777fd4ed5cf97.tar
nixlib-7f327dfa63c09997213dc8b710e777fd4ed5cf97.tar.gz
nixlib-7f327dfa63c09997213dc8b710e777fd4ed5cf97.tar.bz2
nixlib-7f327dfa63c09997213dc8b710e777fd4ed5cf97.tar.lz
nixlib-7f327dfa63c09997213dc8b710e777fd4ed5cf97.tar.xz
nixlib-7f327dfa63c09997213dc8b710e777fd4ed5cf97.tar.zst
nixlib-7f327dfa63c09997213dc8b710e777fd4ed5cf97.zip
ocamlPackages.ctypes: 0.11.5 -> 0.13.1
Diffstat (limited to 'pkgs/development/ocaml-modules/janestreet')
-rw-r--r--pkgs/development/ocaml-modules/janestreet/async_ssl.nix6
1 files changed, 4 insertions, 2 deletions
diff --git a/pkgs/development/ocaml-modules/janestreet/async_ssl.nix b/pkgs/development/ocaml-modules/janestreet/async_ssl.nix
index 5cd4c6064e08..fdfd0338bb23 100644
--- a/pkgs/development/ocaml-modules/janestreet/async_ssl.nix
+++ b/pkgs/development/ocaml-modules/janestreet/async_ssl.nix
@@ -1,10 +1,12 @@
-{stdenv, buildOcamlJane, fetchurl, async, comparelib, core, ctypes, openssl,
- fieldslib, herelib, pipebang, sexplib, ocaml_oasis}:
+{ stdenv, ocaml, buildOcamlJane, fetchurl, async, comparelib, core, ctypes
+, openssl, fieldslib, herelib, pipebang, sexplib, ocaml_oasis, integers
+}:
 
 buildOcamlJane rec {
   name = "async_ssl";
   version = "113.33.07";
   hash = "0bhzpnmlx6dy4fli3i7ipjwqbsdi7fq171jrila5dr3ciy3841xs";
+  postPatch = "export CAML_LD_LIBRARY_PATH=${integers}/lib/ocaml/${ocaml.version}/site-lib/stubslibs:$CAML_LD_LIBRARY_PATH";
   propagatedBuildInputs = [ ctypes async comparelib core fieldslib
                             herelib pipebang sexplib openssl ocaml_oasis ];
   meta = with stdenv.lib; {