3
0
Fork 0
forked from mirrors/nixpkgs

rust/import-cargo-lock: hopefully make nested crate test work on macos

This commit is contained in:
Stefan Junker 2021-10-24 16:43:50 +02:00
parent f9a340a916
commit 445510ed69

View file

@ -1,4 +1,4 @@
{ rustPlatform, pkg-config, openssl }:
{ rustPlatform, pkg-config, openssl, lib, darwin, stdenv }:
rustPlatform.buildRustPackage {
pname = "git-dependency-rev-non-workspace-nested-crate";
@ -12,6 +12,8 @@ rustPlatform.buildRustPackage {
buildInputs = [
openssl
] ++ lib.optionals stdenv.isDarwin [
darwin.apple_sdk.frameworks.Security
];
cargoLock = {