diff --git a/src/jbuild.ml b/src/jbuild.ml index 6123df34..5dd0606d 100644 --- a/src/jbuild.ml +++ b/src/jbuild.ml @@ -1063,7 +1063,7 @@ module Executables = struct in match to_install with | [] -> - (field_o "package" loc >>= function + (field_o "package" (junk >>> loc) >>= function | None -> return (t, None) | Some loc -> Loc.warn loc