Skip to content

Commit

Permalink
add override for helix-term-deps crate with stackprotector disabled
Browse files Browse the repository at this point in the history
  • Loading branch information
the-mikedavis committed Mar 7, 2022
1 parent 9aa026c commit d4f326a
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions flake.nix
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,13 @@
defaultOutputs = { app = "hx"; package = "helix"; };
overrides = {
crateOverrides = common: _: rec {
helix-term-deps = _: {
hardeningDisable =
let
inherit (common.pkgs) lib stdenv;
in
lib.optionals (stdenv.isAarch64 && stdenv.isDarwin) [ "stackprotector" ];
};
helix-term = prev:
let
grammars = common.pkgs.callPackage ./grammars.nix { };
Expand Down

0 comments on commit d4f326a

Please sign in to comment.