From 680d0c9f37026167759f7802efbf735061aee960 Mon Sep 17 00:00:00 2001 From: Bruno BELANYI Date: Fri, 3 Sep 2021 17:34:34 +0200 Subject: [PATCH] home: gdb: add nix store to safe path For now, the nix store path is hard-coded rather than substituted. This is useful for pretty-printing C++ types compiled with a different C++ library from my gdb. --- home/gdb/gdbinit | 2 ++ 1 file changed, 2 insertions(+) diff --git a/home/gdb/gdbinit b/home/gdb/gdbinit index c45c6d2..bdf7bfd 100644 --- a/home/gdb/gdbinit +++ b/home/gdb/gdbinit @@ -20,3 +20,5 @@ set auto-load python-scripts # Allow autoloading project-local .gdbinit files set auto-load safe-path ~/git/ +# Allow autoloading from the Nix store +set auto-load safe-path /nix/store