mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-16 06:45:16 +01:00
rustfmt: 1.0.1 -> 1.2.1
Fixes the build after the rustc 1.34.0 update in https://github.com/NixOS/nixpkgs/pull/59366.
This commit is contained in:
parent
5b316ed476
commit
ac938fdea4
1 changed files with 4 additions and 4 deletions
|
@ -2,16 +2,16 @@
|
||||||
|
|
||||||
rustPlatform.buildRustPackage rec {
|
rustPlatform.buildRustPackage rec {
|
||||||
name = "rustfmt-${version}";
|
name = "rustfmt-${version}";
|
||||||
version = "1.0.1";
|
version = "1.2.1";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "rust-lang";
|
owner = "rust-lang";
|
||||||
repo = "rustfmt";
|
repo = "rustfmt";
|
||||||
rev = "${version}";
|
rev = "v${version}";
|
||||||
sha256 = "1l18ycbq3125sq8v3wgma630wd6kclarlf8f51cmi9blk322jg9p";
|
sha256 = "153pas7d5fchkmiw6mkbhn75lv3y69k85spzmm5i4lqnq7f0yqap";
|
||||||
};
|
};
|
||||||
|
|
||||||
cargoSha256 = "1557783icdzlwn02c5zl4362yl85r5zj4nkjv80p6896yli9hk9h";
|
cargoSha256 = "08x6vy5v2vgrk3gsw3qcvv52a7hifsgcsnsg1phlk1ikaff21y4z";
|
||||||
|
|
||||||
buildInputs = stdenv.lib.optional stdenv.isDarwin darwin.apple_sdk.frameworks.Security;
|
buildInputs = stdenv.lib.optional stdenv.isDarwin darwin.apple_sdk.frameworks.Security;
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue