rustup: fix darwin build

This commit is contained in:
happysalada 2021-05-21 10:23:39 +09:00 committed by Raphael Megzari
parent 97335842d1
commit ceb8edb369

View File

@ -10,6 +10,8 @@
, zlib , zlib
, Security , Security
, CoreServices , CoreServices
, libiconv
, xz
}: }:
let let
@ -36,7 +38,7 @@ rustPlatform.buildRustPackage rec {
buildInputs = [ buildInputs = [
curl curl
zlib zlib
] ++ lib.optionals stdenv.isDarwin [ CoreServices Security ]; ] ++ lib.optionals stdenv.isDarwin [ CoreServices Security libiconv xz ];
cargoBuildFlags = [ "--features no-self-update" ]; cargoBuildFlags = [ "--features no-self-update" ];