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
I have checked that this issue has not already been reported.
I have confirmed this bug exists on the latest version of pixi, using pixi --version.
Reproducible example
pixi init
pixi shell
pixi add eigen pkg-config
pkg-config --cflags eigen3
Package eigen3 was not found in the pkg-config search path.
Perhaps you should add the directory containing `eigen3.pc'to the PKG_CONFIG_PATH environment variableNo package 'eigen3' found
This should work. Since it doesn't meson also doesn't pick up pixi installed eigen.
Issue description
To get it to work one must manually set PKG_CONFIG_PATH:
Does this only happen when using pixi? Or does this also happen when you use (micro)mamba/conda?
If this also happens for those programs than most likely the eigen package does not include this information. You would have to check the eigen feedstock.
Does this only happen when using pixi? Or does this also happen when you use (micro)mamba/conda?
If this also happens for those programs than most likely the eigen package does not include this information. You would have to check the eigen feedstock.
I think what happens is that the pixi shell is not re-activated after an installation happened. Maybe we should (in a pixi shell) install a hook so that a reactivation is triggered (we do that actually in micromamba).
wolfv
changed the title
PKG_CONFIG_PATH not set
pixi shell not re-activating after an add is executed
Sep 7, 2023
Checks
I have checked that this issue has not already been reported.
I have confirmed this bug exists on the latest version of pixi, using
pixi --version
.Reproducible example
This should work. Since it doesn't
meson
also doesn't pick uppixi
installedeigen
.Issue description
To get it to work one must manually set
PKG_CONFIG_PATH
:Expected behavior
PKG_CONFIG_PATH
should be set bypixi
whenpkg-config
is part of the environment. That is:The text was updated successfully, but these errors were encountered: