You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
nim c -o:app -r test.nim
Hint: operation successful (104314 lines compiled; 4.113 sec total; 425.582MiB peakmem; Debug Build) [SuccessX]
Hint: ./app [Exec]
before
Hint: used config file '/Users/timothee/.config/nim.cfg' [Conf]
Hint: system [Processing]
Error: cannot open '/private/tmp/lib/system.nim'
Error: execution of an external program failed: './app '
diagnostic
looks like execute tries to hardcode path $PWD/lib/system.nim during compilation
NOTE
/Users/timothee/.config/nim.cfg is empty
nim --version
Nim Compiler Version 0.18.1 [MacOSX: amd64]
Copyright (c) 2006-2018 by Andreas Rumpf
active boot switches: -d:release
nim installed via choosenim #head
unfortunately, nim --version doesn't show git hash, but my proposal here dom96/choosenim#57 (comment) would; in any case IIRC, #head was after your fix, but fails for reason above
The text was updated successfully, but these errors were encountered:
timotheecour
changed the title
compiler/nimeval execute fails with Error: cannot open '/private/tmp/lib/system.nim'
compiler/nimeval execute fails with Error: cannot open '$PWD/../lib/system.nim'Apr 11, 2018
D20180410T192630
@Araq looks like your fix for #7522 causes another issue:
compiler/nimeval execute fails with
Error: cannot open '/private/tmp/lib/system.nim'
test.nim:
diagnostic
looks like execute tries to hardcode path
$PWD/lib/system.nim
during compilationNOTE
Nim Compiler Version 0.18.1 [MacOSX: amd64]
Copyright (c) 2006-2018 by Andreas Rumpf
active boot switches: -d:release
nim installed via
choosenim #head
unfortunately, nim --version doesn't show git hash, but my proposal here dom96/choosenim#57 (comment) would; in any case IIRC, #head was after your fix, but fails for reason above
The text was updated successfully, but these errors were encountered: