From c365dc08cc564175ea7384a9705e13f5c1515688 Mon Sep 17 00:00:00 2001 From: Victor Engmark Date: Sat, 14 Feb 2026 11:08:16 +0100 Subject: [PATCH] prettier: Remove references to dead prettier-plugin-toml package --- pkgs/by-name/pr/prettier/package.nix | 54 ---------------------------- 1 file changed, 54 deletions(-) diff --git a/pkgs/by-name/pr/prettier/package.nix b/pkgs/by-name/pr/prettier/package.nix index 0a6cd4404971..66a29f0c2660 100644 --- a/pkgs/by-name/pr/prettier/package.nix +++ b/pkgs/by-name/pr/prettier/package.nix @@ -1,17 +1,3 @@ -/** - # Example - - Prettier with plugins and Vim Home Manager configuration - - ```nix - pkgs.prettier.override { - plugins = with pkgs.nodePackages; [ - prettier-plugin-toml - # ... - ]; - } - ``` -*/ { fetchFromGitHub, lib, @@ -23,26 +9,6 @@ plugins ? [ ], }: let - /** - # Example - - ```nix - exportRelativePathOf (builtins.fromJSON "./package.json") - => - lib/node_modules/prettier-plugin-toml/./lib/index.cjs - ``` - - # Type - - ``` - exportRelativePathOf :: AttrSet => String - ``` - - # Arguments - - packageJsonAttrs - : Attribute set with shape similar to `package.json` file - */ ## Blame NodeJS exportRelativePathOf = let @@ -80,26 +46,6 @@ let lib.attrByPath [ "prettier" "plugins" ] [ "null" ] packageJsonAttrs )) packageJsonAttrs; - /** - # Example - - ```nix - nodeEntryPointOf pkgs.nodePackages.prettier-plugin-toml - => - /nix/store/-prettier-plugin-toml-/lib/node_modules/prettier-plugin-toml/./lib/index.cjs - ``` - - # Type - - ``` - nodeEntryPointOf :: AttrSet => String - ``` - - # Arguments - - plugin - : Attribute set with `.pname` and `.outPath` defined - */ nodeEntryPointOf = plugin: let