diff --git a/packages/nim/build.sh b/packages/nim/build.sh index 3aed5a0f8..18f7c3bb7 100644 --- a/packages/nim/build.sh +++ b/packages/nim/build.sh @@ -31,7 +31,7 @@ termux_step_make() { sed -i "s%\@LDFLAGS\@%${LDFLAGS}%g" config/nim.cfg sed -i "s%\@CPPFLAGS\@%${CPPFLAGS}%g" config/nim.cfg - find -name "stdlib_osproc.c" | xargs -n 1 sed -i 's',"/system/bin/sh\"\,\ 14","/data/data/com.termux/files/usr/bin/sh\"\,\ 38",'g' + find -name "stdlib_osproc.nim.c" | xargs -n 1 sed -i 's',"/system/bin/sh\"\,\ 14","/data/data/com.termux/files/usr/bin/sh\"\,\ 38",'g' PATH=$TERMUX_PKG_HOSTBUILD_DIR/bin:$PATH if [ $NIM_ARCH = "amd64" ]; then