aboutsummaryrefslogtreecommitdiff
path: root/conjure-minion.nix
AgeCommit message (Collapse)AuthorLines
2020-12-07Add README and remove conjure-minion.nixTom Harley-6/+0
Added a README that explains how to use the project and the rationale behind keeping it separate from nixpkgs. Replaced `conjure-minion.nix` with an explanation of how to build Conjure in the README.
2020-11-28Create operational ConjureTom Harley-0/+6
The derivation described in `conjure-minion.nix` creates a functional Conjure/Savile Row/Minion setup, where `conjure solve` can succesfully solve using Savile Row and Minion. Unfortunately, the most recent versions of these three programs available on their respective download pages do not cooperate. As of this commit, Minion v2 is not available on its download site https://constraintmodelling.org/minion/download/ but it is available in Conjure's downloads https://github.com/conjure-cp/conjure/releases/tag/v2.3.0 along with Savile Row v1.7.0. These three programs work together, and as such are the ones mentioned in `conjure-minion.nix`. Additionally, the property `conjure.containedSolvers` on `default.nix` contains derivations able to build the solvers provided on the Conjure download page. This shows an issue which is not solved by nixpgks: dependencies on specific versions/version ranges. nixpkgs does not really support referring to specific versions of packages: https://github.com/NixOS/nixpkgs/issues/93327 support for version dependencies seems unlikely to appear soon. Having multiple different versions of packages available and using a CI test system to check for support in a matrix of different package versions could be a nice thing to implement---then again, it could also end up being a waste of CPU (and human) time.