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 <