From 732bc68f98dbf36aa4b6a2db75f23b9e863577a8 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..8dbdc46 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.