git.iko.soy/typeable/nixpkgs
on master help sign in
cargo-edit: disable impure check
commitcea6bbfe752d74e9ac9410be0b0a2f4c221c3bb7 authorJörg Thalheim <joerg@thalheim.io> dateTue 11 Sep 2018, 21:05 (8 years ago) parentffde15d
2 files changed+12
pkgs/tools/package-management/cargo-edit/default.nix+2 pkgs/tools/package-management/cargo-edit/disable-network-based-test.patch+10
pkgs/tools/package-management/cargo-edit/default.nix+2
@@ -19,6 +19,8 @@ rustPlatform.buildRustPackage rec {
1919 buildInputs = lib.optional (!stdenv.isDarwin) openssl;
2020 propagatedBuildInputs = lib.optional stdenv.isDarwin darwin.apple_sdk.frameworks.Security;
2121
22+ patches = [ ./disable-network-based-test.patch ];
23+
2224 meta = with lib; {
2325 description = "A utility for managing cargo dependencies from the command line";
2426 homepage = https://github.com/killercup/cargo-edit;
pkgs/tools/package-management/cargo-edit/disable-network-based-test.patchnew file+10
@@ -0,0 +1,10 @@
1+--- cargo-edit.org/tests/cargo-upgrade.rs 2018-09-11 20:59:04.609532299 +0100
2++++ cargo-edit/tests/cargo-upgrade.rs 2018-09-11 20:59:50.829435331 +0100
3+@@ -302,6 +302,7 @@
4+ }
5+
6+ #[test]
7++#[ignore] // requires network
8+ fn upgrade_prints_messages() {
9+ let (_tmpdir, manifest) = clone_out_test("tests/fixtures/upgrade/Cargo.toml.source");
10+