aboutsummaryrefslogtreecommitdiff
path: root/gnu/packages
diff options
context:
space:
mode:
authorJan Nieuwenhuizen <janneke@gnu.org>2016-02-13 08:42:34 +0100
committerAndreas Enge <andreas@enge.fr>2016-02-13 09:21:58 +0100
commit6372e336a20e86ac48cf3600db85629eb4ce38b0 (patch)
treeee93d7fb0ec755ef677ba78b957453183fdeed0c /gnu/packages
parenta747baba0006a73e975868ce78009fc46fa6405b (diff)
downloadpatches-6372e336a20e86ac48cf3600db85629eb4ce38b0.tar
patches-6372e336a20e86ac48cf3600db85629eb4ce38b0.tar.gz
gnu: ocaml: Set search path.
* gnu/packages/ocaml.scm (ocaml): Register OCAMLPATH as a search path.
Diffstat (limited to 'gnu/packages')
-rw-r--r--gnu/packages/ocaml.scm4
1 files changed, 4 insertions, 0 deletions
diff --git a/gnu/packages/ocaml.scm b/gnu/packages/ocaml.scm
index f0ad6d6d18..2f23bad2ce 100644
--- a/gnu/packages/ocaml.scm
+++ b/gnu/packages/ocaml.scm
@@ -62,6 +62,10 @@
(base32
"1qwwvy8nzd87hk8rd9sm667nppakiapnx4ypdwcrlnav2dz6kil3"))))
(build-system gnu-build-system)
+ (native-search-paths
+ (list (search-path-specification
+ (variable "OCAMLPATH")
+ (files (list (string-append "lib/ocaml"))))))
(native-inputs
`(("perl" ,perl)
("pkg-config" ,pkg-config)))