From f3fdad0eda8664f71e265b7ecc41477a7490331c Mon Sep 17 00:00:00 2001 From: Andreas Rumpf Date: Tue, 31 May 2016 09:59:17 +0200 Subject: [PATCH] hotfix: --noNimblePath wasn't working when in a config file --- compiler/commands.nim | 3 +++ 1 file changed, 3 insertions(+) diff --git a/compiler/commands.nim b/compiler/commands.nim index e9806e6d86..3bc0b604a7 100644 --- a/compiler/commands.nim +++ b/compiler/commands.nim @@ -316,6 +316,9 @@ proc processSwitch(switch, arg: string, pass: TCmdLinePass, info: TLineInfo) = of "nonimblepath", "nobabelpath": expectNoArg(switch, arg, pass, info) options.gNoNimblePath = true + options.lazyPaths.head = nil + options.lazyPaths.tail = nil + options.lazyPaths.counter = 0 of "excludepath": expectArg(switch, arg, pass, info) let path = processPath(arg, info)