···5 fetchYarnDeps,
6 yarnConfigHook,
7 yarnBuildHook,
8+ yarn,
9+ fixup-yarn-lock,
10+ prefetch-yarn-deps,
11+ nodejs_20,
12+ nodejs-slim_20,
13 yq-go,
14 settings ? { },
15}:
···45 '';
4647 nativeBuildInputs = [
48+ # This is required to fully pin the NodeJS version, since yarn*Hooks pull in the latest LTS in nixpkgs
49+ # The yarn override is the only one technically required (fixup-yarn-lock and prefetch-yarn-deps' node version doesn't affect the end result),
50+ # but they've been overridden for the sake of consistency/in case future updates to dashy/node would cause issues with differing major versions
51+ (yarnConfigHook.override {
52+ fixup-yarn-lock = fixup-yarn-lock.override {
53+ nodejs-slim = nodejs-slim_20;
54+ };
55+ prefetch-yarn-deps = prefetch-yarn-deps.override {
56+ nodejs-slim = nodejs-slim_20;
57+ };
58+ yarn = yarn.override {
59+ nodejs = nodejs_20;
60+ };
61+ })
62 yarnBuildHook
63+ nodejs_20
64 # For yaml parsing
65 yq-go
66 ];