forked from mirrors/nixpkgs
rustPlatform.importCargoLock: follow symlinks when copying tree
fixes build when git dependencies contain symlinks into parent directory needed for libdeltachat
This commit is contained in:
parent
37b31d4a2f
commit
5ce282e57e
|
@ -174,7 +174,7 @@ let
|
|||
echo Found crate ${pkg.name} at $crateCargoTOML
|
||||
tree=$(dirname $crateCargoTOML)
|
||||
|
||||
cp -prvd "$tree/" $out
|
||||
cp -prvL "$tree/" $out
|
||||
chmod u+w $out
|
||||
|
||||
if grep -q workspace "$out/Cargo.toml"; then
|
||||
|
|
Loading…
Reference in a new issue