aboutsummaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authornixo <nicolo@nixo.xyz>2021-01-28 16:13:33 +0100
committerLudovic Courtès <ludo@gnu.org>2021-01-30 15:36:56 +0100
commitba093a6d27557766b999b2f29ea6706bb8697db9 (patch)
tree0f4a4b07197f38fe82c43af9a7690ec38da44880 /doc
parenta23b384f3f200c3771c8dfef0661f687fadda807 (diff)
downloadguix-ba093a6d27557766b999b2f29ea6706bb8697db9.tar
guix-ba093a6d27557766b999b2f29ea6706bb8697db9.tar.gz
build-system/julia: Don't rely on file name to set module name.
* guix/build/julia-build-system.scm (project.toml->name): New procedure. (precompile, check, julia-build): Accept new key argument #:julia-package-name. * guix/build-system/julia.scm (julia-build): ... add it. * doc/guix.texi (julia-build-system): Update julia-package-name accordingly. Signed-off-by: Ludovic Courtès <ludo@gnu.org>
Diffstat (limited to 'doc')
-rw-r--r--doc/guix.texi5
1 files changed, 3 insertions, 2 deletions
diff --git a/doc/guix.texi b/doc/guix.texi
index 219617e266..9b65be3c9c 100644
--- a/doc/guix.texi
+++ b/doc/guix.texi
@@ -7618,8 +7618,9 @@ julia} packages, which essentially is similar to running @samp{julia -e
@env{JULIA_LOAD_PATH} contains the paths to all Julia package inputs.
Tests are run by calling @code{/test/runtests.jl}.
-Julia packages require the source @code{file-name} to be the real name of the
-package, correctly capitalized.
+The Julia package name is read from the file @file{Project.toml}. This
+value can be overridden by passing the argument @code{#:julia-file-name}
+(which must be correctly capitalized).
For packages requiring shared library dependencies, you may need to write the
@file{/deps/deps.jl} file manually. It's usually a line of @code{const