gdb: use a safePaths parameter instead
This commit is contained in:
parent
a3e008420e
commit
75348fafae
@ -8,6 +8,7 @@
|
||||
|
||||
, pythonSupport ? stdenv.hostPlatform == stdenv.buildPlatform && !stdenv.hostPlatform.isCygwin, python3 ? null
|
||||
, guile ? null
|
||||
, safePaths ? [ stdenv.cc.cc.lib ]
|
||||
|
||||
}:
|
||||
|
||||
@ -70,7 +71,7 @@ stdenv.mkDerivation rec {
|
||||
"--with-gmp=${gmp.dev}"
|
||||
"--with-mpfr=${mpfr.dev}"
|
||||
"--with-expat" "--with-libexpat-prefix=${expat.dev}"
|
||||
"--with-auto-load-safe-path=${stdenv.cc.cc.lib}"
|
||||
"--with-auto-load-safe-path=${builtins.concatStringsSep ":" safePaths}"
|
||||
] ++ stdenv.lib.optional (!pythonSupport) "--without-python";
|
||||
|
||||
postInstall =
|
||||
|
Loading…
Reference in New Issue
Block a user