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