summary refs log tree commit diff
path: root/pkgs/development/libraries/embree
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/development/libraries/embree
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/development/libraries/embree')
-rw-r--r--pkgs/development/libraries/embree/2.x.nix10
1 files changed, 5 insertions, 5 deletions
diff --git a/pkgs/development/libraries/embree/2.x.nix b/pkgs/development/libraries/embree/2.x.nix
index d8e102a0d40..083dbbc7450 100644
--- a/pkgs/development/libraries/embree/2.x.nix
+++ b/pkgs/development/libraries/embree/2.x.nix
@@ -1,4 +1,4 @@
-{ stdenv, fetchFromGitHub, cmake, pkgconfig, ispc, tbb, glfw,
+{ stdenv, fetchFromGitHub, cmake, pkg-config, ispc, tbb, glfw,
 openimageio, libjpeg, libpng, libpthreadstubs, libX11
 }:
 
@@ -14,11 +14,11 @@ stdenv.mkDerivation {
   };
 
   cmakeFlags = [ "-DEMBREE_TUTORIALS=OFF" ];
-  enableParallelBuilding = true;
-  
-  buildInputs = [ pkgconfig cmake ispc tbb glfw openimageio libjpeg libpng libX11 libpthreadstubs ];
+
+  nativeBuildInputs = [ cmake pkg-config ];
+  buildInputs = [ ispc tbb glfw openimageio libjpeg libpng libX11 libpthreadstubs ];
   meta = with stdenv.lib; {
-    description = "High performance ray tracing kernels from Intel"; 
+    description = "High performance ray tracing kernels from Intel";
     homepage = "https://embree.github.io/";
     maintainers = with maintainers; [ hodapp ];
     license = licenses.asl20;