rattler
rattler copied to clipboard
`/usr/bin/codesign` is used on osx platforms even on non-osx hosts
Checklist
- [x] I added a descriptive title
- [x] I searched open reports and couldn't find a duplicate
What happened?
This is a pretty niche issue (if it's even really an issue) but it's not possible to install osx-arm64 environments on e.g. linux-64 hosts:
exceptions.InstallerException: failed to link bash-5.2.21-h15d410d_0.conda
Caused by: failed to link 'bin/bash'
Caused by: unexpected io operation while invoking /usr/bin/codesign
Caused by: No such file or directory (os error 2)
Additional Context
No response
Good point! It should work if you install codesign via sigtool: https://prefix.dev/channels/conda-forge/packages/sigtool
It actually looks to me like the path is hard-coded, so I don't think that would work either unfortunately
That could definitely be improved then.
Would you be open to make a PR?