diff options
author | 7c6f434c <7c6f434c@mail.ru> | 2022-02-12 11:32:56 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-02-12 11:32:56 +0000 |
commit | bff729efd3297f01d71a1a9833108b9f5ef13c8a (patch) | |
tree | 39124e19f64a957617dec5a847499565aad22411 /pkgs/applications/science/math | |
parent | 9c48a35157722fc94c57bd7025675fd3a184116e (diff) | |
parent | 4536186f188745d878f31bc2fcdaabfc085957c4 (diff) | |
download | nixpkgs-bff729efd3297f01d71a1a9833108b9f5ef13c8a.tar nixpkgs-bff729efd3297f01d71a1a9833108b9f5ef13c8a.tar.gz nixpkgs-bff729efd3297f01d71a1a9833108b9f5ef13c8a.tar.bz2 nixpkgs-bff729efd3297f01d71a1a9833108b9f5ef13c8a.tar.lz nixpkgs-bff729efd3297f01d71a1a9833108b9f5ef13c8a.tar.xz nixpkgs-bff729efd3297f01d71a1a9833108b9f5ef13c8a.tar.zst nixpkgs-bff729efd3297f01d71a1a9833108b9f5ef13c8a.zip |
Merge pull request #158992 from collares/R-stackprotector
R: disable stack protector on aarch64-darwin
Diffstat (limited to 'pkgs/applications/science/math')
-rw-r--r-- | pkgs/applications/science/math/R/default.nix | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/pkgs/applications/science/math/R/default.nix b/pkgs/applications/science/math/R/default.nix index d08078c356e..4bd237f8783 100644 --- a/pkgs/applications/science/math/R/default.nix +++ b/pkgs/applications/science/math/R/default.nix @@ -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; { |