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

language/{astro,svelte}: fix missing self arg
This commit is contained in:
raf 2025-12-13 17:29:48 +03:00 committed by GitHub
commit 0eeb3f2b6c
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 4 additions and 4 deletions

View file

@ -1,5 +1,5 @@
{
self,
inputs,
config,
pkgs,
lib,
@ -43,7 +43,7 @@
defaultFormat = ["prettier"];
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 {
prettier = {
command = getExe pkgs.prettier;

View file

@ -1,5 +1,5 @@
{
self,
inputs,
config,
pkgs,
lib,
@ -56,7 +56,7 @@
defaultFormat = ["prettier"];
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";
in {
prettier = {