forked from lix-project/lix
devShell: can we have debuggers?
macos: we have debuggers at home
(the debuggers at home: entitled little brats)
Change-Id: Iefd4b5880da97846a81d601db05d2b46530a2b58
This commit is contained in:
parent
c5949bfe31
commit
04b591dc1d
|
@ -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 = ''
|
||||
|
|
Loading…
Reference in a new issue