diff options
author | eldritch horrors <pennae@lix.systems> | 2024-08-24 12:46:13 +0200 |
---|---|---|
committer | eldritch horrors <pennae@lix.systems> | 2024-08-24 21:34:13 +0200 |
commit | 04b591dc1de3270e60de72918bf1ba200e566f86 (patch) | |
tree | 7eb139914b932f625b9ce02e867aaba2bddfc0a1 | |
parent | c5949bfe313a92aab0e4cf38ab2407b0ac922ce8 (diff) |
devShell: can we have debuggers?
macos: we have debuggers at home
(the debuggers at home: entitled little brats)
Change-Id: Iefd4b5880da97846a81d601db05d2b46530a2b58
-rw-r--r-- | package.nix | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/package.nix b/package.nix index 8bba81e38..73e98bc71 100644 --- a/package.nix +++ b/package.nix @@ -432,6 +432,10 @@ stdenv.mkDerivation (finalAttrs: { pre-commit-checks, contribNotice, check-syscalls, + + # debuggers + gdb, + rr, }: let glibcFix = lib.optionalAttrs (buildPlatform.isLinux && glibcLocales != null) { @@ -511,6 +515,8 @@ stdenv.mkDerivation (finalAttrs: { ] ++ lib.optional (pre-commit-checks ? enabledPackages) pre-commit-checks.enabledPackages ++ lib.optional (lib.meta.availableOn buildPlatform clangbuildanalyzer) clangbuildanalyzer + ++ lib.optional (!stdenv.isDarwin) gdb + ++ lib.optional (lib.meta.availableOn buildPlatform rr) rr ++ finalAttrs.checkInputs; shellHook = '' |