Skip to content

Commit

Permalink
Fix nimble issue 864 (#235)
Browse files Browse the repository at this point in the history
  • Loading branch information
genotrance authored Oct 20, 2020
1 parent af66c99 commit ae67c60
Show file tree
Hide file tree
Showing 6 changed files with 14 additions and 6 deletions.
2 changes: 1 addition & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ addons:
- musl-tools

script:
- source build.sh
- source ./scripts/build.sh

notifications:
irc: "chat.freenode.net#nimbuild"
Expand Down
8 changes: 8 additions & 0 deletions changelog.markdown
Original file line number Diff line number Diff line change
@@ -1,5 +1,13 @@
# Choosenim changelog

## 0.7.4 - 20/10/2020

This is a bug fix release to resolve a regression where a spurious `pkgs`
directory was being created when any choosenim shim was executed.

Once choosenim is upgraded, simply switch Nim versions and the shims will be
regenerated, solving the issue.

## 0.7.2 - 17/10/2020

This is a bug fix release to resolve a regression caused by changes in Nimble
Expand Down
6 changes: 3 additions & 3 deletions choosenim.nimble
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Package

version = "0.7.2"
version = "0.7.4"
author = "Dominik Picheta"
description = "The Nim toolchain installer."
license = "MIT"
Expand All @@ -13,9 +13,9 @@ skipExt = @["nim"]

# Dependencies

requires "nim >= 1.2.6", "nimble#26167cd"
requires "nim >= 1.2.6", "nimble#8f7af86"
requires "nimterop >= 0.6.12", "nimarchive >= 0.5.3"
requires "libcurl >= 1.0.0"
#requires "libcurl >= 1.0.0" - OSX now uses httpclient
requires "analytics >= 0.2.0"
requires "osinfo >= 0.3.0"

Expand Down
File renamed without changes.
2 changes: 1 addition & 1 deletion src/choosenimpkg/cliparams.nim
Original file line number Diff line number Diff line change
Expand Up @@ -176,7 +176,7 @@ proc newCliParams*(proxyExeMode: bool): CliParams =
result.nimbleOptions = initOptions()
if not proxyExeMode:
result.nimbleOptions.config = parseConfig()
setNimbleDir(result.nimbleOptions)
setNimbleDir(result.nimbleOptions)
except NimbleQuit:
discard

Expand Down
2 changes: 1 addition & 1 deletion src/choosenimpkg/common.nim
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ type
ChooseNimError* = object of NimbleError

const
chooseNimVersion* = "0.7.2"
chooseNimVersion* = "0.7.4"

proxies* = [
"nim",
Expand Down

0 comments on commit ae67c60

Please sign in to comment.