ocamlPackages.findlib: detect conflicts of version early#205646
Conversation
Mindavi
left a comment
There was a problem hiding this comment.
On first impression this LGTM, but I don't know anything about ocaml :)
029dbfe to
0dfe187
Compare
just like pythonCatchConflictHook
0dfe187 to
6043e3a
Compare
ulrikstrid
left a comment
There was a problem hiding this comment.
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 = trueset 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.shto update generated release notes