about summary refs log tree commit diff
path: root/pkgs/development/ocaml-modules/ocamlmake/setup-hook.sh
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/development/ocaml-modules/ocamlmake/setup-hook.sh')
-rw-r--r--pkgs/development/ocaml-modules/ocamlmake/setup-hook.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/pkgs/development/ocaml-modules/ocamlmake/setup-hook.sh b/pkgs/development/ocaml-modules/ocamlmake/setup-hook.sh
index a93a7250bebb..6d9504370165 100644
--- a/pkgs/development/ocaml-modules/ocamlmake/setup-hook.sh
+++ b/pkgs/development/ocaml-modules/ocamlmake/setup-hook.sh
@@ -2,4 +2,4 @@ addOcamlMakefile () {
     export OCAMLMAKEFILE="@out@/include/OCamlMakefile"
 }
 
-envHooks+=(addOcamlMakefile)
+addEnvHooks "$targetOffset" addOcamlMakefile