Merge pull request #98149 from povik/povik/libiio-py3-fix

python3.pkgs.libiio: fix build
This commit is contained in:
Robert Scott 2020-09-17 23:41:52 +01:00 committed by GitHub
commit 5df26febad
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -7,6 +7,7 @@
, python
, libusb1
, runtimeShell
, lib
}:
stdenv.mkDerivation rec {
@ -32,7 +33,7 @@ stdenv.mkDerivation rec {
python
libxml2
libusb1
];
] ++ lib.optional python.isPy3k python.pkgs.setuptools;
cmakeFlags = [
"-DUDEV_RULES_INSTALL_DIR=${placeholder "out"}/lib/udev/rules.d"