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