Skip to content

Commit fbc9895

Browse files
pogobananeMic92
authored andcommitted
fix nixos-anywhere.sh path
1 parent 6159224 commit fbc9895

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

nixos-anywhere-pxe.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@
1919

2020
FILE = Union[None, int, IO]
2121

22+
NIXOS_ANYWHERE_SH = Path(__file__).parent.absolute() / "src/nixos-anywhere.sh"
2223

2324
def run(
2425
cmd: Union[str, list[str]],
@@ -337,7 +338,7 @@ def nixos_anywhere(
337338
[
338339
# FIXME: path
339340
"bash",
340-
"./src/nixos-remote.sh",
341+
str(NIXOS_ANYWHERE_SH),
341342
"--flake",
342343
flake,
343344
"-L",

0 commit comments

Comments
 (0)