mirror of
https://github.com/NixOS/nix.git
synced 2025-11-08 19:46:02 +01:00
dev-shell: Add gdb
It's about time we added debuggers to the dev-shell. Having it in build inputs does some magic so pretty printers for standard library types work better.
This commit is contained in:
parent
be3a508b74
commit
0348030ae2
1 changed files with 1 additions and 0 deletions
|
|
@ -119,6 +119,7 @@ pkgs.nixComponents2.nix-util.overrideAttrs (
|
|||
modular.pre-commit.settings.package
|
||||
(pkgs.writeScriptBin "pre-commit-hooks-install" modular.pre-commit.settings.installationScript)
|
||||
pkgs.buildPackages.nixfmt-rfc-style
|
||||
pkgs.buildPackages.gdb
|
||||
]
|
||||
++ lib.optional (stdenv.cc.isClang && stdenv.hostPlatform == stdenv.buildPlatform) (
|
||||
lib.hiPrio pkgs.buildPackages.clang-tools
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue