GRUB-EFI: Use throw' instead of
abort'.
svn path=/nixpkgs/trunk/; revision=26219
This commit is contained in:
parent
9c416145b5
commit
430228c30f
@ -50,7 +50,7 @@ stdenv.mkDerivation rec {
|
|||||||
configureFlags =
|
configureFlags =
|
||||||
let arch = if stdenv.system == "i686-linux" then "i386"
|
let arch = if stdenv.system == "i686-linux" then "i386"
|
||||||
else if stdenv.system == "x86_64-linux" then "x86_64"
|
else if stdenv.system == "x86_64-linux" then "x86_64"
|
||||||
else abort "unsupported EFI firmware architecture";
|
else throw "unsupported EFI firmware architecture";
|
||||||
in
|
in
|
||||||
stdenv.lib.optionals EFIsupport
|
stdenv.lib.optionals EFIsupport
|
||||||
[ "--with-platform=efi" "--target=${arch}" "--program-prefix=" ];
|
[ "--with-platform=efi" "--target=${arch}" "--program-prefix=" ];
|
||||||
|
Loading…
x
Reference in New Issue
Block a user