-
-
Notifications
You must be signed in to change notification settings - Fork 14.1k
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
opam: 1.2.2 -> 2.0.0 #45806
opam: 1.2.2 -> 2.0.0 #45806
Conversation
FWIW, this is just a merge of changes in upstream OPAM 1.2.2 with an OPAM 2.0 derivation we've been testing and improving at Obsidian Systems for weeks. |
@GrahamcOfBorg build opam |
No attempt on x86_64-darwin (full log) The following builds were skipped because they don't evaluate on x86_64-darwin: opam Partial log (click to expand)
|
Success on x86_64-linux (full log) Attempted: opam Partial log (click to expand)
|
Failure on aarch64-linux (full log) Attempted: opam Partial log (click to expand)
|
Eugh. Not sure what's up with aarch64-linux, but the Darwin failure is due to my attempt to merge in 06c7d4d ... semantically, the assumption that OPAM will try to pull in the stuff it needs for a successful default |
Regarding Aarch, you should remove the line nixpkgs/pkgs/top-level/all-packages.nix Line 7132 in dde959a
opam .
Regarding Darwin, I don’t think |
7f01db1
to
cc37208
Compare
@vbgl i think this version should work aith Aarch and mostly-work with Darwin. I don't know where to find |
Just to be clear -- the latest version of this does fix the |
@GrahamcOfBorg build opam |
Success on x86_64-linux (full log) Attempted: opam Partial log (click to expand)
|
Success on aarch64-linux (full log) Attempted: opam Partial log (click to expand)
|
Success on x86_64-darwin (full log) Attempted: opam Partial log (click to expand)
|
Thanks for the fixes. Should the What is the purpose of the |
Yeah, the mccs patch should be upstreamed, i'll probably send a PR on Tuesday since it's less time-sensitive... as far as the |
ocaml-opam/ocaml-mccs#15 -- mccs patch on master However, there's still a need to have it patched here as OPAM 2.0.0 is already released. |
@vbgl Is there anything you're waiting on me to do here? |
Please sort out the case of the Notice that thanks to the git history, the old derivation is not lost: it is still possible to access to an old version of |
OK, done. (I went with |
@GrahamcOfBorg build opam_1_2 |
Success on x86_64-linux (full log) Attempted: opam_1_2 Partial log (click to expand)
|
Failure on aarch64-linux (full log) Attempted: opam_1_2 Partial log (click to expand)
|
Success on x86_64-darwin (full log) Attempted: opam_1_2 Partial log (click to expand)
|
Motivation for this change
OPAM 2.0.0 is the new released version and some ocaml projects are already recommending or requiring it.
Things done
sandbox
innix.conf
on non-NixOS)nix-shell -p nox --run "nox-review wip"
./result/bin/
)nix path-info -S
before and after)