about summary refs log tree commit diff
path: root/pkgs/development/python-modules/dlib
diff options
context:
space:
mode:
authorMaximilian Bosch <maximilian@mbosch.me>2019-09-14 13:42:06 +0200
committerMaximilian Bosch <maximilian@mbosch.me>2019-09-14 13:42:06 +0200
commit72ec538d2c76180a8d0f79a13b88794d6efe06a7 (patch)
treec043035d38b3294eac2d57290838af0c5f72d6dc /pkgs/development/python-modules/dlib
parent5d853163cfe390990380334c36954d81518db117 (diff)
python3Packages.dlib: fix build
The CMake configuring is done in the `setup.py` and doesn't need to be
done by the setup hook. This broke the build as the setup-hook switches
into `source/build` which doesn't have a `setup.py`.

Relying on the setup script from upstream fixes the issue.

ZHF #68361
Diffstat (limited to 'pkgs/development/python-modules/dlib')
-rw-r--r--pkgs/development/python-modules/dlib/default.nix3
1 files changed, 3 insertions, 0 deletions
diff --git a/pkgs/development/python-modules/dlib/default.nix b/pkgs/development/python-modules/dlib/default.nix
index d9b3bb93264e5..a57d830755138 100644
--- a/pkgs/development/python-modules/dlib/default.nix
+++ b/pkgs/development/python-modules/dlib/default.nix
@@ -21,4 +21,7 @@ buildPythonPackage {
   '';
 
   checkInputs = [ pytest more-itertools ];
+
+  enableParallelBuilding = true;
+  dontUseCmakeConfigure = true;
 }