-
Notifications
You must be signed in to change notification settings - Fork 190
New issue
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
before install
not called when installing from nim-lang/packages
#280
Comments
Installing directly from Git using |
Ah, that's wrong. I was running the command from within my project directory, which made it succeed. |
I think I've tracked down the issue. When Nimble starts, it first parses command line arguments, then runs the The problem is that fixing this appears like it would require a rather major refactor of Nimble, so I think it's better for me to work around this issue by creating a separate task which I can run every so often to update my wrapper, rather than doing it directly before install. |
This is still an issue though. Doesn't matter how difficult it is to fix. |
Let's hope nim-lang/nimble#280 gets fixed soon
@genotrance cool library, I'll make this a high priority. |
This was fixed it seems :) |
Reopening as this wasn't fixed properly. |
Yes exactly - the latest commits fixes this exact problem. |
This should now be fixed. I've added a test for it in db222bb as well. The above commit also implements |
When running
nimble install
within my package directory,before install
blocks are executed as normal. When installing from nim-lang/packages withnimble install mypackage
, they are not.I'm not sure how to gather more information about this, as I can't choose an alternate source to install from, as far as I can tell.
The text was updated successfully, but these errors were encountered: