summaryrefslogtreecommitdiff
path: root/guix/build-system
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 /guix/build-system
parenta23b384f3f200c3771c8dfef0661f687fadda807 (diff)
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 'guix/build-system')
-rw-r--r--guix/build-system/julia.scm4
1 files changed, 3 insertions, 1 deletions
diff --git a/guix/build-system/julia.scm b/guix/build-system/julia.scm
index d3cb41c054..63cb7cd864 100644
--- a/guix/build-system/julia.scm
+++ b/guix/build-system/julia.scm
@@ -82,6 +82,7 @@
(search-paths '())
(system (%current-system))
(guile #f)
+ (julia-package-name #f)
(imported-modules %julia-build-system-modules)
(modules '((guix build julia-build-system)
(guix build utils))))
@@ -103,7 +104,8 @@
#:outputs %outputs
#:search-paths ',(map search-path-specification->sexp
search-paths)
- #:inputs %build-inputs)))
+ #:inputs %build-inputs
+ #:julia-package-name ,julia-package-name)))
(define guile-for-build
(match guile