nixpkgs/pkgs/development/libraries/glibc/info.nix
Vladimír Čunát 09af15654f Merge master into closure-size
The kde-5 stuff still didn't merge well.
I hand-fixed what I saw, but there may be more problems.
2016-03-08 09:58:19 +01:00

28 lines
632 B
Nix

{ lib, stdenv, fetchurl, texinfo, perl }:
let build = import ./common.nix; in
/* null cross builder */
build null {
name = "glibc-info";
inherit fetchurl stdenv lib;
outputs = [ "out" ];
configureFlags = [ "--enable-add-ons" ];
buildInputs = [ texinfo perl ];
buildPhase = "make info";
# I don't know why the info is not generated in 'build'
# Somehow building the info still does not work, because the final
# libc.info hasn't a Top node.
installPhase = ''
mkdir -p "$out/share/info"
cp -v "manual/"*.info* "$out/share/info"
'';
meta.description = "GNU Info manual of the GNU C Library";
}