mirror of
https://github.com/nix-community/dream2nix.git
synced 2024-11-23 00:13:02 +03:00
fix: use correct toolchain packages for rust_set-rust-toolchain example
This commit is contained in:
parent
4ed4a2958a
commit
1cbc3aac3e
@ -27,7 +27,10 @@
|
||||
packageOverrides = {
|
||||
# override all packages and set a toolchain
|
||||
"^.*" = {
|
||||
set-toolchain.overrideRustToolchain = old: {cargo = toolchain;};
|
||||
set-toolchain.overrideRustToolchain = old: {
|
||||
cargo = toolchain;
|
||||
rustc = toolchain;
|
||||
};
|
||||
check-toolchain-version.overrideAttrs = old: {
|
||||
buildPhase = ''
|
||||
currentCargoVersion="$(cargo --version)"
|
||||
|
@ -7,6 +7,7 @@ name = "linemd"
|
||||
relPath = ""
|
||||
subsystem = "rust"
|
||||
translator = "cargo-lock"
|
||||
builder = "build-rust-package"
|
||||
|
||||
[[linemd.subsystemInfo.crates]]
|
||||
name = "linemd"
|
||||
|
Loading…
Reference in New Issue
Block a user