diff options
Diffstat (limited to 'pkgs/development/libraries/glibc/info.nix')
-rw-r--r-- | pkgs/development/libraries/glibc/info.nix | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/pkgs/development/libraries/glibc/info.nix b/pkgs/development/libraries/glibc/info.nix new file mode 100644 index 00000000000..e4cdb42dd68 --- /dev/null +++ b/pkgs/development/libraries/glibc/info.nix @@ -0,0 +1,26 @@ +{ 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"; +} |