avml: use OpenSSL from Nixpkgs

This commit is contained in:
Alyssa Ross
2024-09-28 17:34:20 +02:00
parent bacecfa3b6
commit fc93b376c2
+8 -2
View File
@@ -2,7 +2,8 @@
lib,
fetchFromGitHub,
rustPlatform,
perl,
pkg-config,
openssl,
testers,
avml,
nix-update-script,
@@ -21,7 +22,12 @@ rustPlatform.buildRustPackage rec {
cargoHash = "sha256-gcpjrxnQDyO92OW6LZVc4x73TmTtQoaEYhmGmqhz8ng=";
nativeBuildInputs = [ perl ];
nativeBuildInputs = [ pkg-config ];
buildInputs = [ openssl ];
env = {
OPENSSL_NO_VENDOR = true;
};
passthru.tests.version = testers.testVersion { package = avml; };