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.
This commit is contained in:
Bruno BELANYI 2021-09-03 17:34:34 +02:00
parent 9a06108603
commit 680d0c9f37

View file

@ -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