diff --git a/pkgs/by-name/fl/fluffychat/vodozemac-wasm.nix b/pkgs/by-name/fl/fluffychat/vodozemac-wasm.nix index 3d9e1cd00118..ef8a0888a144 100644 --- a/pkgs/by-name/fl/fluffychat/vodozemac-wasm.nix +++ b/pkgs/by-name/fl/fluffychat/vodozemac-wasm.nix @@ -69,12 +69,12 @@ stdenv.mkDerivation { cargoDeps = symlinkJoin { name = "vodozemac-wasm-cargodeps"; - paths = [ - pubSources.flutter_vodozemac.passthru.cargoDeps - # Pull in rust vendor so we don't have to vendor rustLibSrc again - # This is required because `-Z build-std=std,panic_abort` rebuilds std - rustPlatform.rustVendorSrc - ]; + paths = [ pubSources.flutter_vodozemac.passthru.cargoDeps ]; + # Pull in rust vendor so we don't have to vendor rustLibSrc again + # This is required because `-Z build-std=std,panic_abort` rebuilds std + postBuild = '' + cp -rsn ${rustPlatform.rustVendorSrc}/* $out/*/ + ''; }; nativeBuildInputs = [