Unverified Commit 6138d984 authored by ryota2357's avatar ryota2357
Browse files

cargo-all-features: fix build error

parent cf995097
Loading
Loading
Loading
Loading
+5 −0
Original line number Diff line number Diff line
@@ -13,6 +13,11 @@ rustPlatform.buildRustPackage rec {
    hash = "sha256-pHwQq6/KGCIYm3Q63YbUit6yUjwEFnpBJCE6lpGBcZc=";
  };

  postPatch = ''
    substituteInPlace tests/settings.rs \
      --replace-fail 'cmd.env("RUSTFLAGS", "-Cinstrument-coverage");' '''
  '';

  cargoHash = "sha256-tAwU7vJLp4KLzYAEbtSpNKbZBz+hBdAiIkUD/A5CpwI=";

  meta = with lib; {