petsc: reenable stackprotector on aarch64-darwin

This commit is contained in:
Theodore Ni 2022-12-05 23:29:03 -08:00
parent ff93685724
commit a899f74775
No known key found for this signature in database
GPG key ID: 48B67583BDDD4474

View file

@ -67,11 +67,6 @@ stdenv.mkDerivation rec {
configureScript = "python ./configure";
# 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" ];
enableParallelBuilding = true;
doCheck = stdenv.hostPlatform == stdenv.buildPlatform;