<feed xmlns='http://www.w3.org/2005/Atom'>
<title>magpkgs/default.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>Add jsmn</title>
<updated>2021-11-21T08:26:31+00:00</updated>
<author>
<name>Tom Harley</name>
</author>
<published>2021-11-21T08:26:31+00:00</published>
<link rel='alternate' type='text/html' href='https://www.magnostherobot.co.uk/git.cgi/personal-projects/magpkgs/commit/?id=9db7d8c2789312911ceb7a7671f1db833fd25be9'/>
<id>9db7d8c2789312911ceb7a7671f1db833fd25be9</id>
<content type='text'>
jsmn is a single-header-only JSON parsing library for C.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
jsmn is a single-header-only JSON parsing library for C.
</pre>
</div>
</content>
</entry>
<entry>
<title>Add packcc</title>
<updated>2021-11-21T08:25:58+00:00</updated>
<author>
<name>Tom Harley</name>
</author>
<published>2021-11-21T08:25:58+00:00</published>
<link rel='alternate' type='text/html' href='https://www.magnostherobot.co.uk/git.cgi/personal-projects/magpkgs/commit/?id=eca88dd2da59857f4240fc9edd545ec3590628b4'/>
<id>eca88dd2da59857f4240fc9edd545ec3590628b4</id>
<content type='text'>
packcc is a packrat parser generator.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
packcc is a packrat parser generator.
</pre>
</div>
</content>
</entry>
<entry>
<title>Remove stdenv/fetch things</title>
<updated>2021-11-21T08:23:16+00:00</updated>
<author>
<name>Tom Harley</name>
</author>
<published>2021-11-21T08:23:16+00:00</published>
<link rel='alternate' type='text/html' href='https://www.magnostherobot.co.uk/git.cgi/personal-projects/magpkgs/commit/?id=27fe4cc810d630b3933bbb666776e510050b0f9e'/>
<id>27fe4cc810d630b3933bbb666776e510050b0f9e</id>
<content type='text'>
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).
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
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).
</pre>
</div>
</content>
</entry>
<entry>
<title>Update PoB version</title>
<updated>2021-10-22T11:53:27+00:00</updated>
<author>
<name>Tom Harley</name>
</author>
<published>2021-10-22T11:53:27+00:00</published>
<link rel='alternate' type='text/html' href='https://www.magnostherobot.co.uk/git.cgi/personal-projects/magpkgs/commit/?id=7ee7bc4c7a32fcc7c45a80d9dc122a4e6d31b2df'/>
<id>7ee7bc4c7a32fcc7c45a80d9dc122a4e6d31b2df</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Add Path of Building</title>
<updated>2021-10-05T23:54:19+00:00</updated>
<author>
<name>Tom Harley</name>
</author>
<published>2021-10-05T23:54:19+00:00</published>
<link rel='alternate' type='text/html' href='https://www.magnostherobot.co.uk/git.cgi/personal-projects/magpkgs/commit/?id=b016c7c52409d420c53522ef2efa178e9ca18335'/>
<id>b016c7c52409d420c53522ef2efa178e9ca18335</id>
<content type='text'>
The Path of Building Community Fork is a program for managing Path of
Exile Builds. Its homepage can be found at:

https://pathofbuilding.community

There are a few caveats to this derivation:

- The version of the program used is the portable windows edition,
  available in the releases section of the GitHub proejct. Ideally, the
  program would be built from sources for linux, but this is apparently
  not very easy.

- The program has a default save directory, which is set to within the
  nix store. It _should_ be easy enought to change this directory in the
  program itself, however...

- The configuration of the program is also stored in the nix store (as
  it's just a copy of a portable program).

- The program opens with an error message, although I can't find any
  repercussions from just closing the message and continuing.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The Path of Building Community Fork is a program for managing Path of
Exile Builds. Its homepage can be found at:

https://pathofbuilding.community

There are a few caveats to this derivation:

- The version of the program used is the portable windows edition,
  available in the releases section of the GitHub proejct. Ideally, the
  program would be built from sources for linux, but this is apparently
  not very easy.

- The program has a default save directory, which is set to within the
  nix store. It _should_ be easy enought to change this directory in the
  program itself, however...

- The configuration of the program is also stored in the nix store (as
  it's just a copy of a portable program).

- The program opens with an error message, although I can't find any
  repercussions from just closing the message and continuing.
</pre>
</div>
</content>
</entry>
<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>Make repo name more general</title>
<updated>2020-12-06T15:11:27+00:00</updated>
<author>
<name>Tom Harley</name>
</author>
<published>2020-12-06T15:11:27+00:00</published>
<link rel='alternate' type='text/html' href='https://www.magnostherobot.co.uk/git.cgi/personal-projects/magpkgs/commit/?id=b72690afb47c07374797c8f2ac867f4a8cd85c5f'/>
<id>b72690afb47c07374797c8f2ac867f4a8cd85c5f</id>
<content type='text'>
While this repo currently only covers solvers, it's likely that I'll
want to add other, non-solver programs to this repo at some point.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
While this repo currently only covers solvers, it's likely that I'll
want to add other, non-solver programs to this repo 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>
