1{
2 callPackage,
3 texinfo,
4 perl,
5}:
6
7callPackage ./common.nix { } {
8 pname = "glibc-info";
9
10 outputs = [ "out" ];
11
12 configureFlags = [ "--enable-add-ons" ];
13
14 extraNativeBuildInputs = [
15 texinfo
16 perl
17 ];
18
19 buildFlags = [ "info" ];
20
21 # I don't know why the info is not generated in 'build'
22 # Somehow building the info still does not work, because the final
23 # libc.info hasn't a Top node.
24 installPhase = ''
25 mkdir -p "$out/share/info"
26 cp -v "manual/"*.info* "$out/share/info"
27 '';
28
29 meta.description = "GNU Info manual of the GNU C Library";
30}