thanks for the tip. Roelof
> Date: Thu, 5 Dec 2013 07:57:15 +0100 > Subject: Re: [Nix-dev] add xslt to a derivation > From: [email protected] > To: [email protected] > CC: [email protected]; [email protected] > > On 4 December 2013 13:38, Mathijs Kwik <[email protected]> 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 <[email protected]> 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
_______________________________________________ nix-dev mailing list [email protected] http://lists.science.uu.nl/mailman/listinfo/nix-dev
