xorg-server: enable strictflexarrays1 on darwin

xtrans is now patched to avoid the darwin xquartz crash that required
this hardening rule disabled on darwin.
This commit is contained in:
Ihar Hrachyshka
2026-07-19 08:16:32 -04:00
parent 1cb8bb2f20
commit 72dfa69a68

View File

@@ -176,9 +176,6 @@ stdenv.mkDerivation (finalAttrs: {
--subst-var-by XQUARTZ_APP "$out/Applications/XQuartz.app"
'';
# avoid linux rebuilds
${if stdenv.hostPlatform.isDarwin then "hardeningDisable" else null} = [ "strictflexarrays1" ];
# default X install symlinks this to Xorg, we want XQuartz
postInstall = lib.optionalString stdenv.hostPlatform.isDarwin ''
ln -sf $out/bin/Xquartz $out/bin/X