mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-08-26 02:05:02 +00:00
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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user