rustup: 1.18.1 -> 1.18.2

This commit is contained in:
xrelkd 2019-05-03 02:54:50 +08:00 committed by Mario Rodas
parent 66b94f20f3
commit 7c6679d787
No known key found for this signature in database
GPG Key ID: 4C4BEFD7B18DC5E8
2 changed files with 6 additions and 6 deletions

View File

@ -1,25 +1,25 @@
{ stdenv, lib, runCommand, patchelf
, fetchFromGitHub, rustPlatform
, pkgconfig, curl, Security }:
, pkgconfig, curl, Security, CoreServices }:
rustPlatform.buildRustPackage rec {
pname = "rustup";
version = "1.18.1";
version = "1.18.2";
src = fetchFromGitHub {
owner = "rust-lang";
repo = "rustup.rs";
rev = version;
sha256 = "0932n708ikxzjv7y78zcrnnnps3rgimsnpaximhm9vmjjnkdgm7x";
sha256 = "0lyn06vzp5406sjng7msifigkal2lafppqjbdnigx8yvgxqgd06f";
};
cargoSha256 = "0kw8a9prqjf939g0h8ryyhlm1n84fwdycvl0nkykkwlfqd6hh9hb";
cargoSha256 = "0yxjy1kls80fcpwskklmihkqva16s6mawa8rdxc3zz8g588am03c";
nativeBuildInputs = [ pkgconfig ];
buildInputs = [
curl
] ++ stdenv.lib.optionals stdenv.isDarwin [ Security ];
] ++ stdenv.lib.optionals stdenv.isDarwin [ CoreServices Security ];
cargoBuildFlags = [ "--features no-self-update" ];

View File

@ -7856,7 +7856,7 @@ in
inherit (darwin.apple_sdk.frameworks) Security;
};
rustup = callPackage ../development/tools/rust/rustup {
inherit (darwin.apple_sdk.frameworks) Security;
inherit (darwin.apple_sdk.frameworks) CoreServices Security;
};
sbclBootstrap = callPackage ../development/compilers/sbcl/bootstrap.nix {};