fix(pxe-infra): correct triple-quote to double-quote in autoexec.ipxe block
Nix indented strings use \x27\x27 (two single quotes) as delimiters, not \x27\x27\x27
(three). The autoexec.ipxe block added in 7c9a8d8 used \x27\x27\x27 which
the parser rejects with "unexpected end of file, expecting indented
string or \x27${ or end of an indented string". Replacing with the
correct \x27\x27 makes both copies (this one and the home-manager
symlink target) parse cleanly and unblocks nixos-rebuild.
This commit is contained in:
1 parent
64036c4951
commit
a08c5ddd54
1 file changed
+2
-2
@@ -69,8 +69,8 @@
|
||||
# than the previously-recorded 0x7EE8A5FC -- iPXE was dying
|
||||
# before even reaching boot.ipxe.
|
||||
environment.etc."pxe-infra/tftpboot/autoexec.ipxe".source =
|
||||
pkgs.writeText "autoexec.ipxe" '''#!ipxe
|
||||
pkgs.writeText "autoexec.ipxe" ''#!ipxe
|
||||
chain http://${config.pxe-infra.bridge.address}/boot.ipxe
|
||||
''';
|
||||
'';
|
||||
};
|
||||
}
|
||||
Reference in new issue
Block a user