tangled
alpha
login
or
join now
tjh.dev
/
nixpkgs
Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
0
fork
atom
overview
issues
pulls
pipelines
texinfo: fix cross
Will Dietz
8 years ago
f57fc787
4e5a4a92
+16
-4
2 changed files
expand all
collapse all
unified
split
pkgs
development
tools
misc
texinfo
5.2.nix
6.5.nix
+8
-1
pkgs/development/tools/misc/texinfo/5.2.nix
···
1
-
{ stdenv, fetchurl, ncurses, perl, xz, procps, interactive ? false }:
2
3
with stdenv.lib;
4
···
10
sha256 = "1njfwh2z34r2c4r0iqa7v24wmjzvsfyz4vplzry8ln3479lfywal";
11
};
12
0
0
0
0
13
buildInputs = [ perl xz.bin ]
14
++ optional interactive ncurses
15
++ optional doCheck procps; # for tests
0
0
0
16
17
preInstall = ''
18
installFlags="TEXMF=$out/texmf-dist";
···
1
+
{ stdenv, buildPackages, fetchurl, ncurses, perl, xz, procps, interactive ? false }:
2
3
with stdenv.lib;
4
···
10
sha256 = "1njfwh2z34r2c4r0iqa7v24wmjzvsfyz4vplzry8ln3479lfywal";
11
};
12
13
+
# We need a native compiler to build perl XS extensions
14
+
# when cross-compiling.
15
+
depsBuildBuild = [ buildPackages.stdenv.cc perl ];
16
+
17
buildInputs = [ perl xz.bin ]
18
++ optional interactive ncurses
19
++ optional doCheck procps; # for tests
20
+
21
+
configureFlags = [ "PERL=${buildPackages.perl}/bin/perl" ]
22
+
++ stdenv.lib.optional stdenv.isSunOS "AWK=${gawk}/bin/awk";
23
24
preInstall = ''
25
installFlags="TEXMF=$out/texmf-dist";
+8
-3
pkgs/development/tools/misc/texinfo/6.5.nix
···
1
-
{ stdenv, fetchurl, ncurses, perl, xz, libiconv, gawk, procps, interactive ? false }:
2
3
with stdenv.lib;
4
···
10
sha256 = "0qjzvbvnv9003xdrcpi3jp7y68j4hq2ciw9frh2hghh698zlnxvp";
11
};
12
13
-
buildInputs = [ perl xz ]
0
0
0
0
14
++ optionals stdenv.isSunOS [ libiconv gawk ]
15
++ optional interactive ncurses
16
++ optional doCheck procps; # for tests
17
18
-
configureFlags = stdenv.lib.optional stdenv.isSunOS "AWK=${gawk}/bin/awk";
0
19
20
preInstall = ''
21
installFlags="TEXMF=$out/texmf-dist";
···
1
+
{ stdenv, buildPackages, fetchurl, ncurses, perl, xz, libiconv, gawk, procps, interactive ? false }:
2
3
with stdenv.lib;
4
···
10
sha256 = "0qjzvbvnv9003xdrcpi3jp7y68j4hq2ciw9frh2hghh698zlnxvp";
11
};
12
13
+
# We need a native compiler to build perl XS extensions
14
+
# when cross-compiling.
15
+
depsBuildBuild = [ buildPackages.stdenv.cc perl ];
16
+
17
+
buildInputs = [ xz ]
18
++ optionals stdenv.isSunOS [ libiconv gawk ]
19
++ optional interactive ncurses
20
++ optional doCheck procps; # for tests
21
22
+
configureFlags = [ "PERL=${buildPackages.perl}/bin/perl" ]
23
+
++ stdenv.lib.optional stdenv.isSunOS "AWK=${gawk}/bin/awk";
24
25
preInstall = ''
26
installFlags="TEXMF=$out/texmf-dist";