From 0fd1f1e8783ebf97059f0f8727350b86dd0f357e Mon Sep 17 00:00:00 2001 From: Andrew Field <27866671+andrew-field@users.noreply.github.com> Date: Fri, 27 Jun 2025 11:52:22 +0300 Subject: [PATCH] alterware-launcher: do not vendor openssl --- pkgs/by-name/al/alterware-launcher/package.nix | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/pkgs/by-name/al/alterware-launcher/package.nix b/pkgs/by-name/al/alterware-launcher/package.nix index 5d7132d0fe13..7d9ea7565c29 100644 --- a/pkgs/by-name/al/alterware-launcher/package.nix +++ b/pkgs/by-name/al/alterware-launcher/package.nix @@ -2,7 +2,8 @@ lib, fetchFromGitHub, rustPlatform, - perl, + openssl, + pkg-config, }: rustPlatform.buildRustPackage (finalAttrs: { @@ -16,15 +17,18 @@ rustPlatform.buildRustPackage (finalAttrs: { hash = "sha256-DFIiVNYom3LvU9IFA9w9FvXwm9gqfACDs8KaFKQR9Qs="; }; - useFetchCargoVendor = true; cargoHash = "sha256-/2i6GyBTKLf2oNFkizaBUHcLcCPgsy3g0p31D6cO+xg="; - nativeBuildInputs = [ perl ]; + buildInputs = [ openssl ]; + nativeBuildInputs = [ pkg-config ]; + + env.OPENSSL_NO_VENDOR = true; meta = { description = "Official launcher for AlterWare Call of Duty mods"; longDescription = "Our clients are designed to restore missing features that have been removed by the developers, as well as enhance the capabilities of the games"; homepage = "https://alterware.dev"; + downloadPage = "https://github.com/alterware/alterware-launcher"; changelog = "https://github.com/alterware/alterware-launcher/releases/tag/v${finalAttrs.version}"; license = lib.licenses.gpl3Only; maintainers = with lib.maintainers; [ andrewfield ];