Skip to content

Commit

Permalink
general: latest cargo nightly no longer needs patching
Browse files Browse the repository at this point in the history
  • Loading branch information
Ekleog committed May 8, 2021
1 parent c1bf402 commit 50a074f
Showing 1 changed file with 2 additions and 18 deletions.
20 changes: 2 additions & 18 deletions common.nix
Original file line number Diff line number Diff line change
Expand Up @@ -23,30 +23,14 @@ rec {
];
};
rustNightlyChannelRaw = pkgs.rustChannelOf {
date = "2021-03-25";
date = "2021-05-07";
channel = "nightly";
sha256 = "0pd74f1wc5mf8psrq3mr3xdzwynqil7wizaqq8s7kqfgxx4c4l7w";
};
naerskRaw = pkgs.callPackage naerskSrc {
rustc = rustNightlyChannelRaw.rust;
cargo = rustNightlyChannelRaw.cargo;
sha256 = "1l9aj3ig9yyxi5s41623wzvfinza656gnbrqay5ngl6yah5h0rs8";
};
rustNightlyChannel = rustNightlyChannelRaw // {
rust = rustNightlyChannelRaw.rust.override {
targets = ["wasm32-wasi"];
};
# TODO: remove override when https://github.com/rust-lang/cargo/pull/9030
# lands
cargo = naerskRaw.buildPackage {
pname = "cargo";
version = "dev";
src = builtins.fetchTarball {
url = "https://github.com/rust-lang/cargo/archive/f11237ac03d3d51b5320364fd9997e62abb50f62.tar.gz";
sha256 = "1bk5vimjxr68v6c72q8zgkbq79wbd5a95d9cbw2linrivv5n8vjp";
};
buildInputs = with pkgs; [ openssl pkg-config ];
singleStep = true;
};
};
#rustBetaChannel = pkgs.rustChannelOf {
# date = "2018-04-20";
Expand Down

0 comments on commit 50a074f

Please sign in to comment.