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:
parent
9e78e1b9ec
commit
9369f74fb2
@ -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
|
, gettext, ncurses, libusb-compat-0_1, freetype, qemu, lvm2, unifont, pkgconfig
|
||||||
, fuse # only needed for grub-mount
|
, fuse # only needed for grub-mount
|
||||||
, zfs ? null
|
, zfs ? null
|
||||||
@ -53,7 +53,7 @@ stdenv.mkDerivation rec {
|
|||||||
./fix-bash-completion.patch
|
./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 ]
|
buildInputs = [ ncurses libusb-compat-0_1 freetype gettext lvm2 fuse libtool ]
|
||||||
++ optional doCheck qemu
|
++ optional doCheck qemu
|
||||||
++ optional zfsSupport zfs;
|
++ optional zfsSupport zfs;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user