summary refs log tree commit diff
path: root/pkgs/os-specific/linux/libwebcam
diff options
context:
space:
mode:
authorBen Siraphob <bensiraphob@gmail.com>2020-12-31 14:48:55 +0700
committerBen Siraphob <bensiraphob@gmail.com>2021-01-01 11:52:33 +0700
commitb04fc593e7b55fe1f74421b11589f12a339c92e2 (patch)
treefa9bbaeb68f1e0cfa6ea2f9580ea2892eed41b3e /pkgs/os-specific/linux/libwebcam
parent54ab07c1fe4e39c5a84834f85300c63e3809ac2d (diff)
downloadnixpkgs-b04fc593e7b55fe1f74421b11589f12a339c92e2.tar
nixpkgs-b04fc593e7b55fe1f74421b11589f12a339c92e2.tar.gz
nixpkgs-b04fc593e7b55fe1f74421b11589f12a339c92e2.tar.bz2
nixpkgs-b04fc593e7b55fe1f74421b11589f12a339c92e2.tar.lz
nixpkgs-b04fc593e7b55fe1f74421b11589f12a339c92e2.tar.xz
nixpkgs-b04fc593e7b55fe1f74421b11589f12a339c92e2.tar.zst
nixpkgs-b04fc593e7b55fe1f74421b11589f12a339c92e2.zip
treewide: cmake buildInputs to nativeBuildInputs, minor cleanups
Diffstat (limited to 'pkgs/os-specific/linux/libwebcam')
-rw-r--r--pkgs/os-specific/linux/libwebcam/default.nix9
1 files changed, 3 insertions, 6 deletions
diff --git a/pkgs/os-specific/linux/libwebcam/default.nix b/pkgs/os-specific/linux/libwebcam/default.nix
index 5cccc82b843..5f87a89496b 100644
--- a/pkgs/os-specific/linux/libwebcam/default.nix
+++ b/pkgs/os-specific/linux/libwebcam/default.nix
@@ -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 \