We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 6cb4a2a + d2d3a72 commit c0851deCopy full SHA for c0851de
pkgs/development/libraries/libftdi/default.nix
@@ -27,7 +27,9 @@ stdenv.mkDerivation rec {
27
28
propagatedBuildInputs = [ libusb-compat-0_1 ];
29
30
- configureFlags = lib.optional (!stdenv.hostPlatform.isDarwin) "--with-async-mode";
+ configureFlags = [
31
+ "ac_cv_prog_HAVELIBUSB=${lib.getExe' (lib.getDev libusb-compat-0_1) "libusb-config"}"
32
+ ] ++ lib.optional (!stdenv.hostPlatform.isDarwin) "--with-async-mode";
33
34
# allow async mode. from ubuntu. see:
35
# https://bazaar.launchpad.net/~ubuntu-branches/ubuntu/trusty/libftdi/trusty/view/head:/debian/patches/04_async_mode.diff
0 commit comments