git.iko.soy/typeable/nixpkgs
on master help sign in
grub: make sure grub builds again (close #6774)
decf15fBob van der Linden
pkgs/tools/misc/grub/default.nix+3−2
@@ -1,4 +1,4 @@
1−{stdenv, fetchurl, autoconf, automake, buggyBiosCDSupport ? true}:
1+{stdenv, fetchurl, autoconf, automake, texinfo, buggyBiosCDSupport ? true}:
2
2
3stdenv.mkDerivation {
3stdenv.mkDerivation {
4 name = "grub-0.97-patch-1.12";
4 name = "grub-0.97-patch-1.12";
@@ -34,7 +34,7 @@ stdenv.mkDerivation {
34 ] ++ (stdenv.lib.optional buggyBiosCDSupport ./buggybios.patch);
34 ] ++ (stdenv.lib.optional buggyBiosCDSupport ./buggybios.patch);
35
35
36 # Autoconf/automake required for the splashimage patch.
36 # Autoconf/automake required for the splashimage patch.
37− buildInputs = [autoconf automake];
37+ buildInputs = [autoconf automake texinfo];
38
38
39 prePatch = ''
39 prePatch = ''
40 unpackFile $gentooPatches
40 unpackFile $gentooPatches
@@ -47,6 +47,7 @@ stdenv.mkDerivation {
47
47
48 preConfigure = ''
48 preConfigure = ''
49 autoreconf
49 autoreconf
50+ automake --add-missing
50 '';
51 '';
51
52
52 passthru.grubTarget = "";
53 passthru.grubTarget = "";