From dd8a23dab0b433860dc1baa179007b43bec2fe1c Mon Sep 17 00:00:00 2001 From: Martin Weinelt Date: Tue, 22 Jul 2025 19:11:30 +0200 Subject: [PATCH] authentik: support aarch64-linux --- pkgs/by-name/au/authentik/package.nix | 20 +++++++++++++++++--- 1 file changed, 17 insertions(+), 3 deletions(-) diff --git a/pkgs/by-name/au/authentik/package.nix b/pkgs/by-name/au/authentik/package.nix index 7866c37da46f..14e8700c416c 100644 --- a/pkgs/by-name/au/authentik/package.nix +++ b/pkgs/by-name/au/authentik/package.nix @@ -29,7 +29,10 @@ let changelog = "https://github.com/goauthentik/authentik/releases/tag/version%2F${version}"; homepage = "https://goauthentik.io/"; license = lib.licenses.mit; - platforms = [ "x86_64-linux" ]; + platforms = [ + "aarch64-linux" + "x86_64-linux" + ]; maintainers = with lib.maintainers; [ jvanbruegge risson @@ -43,7 +46,13 @@ let sourceRoot = "${src.name}/website"; - outputHash = "sha256-1qlJf4mVYM5znF3Ifi7CpGMfinUsb/YoXGeM6QLYMis="; + outputHash = + { + "aarch64-linux" = "sha256-+UObt/FhHkEzZUR24ND6phSDqvuzaOuUiyoW0dolsiY="; + "x86_64-linux" = "sha256-1qlJf4mVYM5znF3Ifi7CpGMfinUsb/YoXGeM6QLYMis="; + } + .${stdenvNoCC.hostPlatform.system} or (throw "authentik-website-deps: unsupported hust platform"); + outputHashMode = "recursive"; nativeBuildInputs = [ @@ -130,7 +139,12 @@ let sourceRoot = "${src.name}/web"; - outputHash = "sha256-m0vYUevOz6pof8XqiZHXzgPhkQLUUFOdblmfOjHJUJc="; + outputHash = + { + "aarch64-linux" = "sha256-e4v7f3+/e++CI9xa9G2/47y8Dga+vluyUtBXGyaWFcI="; + "x86_64-linux" = "sha256-m0vYUevOz6pof8XqiZHXzgPhkQLUUFOdblmfOjHJUJc="; + } + .${stdenvNoCC.hostPlatform.system} or (throw "authentik-webui-deps: unsupported hust platform"); outputHashMode = "recursive"; nativeBuildInputs = [