R: disable stack protector on aarch64-darwin

This commit is contained in:
Mauricio Collares 2022-02-10 14:00:44 -03:00
parent 686164dc1e
commit 4536186f18

View File

@ -94,6 +94,11 @@ stdenv.mkDerivation rec {
enableParallelBuilding = true;
# disable stackprotector on aarch64-darwin for now
# https://github.com/NixOS/nixpkgs/issues/158730
# see https://github.com/NixOS/nixpkgs/issues/127608 for a similar issue
hardeningDisable = lib.optionals (stdenv.isAarch64 && stdenv.isDarwin) [ "stackprotector" ];
setupHook = ./setup-hook.sh;
meta = with lib; {