From 1b7c85043775856d6b7ca664c81cee6cc6c04c45 Mon Sep 17 00:00:00 2001 From: Robert Scott Date: Mon, 24 May 2021 23:56:58 +0100 Subject: [PATCH] python3Packages.lightgbm: fix for darwin package appears to have its own openmp library detection now and doesn't need the hacks. also add pythonImportsCheck. --- .../python-modules/lightgbm/default.nix | 17 ++--------------- 1 file changed, 2 insertions(+), 15 deletions(-) diff --git a/pkgs/development/python-modules/lightgbm/default.nix b/pkgs/development/python-modules/lightgbm/default.nix index a887c3ec8af..fbe9e04b643 100644 --- a/pkgs/development/python-modules/lightgbm/default.nix +++ b/pkgs/development/python-modules/lightgbm/default.nix @@ -23,19 +23,7 @@ buildPythonPackage rec { dontUseCmakeConfigure = true; - # we never actually explicitly call the install command so this is the only way - # to inject these options to it - however, openmp-library doesn't appear to have - # any effect, so we have to inject it into NIX_LDFLAGS manually below - postPatch = lib.optionalString stdenv.cc.isClang '' - cat >> setup.cfg <