Skip to content

Lock rules make incorrect assumptions about default lock directory #12717

@Alizter

Description

@Alizter

When a user declares their own lock directory in their workspace file:

(lock_dir
 (path custom.lock)
 (repositories mock))

We run into issues when building like:

  $ dune build
  Error: No rule found for default/.lock/dune.lock (context _private)
  [1]

Reproduction case and potential fix in #12712.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions