From 72ec538d2c76180a8d0f79a13b88794d6efe06a7 Mon Sep 17 00:00:00 2001 From: Maximilian Bosch Date: Sat, 14 Sep 2019 13:42:06 +0200 Subject: [PATCH] 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 --- pkgs/development/python-modules/dlib/default.nix | 3 +++ 1 file changed, 3 insertions(+) diff --git a/pkgs/development/python-modules/dlib/default.nix b/pkgs/development/python-modules/dlib/default.nix index d9b3bb93264e..a57d83075513 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; }