Merge pull request #195345 from chuangzhu/conduit

matrix-conduit: don't use pkgs directly
This commit is contained in:
figsoda 2022-10-10 10:45:02 -04:00 committed by GitHub
commit 50c7c4cc34
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1,4 +1,4 @@
{ stdenv, lib, fetchFromGitLab, rustPlatform, pkgs }:
{ stdenv, lib, fetchFromGitLab, rustPlatform, pkg-config, rocksdb }:
rustPlatform.buildRustPackage rec {
pname = "matrix-conduit";
@ -13,11 +13,11 @@ rustPlatform.buildRustPackage rec {
cargoSha256 = "sha256-vE44I8lQ5VAfZB4WKLRv/xudoZJaFJGTT/UuumTePBU=";
nativeBuildInputs = with pkgs; [
nativeBuildInputs = [
rustPlatform.bindgenHook
];
buildInputs = with pkgs; [
buildInputs = [
pkg-config
rocksdb
];