1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-23 14:11:36 +00:00
nixpkgs/pkgs/development/libraries/glibc/2.17/info.nix
Lluís Batlle i Rossell 4684a47989 glibcInfo: fixing build
The manual is built into 'build', not sourceRoot.
2013-03-12 11:46:09 +01:00

27 lines
599 B
Nix

{ stdenv, fetchurl, texinfo, perl }:
let build = import ./common.nix; in
/* null cross builder */
build null {
name = "glibc-info";
inherit fetchurl stdenv;
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";
}