3
0
Fork 0
forked from mirrors/nixpkgs

Merge pull request #199923 from maxeaubrey/zhf-bindle

This commit is contained in:
Martin Weinelt 2022-11-07 02:10:12 +01:00 committed by GitHub
commit c3e5ca7e23
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

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=";