aboutsummaryrefslogtreecommitdiff
path: root/conjure
AgeCommit message (Collapse)AuthorLines
2021-11-21Remove stdenv/fetch thingsTom Harley-1/+1
It was a bit too much effort for now. Specifically, making fetch helpers that don't download the item to hash it are a little more involved. I might come back to this stuff in the future (although it might end up in a separate repo).
2020-12-06Fix conjure-minion.nixTom Harley-1/+5
`conjure-minion.nix`, the version of conjure that currently works, was made unbuildable because of the custom `makeOverriable` implementation. I've reverted to using the nixpkgs implementation for now, but would like to make a functional version myself at some point.
2020-12-06Simplify callPackageTom Harley-7/+9
The callPackage used by nixpkgs is much more complicated than is necessary for a simple package repo.
2020-12-06Rewrite to treat as own package repoTom Harley-59/+70
2020-11-28Create operational ConjureTom Harley-6/+63
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.
2020-11-25Initial commitTom Harley-0/+46