More README info

This commit is contained in:
Luc Perkins 2022-07-31 17:59:22 +02:00
parent 6a70f079c7
commit 37df0c0575
No known key found for this signature in database
GPG key ID: 4F102D0C16E232F2
7 changed files with 83 additions and 20 deletions

View file

@ -11,13 +11,13 @@
inherit (pkgs) mkShell;
nodejs = pkgs.nodejs;
nodejs = pkgs.nodejs-18_x;
pnpm = pkgs.nodePackages.pnpm;
yarn = pkgs.yarn;
yarn = (pkgs.yarn.override { inherit nodejs; });
in {
devShells = {
default = mkShell {
buildInputs = [ nodejs pnpm (yarn.override { inherit nodejs; }) ];
buildInputs = [ nodejs pnpm yarn ];
shellHook = ''
echo "node `${nodejs}/bin/node --version`"