Skip to content

Commit

Permalink
rustPlatform.importCargoLock: follow symlinks when copying tree
Browse files Browse the repository at this point in the history
fixes build when git dependencies contain symlinks into parent directory

needed for libdeltachat
  • Loading branch information
yu-re-ka committed Mar 18, 2023
1 parent 960d938 commit 00a240f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkgs/build-support/rust/import-cargo-lock.nix
Original file line number Diff line number Diff line change
Expand Up @@ -168,7 +168,7 @@ let
echo Found crate ${pkg.name} at $crateCargoTOML
tree=$(dirname $crateCargoTOML)
cp -prvd "$tree/" $out
cp -prvL "$tree/" $out
chmod u+w $out
# Cargo is happy with empty metadata.
Expand Down

0 comments on commit 00a240f

Please sign in to comment.