From 9aa026c0cc9bb89ac60086ad618278e20f7c32e9 Mon Sep 17 00:00:00 2001 From: Michael Davis Date: Mon, 7 Mar 2022 13:30:07 -0600 Subject: [PATCH] disable hardening in grammars builder --- grammars.nix | 3 +++ 1 file changed, 3 insertions(+) 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"