From 26755c0183dd156b83a2b14d92067215ead45a80 Mon Sep 17 00:00:00 2001 From: Andreas Rumpf Date: Wed, 28 Dec 2016 00:08:05 +0100 Subject: [PATCH] hotfix: make nimble compile with latest compiler version --- src/nimble.nim | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/nimble.nim b/src/nimble.nim index 3f9abdc..fe28bdf 100644 --- a/src/nimble.nim +++ b/src/nimble.nim @@ -763,7 +763,7 @@ proc listPaths(options: Options) = MediumPriority) if installed.len > 0: - sort(installed, system.cmp[VersionAndPath], Descending) + sort(installed, cmp[VersionAndPath], Descending) # The output for this command is used by tools so we do not use display(). echo installed[0].path else: