matrix-conduit: don't use pkgs directly

This commit is contained in:
Chuang Zhu 2022-10-09 21:14:54 +08:00
parent 91d1eb9f2a
commit b01d7c80a0

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
];