mirror of
https://codeberg.org/guix/guix.git
synced 2025-10-02 02:15:12 +00:00
build: julia: Add 'julia-package-dependencies' as keyword.
* guix/build-system/julia.scm (link-depot): Accept julia-package-dependencies keyword and use it for 'julia-create-package-toml' function. (julia-create-package-toml): Use pattern matching. (julia-build): Add 'julia-pacakge-dependencies'. * guix/build/julia-build-system.scm (julia-build): Add '#:julia-package-dependencies' keyword. Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
This commit is contained in:
parent
637e677140
commit
05d469ab9d
2 changed files with 15 additions and 6 deletions
|
@ -2,7 +2,8 @@
|
|||
;;; Copyright © 2019 Nicolò Balzarotti <nicolo@nixo.xyz>
|
||||
;;; Copyright © 2021 Ludovic Courtès <ludo@gnu.org>
|
||||
;;; Copyright © 2021 Jean-Baptiste Volatier <jbv@pm.me>
|
||||
;;; Copyright © 2021 Simon Tournier <zimon.toutoune@gmail.com>
|
||||
;;; Copyright © 2021, 2022 Simon Tournier <zimon.toutoune@gmail.com>
|
||||
;;; Copyright © 2022 Efraim Flashner <efraim@flashner.co.il>
|
||||
;;;
|
||||
;;; This file is part of GNU Guix.
|
||||
;;;
|
||||
|
@ -88,6 +89,7 @@
|
|||
(guile #f)
|
||||
(julia-package-name #f)
|
||||
(julia-package-uuid #f)
|
||||
(julia-package-dependencies ''())
|
||||
(imported-modules %julia-build-system-modules)
|
||||
(modules '((guix build julia-build-system)
|
||||
(guix build utils))))
|
||||
|
@ -108,7 +110,8 @@
|
|||
search-paths))
|
||||
#:inputs #$(input-tuples->gexp inputs)
|
||||
#:julia-package-name #$julia-package-name
|
||||
#:julia-package-uuid #$julia-package-uuid))))
|
||||
#:julia-package-uuid #$julia-package-uuid
|
||||
#:julia-package-dependencies #$julia-package-dependencies))))
|
||||
|
||||
(mlet %store-monad ((guile (package->derivation (or guile (default-guile))
|
||||
system #:graft? #f)))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue