We could also introduce nixos style
executables.krita.checks.--help = true;
executables.krita.checks.exists = true;
test -x $out/bin/x
test -x $out/bin/y
Is duplicate testing code
for prog in x y; do
$out/bin/$prog
done
makes it harder to debug what's going on, because shell
On 01/24/2015 02:37 PM, Peter Simons wrote:
| doInstallCheck = true;
| installCheckPhase = test -x $out/bin/krita;
Yes, perhaps it's better to start simple like this.
Also, I found it useful to run ``$out/bin/foo --version`` in there to
detect badly linked or badly wrapped
Recently calligra broke.
I'd like to introduce a simple patch like this:
http://mawercer.de/tmp/calligra.patch
It should ensure that the build fails eg if krita is missing. The
problem was that updating eigen caused calligra to determine krita
cannot be build, so everything else of the suite was
Marc Weber marco-owe...@gmx.de writes:
Recently calligra broke.
I'd like to introduce a simple patch like this:
http://mawercer.de/tmp/calligra.patch
It should ensure that the build fails eg if krita is missing. The
problem was that updating eigen caused calligra to determine krita
cannot
Hi Marc,
how about
| mkDerivation {
| [...]
|
| doInstallCheck = true;
| installCheckPhase = test -x $out/bin/krita;
|
| };
...?
Best regards,
Peter
___
nix-dev mailing list
nix-dev@lists.science.uu.nl