<feed xmlns='http://www.w3.org/2005/Atom'>
<title>magpkgs/conjure/solvers.nix, branch master</title>
<subtitle>Nix repository of random things</subtitle>
<link rel='alternate' type='text/html' href='https://www.magnostherobot.co.uk/git.cgi/personal-projects/magpkgs/'/>
<entry>
<title>Fix conjure-minion.nix</title>
<updated>2020-12-06T22:32:26+00:00</updated>
<author>
<name>Tom Harley</name>
</author>
<published>2020-12-06T22:32:26+00:00</published>
<link rel='alternate' type='text/html' href='https://www.magnostherobot.co.uk/git.cgi/personal-projects/magpkgs/commit/?id=911a3d771c0fdae11c4943078ae16a9059fcb327'/>
<id>911a3d771c0fdae11c4943078ae16a9059fcb327</id>
<content type='text'>
`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.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
`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.
</pre>
</div>
</content>
</entry>
<entry>
<title>Simplify callPackage</title>
<updated>2020-12-06T14:14:30+00:00</updated>
<author>
<name>Tom Harley</name>
</author>
<published>2020-12-06T14:14:30+00:00</published>
<link rel='alternate' type='text/html' href='https://www.magnostherobot.co.uk/git.cgi/personal-projects/magpkgs/commit/?id=66d0859fe359fd6c9bb8f71163090d0751b99006'/>
<id>66d0859fe359fd6c9bb8f71163090d0751b99006</id>
<content type='text'>
The callPackage used by nixpkgs is much more complicated than is
necessary for a simple package repo.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The callPackage used by nixpkgs is much more complicated than is
necessary for a simple package repo.
</pre>
</div>
</content>
</entry>
<entry>
<title>Rewrite to treat as own package repo</title>
<updated>2020-12-06T13:55:04+00:00</updated>
<author>
<name>Tom Harley</name>
</author>
<published>2020-12-06T13:55:04+00:00</published>
<link rel='alternate' type='text/html' href='https://www.magnostherobot.co.uk/git.cgi/personal-projects/magpkgs/commit/?id=62ed5302722e2ee819663d7f5eed5dd46651034b'/>
<id>62ed5302722e2ee819663d7f5eed5dd46651034b</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Create operational Conjure</title>
<updated>2020-11-28T12:18:41+00:00</updated>
<author>
<name>Tom Harley</name>
</author>
<published>2020-11-28T12:18:41+00:00</published>
<link rel='alternate' type='text/html' href='https://www.magnostherobot.co.uk/git.cgi/personal-projects/magpkgs/commit/?id=2c2c10d552e818d0f2afadeca0169429052a984f'/>
<id>2c2c10d552e818d0f2afadeca0169429052a984f</id>
<content type='text'>
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.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
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.
</pre>
</div>
</content>
</entry>
</feed>
