Skip to content

Commit

Permalink
Add warning message to checkPlugins
Browse files Browse the repository at this point in the history
  • Loading branch information
sestrella committed Nov 12, 2023
1 parent e5c2593 commit acde1b9
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 3 deletions.
6 changes: 3 additions & 3 deletions flake.nix
Original file line number Diff line number Diff line change
Expand Up @@ -34,9 +34,9 @@
No plugin found for "${name}", try adding the missing plugin:
```
packagesFromVersionsFile {
asdf2nix.lib.packagesFromVersionsFile {
plugins = {
${name} = asdf-${name}.lib.packageFromVersion;
${name} = asdf2nix-${name}.lib.packageFromVersion;
...
};
...
Expand All @@ -46,7 +46,7 @@
Or enable `skipMissingPlugins` to skip this error:
```
packagesFromVersionsFile {
asdf2nix.lib.packagesFromVersionsFile {
plugins = { ... };
skipMissingPlugins = true;
...
Expand Down
1 change: 1 addition & 0 deletions templates/default/.tool-versions
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
python 3.12.0
terraform 1.6.3
1 change: 1 addition & 0 deletions templates/default/flake.nix
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@
plugins = {
python = asdf2nix-python.lib.packageFromVersion;
};
skipMissingPlugins = true;
};
in
{
Expand Down

0 comments on commit acde1b9

Please sign in to comment.