Building a contract fails if contract is referenced through symlink
Created by: cmichi
Can be reproduced like this:
$ cargo contract new foo
Created contract foo
$ ls
foo
$ ln -s foo link_to_foo
$ ls
foo link_to_foo
$ cargo +nightly contract build --manifest-path=link_to_foo/Cargo.toml
...
[3/5] Optimizing wasm file
ERROR: The workspace root package should be a workspace member
Expected behavior is that the contract builds without error.
The workaround is to cd link_to_foo && cargo +nightly contract build
.