Checks
Reproducible example
With the following pixi.toml
[workspace]
authors = ["Diego Ferigo <[email protected]>"]
channels = ["conda-forge"]
name = "pixi_test"
platforms = ["linux-64"]
version = "0.1.0"
[tasks.ls_cached]
cmd = "ls my_dir/"
inputs = ["my_dir"]
[dependencies]
Running in the following folder structure:
.
├── my_dir
│ ├── my_file.txt -> ../my_file.txt
│ └── other_dir -> ../other_dir/
├── my_file.txt
├── other_dir
├── pixi.lock
└── pixi.toml
3 directories, 4 files
Issue description
Running the following fails:
dferigo@dferigo-LT:/tmp/pixi_test$ pixi run ls_cached
✨ Pixi task (ls_cached): ls my_dir/ my_file.txt other_dir
Error: × I/O error while reading file /tmp/pixi_test/my_dir/other_dir
╰─▶ Is a directory (os error 21)
Expected behavior
Symlink to files work as expected, but not those to folders. I'd expect pixi to follow the symlink also to folders.
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
With the following
pixi.tomlRunning in the following folder structure:
Issue description
Running the following fails:
dferigo@dferigo-LT:/tmp/pixi_test$ pixi run ls_cached ✨ Pixi task (ls_cached): ls my_dir/ my_file.txt other_dir Error: × I/O error while reading file /tmp/pixi_test/my_dir/other_dir ╰─▶ Is a directory (os error 21)Expected behavior
Symlink to files work as expected, but not those to folders. I'd expect pixi to follow the symlink also to folders.