Open Chobbes opened 7 months ago
Hi.
Sorry for the late answer; I was hoping to come immediately with a fix. This is definitely not the intended result. I can reproduce easily.
My current guess is that it is actually a bug in OPAM 2.1, specifically https://github.com/ocaml/opam/issues/5585. This bug has been fixed by https://github.com/ocaml/opam/pull/5606 which made it into OPAM 2.2. However, nixpkgs only provides OPAM 2.1 at the moment. I tried to test this hypothesis quickly by bumping nixpkgs's version of OPAM to 2.2.0-beta2 but it is sadly more complicated than I expected. I might work some more on this (we will need this work at some point anyway) but for now I would say we should just wait for OPAM 2.2 to make it out of beta and into nixpkgs; the problem should hopefully disappear then on its own.
Describe the bug
I'm trying to run opam-publish, but running it gives an error, as shown below.
Steps To Reproduce
Steps to reproduce the behavior:
Expected behavior
I could just be using this wrong, but I'd expect
opam publish
to run?Notify maintainers
@Niols
Metadata
Please run
nix-shell -p nix-info --run "nix-info -m"
and paste the result.Add a :+1: reaction to issues you find important.