gdb: switch to python3 by default

wip/yesman
Jörg Thalheim 6 years ago
parent 84162175a3
commit 5afbdde38c
No known key found for this signature in database
GPG Key ID: CA4106B8D7CC79FA
  1. 6
      pkgs/development/tools/misc/gdb/default.nix

@ -6,7 +6,7 @@
# Run time
, ncurses, readline, gmp, mpfr, expat, zlib, dejagnu
, pythonSupport ? stdenv.hostPlatform == stdenv.buildPlatform && !stdenv.hostPlatform.isCygwin, python ? null
, pythonSupport ? stdenv.hostPlatform == stdenv.buildPlatform && !stdenv.hostPlatform.isCygwin, python3 ? null
, guile ? null
}:
@ -16,7 +16,7 @@ let
version = "8.2";
in
assert pythonSupport -> python != null;
assert pythonSupport -> python3 != null;
stdenv.mkDerivation rec {
name =
@ -44,7 +44,7 @@ stdenv.mkDerivation rec {
nativeBuildInputs = [ pkgconfig texinfo perl setupDebugInfoDirs ];
buildInputs = [ ncurses readline gmp mpfr expat zlib guile ]
++ stdenv.lib.optional pythonSupport python
++ stdenv.lib.optional pythonSupport python3
++ stdenv.lib.optional doCheck dejagnu;
propagatedNativeBuildInputs = [ setupDebugInfoDirs ];

Loading…
Cancel
Save