diff --git a/pkgs/by-name/bi/biome/package.nix b/pkgs/by-name/bi/biome/package.nix index 3e64fb4d2b14..c82848591b6b 100644 --- a/pkgs/by-name/bi/biome/package.nix +++ b/pkgs/by-name/bi/biome/package.nix @@ -51,6 +51,11 @@ rustPlatform.buildRustPackage (finalAttrs: { INSTA_UPDATE = "no"; }; + postInstall = '' + # Installs biome schema aside with the package + install -Dm644 packages/@biomejs/biome/configuration_schema.json $out/share/schema.json + ''; + preCheck = '' # tests assume git repository git init @@ -69,6 +74,7 @@ rustPlatform.buildRustPackage (finalAttrs: { maintainers = with lib.maintainers; [ isabelroses wrbbz + eveeifyeve # Schema ]; mainProgram = "biome"; };