From de4c20ea4f0c5d8f081569e666ef9bbf5979ee5a Mon Sep 17 00:00:00 2001 From: Igor Sirotin Date: Tue, 19 Mar 2024 17:58:02 +0000 Subject: [PATCH] upgrade Nim-build-system (#13979) * chore: upgrade nimbus-build-system * test UnusedImport warningAsError --- Makefile | 1 + src/app/modules/shared_modules/keycard_popup/controller.nim | 2 +- vendor/nimbus-build-system | 2 +- 3 files changed, 3 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index 747aaa22eb..254b052d94 100644 --- a/Makefile +++ b/Makefile @@ -548,6 +548,7 @@ $(NIM_STATUS_CLIENT): $(NIM_SOURCES) | statusq dotherside check-qt-dir $(STATUSG --passL:"-lm" \ --warning:UnreachableElse:off \ --warningAsError:UseBase:on \ + --warningAsError:UnusedImport:on \ $(NIM_EXTRA_PARAMS) src/nim_status_client.nim ifeq ($(detected_OS),Darwin) install_name_tool -change \ diff --git a/src/app/modules/shared_modules/keycard_popup/controller.nim b/src/app/modules/shared_modules/keycard_popup/controller.nim index 608cb7b23c..50f877c9f3 100644 --- a/src/app/modules/shared_modules/keycard_popup/controller.nim +++ b/src/app/modules/shared_modules/keycard_popup/controller.nim @@ -1,5 +1,5 @@ import chronicles, tables, strutils, sequtils, stint -import uuids +import uuids, sets, sugar import io_interface import app/global/app_sections_config as conf diff --git a/vendor/nimbus-build-system b/vendor/nimbus-build-system index 2e69505479..cf0c9cfa40 160000 --- a/vendor/nimbus-build-system +++ b/vendor/nimbus-build-system @@ -1 +1 @@ -Subproject commit 2e695054798f27db147bb1b89962290d8cbb16c2 +Subproject commit cf0c9cfa408189c6d428799bf2e9da8d0c0f7f08