Open adam-neeley opened 1 month ago
This issue has been mentioned on NixOS Discourse. There might be relevant details there:
From what I've gathered (thanks to @emilazy), implementing makeWrapper / wrapProgram is likely the best approach for this issue. I am currently working on a solution, but mention this in case others can help.
While Mathemagix recompiles (or "glues") its modules when run, this occurs in the user's home directory. There is no issue of mutable state; the only problem is access to a C++ compiler and libraries.
Describe the bug
The Mathemagix compiler (mmc) and interpreter (mmi) throw errors when run.
Steps To Reproduce
First, install the Mathemagix nix package
mathemagix
. One way:Run Compiler
Create file
hello.mmx
with the contents:Run
mmc hello.mmx
Compiler Error
Run Interpreter
mmi
Interpreter Error
Expected behavior
mmc
andmmi
should behave as intended, likemmx-light
.Additional context
Introduction
Mathemagix is an interesting bit of free software created by mathematician, computer scientist, and researcher Joris van der Hoeven.
In his recent 2023 paper Overview of the Mathemagix type system, van der Hoeven states:
Whether you are able to produce a complete fix or offer some simple advice, any help is greatly appreciated.
Links
Nix package:
Manual:
Website:
Source code:
van der Hoeven:
Notify maintainers
@drupol
Metadata
Add a :+1: reaction to issues you find important.