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:
parent
a6593a16f7
commit
0229693354
|
@ -64,7 +64,7 @@ let
|
||||||
# The EFI boot image.
|
# The EFI boot image.
|
||||||
efiDir = pkgs.runCommand "efi-directory" {} ''
|
efiDir = pkgs.runCommand "efi-directory" {} ''
|
||||||
mkdir -p $out/EFI/boot
|
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
|
mkdir -p $out/loader/entries
|
||||||
|
|
||||||
echo "title NixOS Live CD" > $out/loader/entries/nixos-livecd.conf
|
echo "title NixOS Live CD" > $out/loader/entries/nixos-livecd.conf
|
||||||
|
|
Loading…
Reference in New Issue