From ec91045f959682707fd4e33974613df87230b06e Mon Sep 17 00:00:00 2001 From: squat Date: Fri, 6 Jun 2025 00:37:17 +0200 Subject: [PATCH] pamtester: refactor enable on Darwin It would be great to be able to test PAM service modules on Darwin systems. This commit enables pamtester on Darwin. I think the only reason this wasn't already enabled is purely historical. There is a viable PAM package for Darwin, namely OpenPAM and the upstream docs for pamtester mention Darwin. Building on my nix-darwin system works and the binary works as expected. Signed-off-by: squat --- pkgs/by-name/pa/pamtester/package.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkgs/by-name/pa/pamtester/package.nix b/pkgs/by-name/pa/pamtester/package.nix index 42a716524925..294ef8fb5f3d 100644 --- a/pkgs/by-name/pa/pamtester/package.nix +++ b/pkgs/by-name/pa/pamtester/package.nix @@ -24,7 +24,7 @@ stdenv.mkDerivation rec { mainProgram = "pamtester"; homepage = "https://pamtester.sourceforge.net/"; license = licenses.bsd3; - platforms = platforms.linux; + platforms = platforms.unix; maintainers = with maintainers; [ abbradar ]; }; }