aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authornixo <nicolo@nixo.xyz>2019-08-03 11:19:11 +0200
committerJulien Lepiller <julien@lepiller.eu>2019-09-04 22:18:07 +0200
commit11d73fb412d8728cf916eff9d9750be0bb593076 (patch)
treef1ffd080434b2e2b24b74e9f0082152e5ad12e53
parenta44a535ebecd40c52514623a44d31d927ecca9da (diff)
downloadguix-11d73fb412d8728cf916eff9d9750be0bb593076.tar.gz
guix-11d73fb412d8728cf916eff9d9750be0bb593076.zip
gnu: julia: Set search path.
* gnu/packages/julia.scm (julia)[native-search-paths]: Add specification for JULIA_LOAD_PATH. Signed-off-by: Julien Lepiller <julien@lepiller.eu>
-rw-r--r--gnu/packages/julia.scm4
1 files changed, 4 insertions, 0 deletions
diff --git a/gnu/packages/julia.scm b/gnu/packages/julia.scm
index 43254f25fd..65a5e42beb 100644
--- a/gnu/packages/julia.scm
+++ b/gnu/packages/julia.scm
@@ -482,6 +482,10 @@
("patchelf" ,patchelf)
("pkg-config" ,pkg-config)
("python" ,python-2)))
+ (native-search-paths
+ (list (search-path-specification
+ (variable "JULIA_LOAD_PATH")
+ (files (list "share/julia/packages/")))))
;; Julia is not officially released for ARM and MIPS.
;; See https://github.com/JuliaLang/julia/issues/10639
(supported-systems '("i686-linux" "x86_64-linux" "aarch64-linux"))