From 4922268077d9485a69fa836fe170e3497b5455fa Mon Sep 17 00:00:00 2001 From: Michael Raskin <7c6f434c@mail.ru> Date: Sun, 27 May 2018 22:41:06 +0200 Subject: [PATCH] libftdi1: fix build when docs are enabled --- pkgs/development/libraries/libftdi/1.x.nix | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/pkgs/development/libraries/libftdi/1.x.nix b/pkgs/development/libraries/libftdi/1.x.nix index d54b05b1c828..c6deb1fc9291 100644 --- a/pkgs/development/libraries/libftdi/1.x.nix +++ b/pkgs/development/libraries/libftdi/1.x.nix @@ -22,6 +22,10 @@ stdenv.mkDerivation rec { ++ optionals pythonSupport [ python swig ] ++ optionals docSupport [ doxygen ]; + preBuild = stdenv.lib.optionalString docSupport '' + make doc_i + ''; + propagatedBuildInputs = [ libusb1 ]; postInstall = ''