1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-22 13:41:26 +00:00

ocamlPackages.ocsigen_server: fix loading of shared libraries

This commit is contained in:
Vincent Laporte 2019-09-16 16:06:35 +00:00
parent 61c9725ff4
commit 2173d47560
No known key found for this signature in database
GPG key ID: EBD582ADDDB1F81F

View file

@ -41,7 +41,7 @@ stdenv.mkDerivation rec {
''
rm -rf $out/var/run
wrapProgram $out/bin/ocsigenserver \
--prefix CAML_LD_LIBRARY_PATH : "${mkpath ssl "ssl"}:${mkpath ocamlnet "netsys"}:${mkpath ocamlnet "netstring"}:${mkpath ocaml_pcre "pcre"}:${mkpath cryptokit "cryptokit"}:${mkpath ocaml_sqlite3 "sqlite3"}"
--prefix CAML_LD_LIBRARY_PATH : "$CAML_LD_LIBRARY_PATH:${mkpath ssl "ssl"}:${mkpath ocamlnet "netsys"}:${mkpath ocamlnet "netstring"}:${mkpath ocaml_pcre "pcre"}:${mkpath ocaml_sqlite3 "sqlite3"}"
'';
dontPatchShebangs = true;