-
-
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
ocamlPackages.findlib: detect conflicts of version early #205646
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.
On first impression this LGTM, but I don't know anything about ocaml :)
029dbfe
to
0dfe187
Compare
just like pythonCatchConflictHook
0dfe187
to
6043e3a
Compare
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.
Looks reasonable and very useful!
Can someone run a nixpkgs-review to see if we already have regressions? |
2 packages failed to build: 189 packages built: |
alt-ergo glsurf is broken already on master. |
@ofborg build coqPackages.category-theory |
This broke |
So |
Good to know there is a quick workaround. I hope we can come up with a proper fix (e.g., drop |
after NixOS/nixpkgs#205646, Nix detects conflicting findlib libraries in the `$OCAMLPATH`. Because we use 2 nixpkgs sources, patdiff was running into that case Signed-off-by: Antonio Nuno Monteiro <anmonteiro@gmail.com>
after NixOS/nixpkgs#205646, Nix detects conflicting findlib libraries in the `$OCAMLPATH`. Because we use 2 nixpkgs sources, patdiff was running into that case Signed-off-by: Antonio Nuno Monteiro <anmonteiro@gmail.com>
We also had problems with this in the Dune flake and had to ignore detection for now. |
after NixOS/nixpkgs#205646, Nix detects conflicting findlib libraries in the `$OCAMLPATH`. Because we use 2 nixpkgs sources, patdiff was running into that case Signed-off-by: Antonio Nuno Monteiro <anmonteiro@gmail.com>
@ulrikstrid We fixed it by tweaking our packages slightly in the end. I guess it just made us more aware of conflicts from before. |
just like pythonCatchConflictHook
Description of changes
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