Skip to content

Commit 0841de5

Browse files
committed
revert workarounds for Nimble 0.16.4 incompatibility with --skipParentCfg and --styleCheck:error
1 parent 4141256 commit 0841de5

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

scripts/build_nim.sh

+3-3
Original file line numberDiff line numberDiff line change
@@ -144,10 +144,10 @@ build_nim() {
144144
./koch --skipIntegrityCheck boot -d:release --skipUserCfg --skipParentCfg --warnings:off --hints:off
145145
if [[ "${QUICK_AND_DIRTY_COMPILER}" == "0" ]]; then
146146
# We want tools
147-
./koch tools -d:release --skipUserCfg --warnings:off --hints:off --styleCheck:off
147+
./koch tools -d:release --skipUserCfg --skipParentCfg --warnings:off --hints:off
148148
elif [[ "${QUICK_AND_DIRTY_NIMBLE}" != "0" ]]; then
149149
# We just want nimble
150-
./koch nimble -d:release --skipUserCfg --warnings:off --hints:off --styleCheck:off
150+
./koch nimble -d:release --skipUserCfg --skipParentCfg --warnings:off --hints:off
151151
fi
152152
else
153153
# Git commits
@@ -275,7 +275,7 @@ build_nim() {
275275

276276
# Do we want Nimble in this quick build?
277277
if [[ "${QUICK_AND_DIRTY_NIMBLE}" != "0" ]]; then
278-
bin/nim c -d:release --noNimblePath --skipUserCfg --styleCheck:off dist/nimble/src/nimble.nim
278+
bin/nim c -d:release --noNimblePath --skipUserCfg --skipParentCfg dist/nimble/src/nimble.nim
279279
mv dist/nimble/src/nimble bin/
280280
fi
281281
fi

0 commit comments

Comments
 (0)