parity: Update buildInputs and nativeBuildInputs

Move cmake and pkgconfig from buildInputs to nativeBuildInputs
Remove unneeded perl from buildInputs
This commit is contained in:
xrelkd 2019-08-31 01:41:43 +08:00
parent eedf3dc6e2
commit b2cc915003

View File

@ -7,11 +7,10 @@
, fetchFromGitHub , fetchFromGitHub
, rustPlatform , rustPlatform
, pkgconfig
, openssl
, systemd
, cmake , cmake
, perl , openssl
, pkgconfig
, systemd
}: }:
rustPlatform.buildRustPackage rec { rustPlatform.buildRustPackage rec {
@ -26,10 +25,9 @@ rustPlatform.buildRustPackage rec {
inherit sha256; inherit sha256;
}; };
buildInputs = [ nativeBuildInputs = [ cmake pkgconfig ];
pkgconfig cmake perl
systemd.lib systemd.dev openssl openssl.dev buildInputs = [ openssl systemd ];
];
cargoBuildFlags = [ "--features final" ]; cargoBuildFlags = [ "--features final" ];