NixOS / nixpkgs

Nix Packages collection & NixOS
MIT License
18.28k stars 14.27k forks source link

Macaulay2 #186823

Open k-u-bux opened 2 years ago

k-u-bux commented 2 years ago

Project description

From Wikipedia: Macaulay2 is a free computer algebra system created by Daniel Grayson (from the University of Illinois at Urbana–Champaign) and Michael Stillman (from Cornell University) for computation in commutative algebra and algebraic geometry.

Metadata

pdg137 commented 6 months ago

I got most of the build to work and described some problems in the above-linked issue. Here's my repository with the build script:

https://github.com/pdg137/macaulay2-build

Unfortunately it fails during the documentation part of the build process due to some dlopen issue that I don't know how to debug at all. I'd be happy to hear any suggestions.

pdg137 commented 6 months ago

I have this building a M2 binary now in a reasonable way, including several required sub-packages that are not in nixpkgs. The dlopen command still fails but I disabled documentation so that the build can complete. I think the next step is to figure out some basic tests, but it is already worth trying out if you need Macaulay2 on NixOS.