flake: add devShells

exposed via nix registry :D
can be used in nix-direnv like `use flake shells#cs.osu`
This commit is contained in:
LavaDesu 2021-11-17 11:14:10 +07:00
parent 8c75ba2a2d
commit 76b6f7cfb8
Signed by: cilly
GPG key ID: 6500251E087653C9
11 changed files with 283 additions and 0 deletions

19
shells/js/default.nix Normal file
View file

@ -0,0 +1,19 @@
{
mkShell,
nodejs-16_x,
nodePackages,
watchman
}:
mkShell {
buildInputs = [
nodejs-16_x
watchman
nodePackages.pnpm
];
shellHook = ''
export PATH="$(readlink -f ./node_modules/.bin):$PATH"
'';
}