Merge pull request #1517 from horriblename/fix-prettier-svelte
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 documentation builds-1 (push) Waiting to run
Treewide Checks / Validate documentation builds-2 (push) Waiting to run
Treewide Checks / Validate documentation builds-3 (push) Waiting to run
Treewide Checks / Validate hyperlinks in documentation sources (push) Waiting to run
Treewide Checks / Validate Editorconfig conformance (push) Waiting to run

package/prettier-svelte: fix missing deps
This commit is contained in:
Ching Pei Yang 2026-04-17 17:28:52 +02:00 committed by GitHub
commit cf9d76b52c
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -16,4 +16,12 @@ in
};
npmDepsHash = "sha256-XVyLW0XDCvZCZxu8g1fP7fRfeU3Hz81o5FCi/i4BKQw=";
# FIXME: this probably also copies over build dependencies.
# Look at how other prettier plugins in nixpkgs do things. I couldn't get it to work
# and am out of time so good luck :)
preInstall = ''
mkdir -p $out/lib
cp -r node_modules $out
'';
})