git.iko.soy/typeable/nixpkgs
on master help sign in
gdb: use a safePaths parameter instead
commit75348fafae03c3e27b537c96fc8f88eeb6edc99c authorTmplt <tmplt@dragons.rocks> dateWed 20 Nov 2019, 18:14 (7 years ago) parenta3e0084
1 file changed+2−1
pkgs/development/tools/misc/gdb/default.nix+2−1
pkgs/development/tools/misc/gdb/default.nix+2−1
@@ -8,6 +8,7 @@
88
99, pythonSupport ? stdenv.hostPlatform == stdenv.buildPlatform && !stdenv.hostPlatform.isCygwin, python3 ? null
1010, guile ? null
11+, safePaths ? [ stdenv.cc.cc.lib ]
1112
1213}:
1314
@@ -70,7 +71,7 @@ stdenv.mkDerivation rec {
7071 "--with-gmp=${gmp.dev}"
7172 "--with-mpfr=${mpfr.dev}"
7273 "--with-expat" "--with-libexpat-prefix=${expat.dev}"
73− "--with-auto-load-safe-path=${stdenv.cc.cc.lib}"
74+ "--with-auto-load-safe-path=${builtins.concatStringsSep ":" safePaths}"
7475 ] ++ stdenv.lib.optional (!pythonSupport) "--without-python";
7576
7677 postInstall =