use oxalica/rust-overlay to build conduwuit
This commit is contained in:
parent
b01a3fd472
commit
6697a8400b
4 changed files with 72 additions and 6 deletions
|
@ -1,9 +1,17 @@
|
|||
final: prev: {
|
||||
final: prev:
|
||||
let
|
||||
newRust = final.rust-bin.fromRustupToolchainFile ./rust-toolchain.toml;
|
||||
newRustPlatform = final.makeRustPlatform {
|
||||
cargo = newRust;
|
||||
rustc = newRust;
|
||||
};
|
||||
in
|
||||
{
|
||||
conduwuit = prev.conduwuit.override (old: {
|
||||
rustPlatform = old.rustPlatform // {
|
||||
rustPlatform = newRustPlatform // {
|
||||
buildRustPackage =
|
||||
args:
|
||||
old.rustPlatform.buildRustPackage (
|
||||
newRustPlatform.buildRustPackage (
|
||||
args
|
||||
// {
|
||||
version = "0.5.0-rc2";
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue