Skip to content
This repository has been archived by the owner on Oct 15, 2022. It is now read-only.

Cargo plugins #10

Merged
merged 7 commits into from
Apr 8, 2019
Merged

Cargo plugins #10

merged 7 commits into from
Apr 8, 2019

Conversation

Profpatsch
Copy link
Collaborator

This PR was missed in the migration, already merged in the original repository

This is the first work on integrating cargo plugins.

It mostly sets CARGO_INSTALL_ROOT to the project directory, so cargo install will be put in ./.cargo/bin, which is also added to the direnv PATH.

@Profpatsch Profpatsch requested a review from grahamc March 29, 2019 10:04
This way we can use source plugins installed with `cargo install`,
they will land in `$CARGO_INSTALL_ROOT/bin`.
We have to duplicate the logic, because `shellHook` is not picked up
by `.envrc` and we cannot add `PATH` to the derivation itself.
Copy link
Contributor

@grahamc grahamc left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

my apologies on the delay! :)

@grahamc grahamc merged commit 38ed55f into master Apr 8, 2019
@grahamc grahamc deleted the cargo-plugins branch April 8, 2019 15:23
This pull request was closed.
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.

2 participants