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

We don't need this anymore since NixOS now sets $NIX_DEBUG_INFO_DIRS.
wip/yesman
Eelco Dolstra 7 years ago
parent ee9a15b323
commit 30a1b94926
No known key found for this signature in database
GPG Key ID: 8170B4726D7198DE
  1. 5
      pkgs/development/tools/misc/gdb/default.nix

@ -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 =

Loading…
Cancel
Save