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

ocamlPackages.re: seq is not needed when OCaml >= 4.07 #59876

Merged
merged 1 commit into from May 4, 2019

Conversation

Zimmi48
Copy link
Member

@Zimmi48 Zimmi48 commented Apr 19, 2019

Motivation for this change

Imitate opam which installs the real seq package only for OCaml < 4.07 and only a META file for OCaml >= 4.07.

Things done
  • Tested using sandboxing (nix.useSandbox on NixOS, or option sandbox in nix.conf on non-NixOS)
  • Built on platform(s)
    • NixOS
    • macOS
    • other Linux distributions
  • Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
  • Tested compilation of all pkgs that depend on this change using nix-shell -p nix-review --run "nix-review wip"
  • Tested execution of all binary files (usually in ./result/bin/)
  • Determined the impact on package closure size (by running nix path-info -S before and after)
  • Assured whether relevant documentation is up to date
  • Fits CONTRIBUTING.md.

I am not sure how to test the depending packages from the ocaml-ng.ocamlPackages_4_07 package set. The ones from the default set (4.06) are unchanged and thus not rebuilt by nix-review.
I have tested a few depending packages though, including odoc.

@Zimmi48 Zimmi48 changed the title ocamlPackages.re: seq is not needed when OCaml >= 4.07 [wip] ocamlPackages.re: seq is not needed when OCaml >= 4.07 Apr 19, 2019
@Zimmi48 Zimmi48 changed the title [wip] ocamlPackages.re: seq is not needed when OCaml >= 4.07 ocamlPackages.re: seq is not needed when OCaml >= 4.07 Apr 23, 2019
@Zimmi48
Copy link
Member Author

Zimmi48 commented Apr 23, 2019

cc @vbgl

Copy link
Contributor

@vbgl vbgl left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I wished there were less code duplication…

Imitate opam which installs the real seq package only for OCaml < 4.07 and only a META file for OCaml >= 4.07.
@Zimmi48
Copy link
Member Author

Zimmi48 commented May 3, 2019

Like this?

@vbgl
Copy link
Contributor

vbgl commented May 4, 2019

@GrahamcOfBorg build ocaml-ng.ocamlPackages_4_07.seq ocamlPackages.seq

@vbgl vbgl merged commit 10d7bfe into NixOS:master May 4, 2019
@Zimmi48 Zimmi48 deleted the seq branch April 5, 2020 14:19
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.

None yet

3 participants