From 08623c58f25907a897edb1380fe39ab2d46e4e1f Mon Sep 17 00:00:00 2001 From: Daylin Morgan Date: Mon, 18 Nov 2024 16:26:23 -0600 Subject: [PATCH] expand updateLock function --- home/private_dot_config/nim/config.nims | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/home/private_dot_config/nim/config.nims b/home/private_dot_config/nim/config.nims index dc5dd0d..586b288 100644 --- a/home/private_dot_config/nim/config.nims +++ b/home/private_dot_config/nim/config.nims @@ -108,8 +108,9 @@ task updateLock, "workaround for nimble lock probs": else: projectDir().lastPathPart & ".nimble" if not fileExists nimbleFile: quit "expected to find: " & nimbleFile - rmDir "nimbledeps" - rmFile "nimble.lock" + rmDir projectDir() / "nimbledeps" + rmFile projectDir() / "nimble.lock" + rmFile projectDir() / "nimble.paths" exec "nimble lock -l" exec "nimble setup -l"