You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
opam 2.1 sets OPAMCLI=2.0 for package builds (#4492). If the user has set an opam 2.1-specific variable in the environment then this leaks to the package build and causes a warning for any calls to opam itself within the package's build instructions.
We should scrub environment variables (with a note to the debugging log) which aren't available in the 2.0 CLI.
The build environment for a package is constructed here:
opam 2.1 sets
OPAMCLI=2.0
for package builds (#4492). If the user has set an opam 2.1-specific variable in the environment then this leaks to the package build and causes a warning for any calls toopam
itself within the package's build instructions.We should scrub environment variables (with a note to the debugging log) which aren't available in the 2.0 CLI.
The build environment for a package is constructed here:
opam/src/client/opamAction.ml
Lines 483 to 497 in a70ed4f
and here:
opam/src/state/opamEnv.ml
Lines 225 to 236 in a70ed4f
The text was updated successfully, but these errors were encountered: