-
Notifications
You must be signed in to change notification settings - Fork 410
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: Add or remove dune from package sets to allow resolving packages…
… depending on it (#11103) * fix: Add `dune` to existing packages to allow resolving Signed-off-by: Marek Kubica <marek@tarides.com> * Alternate solution which removes `dune` from formulas Signed-off-by: Marek Kubica <marek@tarides.com> * chore: leave a comment Signed-off-by: Rudi Grinberg <me@rgrinberg.com> * fix(pkg): use correct dune version to evaluate Signed-off-by: Rudi Grinberg <me@rgrinberg.com> --------- Signed-off-by: Marek Kubica <marek@tarides.com> Signed-off-by: Rudi Grinberg <me@rgrinberg.com> Co-authored-by: Rudi Grinberg <me@rgrinberg.com>
- Loading branch information
1 parent
3995bb5
commit 619c098
Showing
5 changed files
with
26 additions
and
15 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,8 @@ | ||
open Stdune | ||
|
||
let name = Package_name.of_string "dune" | ||
|
||
let version = | ||
let major, minor = Dune_lang.Stanza.latest_version in | ||
OpamPackage.Version.of_string @@ sprintf "%d.%d" major minor | ||
;; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,2 @@ | ||
val name : Package_name.t | ||
val version : OpamPackage.Version.t |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters