libiio: fix build with wrong libxml2 find_package

Co-authored-by: Dmitry Kalinkin <dmitry.kalinkin@gmail.com>
(cherry picked from commit 660c4a822c1631016060ab3420ae467dabaa508e)
This commit is contained in:
SCOTT-HAMILTON
2021-05-31 02:40:27 -04:00
committed by Dmitry Kalinkin
parent 3018bf4b9e
commit 91efaf3393
2 changed files with 17 additions and 0 deletions
@@ -23,6 +23,10 @@ stdenv.mkDerivation rec {
sha256 = "0psw67mzysdb8fkh8xpcwicm7z94k8plkcc8ymxyvl6inshq0mc7";
};
# Revert after https://github.com/NixOS/nixpkgs/issues/125008 is
# fixed properly
patches = [ ./cmake-fix-libxml2-find-package.patch ];
nativeBuildInputs = [
cmake
flex