texinfo: fix issue with libiconv not being passed in by removing top-level with lib statement (#308835)

This commit is contained in:
Philip Taron 2024-05-03 11:09:14 -07:00 committed by GitHub
parent 512b6d9ad2
commit 33ae86a951
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -1,7 +1,7 @@
{ version, sha256, patches ? [] }:
{ lib, stdenv, buildPackages, fetchurl, perl, xz, libintl, bash
, gnulib, gawk
, gnulib, gawk, libiconv
# we are a dependency of gcc, this simplifies bootstraping
, interactive ? false, ncurses, procps
@ -13,11 +13,10 @@
# files.
let
inherit (lib) getDev getLib optional optionals optionalString;
crossBuildTools = stdenv.hostPlatform != stdenv.buildPlatform;
in
with lib;
stdenv.mkDerivation {
pname = "texinfo${optionalString interactive "-interactive"}";
inherit version;
@ -83,7 +82,7 @@ stdenv.mkDerivation {
done
'';
meta = {
meta = with lib; {
description = "The GNU documentation system";
homepage = "https://www.gnu.org/software/texinfo/";
changelog = "https://git.savannah.gnu.org/cgit/texinfo.git/plain/NEWS";