treewide: CAML_LD_LIBRARY_PATH may be undefined

This commit is contained in:
John Ericson
2019-11-14 13:44:07 -05:00
parent a951f2a27f
commit bca2e8255e
7 changed files with 10 additions and 9 deletions
@@ -39,6 +39,7 @@ stdenv.mkDerivation rec {
installPhase = ''
mkdir -p "$out"/${path}
for e in OCAMLPATH CAML_LD_LIBRARY_PATH; do
[[ -v "$e" ]] || continue
printf %s "''${!e}" > "$out"/${path}/$e
done
'';