Merge pull request #158992 from collares/R-stackprotector

R: disable stack protector on aarch64-darwin
This commit is contained in:
7c6f434c 2022-02-12 11:32:56 +00:00 committed by GitHub
commit bff729efd3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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; {