We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
I think there are some issues depending on the name of the --nimbleDir passed to Nimble. Given the following dummy .nimble file:
--nimbleDir
# Package version = "0.1.0" author = "Author" description = "dummy" license = "MIT" # Dependencies requires "nim >= 0.17.3"
Trying to run nimble --nimbleDir=./nimbleDir install gives the following traceback:
nimble --nimbleDir=./nimbleDir install
Warning: Package 'dummy' has an incorrect structure. It should contain a single directory hierarchy for source files, named 'dummy', but file 'nimscriptapi.nim' is in a directory named 'nimbleDir/nimblecache/nimblepkg' instead. This will be an error in the future. Hint: If 'nimbleDir/nimblecache/nimblepkg' contains source files for building 'dummy', rename it to 'dummy'. Otherwise, prevent its installation by adding `skipDirs = @["nimbleDir/nimblecache/nimblepkg"]` to the .nimble file. Verifying dependencies for dummy@0.1.0 Installing dummy@0.1.0 Traceback (most recent call last) nimble.nim(1024) nimble nimble.nim(963) doAction nimble.nim(463) install nimble.nim(383) installFromDir packageinfo.nim(516) iterInstallFiles packageinfo.nim(516) iterInstallFiles packageinfo.nim(516) iterInstallFiles packageinfo.nim(516) iterInstallFiles packageinfo.nim(516) iterInstallFiles packageinfo.nim(516) iterInstallFiles packageinfo.nim(516) iterInstallFiles packageinfo.nim(516) iterInstallFiles packageinfo.nim(516) iterInstallFiles packageinfo.nim(516) iterInstallFiles packageinfo.nim(516) iterInstallFiles packageinfo.nim(516) iterInstallFiles packageinfo.nim(516) iterInstallFiles packageinfo.nim(516) iterInstallFiles packageinfo.nim(516) iterInstallFiles packageinfo.nim(516) iterInstallFiles packageinfo.nim(516) iterInstallFiles packageinfo.nim(516) iterInstallFiles packageinfo.nim(516) iterInstallFiles packageinfo.nim(516) iterInstallFiles packageinfo.nim(516) iterInstallFiles packageinfo.nim(516) iterInstallFiles packageinfo.nim(516) iterInstallFiles packageinfo.nim(516) iterInstallFiles packageinfo.nim(516) iterInstallFiles packageinfo.nim(516) iterInstallFiles packageinfo.nim(516) iterInstallFiles (333 calls omitted) ... packageinfo.nim(516) iterInstallFiles packageinfo.nim(516) iterInstallFiles packageinfo.nim(516) iterInstallFiles packageinfo.nim(516) iterInstallFiles packageinfo.nim(516) iterInstallFiles packageinfo.nim(516) iterInstallFiles packageinfo.nim(516) iterInstallFiles packageinfo.nim(516) iterInstallFiles packageinfo.nim(516) iterInstallFiles packageinfo.nim(516) iterInstallFiles packageinfo.nim(516) iterInstallFiles packageinfo.nim(516) iterInstallFiles packageinfo.nim(516) iterInstallFiles packageinfo.nim(516) iterInstallFiles packageinfo.nim(516) iterInstallFiles packageinfo.nim(516) iterInstallFiles packageinfo.nim(516) iterInstallFiles packageinfo.nim(516) iterInstallFiles packageinfo.nim(516) iterInstallFiles packageinfo.nim(516) iterInstallFiles packageinfo.nim(516) iterInstallFiles packageinfo.nim(516) iterInstallFiles packageinfo.nim(516) iterInstallFiles packageinfo.nim(516) iterInstallFiles packageinfo.nim(516) iterInstallFiles packageinfo.nim(516) iterInstallFiles packageinfo.nim(516) iterInstallFiles packageinfo.nim(516) iterInstallFiles packageinfo.nim(516) iterInstallFiles packageinfo.nim(516) iterInstallFiles packageinfo.nim(516) iterInstallFiles packageinfo.nim(516) iterInstallFiles packageinfo.nim(516) iterInstallFiles packageinfo.nim(516) iterInstallFiles packageinfo.nim(516) iterInstallFiles packageinfo.nim(516) iterInstallFiles packageinfo.nim(516) iterInstallFiles packageinfo.nim(516) iterInstallFiles packageinfo.nim(516) iterInstallFiles packageinfo.nim(516) iterInstallFiles packageinfo.nim(516) iterInstallFiles packageinfo.nim(516) iterInstallFiles packageinfo.nim(516) iterInstallFiles packageinfo.nim(516) iterInstallFiles packageinfo.nim(516) iterInstallFiles packageinfo.nim(516) iterInstallFiles packageinfo.nim(516) iterInstallFiles packageinfo.nim(516) iterInstallFiles packageinfo.nim(516) iterInstallFiles packageinfo.nim(516) iterInstallFiles packageinfo.nim(516) iterInstallFiles packageinfo.nim(516) iterInstallFiles packageinfo.nim(516) iterInstallFiles packageinfo.nim(516) iterInstallFiles packageinfo.nim(516) iterInstallFiles packageinfo.nim(516) iterInstallFiles packageinfo.nim(516) iterInstallFiles packageinfo.nim(516) iterInstallFiles packageinfo.nim(516) iterInstallFiles packageinfo.nim(516) iterInstallFiles packageinfo.nim(516) iterInstallFiles packageinfo.nim(516) iterInstallFiles packageinfo.nim(516) iterInstallFiles packageinfo.nim(516) iterInstallFiles packageinfo.nim(516) iterInstallFiles packageinfo.nim(516) iterInstallFiles packageinfo.nim(516) iterInstallFiles packageinfo.nim(516) iterInstallFiles packageinfo.nim(516) iterInstallFiles packageinfo.nim(516) iterInstallFiles packageinfo.nim(516) iterInstallFiles packageinfo.nim(516) iterInstallFiles packageinfo.nim(516) iterInstallFiles packageinfo.nim(516) iterInstallFiles packageinfo.nim(516) iterInstallFiles packageinfo.nim(516) iterInstallFiles packageinfo.nim(516) iterInstallFiles packageinfo.nim(516) iterInstallFiles packageinfo.nim(516) iterInstallFiles packageinfo.nim(516) iterInstallFiles packageinfo.nim(516) iterInstallFiles packageinfo.nim(516) iterInstallFiles packageinfo.nim(516) iterInstallFiles packageinfo.nim(516) iterInstallFiles packageinfo.nim(516) iterInstallFiles packageinfo.nim(516) iterInstallFiles packageinfo.nim(516) iterInstallFiles packageinfo.nim(516) iterInstallFiles packageinfo.nim(516) iterInstallFiles packageinfo.nim(516) iterInstallFiles packageinfo.nim(522) iterInstallFiles nimble.nim(387) :anonymous tools.nim(98) copyFileD os.nim(1109) copyFileWithPermissions os.nim(524) copyFile oserr.nim(113) raiseOSError Error: unhandled exception: File name too long [OSError]
Using a different name like ./temp seems to work. I think the issue only occurs with names starting with nimble.
./temp
nimble
The text was updated successfully, but these errors were encountered:
terminate copy iteration when hitting in-place nimbleDir; fixes nim-l…
941a923
…ang#428
209fca5
No branches or pull requests
I think there are some issues depending on the name of the
--nimbleDir
passed to Nimble. Given the following dummy .nimble file:Trying to run
nimble --nimbleDir=./nimbleDir install
gives the following traceback:Using a different name like
./temp
seems to work. I think the issue only occurs with names starting withnimble
.The text was updated successfully, but these errors were encountered: