Manage multiple toolchain versions in parallel with home-manager? #98
-
When you to have stable and nightly available for different projects that need different toolchain versions, how do you manage that? I'm using home-manager preferably so I'd like to have a way to install multiple toolchains in parallel without collisions. I was looking into having the binaries wrapped like in |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
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 "$@"
'' |
Beta Was this translation helpful? Give feedback.
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: