fix: echo nodejs version

This commit is contained in:
Ryan Yin 2025-04-13 20:01:27 +08:00
parent 68a91e564f
commit 5557e6c187
2 changed files with 4 additions and 4 deletions

View File

@ -139,7 +139,7 @@ stdenv.mkDerivation ({
]; ];
shellHook = '' shellHook = ''
echo "node `${pkgs.nodejs}/bin/node --version`" echo "node `node --version`"
''; '';
}; };
}; };
@ -184,7 +184,7 @@ stdenv.mkDerivation ({
]; ];
shellHook = '' shellHook = ''
echo "node `${pkgs.nodejs}/bin/node --version`" echo "node `node --version`"
exec nu exec nu
''; '';
}; };

View File

@ -61,7 +61,7 @@
inherit packages; inherit packages;
shellHook = '' shellHook = ''
echo "node `${pkgs.nodejs}/bin/node --version`" echo "node `node --version`"
${self.checks.${system}.pre-commit-check.shellHook} ${self.checks.${system}.pre-commit-check.shellHook}
''; '';
}; };
@ -70,7 +70,7 @@
inherit packages; inherit packages;
shellHook = '' shellHook = ''
echo "node `${pkgs.nodejs}/bin/node --version`" echo "node `node --version`"
# Set Puppeteer to not download Chrome, cause it doesn't work on NixOS # Set Puppeteer to not download Chrome, cause it doesn't work on NixOS
export PUPPETEER_SKIP_CHROMIUM_DOWNLOAD=1 export PUPPETEER_SKIP_CHROMIUM_DOWNLOAD=1