treewide: cmake buildInputs to nativeBuildInputs, minor cleanups

This commit is contained in:
Ben Siraphob
2021-01-01 11:52:33 +07:00
parent 54ab07c1fe
commit b04fc593e7
212 changed files with 611 additions and 634 deletions
+3 -6
View File
@@ -2,7 +2,7 @@
, stdenv
, fetchurl
, cmake
, pkgconfig
, pkg-config
, libxml2
}:
@@ -19,11 +19,8 @@ stdenv.mkDerivation rec {
./uvcdynctrl_symlink_support_and_take_data_dir_from_env.patch
];
buildInputs = [
cmake
pkgconfig
libxml2
];
nativeBuildInputs = [ cmake pkg-config ];
buildInputs = [ libxml2 ];
postPatch = ''
substituteInPlace ./uvcdynctrl/CMakeLists.txt \