Skip to content

Commit

Permalink
chore(pkg): leave CR regarding substitution (#9409)
Browse files Browse the repository at this point in the history
Signed-off-by: Rudi Grinberg <[email protected]>
  • Loading branch information
rgrinberg authored Dec 7, 2023
1 parent 2eb12b9 commit c654613
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/dune_pkg/opam_solver.ml
Original file line number Diff line number Diff line change
Expand Up @@ -214,6 +214,7 @@ let is_valid_global_variable_name = function
| _ -> true
;;

(* CR-rgrinberg: we need this validation in substitution actions as well *)
let is_valid_package_variable_name = function
| "hash" | "build-id" | "misc" | "opam-version" | "depends" | "build" | "opamfile" ->
false
Expand Down

0 comments on commit c654613

Please sign in to comment.