This fixes yarn using a different nodejs version (partially solves https://github.com/cachix/devenv/issues/637). This doesn't work if yarn pkg is a nodePackage. Pnpm also has the same problem since it's a nodePackage, not sure how to fix that, seems to use the first node version that is installed.
This fixes yarn using a different nodejs version (partially solves https://github.com/cachix/devenv/issues/637). This doesn't work if yarn pkg is a
nodePackage
. Pnpm also has the same problem since it's anodePackage
, not sure how to fix that, seems to use the first node version that is installed.