Skip to content

Commit

Permalink
disable stackprotector in helix-term build
Browse files Browse the repository at this point in the history
  • Loading branch information
the-mikedavis committed Mar 7, 2022
1 parent 4d56ff5 commit 3e529fa
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions flake.nix
Expand Up @@ -41,6 +41,12 @@
buildInputs = (prev.buildInputs or [ ]) ++ [ common.cCompiler.cc.lib ];
nativeBuildInputs = (prev.nativeBuildInputs or [ ]) ++ [ common.pkgs.makeWrapper ];

hardeningDisable =
let
inherit (common.pkgs) lib stdenv;
in
lib.optionals (stdenv.isAarch64 && stdenv.isDarwin) [ "stackprotector" ];

postInstall = ''
${prev.postInstall or ""}
if [ -f "$out/bin/hx" ]; then
Expand Down

0 comments on commit 3e529fa

Please sign in to comment.