git.iko.soy/typeable/nixpkgs
on master help sign in
gdb: prepend default safe paths

Co-Authored-By: Jörg Thalheim <Mic92@users.noreply.github.com>

commit2c50bd398463bc2e67824dbf094b157b618e8623 authorViktor Vilhelm Sonesten <tmplt@dragons.rocks> dateMon 25 Nov 2019, 20:48 (7 years ago) parent75348fa
1 file changed+2−1
pkgs/development/tools/misc/gdb/default.nix+2−1
pkgs/development/tools/misc/gdb/default.nix+2−1
@@ -8,7 +8,8 @@
88
99, pythonSupport ? stdenv.hostPlatform == stdenv.buildPlatform && !stdenv.hostPlatform.isCygwin, python3 ? null
1010, guile ? null
11−, safePaths ? [ stdenv.cc.cc.lib ]
11+# $debugdir:$datadir/auto-load are whitelisted by default by GDB
12+, safePaths ? [ "$debugdir" "$datadir/auto-load" stdenv.cc.cc.lib ]
1213
1314}:
1415