[Nix-dev] Compilation of MLton on darwin

Marco Maggesi maggesi at math.unifi.it
Fri Apr 11 17:10:28 CEST 2014


Hi,

I would like to enable compilation of MLton on darwin.

Looking inside the derivation (development/compilers/mlton) I found the
following line which seems specific to linux and I don't know how it can be
generalised:

  patchelf --set-interpreter ${stdenv.glibc}/lib/ld-linux-x86-64.so.2
$(pwd)/../usr/lib/mlton/mlton-compile

Can I use stdenv.gcc instead of sdenv.glibc?
Then where I find the linker?
I made a couples of blind tests with no success.

Thanks,
Marco
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.science.uu.nl/pipermail/nix-dev/attachments/20140411/47e03451/attachment.html 


More information about the nix-dev mailing list