Fix msys2 package

Package appeared to have /nix/store... path instead of normal clang64

Signed-off-by: Egor Savkin <es@m-labs.hk>
This commit is contained in:
Egor Savkin 2024-08-13 17:04:03 +08:00
parent a73be047fe
commit d26ba7bbce
1 changed files with 1 additions and 1 deletions

View File

@ -15,7 +15,7 @@ build() {
package() { package() {
cd source cd source
wine-msys2-build python -m installer --destdir="${pkgdir}" dist/*.whl wine-msys2-build python -m installer --destdir="${pkgdir}" --prefix="clang64/" dist/*.whl
# patch broken shebangs (Z:/nix/store/...) # patch broken shebangs (Z:/nix/store/...)
for entrypoint in ${pkgdir}/bin/*-script.py; do for entrypoint in ${pkgdir}/bin/*-script.py; do
[ -f "$entrypoint" ] || continue [ -f "$entrypoint" ] || continue