diff options
author | Ludovic Courtès <ludo@gnu.org> | 2011-03-09 10:30:56 +0000 |
---|---|---|
committer | Ludovic Courtès <ludo@gnu.org> | 2011-03-09 10:30:56 +0000 |
commit | 430228c30f948164c9db09c7c45927d41d8afb9f (patch) | |
tree | b49167876da9bda251b8a1a0f092b2ff0a6cb766 /pkgs/tools/misc/grub/1.9x.nix | |
parent | 9c416145b501e00151d7cfd56d1125b06cfeef53 (diff) |
GRUB-EFI: Use `throw' instead of `abort'.
svn path=/nixpkgs/trunk/; revision=26219
Diffstat (limited to 'pkgs/tools/misc/grub/1.9x.nix')
-rw-r--r-- | pkgs/tools/misc/grub/1.9x.nix | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pkgs/tools/misc/grub/1.9x.nix b/pkgs/tools/misc/grub/1.9x.nix index e917e620bb47b..041f4f8fedc4e 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=" ]; |