From daff2b46700894a1771241dafcf26ee31bb2fdf5 Mon Sep 17 00:00:00 2001 From: Ivan Yonchovski Date: Mon, 12 Sep 2022 12:50:14 +0300 Subject: [PATCH] Make sure the path is understandable for nim on windows (#49) --- scripts/env.sh | 3 +++ 1 file changed, 3 insertions(+) diff --git a/scripts/env.sh b/scripts/env.sh index 3a734cd..331d904 100755 --- a/scripts/env.sh +++ b/scripts/env.sh @@ -70,6 +70,9 @@ export NIMBUS_BUILD_SYSTEM=yes echo "--noNimblePath" > nimbus-build-system.paths for file in $(ls -d $PWD/vendor/*) do + if uname | grep -qiE "mingw|msys"; then + file=$(cygpath -m $file) + fi if [ -d "$file/src" ]; then echo --path:"\"$file/src\"" else