iso-image.nix: Fix path to EFI blob after systemd-boot switch

This evaluates, but I can't verify if it works.

@edolstra
This commit is contained in:
Tuomas Tynkkynen 2016-06-01 12:14:00 +03:00
parent a6593a16f7
commit 0229693354

View File

@ -64,7 +64,7 @@ let
# The EFI boot image.
efiDir = pkgs.runCommand "efi-directory" {} ''
mkdir -p $out/EFI/boot
cp -v ${pkgs.gummiboot}/lib/gummiboot/gummiboot${targetArch}.efi $out/EFI/boot/boot${targetArch}.efi
cp -v ${pkgs.systemd}/lib/systemd/boot/efi/systemd-boot${targetArch}.efi $out/EFI/boot/boot${targetArch}.efi
mkdir -p $out/loader/entries
echo "title NixOS Live CD" > $out/loader/entries/nixos-livecd.conf