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:
parent
32d116dbf6
commit
eac0d077de
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue