lol

libidn2: fix build on darwin

The documentation requirements changed after the version upgrade in
https://github.com/NixOS/nixpkgs/pull/123059.

authored by

Andrew Childs and committed by
Jonathan Ringer
84afb3a1 703579f7

+4 -2
+4 -2
pkgs/development/libraries/libidn2/default.nix
··· 1 - { fetchurl, lib, stdenv, libiconv, libunistring, help2man, buildPackages }: 1 + { fetchurl, lib, stdenv, libiconv, libunistring, help2man, texinfo, buildPackages }: 2 2 3 3 # Note: this package is used for bootstrapping fetchurl, and thus 4 4 # cannot use fetchpatch! All mutable patches (generated by GitHub or ··· 20 20 21 21 patches = optional stdenv.isDarwin ./fix-error-darwin.patch; 22 22 23 - nativeBuildInputs = optional stdenv.isDarwin help2man; 23 + # The above patch causes the documentation to be regenerated, so the 24 + # documentation tools are required. 25 + nativeBuildInputs = optionals stdenv.isDarwin [ help2man texinfo ]; 24 26 buildInputs = [ libunistring ] ++ optional stdenv.isDarwin libiconv; 25 27 depsBuildBuild = [ buildPackages.stdenv.cc ]; 26 28