aws-lc: setup update script

This commit is contained in:
Mynacol
2025-11-27 18:14:02 +00:00
parent 6ff493e7a8
commit 580665dd9e
+16 -12
View File
@@ -6,6 +6,7 @@
ninja,
testers,
aws-lc,
nix-update-script,
useSharedLibraries ? !stdenv.hostPlatform.isStatic,
}:
stdenv.mkDerivation (finalAttrs: {
@@ -55,19 +56,22 @@ stdenv.mkDerivation (finalAttrs: {
__darwinAllowLocalNetworking = true;
passthru.tests = {
version = testers.testVersion {
package = aws-lc;
command = "bssl version";
};
pkg-config = testers.hasPkgConfigModules {
package = aws-lc;
moduleNames = [
"libcrypto"
"libssl"
"openssl"
];
passthru = {
tests = {
version = testers.testVersion {
package = aws-lc;
command = "bssl version";
};
pkg-config = testers.hasPkgConfigModules {
package = aws-lc;
moduleNames = [
"libcrypto"
"libssl"
"openssl"
];
};
};
updateScript = nix-update-script { };
};
meta = {