Skip to content

Manage multiple toolchain versions in parallel with home-manager? #98

Closed Answered by figsoda
sebasmagri asked this question in Q&A
Discussion options

You must be logged in to vote

The preferred way to do this would probably be to have separate development shells for different projects. A workaround you can do is creating wrappers for different toolchains, something like this:

writeShellScriptBin "cargo-nightly" ''
  PATH=${fenix.complete.toolchain}/bin:$PATH cargo "$@"
''

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by sebasmagri
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants