Merge pull request #175952 from K900/exa-fix-build

exa: fix build with rustc 1.61
This commit is contained in:
Sandro 2022-06-02 16:55:37 +02:00 committed by GitHub
commit ddba1d18af
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -18,6 +18,10 @@ rustPlatform.buildRustPackage rec {
cargoSha256 = "sha256-ah8IjShmivS6IWL3ku/4/j+WNr/LdUnh1YJnPdaFdcM=";
# FIXME: LTO is broken with rustc 1.61, see https://github.com/rust-lang/rust/issues/97255
# remove this with rustc 1.61.1+
CARGO_PROFILE_RELEASE_LTO = "false";
nativeBuildInputs = [ cmake pkg-config installShellFiles pandoc ];
buildInputs = [ zlib ]
++ lib.optionals stdenv.isDarwin [ libiconv Security ];