From 9e6fbafa6ac8832c7abb75349e4baca0faec4970 Mon Sep 17 00:00:00 2001 From: Gabriel Arazas Date: Wed, 27 Nov 2024 17:24:07 +0800 Subject: [PATCH] shells/nodejs: init for stable and latest version --- shells/default.nix | 2 ++ shells/nodejs.nix | 11 +++++++++++ 2 files changed, 13 insertions(+) create mode 100644 shells/nodejs.nix diff --git a/shells/default.nix b/shells/default.nix index e03acd76..1e5dc324 100644 --- a/shells/default.nix +++ b/shells/default.nix @@ -7,6 +7,8 @@ with pkgs; { gnu = callPackage ./gnu.nix { }; gnome = callPackage ./gnome.nix { }; nix = callPackage ./nix.nix { }; + nodejsStable = callPackage ./nodejs.nix { }; + nodejsLatest = callPackage ./nodejs.nix { nodejs = nodejs_latest; }; go = callPackage ./go.nix { }; guile = callPackage ./guile.nix { }; guile2 = callPackage ./guile.nix { guile = guile_2_2; }; diff --git a/shells/nodejs.nix b/shells/nodejs.nix new file mode 100644 index 00000000..1788d3b7 --- /dev/null +++ b/shells/nodejs.nix @@ -0,0 +1,11 @@ +# Bundling everything for my fullstack (in JS) webdev needs. +{ mkShell, nodejs, bun, esbuild, pnpm }: + +mkShell { + packages = [ + nodejs + bun + esbuild + pnpm + ]; +}