tests.importCargoLock: various fixes (#397281)

This commit is contained in:
Winter
2025-04-13 00:29:58 -04:00
committed by GitHub
2 changed files with 6 additions and 10 deletions
@@ -2,9 +2,8 @@
rustPlatform,
pkg-config,
openssl,
zlib,
lib,
darwin,
stdenv,
}:
let
fs = lib.fileset;
@@ -26,13 +25,10 @@ rustPlatform.buildRustPackage {
pkg-config
];
buildInputs =
[
openssl
]
++ lib.optionals stdenv.hostPlatform.isDarwin [
darwin.apple_sdk.frameworks.Security
];
buildInputs = [
openssl
zlib
];
cargoLock = {
lockFile = ./Cargo.lock;
@@ -12,8 +12,8 @@ keywords = [
bar = "1.0.0"
[dependencies.foo]
version = "1.0.0"
features = [
"cat",
"meow",
]
version = "1.0.0"