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