Skip to content

Choosenim breaks nim compiling via Make #78

@ftsf

Description

@ftsf

OS: Windows

$ make
nim js -d:local -d:debug -o:main.js main.nim
     Error: getAppFilename failed. (Error was: Unable to read \.choosenim\current. (Error was: No installation has been chosen. (File missing: \.choosenim\current)))
      Info: If unexpected, please report this error to https://github.com/nim-lang/choosenim
make: *** [Makefile:2: local] Error 1

Running the same command works

$ nim js -d:local -d:debug -o:main.js main.nim
Hint: used config file 'C:\Users\user\.choosenim\toolchains\nim-2.2.4\config\nim.cfg' [Conf]
Hint: used config file 'C:\Users\user\.choosenim\toolchains\nim-2.2.4\config\config.nims' [Conf]
......................................................................................

Compiling from make previously worked in older versions of nim/choosenim.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions