pixi icon indicating copy to clipboard operation
pixi copied to clipboard

`pixi self-update` error with symlink

Open TechnophobicLampshade opened this issue 1 year ago • 0 comments

Checks

  • [X] I have checked that this issue has not already been reported.

  • [X] I have confirmed this bug exists on the latest version of pixi, using pixi --version.

Reproducible example

pixi self-update
  × pixi is not installed in the default location:
  │
  │ - Default pixi location: /home/me/.pixi/bin/pixi
  │ - Pixi location detected: /data/home/me/.pixi/bin/pixi
  
pixi --version
pixi 0.25.0

Issue description

I've got a symlink from /home to /data/home. this breaks the above check.

Expected behavior

The check should probably canonicalise both paths before comparing.

TechnophobicLampshade avatar Jul 15 '24 15:07 TechnophobicLampshade