@@ -10054,7 +10054,12 @@ (define (bin path) (string-append #$output "/bin/" path))
"\"${XDG_STATE_HOME:-$HOME/.local/state}/scilab/"
#$(package-version this-package) "\""))
(("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/")
(synopsis "Software for engineers and scientists")
(description "This package provides the non-graphical version of the Scilab