Skip to content

Commit

Permalink
Merge pull request #1451 from cachix/work/keys/aarch64-linux-gdb
Browse files Browse the repository at this point in the history
fix: Disable gdb for aarch64-linux
  • Loading branch information
domenkozar authored Sep 18, 2024
2 parents 08dd75c + c8e7765 commit 5cac85c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/modules/languages/c.nix
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ in
debugger = lib.mkOption {
type = lib.types.nullOr lib.types.package;
default =
if lib.meta.availableOn pkgs.stdenv.hostPlatform pkgs.gdb
if !(pkgs.stdenv.isAarch64 && pkgs.stdenv.isLinux) && lib.meta.availableOn pkgs.stdenv.hostPlatform pkgs.gdb
then pkgs.gdb
else null;
defaultText = lib.literalExpression "pkgs.gdb";
Expand Down

0 comments on commit 5cac85c

Please sign in to comment.