mirror of
https://github.com/NotAShelf/nvf.git
synced 2026-02-05 11:25:52 +00:00
prettier-plugin-astro: update deprecated pnpm attributes
This commit is contained in:
parent
92854bd0ea
commit
047e2fba12
1 changed files with 7 additions and 2 deletions
|
|
@ -3,6 +3,8 @@
|
||||||
fetchFromGitHub,
|
fetchFromGitHub,
|
||||||
nodejs,
|
nodejs,
|
||||||
pnpm_9,
|
pnpm_9,
|
||||||
|
pnpmConfigHook,
|
||||||
|
fetchPnpmDeps,
|
||||||
pins,
|
pins,
|
||||||
}: let
|
}: let
|
||||||
pin = pins.prettier-plugin-astro;
|
pin = pins.prettier-plugin-astro;
|
||||||
|
|
@ -17,7 +19,8 @@ in
|
||||||
sha256 = pin.hash;
|
sha256 = pin.hash;
|
||||||
};
|
};
|
||||||
|
|
||||||
pnpmDeps = pnpm_9.fetchDeps {
|
pnpmDeps = fetchPnpmDeps {
|
||||||
|
pnpm = pnpm_9;
|
||||||
inherit (finalAttrs) pname src;
|
inherit (finalAttrs) pname src;
|
||||||
fetcherVersion = 2;
|
fetcherVersion = 2;
|
||||||
hash = "sha256-K7pIWLkIIbUKDIcysfEtcf/eVMX9ZgyFHdqcuycHCNE=";
|
hash = "sha256-K7pIWLkIIbUKDIcysfEtcf/eVMX9ZgyFHdqcuycHCNE=";
|
||||||
|
|
@ -25,7 +28,9 @@ in
|
||||||
|
|
||||||
nativeBuildInputs = [
|
nativeBuildInputs = [
|
||||||
nodejs
|
nodejs
|
||||||
pnpm_9.configHook
|
(pnpmConfigHook.overrideAttrs {
|
||||||
|
propagatedBuildInputs = [pnpm_9];
|
||||||
|
})
|
||||||
];
|
];
|
||||||
|
|
||||||
buildPhase = ''
|
buildPhase = ''
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue