Hi,
I'm trying to add packages to nimble.
According to the`readme <https://github.com/nim-lang/nimble#nimble-path>`_ , having a config file located in /home/user/.config/nimble/nimble.ini such as :
[PackageList]
name=LocalPackages
path=/home/user/packages.json
should allow nimble to see the packages defined in /home/user/packages.json.
But when I try to nimble install localpackage, it fails and nimble tells it tried to read /home/user/.nimble/packages_localpackges.json instead of /home/user/packages.json.
Did I miss something or am I doing something wrong ? Or is this a nimble bug / documentation problem ?
Thanks !
Nimble caches the package list locally in $nimbleDir. That's why you see /home/user/.nimble/packages_localpackges.json. See here. You can verify that this file is a copy of the original you provided.
Is localpackage defined in your packages.json?