xorg-server: enable SECURITY module on darwin

This is required for `ssh -X` to work properly.

(cherry picked from commit eb4202e428)
This commit is contained in:
George Huebner 2026-06-16 10:35:23 -07:00 committed by github-actions[bot]
commit d8d4551aa1

View file

@ -152,8 +152,7 @@ stdenv.mkDerivation (finalAttrs: {
"-Dxkb_bin_dir=${xkbcomp}/bin"
"-Dxkb_dir=${xkeyboard-config}/share/X11/xkb"
"-Dxkb_output_dir=$out/share/X11/xkb/compiled"
]
++ lib.optionals (!stdenv.hostPlatform.isDarwin) [
"-Dxcsecurity=true"
]
++ lib.optionals stdenv.hostPlatform.isDarwin [