corrosion: fix darwin build (#147120)

This commit is contained in:
Finn Behrens 2021-11-23 17:14:45 +01:00 committed by GitHub
parent 1a0851d083
commit 9ef72b907c
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -3,6 +3,7 @@
, fetchFromGitHub , fetchFromGitHub
, cmake , cmake
, rustPlatform , rustPlatform
, libiconv
}: }:
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
@ -30,6 +31,8 @@ stdenv.mkDerivation rec {
sha256 = "1fsq8zzzq28fj2fh92wmg8kmdj4y10mcpdmlgxsygy5lbh4xs13f"; sha256 = "1fsq8zzzq28fj2fh92wmg8kmdj4y10mcpdmlgxsygy5lbh4xs13f";
}; };
buildInputs = lib.optional stdenv.isDarwin libiconv;
nativeBuildInputs = [ nativeBuildInputs = [
cmake cmake
] ++ (with rustPlatform; [ ] ++ (with rustPlatform; [