From 09e6009e25a2d1b75c1b2612cad083275b876b3d Mon Sep 17 00:00:00 2001 From: Harry Callahan Date: Thu, 4 Jan 2024 11:59:39 +0000 Subject: [PATCH] Add comments about broken libcst to poetryOverrides --- lib/poetryOverrides.nix | 13 +++++++++++-- 1 file changed, 11 insertions(+), 2 deletions(-) diff --git a/lib/poetryOverrides.nix b/lib/poetryOverrides.nix index b916f89..1a44d96 100644 --- a/lib/poetryOverrides.nix +++ b/lib/poetryOverrides.nix @@ -43,9 +43,18 @@ preferWheel = true; }; libcst = prev.libcst.override { - # Missing rustc/cargo etc. - # buildInputs = (old.buildInputs or []) ++ [ final.setuptools-rust ]; preferWheel = true; + # }).overridePythonAttrs ( old: { + # # This fix is incomplete, and appears to be due to the issue here: + # # https://github.com/nix-community/poetry2nix/issues/413 + # # https://github.com/nix-community/poetry2nix/issues/442 + # buildInputs = (old.buildInputs or []) ++ [ + # pkgs.rustc + # pkgs.cargo + # # pkgs.rustPlatform.cargoSetupHook + # final.setuptools-rust + # ]; + # }); }; isort = prev.isort.override { # Some problem building due to a malformed semantic version string.