astroid: fix build with boost 1.89

This commit is contained in:
Lyndon Sanche
2026-03-04 06:30:51 -07:00
parent 702e22f725
commit 581d54929a
@@ -19,6 +19,7 @@
gsettings-desktop-schemas,
gobject-introspection,
python3,
fetchpatch,
# vim to be used, should support the GUI mode.
vim,
@@ -38,6 +39,14 @@ stdenv.mkDerivation (finalAttrs: {
hash = "sha256-FDStUt989sQXX6kpqStrdjOdAMlLAepcDba9ul9tcps=";
};
patches = [
# Until next version, patch to build with boost 1.89
(fetchpatch {
url = "https://github.com/astroidmail/astroid/commit/b84962a7920aaa9b0cc4a85a0c9fd1802495b1bc.patch";
hash = "sha256-QO5hoWscSMcxWLjPn/NT2MaIKrgMvTJeutitm4GaKZY=";
})
];
postPatch = ''
sed -i "s~gvim ~${vim}/bin/vim -g ~g" src/config.cc
sed -i "s~ -geom 10x10~~g" src/config.cc