Skip to content

Commit

Permalink
Merge pull request #158992 from collares/R-stackprotector
Browse files Browse the repository at this point in the history
R: disable stack protector on aarch64-darwin
  • Loading branch information
7c6f434c authored Feb 12, 2022
2 parents 9c48a35 + 4536186 commit bff729e
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions pkgs/applications/science/math/R/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -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; {
Expand Down

0 comments on commit bff729e

Please sign in to comment.