diff options
author | John Ericson <John.Ericson@Obsidian.Systems> | 2019-11-14 13:44:07 -0500 |
---|---|---|
committer | John Ericson <John.Ericson@Obsidian.Systems> | 2019-11-14 13:44:07 -0500 |
commit | bca2e8255e4230398edd1f91ce45521d54d6122e (patch) | |
tree | 1a4fad3a8ddac150af210751ae44eb0c304bc0ea /pkgs/build-support | |
parent | a951f2a27f3f664eb1f33ee3bc2193c19383e59f (diff) | |
download | nixlib-bca2e8255e4230398edd1f91ce45521d54d6122e.tar nixlib-bca2e8255e4230398edd1f91ce45521d54d6122e.tar.gz nixlib-bca2e8255e4230398edd1f91ce45521d54d6122e.tar.bz2 nixlib-bca2e8255e4230398edd1f91ce45521d54d6122e.tar.lz nixlib-bca2e8255e4230398edd1f91ce45521d54d6122e.tar.xz nixlib-bca2e8255e4230398edd1f91ce45521d54d6122e.tar.zst nixlib-bca2e8255e4230398edd1f91ce45521d54d6122e.zip |
treewide: CAML_LD_LIBRARY_PATH may be undefined
Diffstat (limited to 'pkgs/build-support')
-rw-r--r-- | pkgs/build-support/ocaml/default.nix | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pkgs/build-support/ocaml/default.nix b/pkgs/build-support/ocaml/default.nix index cc2001c66e2e..3957b955a2c6 100644 --- a/pkgs/build-support/ocaml/default.nix +++ b/pkgs/build-support/ocaml/default.nix @@ -23,7 +23,7 @@ stdenv.mkDerivation (args // { setupHook = if setupHook == null && hasSharedObjects then writeText "setupHook.sh" '' - export CAML_LD_LIBRARY_PATH="''${CAML_LD_LIBRARY_PATH}''${CAML_LD_LIBRARY_PATH:+:}''$1/lib/ocaml/${ocaml.version}/site-lib/${name}/" + export CAML_LD_LIBRARY_PATH="''${CAML_LD_LIBRARY_PATH-}''${CAML_LD_LIBRARY_PATH:+:}''$1/lib/ocaml/${ocaml.version}/site-lib/${name}/" '' else setupHook; |