@@ -360,7 +360,8 @@ def op_deploy():
360
360
depl = open_deployment ()
361
361
if args .confirm :
362
362
depl .logger .set_autoresponse ("y" )
363
- depl .deploy (dry_run = args .dry_run , build_only = args .build_only ,
363
+ depl .deploy (dry_run = args .dry_run , evaluate_only = args .evaluate_only ,
364
+ build_only = args .build_only ,
364
365
create_only = args .create_only , copy_only = args .copy_only ,
365
366
include = args .include or [], exclude = args .exclude or [],
366
367
check = args .check , kill_obsolete = args .kill_obsolete ,
@@ -768,6 +769,7 @@ subparser.add_argument('--kill-obsolete', '-k', action='store_true', help='kill
768
769
subparser .add_argument ('--dry-run' , action = 'store_true' , help = 'show what will be built' )
769
770
subparser .add_argument ('--dry-activate' , action = 'store_true' , help = 'show what will be activated on the machines in the network' )
770
771
subparser .add_argument ('--repair' , action = 'store_true' , help = 'use --repair when calling nix-build (slow)' )
772
+ subparser .add_argument ('--evaluate-only' , action = 'store_true' , help = 'only call nix-instantiate and exit' )
771
773
subparser .add_argument ('--build-only' , action = 'store_true' , help = 'build only; do not perform deployment actions' )
772
774
subparser .add_argument ('--create-only' , action = 'store_true' , help = 'exit after creating missing machines' )
773
775
subparser .add_argument ('--copy-only' , action = 'store_true' , help = 'exit after copying closures' )
0 commit comments