Merge pull request #208689 from amjoseph-nixpkgs/pr/libftdi-pythonSupport

authored by

Artturi and committed by
GitHub
7d11350f ecd9be07

+1
+1
pkgs/development/libraries/libftdi/1.x.nix
··· 44 "-DLINK_PYTHON_LIBRARY=${onOff pythonSupport}" 45 "-DPYTHON_BINDINGS=${onOff pythonSupport}" 46 "-DDOCUMENTATION=${onOff docSupport}" 47 "-DPYTHON_EXECUTABLE=${python3.pythonForBuild.interpreter}" 48 "-DPYTHON_LIBRARY=${python3}/lib/libpython${python3.pythonVersion}${stdenv.hostPlatform.extensions.sharedLibrary}" 49 ];
··· 44 "-DLINK_PYTHON_LIBRARY=${onOff pythonSupport}" 45 "-DPYTHON_BINDINGS=${onOff pythonSupport}" 46 "-DDOCUMENTATION=${onOff docSupport}" 47 + ] ++ lib.optionals pythonSupport [ 48 "-DPYTHON_EXECUTABLE=${python3.pythonForBuild.interpreter}" 49 "-DPYTHON_LIBRARY=${python3}/lib/libpython${python3.pythonVersion}${stdenv.hostPlatform.extensions.sharedLibrary}" 50 ];