mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2025-01-26 12:39:36 -05:00
gnu: guile-proba: Fix environment vars in Guile Proba's script.
* gnu/packages/check.scm (guile-proba): Micro fix. Guile Proba's CLI script, as created via Guix's `wrap-program', should take into account (as opposed to discard) the original, user-defined values of `GUILE_LOAD_PATH' and `GUILE_LOAD_COMPILED_PATH'. Currently, Guile Proba's CLI script is unable to find any third-party library needed by the app being tested. This micro change should fix this. Signed-off-by: Mathieu Othacehe <othacehe@gnu.org>
This commit is contained in:
parent
8e8d20b6b3
commit
e4fb70e2e8
1 changed files with 2 additions and 2 deletions
|
@ -3599,8 +3599,8 @@ (define-public guile-proba
|
|||
(copy-file "proba.scm" script)
|
||||
(chmod script #o555)
|
||||
(wrap-program script
|
||||
`("GUILE_LOAD_PATH" = (,(getenv "GUILE_LOAD_PATH")))
|
||||
`("GUILE_LOAD_COMPILED_PATH" =
|
||||
`("GUILE_LOAD_PATH" prefix (,(getenv "GUILE_LOAD_PATH")))
|
||||
`("GUILE_LOAD_COMPILED_PATH" prefix
|
||||
(,(getenv "GUILE_LOAD_COMPILED_PATH")))))))
|
||||
(add-after 'install 'install-manual
|
||||
(lambda* (#:key outputs #:allow-other-keys)
|
||||
|
|
Loading…
Reference in a new issue