3
0
Fork 0
forked from mirrors/nixpkgs

grub2: use python3 by default

It should work fine with either 2 or 3 (I'm pretty sure Arch uses 3, for example), and we should be aiming to move away from python 2 wherever possible
This commit is contained in:
Nathan van Doorn 2020-08-27 09:30:34 +01:00 committed by Frederik Rietdijk
parent 9e78e1b9ec
commit 9369f74fb2

View file

@ -1,4 +1,4 @@
{ stdenv, fetchgit, flex, bison, python, autoconf, automake, gnulib, libtool
{ stdenv, fetchgit, flex, bison, python3, autoconf, automake, gnulib, libtool
, gettext, ncurses, libusb-compat-0_1, freetype, qemu, lvm2, unifont, pkgconfig
, fuse # only needed for grub-mount
, zfs ? null
@ -53,7 +53,7 @@ stdenv.mkDerivation rec {
./fix-bash-completion.patch
];
nativeBuildInputs = [ bison flex python pkgconfig autoconf automake ];
nativeBuildInputs = [ bison flex python3 pkgconfig autoconf automake ];
buildInputs = [ ncurses libusb-compat-0_1 freetype gettext lvm2 fuse libtool ]
++ optional doCheck qemu
++ optional zfsSupport zfs;