From a899f74775f43761f66667cd6658ec150e383ab5 Mon Sep 17 00:00:00 2001 From: Theodore Ni <3806110+tjni@users.noreply.github.com> Date: Mon, 5 Dec 2022 23:29:03 -0800 Subject: [PATCH] petsc: reenable stackprotector on aarch64-darwin --- pkgs/development/libraries/science/math/petsc/default.nix | 5 ----- 1 file changed, 5 deletions(-) diff --git a/pkgs/development/libraries/science/math/petsc/default.nix b/pkgs/development/libraries/science/math/petsc/default.nix index e847d1decd24..ae95fefe0e63 100644 --- a/pkgs/development/libraries/science/math/petsc/default.nix +++ b/pkgs/development/libraries/science/math/petsc/default.nix @@ -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;