git.iko.soy/typeable/nixpkgs
on master help sign in
Merge pull request #122552 from stephank/fix-cargo-fuzz-darwin

cargo-fuzz: fix darwin build

commit22011bda5c3b003f97727f2ce4a1fc6ae7a5d7c3 authorJörg Thalheim <Mic92@users.noreply.github.com> dateTue 11 May 2021, 09:46 (6 years ago) parent9d8d0b8f2dd876
1 file changed+3−1
pkgs/development/tools/rust/cargo-fuzz/default.nix+3−1
pkgs/development/tools/rust/cargo-fuzz/default.nix+3−1
@@ -1,4 +1,4 @@
1−{ lib, fetchFromGitHub, rustPlatform }:
1+{ lib, fetchFromGitHub, rustPlatform, stdenv, libiconv }:
22
33rustPlatform.buildRustPackage rec {
44 pname = "cargo-fuzz";
@@ -13,6 +13,8 @@ rustPlatform.buildRustPackage rec {
1313
1414 cargoSha256 = "sha256-eEfry6Q2YiIkNEHu6C8p17pUTF43eS1/iTP2oATZ/F8=";
1515
16+ buildInputs = lib.optional stdenv.isDarwin libiconv;
17+
1618 doCheck = false;
1719
1820 meta = with lib; {