From ce3b5b83e3cf023c16c76043567dbbda15db3b16 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..54d83f1 100644 --- a/lib/poetryOverrides.nix +++ b/lib/poetryOverrides.nix @@ -43,10 +43,19 @@ 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. preferWheel = true;