From b01d7c80a0f3639d87801dd5619b512222717a08 Mon Sep 17 00:00:00 2001 From: Chuang Zhu Date: Sun, 9 Oct 2022 21:14:54 +0800 Subject: [PATCH] matrix-conduit: don't use pkgs directly --- pkgs/servers/matrix-conduit/default.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pkgs/servers/matrix-conduit/default.nix b/pkgs/servers/matrix-conduit/default.nix index 4eced54bc720..9f6e68bf64a7 100644 --- a/pkgs/servers/matrix-conduit/default.nix +++ b/pkgs/servers/matrix-conduit/default.nix @@ -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 ];