Refactor
This commit is contained in:
parent
5505524dd4
commit
037aabb60f
5 changed files with 70 additions and 79 deletions
|
@ -1,18 +1,20 @@
|
|||
{ lib, pkgs }:
|
||||
{
|
||||
perSystem =
|
||||
{ pkgs, ... }:
|
||||
{
|
||||
devShells.nodejs = pkgs.mkShell {
|
||||
packages = with pkgs; [
|
||||
bun
|
||||
eslint_d
|
||||
nodejs
|
||||
nodePackages.pnpm
|
||||
nodePackages.yarn
|
||||
prettier
|
||||
];
|
||||
|
||||
with pkgs;
|
||||
|
||||
mkShell {
|
||||
packages = [
|
||||
bun
|
||||
eslint_d
|
||||
nodejs
|
||||
nodePackages.pnpm
|
||||
nodePackages.yarn
|
||||
prettier
|
||||
];
|
||||
|
||||
shellHook = ''
|
||||
echo "nodejs $(${lib.getExe nodejs} --version)"
|
||||
'';
|
||||
shellHook = ''
|
||||
echo "nodejs $(node --version)"
|
||||
'';
|
||||
};
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue