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 <lserven@gmail.com>
This commit is contained in:
squat
2025-06-06 00:46:33 +02:00
parent 966f441f64
commit ec91045f95
+1 -1
View File
@@ -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 ];
};
}