+30
-8
pkgs/development/python-modules/llm/001-disable-install-uninstall-commands.patch
+30
-8
pkgs/development/python-modules/llm/001-disable-install-uninstall-commands.patch
······-+ click.echo("Install command has been disabled for Nix. If you want to install extra llm plugins, use llm.withPlugins([]) expression.")++"""Install command has been disabled for Nix. To install extra `llm` plugins, use the `llm.withPlugins` function.+@@ -2402,8 +2402,18 @@ def install(packages, upgrade, editable, force_reinstall, no_cache_dir):-+ click.echo("Uninstall command has been disabled for Nix. If you want to uninstall extra llm plugins, just remove them from llm.withPlugins([]) list expression.")++"""Uninstall command has been disabled for Nix. To remove `llm` plugins, use the `llm.withPlugins` function with the desired set of plugins specified.
+29
-8
pkgs/development/python-modules/llm/default.nix
+29
-8
pkgs/development/python-modules/llm/default.nix
···············+# In order to help with usability, we patch `llm install` and `llm uninstall` to tell users how to···+substituteInPlace llm/cli.py --replace-fail "@listOfPackagedPlugins@" "$(< ${listOfPackagedPlugins})"