diff options
| author | Austin Seipp <aseipp@pobox.com> | 2019-01-14 21:50:15 -0600 |
|---|---|---|
| committer | Austin Seipp <aseipp@pobox.com> | 2019-01-15 01:28:11 -0600 |
| commit | 564653f91d7031495a0b955c744a578352f34576 (patch) | |
| tree | 8cf067b33ca62fc0e1032ee313f8e944d1a92f3b /pkgs/development/python-modules/httpserver | |
| parent | b44d5136e8a8d2d40727699acf38eccf8a0b15e1 (diff) | |
ocamlPackages.zarith: use buildOcaml instead of mkDerivation
This has two main advantages:
- By setting hasSharedObjects = true, buildOcaml will automatically
include a setup-hook.sh that sets CAML_LD_LIBRARY_PATH in dependent
expressions. This is needed to pick up dllzarith.so properly which is
shipped as part of the library.
- We can kill the ugly assert in the expression and instead change it
to use minimumSupportedOcamlVersion.
(Note: this was reverted in b44d5136e8a8d2d407, but the change is
exactly equivalent -- I wasn't sure what impact zarith might actually
have without checking OfBorg, which I wanted to do first.)
Signed-off-by: Austin Seipp <aseipp@pobox.com>
Diffstat (limited to 'pkgs/development/python-modules/httpserver')
0 files changed, 0 insertions, 0 deletions
