gdb: Remove --with-separate-debug-dir

We don't need this anymore since NixOS now sets $NIX_DEBUG_INFO_DIRS.
This commit is contained in:
Eelco Dolstra 2017-10-10 12:05:00 +02:00
parent ee9a15b323
commit 30a1b94926
No known key found for this signature in database
GPG key ID: 8170B4726D7198DE

View file

@ -60,10 +60,7 @@ stdenv.mkDerivation rec {
configureFlags = with stdenv.lib; [
"--with-gmp=${gmp.dev}" "--with-mpfr=${mpfr.dev}" "--with-system-readline"
"--with-system-zlib" "--with-expat" "--with-libexpat-prefix=${expat.dev}"
] ++ stdenv.lib.optional hostPlatform.isLinux
# TODO(@Ericson2314): make this conditional on whether host platform is NixOS
"--with-separate-debug-dir=/run/current-system/sw/lib/debug"
++ stdenv.lib.optional (!pythonSupport) "--without-python"
] ++ stdenv.lib.optional (!pythonSupport) "--without-python"
++ stdenv.lib.optional multitarget "--enable-targets=all";
postInstall =