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