Unverified Commit 5df26feb authored by Robert Scott's avatar Robert Scott Committed by GitHub
Browse files

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

python3.pkgs.libiio: fix build
parents 638c8cb2 ce0a59cb
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -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"