mirror of
https://git.savannah.gnu.org/git/guix.git
synced 2025-01-18 13:36:36 +01:00
DRAFT gnu: julia: Move default load path to the end.
DRAFT Something’s still broken. * gnu/packages/julia.scm (julia)[arguments]: In ‘make-wrapper’ phase, arrange to have the empty entry at the end of JULIA_LOAD_PATH and JULIA_DEPOT_PATH. Change-Id: I81e5dbc06535cb9fc7253b2944984cf7890bbe65
This commit is contained in:
parent
c5fd5e7dfe
commit
961866fdca
1 changed files with 7 additions and 4 deletions
|
@ -541,12 +541,15 @@ (define file
|
|||
(let* ((out (assoc-ref outputs "out"))
|
||||
(bin (string-append out "/bin"))
|
||||
(program "julia"))
|
||||
;; Always append ":" to the end of the load path. The
|
||||
;; empty load path entry expands to the default load
|
||||
;; path, which includes Julia's own modules.
|
||||
(with-directory-excursion bin
|
||||
(wrap-program program
|
||||
`("JULIA_LOAD_PATH" ":" prefix
|
||||
("" "$JULIA_LOAD_PATH"))
|
||||
`("JULIA_DEPOT_PATH" ":" prefix
|
||||
("" "$JULIA_DEPOT_PATH"))))))))
|
||||
`("JULIA_LOAD_PATH" ":" =
|
||||
("$JULIA_LOAD_PATH" ""))
|
||||
`("JULIA_DEPOT_PATH" ":" =
|
||||
("$JULIA_DEPOT_PATH" ""))))))))
|
||||
|
||||
#:make-flags
|
||||
#~(list (string-append "prefix=" #$output)
|
||||
|
|
Loading…
Reference in a new issue