rattler-build icon indicating copy to clipboard operation
rattler-build copied to clipboard

Output directory on network path not working

Open chaumage opened this issue 1 year ago • 1 comments

I am trying to run rattler-build with an output directory on network and a git repo as source:

rattler-build build --output-dir //server/share/my-dir

but it fails with the following error:

fatal: could not create leading directories of '\\?\UNC\server\share\my_dir\src_cache\my_project.git': Invalid argument

It seems rattler is adding the ?\UNC\ part to the adress, which is making git clone fail. I tried running git clone with the ?\UNC\ part and it gave me the same error.

chaumage avatar Sep 03 '24 09:09 chaumage

Ah, interesting! I think we could use the dunce crate to get rid of these, possibly.

wolfv avatar Sep 05 '24 10:09 wolfv