fix(deps): use craneLib.removeReferencesToVendoredSources

to reduce the dependencies pulled in.

Signed-off-by: Harald Hoyer <harald@matterlabs.dev>
This commit is contained in:
Harald Hoyer 2024-04-09 09:06:37 +02:00
parent fc5298f8db
commit 5fd8df4c2e
Signed by: harald
GPG key ID: F519A1143B3FBE32

View file

@ -42,8 +42,8 @@ teepotCrate.craneLib.buildPackage (
"vault_unseal"
"verify_attestation"
];
postInstall = ''
removeReferencesToVendoredSources "$out" "$cargoVendorDir"
mkdir -p $out/nix-support
for i in $outputs; do
[[ $i == "out" ]] && continue