>From 3175122a301ad87c65102ee5aae960e91d879db3 Mon Sep 17 00:00:00 2001 From: Julien Lepiller
Date: Mon, 12 Dec 2016 22:58:28 +0100 Subject: [PATCH 1/8] gnu: ocaml-findlib: Use OCAMLPATH to locate OCaml modules. * gnu/packages/ocaml.scm (ocaml-findlib): Add OCAMLPATH to native-search-path. --- gnu/packages/ocaml.scm | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/gnu/packages/ocaml.scm b/gnu/packages/ocaml.scm index 61d51074e..6b9e3d283 100644 --- a/gnu/packages/ocaml.scm +++ b/gnu/packages/ocaml.scm @@ -683,6 +683,10 @@ to the other.") "02abg1lsnwvjg3igdyb8qjgr5kv1nbwl4gaf8mdinzfii5p82721")) (patches (search-patches "ocaml-findlib-make-install.patch")))) (build-system gnu-build-system) + (native-search-paths + (list (search-path-specification + (variable "OCAMLPATH") + (files (list (string-append "lib/ocaml/site-lib")))))) (native-inputs `(("camlp4" ,camlp4) ("m4" ,m4) -- 2.11.0