gdb: prepend default safe paths

Co-Authored-By: Jörg Thalheim <Mic92@users.noreply.github.com>
This commit is contained in:
Viktor Vilhelm Sonesten 2019-11-25 20:48:28 +01:00 committed by GitHub
parent 75348fafae
commit 2c50bd3984
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -8,7 +8,8 @@
, pythonSupport ? stdenv.hostPlatform == stdenv.buildPlatform && !stdenv.hostPlatform.isCygwin, python3 ? null
, guile ? null
, safePaths ? [ stdenv.cc.cc.lib ]
# $debugdir:$datadir/auto-load are whitelisted by default by GDB
, safePaths ? [ "$debugdir" "$datadir/auto-load" stdenv.cc.cc.lib ]
}: