tests.importCargoLock: various fixes (#397281)
This commit is contained in:
+5
-9
@@ -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;
|
||||
|
||||
+1
-1
@@ -12,8 +12,8 @@ keywords = [
|
||||
bar = "1.0.0"
|
||||
|
||||
[dependencies.foo]
|
||||
version = "1.0.0"
|
||||
features = [
|
||||
"cat",
|
||||
"meow",
|
||||
]
|
||||
version = "1.0.0"
|
||||
|
||||
Reference in New Issue
Block a user