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

Fix package not working with Yarn PnP #45

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

adalinesimonian
Copy link

As this package commits the cardinal sin of writing into its own package directory, and Yarn's whole imperative is to nuke bad patterns out of orbit, it doesn't work with Yarn PnP. Therefore, there are two options to get this working:

  1. Modify the logic such that the package does not write to itself and binaries are written elsewhere.
  2. preferUnplugged: true and let Yarn extract the package into a disgustingly mutable directory.

This PR implements the latter because it took me two seconds.

With this change, Yarn users using PnP should no longer have any issues using rover and should no longer need to run an unplug command manually to get it working. Tada.

necessary as it writes into its own directory
Gankra added a commit to axodotdev/cargo-dist that referenced this pull request Jun 3, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant