about summary refs log tree commit diff
path: root/pkgs/development/tools/misc/texinfo/common.nix
diff options
context:
space:
mode:
authorPhilip Taron <philip.taron@gmail.com>2024-05-03 11:09:14 -0700
committerGitHub <noreply@github.com>2024-05-03 20:09:14 +0200
commit33ae86a95140f3fdc877b4507955343debe32014 (patch)
tree99d7188d0f1168de1119816156fd34c46813a515 /pkgs/development/tools/misc/texinfo/common.nix
parent512b6d9ad20d0dae0afe6570bda5c0436cf599f2 (diff)
texinfo: fix issue with libiconv not being passed in by removing top-level `with lib` statement (#308835)
Diffstat (limited to 'pkgs/development/tools/misc/texinfo/common.nix')
-rw-r--r--pkgs/development/tools/misc/texinfo/common.nix7
1 files changed, 3 insertions, 4 deletions
diff --git a/pkgs/development/tools/misc/texinfo/common.nix b/pkgs/development/tools/misc/texinfo/common.nix
index d8d63088ee7ea..17bb656aac9b8 100644
--- a/pkgs/development/tools/misc/texinfo/common.nix
+++ b/pkgs/development/tools/misc/texinfo/common.nix
@@ -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";