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/development/tools/ocaml/utop/default.nix | |
parent | a951f2a27f3f664eb1f33ee3bc2193c19383e59f (diff) | |
download | nixpkgs-bca2e8255e4230398edd1f91ce45521d54d6122e.tar nixpkgs-bca2e8255e4230398edd1f91ce45521d54d6122e.tar.gz nixpkgs-bca2e8255e4230398edd1f91ce45521d54d6122e.tar.bz2 nixpkgs-bca2e8255e4230398edd1f91ce45521d54d6122e.tar.lz nixpkgs-bca2e8255e4230398edd1f91ce45521d54d6122e.tar.xz nixpkgs-bca2e8255e4230398edd1f91ce45521d54d6122e.tar.zst nixpkgs-bca2e8255e4230398edd1f91ce45521d54d6122e.zip |
treewide: CAML_LD_LIBRARY_PATH may be undefined
Diffstat (limited to 'pkgs/development/tools/ocaml/utop/default.nix')
-rw-r--r-- | pkgs/development/tools/ocaml/utop/default.nix | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/pkgs/development/tools/ocaml/utop/default.nix b/pkgs/development/tools/ocaml/utop/default.nix index 290ab9b571f..f154b94ae33 100644 --- a/pkgs/development/tools/ocaml/utop/default.nix +++ b/pkgs/development/tools/ocaml/utop/default.nix @@ -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 ''; |