diff --git a/src/client/opamArg.ml b/src/client/opamArg.ml index 3c485019e0a..ed221b5e1d2 100644 --- a/src/client/opamArg.ml +++ b/src/client/opamArg.ml @@ -624,7 +624,7 @@ let apply_build_options cli b = OpamPackage.Name.Set.of_list) ?unlock_base:(flag b.unlock_base) ?locked:(if b.locked then Some (Some b.lock_suffix) else None) - ?no_depexts:(flag b.no_depexts || OpamCLIVersion.Op.(cli @= cli2_0)) + ?no_depexts:(flag (b.no_depexts || OpamCLIVersion.Op.(cli @= cli2_0))) (); OpamClientConfig.update ?keep_build_dir:(flag b.keep_build_dir)