summary refs log tree commit diff
path: root/pkgs/tools/misc/grub/default.nix
blob: 0a406f72b46df5e673199f5fd54a64a1810885f1 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
{stdenv, fetchurl}:

if stdenv.system == "x86_64-linux" then
  abort "Grub doesn't build on x86_64-linux.  You should use the build for i686-linux instead."
else

stdenv.mkDerivation {
  name = "grub-0.97";
  src = fetchurl {
    url = ftp://alpha.gnu.org/gnu/grub/grub-0.97.tar.gz;
    md5 = "cd3f3eb54446be6003156158d51f4884";
  };
}