Closed dzmitry-lahoda closed 5 months ago
this is early stages.
nix has ideal ways to configure "featuers" via flags/ovverrideattrs and etc
idea is to have all deps native flake https://github.com/scivision/mumps/pull/74 and allow to override any deps and combinations, so can build engine per need.
You might want to try my flake https://github.com/Lichthagel/scipopt-nix which I have been working on recently.
I used your trick to package tbb with cmake support. Apart from that it is more sophisticated than your initial draft in this PR:
nativeBuildInputs
and buildInputs
are used correctly./patches
)./packages
)./templates
)If you notice anything wrong or missing feel free to raise an issue or PR.
Generally I think nix packaging should stay in a different repo, as the scipopt suite consists of a wide variety of tools and their maintainers are likely not acquainted with nix.
Generally I think nix packaging should stay in a different repo, as the scipopt suite consists of a wide variety of tools and their maintainers are likely not acquainted with nix.
Indeed. I don't think we have the capacity to maintain and test this as well.
nix build
will produce include/lib for linux. Sure can make it work on mac easy.note
So can not build and use in nix. Oneliner. World is happy.
Would be awesome ZIMPL to be git repo - i did not found such - download zip..
Ensured that by default git ignore does not ignores useful
build..
files, but only out dir of cmake.Ignored nix builds too.