[Nix-dev] remove manifest on nixos

Lluís Batlle i Rossell viric at viric.name
Mon Dec 5 21:51:49 CET 2011


On Mon, Dec 05, 2011 at 09:49:26PM +0100, Mathijs Kwik wrote:
> I noticed the package "okular" can't open pdf files.
> I found that the binary isn't linked to poppler/poppler-qt (the .nix
> expression looks ok and uses popplerQt4 as input).
> 
> Not sure if that's the problem, but as a first test, I would like to
> recompile it and look at warnings in the output.
> However, okular is already in the manifest, so reinstalling it will
> just get this same binary version again.
> nix-env does have a "prebuilt-only" flag, but I couldn't find "no-prebuilt".

Hello Mathijs,

Change the okular expression, even a little change. For example, add
installPhase = "exit 1";

Then it will build. Build it with "-K", and as it will fail you'll be able to
check the output in the resulting directory reported by the builder

Regards,
Lluís.


More information about the nix-dev mailing list