3
0
Fork 0
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:
Yureka 2023-03-18 16:31:43 +01:00
parent 37b31d4a2f
commit 5ce282e57e

View file

@ -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