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

ocamlformat: Build on OCaml 4.14 #361404

Merged
merged 2 commits into from
Dec 3, 2024
Merged

Conversation

Julow
Copy link
Contributor

@Julow Julow commented Dec 3, 2024

OCamlformat fails to build since the bump to OCaml 5.2 in #346071

   error: ocamlformat 0.26.1 is not available for OCaml 5.2.1

This changes which version of the compiler is used to build OCamlformat. 4.14 is used to increase sharing when several versions of the tool are used at the same time. This will not change OCamlformat's behaviors.

Things done

  • Built on platform(s)
    • x86_64-linux
    • aarch64-linux
    • x86_64-darwin
    • aarch64-darwin
  • For non-Linux: Is sandboxing enabled in nix.conf? (See Nix manual)
    • sandbox = relaxed
    • sandbox = true
  • Tested, as applicable:
  • Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage
  • Tested basic functionality of all binary files (usually in ./result/bin/)
  • 25.05 Release Notes (or backporting 24.11 and 25.05 Release notes)
    • (Package updates) Added a release notes entry if the change is major or breaking
    • (Module updates) Added a release notes entry if the change is significant
    • (Module addition) Added a release notes entry if adding a new NixOS module
  • Fits CONTRIBUTING.md.

Add a 👍 reaction to pull requests you find important.

OCamlformat fails to build since the bump to OCaml 5.2 in
NixOS#346071

       error: ocamlformat 0.26.1 is not available for OCaml 5.2.1

This changes which version of the compiler is used to build OCamlformat.
4.14 is used to increase sharing when several versions of the tool are
used at the same time. This will not change OCamlformat's behaviors.
@vbgl
Copy link
Contributor

vbgl commented Dec 3, 2024

ocamlformat 0.26.2 builds fine with OCaml 5.2.1 and should be built with the default version of the OCaml compiler.

@Julow
Copy link
Contributor Author

Julow commented Dec 3, 2024

Right! And it will also build fine with 5.3. Fixed

@vbgl vbgl merged commit 8d3033a into NixOS:master Dec 3, 2024
16 of 17 checks passed
@vbgl vbgl added the backport release-24.11 Backport PR automatically label Dec 4, 2024
@nixpkgs-ci
Copy link
Contributor

nixpkgs-ci bot commented Dec 4, 2024

Successfully created backport PR for release-24.11:

nixpkgs-ci bot pushed a commit that referenced this pull request Dec 4, 2024
* ocamlformat: Build on OCaml 4.14

OCamlformat fails to build since the bump to OCaml 5.2 in
#346071

       error: ocamlformat 0.26.1 is not available for OCaml 5.2.1

This changes which version of the compiler is used to build OCamlformat.
4.14 is used to increase sharing when several versions of the tool are
used at the same time. This will not change OCamlformat's behaviors.

* ocamlformat_0_26_2: Build on the latest compiler

(cherry picked from commit 8d3033a)
vbgl pushed a commit that referenced this pull request Dec 4, 2024
* ocamlformat: Build on OCaml 4.14

OCamlformat fails to build since the bump to OCaml 5.2 in
#346071

       error: ocamlformat 0.26.1 is not available for OCaml 5.2.1

This changes which version of the compiler is used to build OCamlformat.
4.14 is used to increase sharing when several versions of the tool are
used at the same time. This will not change OCamlformat's behaviors.

* ocamlformat_0_26_2: Build on the latest compiler

(cherry picked from commit 8d3033a)
RedEtherbloom pushed a commit to RedEtherbloom/nixpkgs that referenced this pull request Dec 4, 2024
* ocamlformat: Build on OCaml 4.14

OCamlformat fails to build since the bump to OCaml 5.2 in
NixOS#346071

       error: ocamlformat 0.26.1 is not available for OCaml 5.2.1

This changes which version of the compiler is used to build OCamlformat.
4.14 is used to increase sharing when several versions of the tool are
used at the same time. This will not change OCamlformat's behaviors.

* ocamlformat_0_26_2: Build on the latest compiler
mkg20001 pushed a commit to mkg20001/nixpkgs that referenced this pull request Dec 5, 2024
* ocamlformat: Build on OCaml 4.14

OCamlformat fails to build since the bump to OCaml 5.2 in
NixOS#346071

       error: ocamlformat 0.26.1 is not available for OCaml 5.2.1

This changes which version of the compiler is used to build OCamlformat.
4.14 is used to increase sharing when several versions of the tool are
used at the same time. This will not change OCamlformat's behaviors.

* ocamlformat_0_26_2: Build on the latest compiler
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants