aboutsummaryrefslogtreecommitdiff
path: root/packcc/default.nix
diff options
context:
space:
mode:
authorTom Harley2020-11-28 12:18:41 +0000
committerTom Harley2020-11-28 12:18:41 +0000
commit2c2c10d552e818d0f2afadeca0169429052a984f (patch)
tree48699decf8457694924d4919bdbea165077ee8b3 /packcc/default.nix
parentInitial commit (diff)
downloadmagpkgs-2c2c10d552e818d0f2afadeca0169429052a984f.tar.gz
magpkgs-2c2c10d552e818d0f2afadeca0169429052a984f.zip

Create operational Conjure

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.

Diffstat (limited to 'packcc/default.nix')
0 files changed, 0 insertions, 0 deletions