bindle: fix build failure

This commit is contained in:
Maxine Aubrey 2022-11-07 00:14:01 +01:00
parent f54c651ba5
commit 9b2cb8b1cb
No known key found for this signature in database
GPG key ID: F6FE033DFCB899F7

View file

@ -1,4 +1,4 @@
{ lib, rustPlatform, fetchFromGitHub, pkgs, stdenv, Security }:
{ lib, rustPlatform, fetchFromGitHub, stdenv, Security, pkg-config, openssl }:
rustPlatform.buildRustPackage rec {
pname = "bindle";
@ -13,7 +13,8 @@ rustPlatform.buildRustPackage rec {
doCheck = false; # Tests require a network
buildInputs = with pkgs; [ pkg-config openssl_3 ] ++ lib.optional stdenv.isDarwin Security;
nativeBuildInputs = [ pkg-config ];
buildInputs = [ openssl ] ++ lib.optional stdenv.isDarwin Security;
cargoSha256 = "sha256-brsemnw/9YEsA2FEIdYGmQMdlIoT1ZEMjvOpF44gcRE=";