msys2: fix another python3.12 path

This commit is contained in:
Sebastien Bourdeauducq 2024-11-16 15:17:44 +08:00
parent 3f06844ae7
commit b5746b717f

View File

@ -15,7 +15,7 @@ build() {
# setuptools creates this file if it doesn't already exist, which causes conflicts between pacman packages
# see: https://corte.si/posts/code/setuptoolssucks/
rm -f clang64/lib/python3.11/site-packages/easy-install.pth
rm -f clang64/lib/python3.12/site-packages/easy-install.pth
# patch broken shebangs (Z:/nix/store/...)
for entrypoint in clang64/bin/*-script.py; do
[ -f "$entrypoint" ] || continue