fix(rust/crane): improve vendoring (#290)

This commit is contained in:
Yusuf Bera Ertan 2022-09-07 02:41:14 +03:00 committed by GitHub
parent 02f8a119c1
commit 5ba9061857
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -98,5 +98,5 @@ in rec {
# All dependencies in the Cargo.lock file, vendored
vendoredDependencies = vendorDependencies allDependencies;
copyVendorDir = path: ''cp -r --no-preserve=mode,ownership ${vendoredDependencies} ${path}'';
copyVendorDir = path: ''cp -rs --no-preserve=mode,ownership ${vendoredDependencies} ${path}'';
}