mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-26 00:43:20 +00:00
09af15654f
The kde-5 stuff still didn't merge well. I hand-fixed what I saw, but there may be more problems.
29 lines
632 B
Nix
29 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";
|
|
}
|