Skip to content

Commit

Permalink
add nimPath to nim dump (#13876)
Browse files Browse the repository at this point in the history
* add nimPath to nim dump

* rename
  • Loading branch information
timotheecour authored Apr 5, 2020
1 parent 6d4f07f commit 29734b7
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion compiler/main.nim
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ when not defined(nimcore):
{.error: "nimcore MUST be defined for Nim's core tooling".}

import
llstream, strutils, ast, lexer, syntaxes, options, msgs,
llstream, strutils, os, ast, lexer, syntaxes, options, msgs,
condsyms, times,
sem, idents, passes, extccomp,
cgen, json, nversion,
Expand Down Expand Up @@ -315,6 +315,7 @@ proc mainCommand*(graph: ModuleGraph) =

var dumpdata = %[
(key: "version", val: %VersionAsString),
(key: "nimExe", val: %(getAppFilename())),
(key: "prefixdir", val: %conf.getPrefixDir().string),
(key: "libpath", val: %conf.libpath.string),
(key: "project_path", val: %conf.projectFull.string),
Expand Down

0 comments on commit 29734b7

Please sign in to comment.