[Nix-dev] add xslt to a derivation

Roelof Wobben rwobben at hotmail.com
Thu Dec 5 08:03:43 CET 2013


thanks for the tip.
 
Roelof

 
> Date: Thu, 5 Dec 2013 07:57:15 +0100
> Subject: Re: [Nix-dev] add xslt to a derivation
> From: bjorn.forsman at gmail.com
> To: mathijs at bluescreen303.nl
> CC: rwobben at hotmail.com; nix-dev at lists.science.uu.nl
> 
> On 4 December 2013 13:38, Mathijs Kwik <mathijs at bluescreen303.nl> wrote:
> > $ grep 'xslt.*=' pkgs/top-level/all-packages.nix
> >   libxslt = callPackage ../development/libraries/libxslt { };
> >   docbook_xml_xslt = docbook_xsl;
> >
> > first result
> >
> >
> >
> > On Wed, Dec 4, 2013 at 1:31 PM, Roelof Wobben <rwobben at hotmail.com> wrote:
> >> when compiling cinnamon-control-center I see this message:
> >>
> >> checking whether gcc understands -Wno-sign-compare... yes
> >> checking what warning flags to pass to the C compiler... -Wall
> >> -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wno-sign-compare
> >> checking what language compliance flags to pass to the C compiler...
> >> checking for X... no
> >> checking for glib-mkenums...
> >> /nix/store/1kh7gl673vp4zpilrvsi4cmxwk7il27n-glib-2.36.4/bin/glib-mkenums
> >> checking for xsltproc... no
> >> configure: error: xsltproc is required to build documentation
> >> builder for
> >> `/nix/store/m6mhqzk71kd6y5ci9qylsjknffcy9bqc-cinnamon-control-center-2.0.9.drv'
> >> failed with exit code 1
> >> error: build of
> >> `/nix/store/m6mhqzk71kd6y5ci9qylsjknffcy9bqc-cinnamon-control-center-2.0.9.drv'
> >> failed
> >>
> >>
> >> but if I add xslt to the buildInputs I see that xsltproc is not known as a
> >> package.
> >>
> >> How to solve this ?
> 
> I usually try to run the program first, because if it is available in
> the channel nix will print the package name:
> 
> $ xsltproc
> The program ‘xsltproc’ is currently not installed. You can install it by typing:
>   nix-env -i libxslt
> 
> But some packages aren't available in the channel (if their
> expressions lack meta.platforms). So if the above fails I do what
> Mathijs says and grep for it in the nixpkgs tree.
> 
> Best regards,
> Bjørn Forsman
 		 	   		  
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.science.uu.nl/pipermail/nix-dev/attachments/20131205/c8d3d17f/attachment.html 


More information about the nix-dev mailing list