On 04/27/2015 10:42 PM, Eric Merritt wrote:
> Thanks all of you. I added the following to my dependee (bin_prot) and
> it worked nicely.
> 
>  setupHook = writeText "setupHook.sh" ''
>   export
> CAML_LD_LIBRARY_PATH="''${CAML_LD_LIBRARY_PATH}''${CAML_LD_LIBRARY_PATH:+:}''$1/lib/ocaml/${ocaml_version}/site-lib/bin_prot/"
> '';

Just note that without testing existence of the directories, the
variable will likely be filled with many paths from other build inputs.
Having nonexistent directories in there probably won't matter, although
it doesn't look nice.

Vladimir


Attachment: smime.p7s
Description: S/MIME Cryptographic Signature

_______________________________________________
nix-dev mailing list
[email protected]
http://lists.science.uu.nl/mailman/listinfo/nix-dev

Reply via email to