From fc00613dacd9e28c546dabcda18d3d316ce59c32 Mon Sep 17 00:00:00 2001 From: Matteo Sacchetto <56300116+matteosacchetto@users.noreply.github.com> Date: Tue, 5 Dec 2023 20:22:07 +0100 Subject: [PATCH] fix: add libc property to package.json when os === linux --- packages/@biomejs/biome/scripts/generate-packages.mjs | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/packages/@biomejs/biome/scripts/generate-packages.mjs b/packages/@biomejs/biome/scripts/generate-packages.mjs index bb42466491d7..dc4d7e452743 100644 --- a/packages/@biomejs/biome/scripts/generate-packages.mjs +++ b/packages/@biomejs/biome/scripts/generate-packages.mjs @@ -42,6 +42,10 @@ function generateNativePackage(platform, arch) { homepage, os: [os], cpu: [arch], + libc: os === "linux" + ? packageName.endsWith('musl') + ? ['musl'] : ['glibc'] + : undefined }); const manifestPath = resolve(packageRoot, "package.json");