cargo-edit: disable impure check

This commit is contained in:
Jörg Thalheim 2018-09-11 21:05:50 +01:00
parent ffde15da8e
commit cea6bbfe75
2 changed files with 12 additions and 0 deletions

View File

@ -19,6 +19,8 @@ rustPlatform.buildRustPackage rec {
buildInputs = lib.optional (!stdenv.isDarwin) openssl;
propagatedBuildInputs = lib.optional stdenv.isDarwin darwin.apple_sdk.frameworks.Security;
patches = [ ./disable-network-based-test.patch ];
meta = with lib; {
description = "A utility for managing cargo dependencies from the command line";
homepage = https://github.com/killercup/cargo-edit;

View File

@ -0,0 +1,10 @@
--- cargo-edit.org/tests/cargo-upgrade.rs 2018-09-11 20:59:04.609532299 +0100
+++ cargo-edit/tests/cargo-upgrade.rs 2018-09-11 20:59:50.829435331 +0100
@@ -302,6 +302,7 @@
}
#[test]
+#[ignore] // requires network
fn upgrade_prints_messages() {
let (_tmpdir, manifest) = clone_out_test("tests/fixtures/upgrade/Cargo.toml.source");