Skip to content
This repository was archived by the owner on Aug 1, 2025. It is now read-only.

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 subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant