-
-
Notifications
You must be signed in to change notification settings - Fork 14.4k
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.base_0_12: Add dune_1 to build inputs for dune.configurator #162636
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This looks really wrong.
Here is a suspicious change in the other PR:
a13cdfe#diff-d4cd7e64992766eaf78d6937055c74118c78eb50eed2c992e948f5c4f05a0544R10
Now I remember, the reason I added
|
Okay, so the underlying issue is that no library can find |
To find this I ran the following: PACKAGE=$(basename "$1")
echo "$1"
echo "$PACKAGE"
{
echo "4.07 - $PACKAGE";
nix-shell -I nixpkgs=./default.nix \
-p ocaml-ng.ocamlPackages_4_07.findlib \
"ocaml-ng.ocamlPackages_4_07.$PACKAGE" \
--run "echo \"query\" && ocamlfind query -r $PACKAGE";
echo "4.12 - $PACKAGE";
nix-shell -I nixpkgs=./default.nix \
-p ocaml-ng.ocamlPackages_4_12.findlib \
"ocaml-ng.ocamlPackages_4_12.$PACKAGE" \
--run "echo \"query\" && ocamlfind query -r $PACKAGE";
} &> "./ocaml-logs/$PACKAGE.result.log" There are probably smarter ways of doing this, but this is what I did at least. |
|
Here is a possible patch (to replace this PR):
|
fd7a278
to
f463e53
Compare
eab18d4
to
f9c984e
Compare
I came to about the some conclusion as your patch, I tried adding you as a co-author to the commit but I think it's basically your diff now, it fixes all the packages I could find that complained about |
While you are at it, you can fix the spelling of |
…ator Co-authored-by: vbgl
f9c984e
to
9aba040
Compare
Done |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks.
Motivation for this change
ppx_let
was broken for OCaml 4.07 by #161344.This change fixes the breakage by adding a force override to build with dune 2, This is useful when it's used in janestreet libs 0.12 where it's problematic.
Things done
sandbox = true
set innix.conf
? (See Nix manual)nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD"
. Note: all changes have to be committed, also see nixpkgs-review usage./result/bin/
)nixos/doc/manual/md-to-db.sh
to update generated release notes