texinfo: fix issue with libiconv not being passed in by removing top-level with lib
statement (#308835)
This commit is contained in:
parent
512b6d9ad2
commit
33ae86a951
1 changed files with 3 additions and 4 deletions
|
@ -1,7 +1,7 @@
|
||||||
{ version, sha256, patches ? [] }:
|
{ version, sha256, patches ? [] }:
|
||||||
|
|
||||||
{ lib, stdenv, buildPackages, fetchurl, perl, xz, libintl, bash
|
{ lib, stdenv, buildPackages, fetchurl, perl, xz, libintl, bash
|
||||||
, gnulib, gawk
|
, gnulib, gawk, libiconv
|
||||||
|
|
||||||
# we are a dependency of gcc, this simplifies bootstraping
|
# we are a dependency of gcc, this simplifies bootstraping
|
||||||
, interactive ? false, ncurses, procps
|
, interactive ? false, ncurses, procps
|
||||||
|
@ -13,11 +13,10 @@
|
||||||
# files.
|
# files.
|
||||||
|
|
||||||
let
|
let
|
||||||
|
inherit (lib) getDev getLib optional optionals optionalString;
|
||||||
crossBuildTools = stdenv.hostPlatform != stdenv.buildPlatform;
|
crossBuildTools = stdenv.hostPlatform != stdenv.buildPlatform;
|
||||||
in
|
in
|
||||||
|
|
||||||
with lib;
|
|
||||||
|
|
||||||
stdenv.mkDerivation {
|
stdenv.mkDerivation {
|
||||||
pname = "texinfo${optionalString interactive "-interactive"}";
|
pname = "texinfo${optionalString interactive "-interactive"}";
|
||||||
inherit version;
|
inherit version;
|
||||||
|
@ -83,7 +82,7 @@ stdenv.mkDerivation {
|
||||||
done
|
done
|
||||||
'';
|
'';
|
||||||
|
|
||||||
meta = {
|
meta = with lib; {
|
||||||
description = "The GNU documentation system";
|
description = "The GNU documentation system";
|
||||||
homepage = "https://www.gnu.org/software/texinfo/";
|
homepage = "https://www.gnu.org/software/texinfo/";
|
||||||
changelog = "https://git.savannah.gnu.org/cgit/texinfo.git/plain/NEWS";
|
changelog = "https://git.savannah.gnu.org/cgit/texinfo.git/plain/NEWS";
|
||||||
|
|
Loading…
Reference in a new issue