[Nix-dev] SVN commit r32596

Florian Friesdorf flo at chaoflow.net
Wed Mar 14 01:09:23 CET 2012


On Tue, 13 Mar 2012 21:52:10 +0100, David Guibert <david.guibert at gmail.com> wrote:
> Hi
> 
> On Tue, Mar 13, 2012 at 9:17 PM, Corey O'Connor <coreyoconnor at gmail.com> wrote:
> > This commit moved the libxml2 python module.
> > See: http://www.mail-archive.com/nix-dev@lists.science.uu.nl/msg04755.html

That commit was reverted on the stdenv-updates branch and never made it
into trunk.

For me evince fails already with:
checking for KEYRING... configure: error: Package requirements (gnome-keyring-1 >= 2.22.0) were not met:

No package 'gnome-keyring-1' found

> > This appears to break the build of evince. Which uses python libxml2
> > to build the documentation. See the error at the end of this message.
> >
> > I am not sure how to resolve this.
> 
> I've one uncommitted modification to gnome-doc-utils which had fixed
> the compilation of evince on my system.
> But I don't know if it's the best way to resolve the issue.

https://nixos.org/repos/nix/nixpkgs/trunk@32934 looks suspicious.

> diff --git a/pkgs/desktops/gnome-2/desktop/gnome-doc-utils/default.nix
> b/pkgs/desktops/gnome-2/desktop/gnome-doc-utils/default.nix
> index 4953c86..ef85e6f 100644
> --- a/pkgs/desktops/gnome-2/desktop/gnome-doc-utils/default.nix
> +++ b/pkgs/desktops/gnome-2/desktop/gnome-doc-utils/default.nix
> @@ -10,8 +10,12 @@ stdenv.mkDerivation {
>    };
> 
>    configureFlags = "--disable-scrollkeeper";
> -  buildInputs = [ python libxml2Python libxslt ];
> -  postInstall = "wrapPythonPrograms";
> +  buildInputs = [ python libxml2Python libxslt makeWrapper ];
> +#  postInstall = "wrapPythonPrograms";
> +  postInstall = ''
> +    wrapProgram $out/bin/xml2po --prefix PYTHONPATH : $(toPythonPath $out) \
> +      ''${PYTHONPATH:+ --prefix PYTHONPATH : $PYTHONPATH} \
> +  '';
> 
>    buildNativeInputs = [ pkgconfig intltool pythonPackages.wrapPython ];
>  }
> -- 
> Regards, David
> _______________________________________________
> nix-dev mailing list
> nix-dev at lists.science.uu.nl
> http://lists.science.uu.nl/mailman/listinfo/nix-dev

-- 
Florian Friesdorf <flo at chaoflow.net>
  GPG FPR: 7A13 5EEE 1421 9FC2 108D  BAAF 38F8 99A3 0C45 F083
Jabber/XMPP: flo at chaoflow.net
IRC: chaoflow on freenode,ircnet,blafasel,OFTC
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 835 bytes
Desc: not available
Url : http://lists.science.uu.nl/pipermail/nix-dev/attachments/20120314/bfba1690/attachment.bin 


More information about the nix-dev mailing list