nixos-rebuild-ng: don't repeat the keep_going argument (#360287)

This commit is contained in:
Thiago Kenji Okada 2024-11-30 14:28:54 +00:00 committed by GitHub
commit 9f06965445
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -238,7 +238,6 @@ def execute(argv: list[str]) -> None:
path_to_config = nix.nixos_build_flake( path_to_config = nix.nixos_build_flake(
"toplevel", "toplevel",
flake, flake,
keep_going=True,
dry_run=dry_run, dry_run=dry_run,
**flake_build_flags, **flake_build_flags,
) )
@ -247,7 +246,6 @@ def execute(argv: list[str]) -> None:
"system", "system",
args.attr, args.attr,
args.file, args.file,
keep_going=True,
dry_run=dry_run, dry_run=dry_run,
**build_flags, **build_flags,
) )
@ -266,7 +264,6 @@ def execute(argv: list[str]) -> None:
path_to_config = nix.nixos_build_flake( path_to_config = nix.nixos_build_flake(
attr, attr,
flake, flake,
keep_going=True,
**flake_build_flags, **flake_build_flags,
) )
else: else:
@ -274,7 +271,6 @@ def execute(argv: list[str]) -> None:
attr, attr,
args.attr, args.attr,
args.file, args.file,
keep_going=True,
**build_flags, **build_flags,
) )
vm_path = next(path_to_config.glob("bin/run-*-vm"), "./result/bin/run-*-vm") vm_path = next(path_to_config.glob("bin/run-*-vm"), "./result/bin/run-*-vm")