Fixed typo (#15)

This commit is contained in:
Tobias Kündig 2025-01-09 13:45:23 +01:00 committed by GitHub
commit d00bd7c8e3
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -40,14 +40,14 @@ Supported IDEs:
#### Inputs: #### Inputs:
```nix ```nix
inputs.nix-jebrains-plugins.url = "github:theCapypara/nix-jebrains-plugins"; inputs.nix-jetbrains-plugins.url = "github:theCapypara/nix-jetbrains-plugins";
``` ```
#### Usage: #### Usage:
```nix ```nix
let let
pluginList = [ pluginList = [
nix-jebrains-plugins.plugins."${system}".idea-ultimate."2024.3"."com.intellij.plugins.watcher" nix-jetbrains-plugins.plugins."${system}".idea-ultimate."2024.3"."com.intellij.plugins.watcher"
]; ];
in { in {
# ... see "How to use" # ... see "How to use"
@ -61,7 +61,7 @@ let
system = builtins.currentSystem; system = builtins.currentSystem;
plugins = plugins =
(import (builtins.fetchGit { (import (builtins.fetchGit {
url = "https://github.com/theCapypara/nix-jebrains-plugins"; url = "https://github.com/theCapypara/nix-jetbrains-plugins";
ref = "refs/heads/main"; ref = "refs/heads/main";
rev = "<latest commit hash>"; rev = "<latest commit hash>";
})).plugins."${system}"; })).plugins."${system}";
@ -107,7 +107,7 @@ will automatically figure out what IDE and version the plugin needs to be for.
```nix ```nix
{ {
environment.systemPackages = with nix-jebrains-plugins.lib."${system}"; [ environment.systemPackages = with nix-jetbrains-plugins.lib."${system}"; [
# Adds the latest IDEA Ultimate version with the latest compatible version of "com.intellij.plugins.watcher". # Adds the latest IDEA Ultimate version with the latest compatible version of "com.intellij.plugins.watcher".
buildIdeWithPlugins pkgs.jetbrains "idea-ultimate" ["com.intellij.plugins.watcher"] buildIdeWithPlugins pkgs.jetbrains "idea-ultimate" ["com.intellij.plugins.watcher"]
]; ];