Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -42,3 +42,24 @@ failure is reported once for the requested platform set:
No partial lock directory is written:

$ test ! -e dune.lock

When the platform set only contains platforms where the package is available,
locking succeeds:

$ cat > dune-workspace <<EOF
> (lang dune 3.11)
> (repository
> (name mock)
> (url "file://$(pwd)/mock-opam-repository"))
> (lock_dir
> (repositories mock)
> (solve_for_platforms
> ((arch arm64)
> (os macos))))
> EOF

$ dune pkg lock
Solution for dune.lock

Dependencies common to all supported platforms:
- foo.0.0.1
Loading