Message ID | 20240403062528.5483-3-ngraves@ngraves.fr |
---|---|
State | New |
Headers | show |
Series | Scilab: Fixup install of local Scilab packages. | expand |
diff --git a/gnu/packages/maths.scm b/gnu/packages/maths.scm index 0cb31abf7b..c920bc2f30 100644 --- a/gnu/packages/maths.scm +++ b/gnu/packages/maths.scm @@ -9880,7 +9880,11 @@ (define-public scilab (add-after 'bootstrap 'bootstrap-dynamic_link-scripts (lambda _ (with-directory-excursion "modules/dynamic_link/src/scripts" - ((assoc-ref %standard-phases 'bootstrap))))) + ((assoc-ref %standard-phases 'bootstrap)) + (substitute* "compilerDetection.sh" + (("PATHTOCONFIGURE=.*") + "PATHTOCONFIGURE=${BASH_SOURCE[0]%/*}/\n") + (("PROGNAME.*") "\n"))))) (add-before 'build 'pre-build (lambda* (#:key inputs #:allow-other-keys) ;; Fix core.start.