Unverified Commit 2b890079 authored by TomaSajt's avatar TomaSajt
Browse files

matrix-conduit: use fetchCargoVendor

parent 1c119c26
Loading
Loading
Loading
Loading
+0 −3837

File deleted.

Preview size limit exceeded, changes collapsed.

+2 −8
Original line number Diff line number Diff line
@@ -22,14 +22,8 @@ rustPlatform.buildRustPackage rec {
    hash = "sha256-mQLfRAun2G/LDnw3jyFGJbOqpxh2PL8IGzFELRfAgAI=";
  };

  # We have to use importCargoLock here because `cargo vendor` currently doesn't support workspace
  # inheritance within Git dependencies, but importCargoLock does.
  cargoLock = {
    lockFile = ./Cargo.lock;
    outputHashes = {
      "ruma-0.10.1" = "sha256-VmIZ24vULpm6lF24OFZdsI5JG+XqVPpUWM/R64X17jo=";
    };
  };
  useFetchCargoVendor = true;
  cargoHash = "sha256-r7fOzTug0cKQUGrpXDn1JKb6/lLQDgnA3/colmldA4c=";

  # Conduit enables rusqlite's bundled feature by default, but we'd rather use our copy of SQLite.
  preBuild = ''