Skip to content
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

straight--build-compile: properly set load-path #812

Merged

Conversation

progfolio
Copy link
Contributor

Previous method involved looking up each package's dependencies.
It did not account for local-repo names and transitive dependencies.
Now we just recursively add straight's build dir to the load-path
when byte-compiling. This should cover all cases.

Previous method involved looking up each package's dependencies.
It did not account for local-repo names and transitive dependencies.
Now we just recursively add straight's build dir to the load-path
when byte-compiling. This should cover all cases.
@progfolio progfolio merged commit 01eb849 into radian-software:develop Jul 6, 2021
@progfolio progfolio deleted the fix/byte-comp-load-deps branch July 6, 2021 10:26
@raxod502
Copy link
Member

Hmmm... that seems like it would almost always work, but doesn't it technically make the environment a bit nondeterministic on account of random old things lying around in ~/.emacs.d/straight/build could be added to the load-path?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants