From 430228c30f948164c9db09c7c45927d41d8afb9f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ludovic=20Court=C3=A8s?= Date: Wed, 9 Mar 2011 10:30:56 +0000 Subject: [PATCH] GRUB-EFI: Use `throw' instead of `abort'. svn path=/nixpkgs/trunk/; revision=26219 --- pkgs/tools/misc/grub/1.9x.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkgs/tools/misc/grub/1.9x.nix b/pkgs/tools/misc/grub/1.9x.nix index e917e620bb4..041f4f8fedc 100644 --- a/pkgs/tools/misc/grub/1.9x.nix +++ b/pkgs/tools/misc/grub/1.9x.nix @@ -50,7 +50,7 @@ stdenv.mkDerivation rec { configureFlags = let arch = if stdenv.system == "i686-linux" then "i386" else if stdenv.system == "x86_64-linux" then "x86_64" - else abort "unsupported EFI firmware architecture"; + else throw "unsupported EFI firmware architecture"; in stdenv.lib.optionals EFIsupport [ "--with-platform=efi" "--target=${arch}" "--program-prefix=" ];