mirror of
https://github.com/NotAShelf/nvf.git
synced 2025-12-14 08:01:02 +00:00
Merge pull request #1284 from horriblename/fix-astro-svelte-self
Some checks are pending
Set up binary cache / cachix (default) (push) Waiting to run
Set up binary cache / cachix (maximal) (push) Waiting to run
Set up binary cache / cachix (nix) (push) Waiting to run
Treewide Checks / Validate flake (push) Waiting to run
Treewide Checks / Check formatting (push) Waiting to run
Treewide Checks / Check source tree for typos (push) Waiting to run
Treewide Checks / Validate documentation builds (push) Waiting to run
Treewide Checks / Validate hyperlinks in documentation sources (push) Waiting to run
Treewide Checks / Validate Editorconfig conformance (push) Waiting to run
Build and deploy documentation / Check latest commit (push) Waiting to run
Build and deploy documentation / publish (push) Blocked by required conditions
Some checks are pending
Set up binary cache / cachix (default) (push) Waiting to run
Set up binary cache / cachix (maximal) (push) Waiting to run
Set up binary cache / cachix (nix) (push) Waiting to run
Treewide Checks / Validate flake (push) Waiting to run
Treewide Checks / Check formatting (push) Waiting to run
Treewide Checks / Check source tree for typos (push) Waiting to run
Treewide Checks / Validate documentation builds (push) Waiting to run
Treewide Checks / Validate hyperlinks in documentation sources (push) Waiting to run
Treewide Checks / Validate Editorconfig conformance (push) Waiting to run
Build and deploy documentation / Check latest commit (push) Waiting to run
Build and deploy documentation / publish (push) Blocked by required conditions
language/{astro,svelte}: fix missing self arg
This commit is contained in:
commit
0eeb3f2b6c
2 changed files with 4 additions and 4 deletions
|
|
@ -1,5 +1,5 @@
|
||||||
{
|
{
|
||||||
self,
|
inputs,
|
||||||
config,
|
config,
|
||||||
pkgs,
|
pkgs,
|
||||||
lib,
|
lib,
|
||||||
|
|
@ -43,7 +43,7 @@
|
||||||
|
|
||||||
defaultFormat = ["prettier"];
|
defaultFormat = ["prettier"];
|
||||||
formats = let
|
formats = let
|
||||||
parser = "${self.packages.${pkgs.stdenv.hostPlatform.system}.prettier-plugin-astro}/index.js";
|
parser = "${inputs.self.packages.${pkgs.stdenv.hostPlatform.system}.prettier-plugin-astro}/index.js";
|
||||||
in {
|
in {
|
||||||
prettier = {
|
prettier = {
|
||||||
command = getExe pkgs.prettier;
|
command = getExe pkgs.prettier;
|
||||||
|
|
|
||||||
|
|
@ -1,5 +1,5 @@
|
||||||
{
|
{
|
||||||
self,
|
inputs,
|
||||||
config,
|
config,
|
||||||
pkgs,
|
pkgs,
|
||||||
lib,
|
lib,
|
||||||
|
|
@ -56,7 +56,7 @@
|
||||||
|
|
||||||
defaultFormat = ["prettier"];
|
defaultFormat = ["prettier"];
|
||||||
formats = let
|
formats = let
|
||||||
prettierPlugin = self.packages.${pkgs.stdenv.system}.prettier-plugin-svelte;
|
prettierPlugin = inputs.self.packages.${pkgs.stdenv.system}.prettier-plugin-svelte;
|
||||||
prettierPluginPath = "${prettierPlugin}/lib/node_modules/prettier-plugin-svelte/plugin.js";
|
prettierPluginPath = "${prettierPlugin}/lib/node_modules/prettier-plugin-svelte/plugin.js";
|
||||||
in {
|
in {
|
||||||
prettier = {
|
prettier = {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue