summary refs log tree commit diff
path: root/pkgs/tools/misc/grub
diff options
context:
space:
mode:
authorNathan van Doorn <nvd1234@gmail.com>2020-08-27 09:30:34 +0100
committerFrederik Rietdijk <fridh@fridh.nl>2020-08-28 16:09:15 +0200
commit9369f74fb28fbf7e79ffe102e3a3dbdef3b2981e (patch)
tree77765818a0d086de5157f751d298f25bd565b4b0 /pkgs/tools/misc/grub
parent9e78e1b9ec26a0db30ff29c45e350c42cfd2ebca (diff)
downloadnixpkgs-9369f74fb28fbf7e79ffe102e3a3dbdef3b2981e.tar
nixpkgs-9369f74fb28fbf7e79ffe102e3a3dbdef3b2981e.tar.gz
nixpkgs-9369f74fb28fbf7e79ffe102e3a3dbdef3b2981e.tar.bz2
nixpkgs-9369f74fb28fbf7e79ffe102e3a3dbdef3b2981e.tar.lz
nixpkgs-9369f74fb28fbf7e79ffe102e3a3dbdef3b2981e.tar.xz
nixpkgs-9369f74fb28fbf7e79ffe102e3a3dbdef3b2981e.tar.zst
nixpkgs-9369f74fb28fbf7e79ffe102e3a3dbdef3b2981e.zip
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
Diffstat (limited to 'pkgs/tools/misc/grub')
-rw-r--r--pkgs/tools/misc/grub/2.0x.nix4
1 files changed, 2 insertions, 2 deletions
diff --git a/pkgs/tools/misc/grub/2.0x.nix b/pkgs/tools/misc/grub/2.0x.nix
index 4e00a4ddd49..63cdb61dd33 100644
--- a/pkgs/tools/misc/grub/2.0x.nix
+++ b/pkgs/tools/misc/grub/2.0x.nix
@@ -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;