diff --git a/grammars.nix b/grammars.nix index 204a103bfc68c..74af07399187b 100644 --- a/grammars.nix +++ b/grammars.nix @@ -34,6 +34,9 @@ let dontUnpack = true; dontConfigure = true; + hardeningDisable = + lib.optionals (stdenv.isAarch64 && stdenv.isDarwin) [ "stackprotector" ]; + FLAGS = [ "-I${src}/src" "-g"