about summary refs log tree commit diff
diff options
context:
space:
mode:
authorPhilip Taron <philip.taron@gmail.com>2024-04-11 11:35:36 -0700
committerPhilip Taron <philip.taron@gmail.com>2024-04-15 09:21:43 -0700
commit837069946a05dc39943fc8500623774c9b4c7d04 (patch)
treee976d289c0082eaefb169b53f012d8996c31ff98
parent0665935e754fdd119db5f8578b397bf1c6d25eb7 (diff)
avrdude: document more about why documentation building doesn't work on darwin
-rw-r--r--pkgs/development/embedded/avrdude/default.nix9
1 files changed, 6 insertions, 3 deletions
diff --git a/pkgs/development/embedded/avrdude/default.nix b/pkgs/development/embedded/avrdude/default.nix
index 0e957f837c60c..68b819e38c6b4 100644
--- a/pkgs/development/embedded/avrdude/default.nix
+++ b/pkgs/development/embedded/avrdude/default.nix
@@ -1,7 +1,10 @@
 { lib, stdenv, fetchFromGitHub, cmake, bison, flex, libusb1, libelf
-, libftdi1, readline, libserialport, hidapi
-# documentation building is broken on darwin
-, docSupport ? (!stdenv.isDarwin), texliveMedium, texinfo, texi2html, unixtools }:
+, libftdi1, readline, hidapi, libserialport
+# Documentation building doesn't work on Darwin. It fails with:
+#   Undefined subroutine &Locale::Messages::dgettext called in ... texi2html
+#
+# https://github.com/NixOS/nixpkgs/issues/224761
+, docSupport ? (!stdenv.hostPlatform.isDarwin), texliveMedium, texinfo, texi2html, unixtools }:
 
 stdenv.mkDerivation rec {
   pname = "avrdude";