[Nix-dev] recent calligra breakage - how to prevent?

Marc Weber marco-oweber at gmx.de
Sat Jan 24 13:29:33 CET 2015


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 build.

Now this is a "hack" - what about being more declarative introducing

mkDerivation {
  [...]

  expect.executables = ["krita" ...]

}

Later this could also be used for documentation purposes - eg finding
packages which provide some specific executables.

Does this already exist?

Marc Weber
Im Tannhoernle 4/1
D-78052 Villingen-Schwenningen
Germany

Mobil: 017660032282

Steuernummer: 22483/ 29259
Finanzamt Villingen-Schwenningen
DE12345678


More information about the nix-dev mailing list