mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-12-25 05:48:07 -05:00
gnu: scilab: Add sanity-check phase.
* gnu/packages/maths.scm (scilab): [arguments]<#:phases>: Add sanity-check phase. Change-Id: Idc6911511fd0bf7e779d4af026f0a6390eb3b079 Signed-off-by: Ludovic Courtès <ludo@gnu.org>
This commit is contained in:
parent
8570fccfa7
commit
ed0d985385
1 changed files with 6 additions and 1 deletions
|
@ -10113,7 +10113,12 @@ (define (bin path) (string-append #$output "/bin/" path))
|
||||||
"\"${XDG_STATE_HOME:-$HOME/.local/state}/scilab/"
|
"\"${XDG_STATE_HOME:-$HOME/.local/state}/scilab/"
|
||||||
#$(package-version this-package) "\""))
|
#$(package-version this-package) "\""))
|
||||||
(("export SCI=")
|
(("export SCI=")
|
||||||
"unset LANGUAGE\nexport SCI="))))))))
|
"unset LANGUAGE\nexport SCI="))))
|
||||||
|
(add-after 'rewrap-scilab-cli 'sanity-check
|
||||||
|
(lambda _
|
||||||
|
(setenv "HOME" (getcwd))
|
||||||
|
(invoke (string-append #$output "/bin/scilab-cli")
|
||||||
|
"-e" "\"quit;\"")))))))
|
||||||
(home-page "https://www.scilab.org/")
|
(home-page "https://www.scilab.org/")
|
||||||
(synopsis "Software for engineers and scientists")
|
(synopsis "Software for engineers and scientists")
|
||||||
(description "This package provides the non-graphical version of the Scilab
|
(description "This package provides the non-graphical version of the Scilab
|
||||||
|
|
Loading…
Reference in a new issue