From 9ef72b907ca9054bfe8205d839f2063901aca609 Mon Sep 17 00:00:00 2001 From: Finn Behrens Date: Tue, 23 Nov 2021 17:14:45 +0100 Subject: [PATCH] corrosion: fix darwin build (#147120) --- pkgs/development/tools/build-managers/corrosion/default.nix | 3 +++ 1 file changed, 3 insertions(+) diff --git a/pkgs/development/tools/build-managers/corrosion/default.nix b/pkgs/development/tools/build-managers/corrosion/default.nix index 2285579b0bbd..317956aa39cc 100644 --- a/pkgs/development/tools/build-managers/corrosion/default.nix +++ b/pkgs/development/tools/build-managers/corrosion/default.nix @@ -3,6 +3,7 @@ , fetchFromGitHub , cmake , rustPlatform +, libiconv }: stdenv.mkDerivation rec { @@ -30,6 +31,8 @@ stdenv.mkDerivation rec { sha256 = "1fsq8zzzq28fj2fh92wmg8kmdj4y10mcpdmlgxsygy5lbh4xs13f"; }; + buildInputs = lib.optional stdenv.isDarwin libiconv; + nativeBuildInputs = [ cmake ] ++ (with rustPlatform; [