From c0fcb53d9b0c7281dd1393b6137522d8a059712b Mon Sep 17 00:00:00 2001 From: Maximilian Bosch Date: Tue, 1 Oct 2019 11:09:41 +0200 Subject: [PATCH] python3Packages.scikit-build: fix build Build broke as it's attempted to run the cmake configure-phase which won't work as this package uses cmake, but builds via a `setup.py` rather than a `CMakeLists.txt`. ZHF #68361 (cherry picked from commit f8c6b826d4e481af8ec690682fada5fb6e6d8010) --- pkgs/development/python-modules/scikit-build/default.nix | 2 ++ 1 file changed, 2 insertions(+) diff --git a/pkgs/development/python-modules/scikit-build/default.nix b/pkgs/development/python-modules/scikit-build/default.nix index 91fa26ef44d2e8..3fe7b9ff4ef6e0 100644 --- a/pkgs/development/python-modules/scikit-build/default.nix +++ b/pkgs/development/python-modules/scikit-build/default.nix @@ -22,6 +22,8 @@ buildPythonPackage rec { requests flake8 ]; + dontUseCmakeConfigure = true; + disabledTests = lib.concatMapStringsSep " and " (s: "not " + s) ([ "test_hello_develop" # tries setuptools develop install "test_source_distribution" # pip has no way to install missing dependencies