Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix unavailable expunge on Windows #447

Merged
merged 2 commits into from
Jul 7, 2023

Conversation

jonahbeckford
Copy link
Contributor

Without this commit, you get:

File "src/top/dune", line 33, characters 0-131:
33 | (rule
34 |  (targets utop-expunged.bc)
35 |  (action
36 |   (run %{ocaml_where}/expunge %{dep:utop.bc} %{targets}
37 |     %{read-lines:modules.txt})))
Error: File unavailable:
Z:/source/dkml/build/pkg/bump/.ci/o/PR/lib/ocaml/expunge

Without this commit, get:

```
File "src/top/dune", line 33, characters 0-131:
33 | (rule
34 |  (targets utop-expunged.bc)
35 |  (action
36 |   (run %{ocaml_where}/expunge %{dep:utop.bc} %{targets}
37 |     %{read-lines:modules.txt})))
Error: File unavailable:
Z:/source/dkml/build/pkg/bump/.ci/o/PR/lib/ocaml/expunge
```
@emillon
Copy link
Collaborator

emillon commented Jul 7, 2023

Ugh, of course 🤦🏻. Thanks. I should put a windows CI for this.
I'll mark 2.13.0 as unavailable on windows. What's the right available: field for that? available: os != "win32"?

@emillon emillon merged commit f8affb8 into ocaml-community:master Jul 7, 2023
1 check was pending
emillon added a commit to emillon/opam-repository that referenced this pull request Jul 7, 2023
CHANGES:

* Fix unavailable expunge on Windows (ocaml-community/utop#447, @jonahbeckford)
@jonahbeckford
Copy link
Contributor Author

What's the right available: field for that? available: os != "win32"?

I think so.

nberth pushed a commit to nberth/opam-repository that referenced this pull request Jun 18, 2024
nberth pushed a commit to nberth/opam-repository that referenced this pull request Jun 18, 2024
CHANGES:

* Fix unavailable expunge on Windows (ocaml-community/utop#447, @jonahbeckford)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants