forked from ProjectSegfault/website
dae0ad26c7
Signed-off-by: Odyssey346 <odyssey346@disroot.org>
13 lines
288 B
Nix
13 lines
288 B
Nix
{ pkgs ? import <nixpkgs> {}
|
|
}:
|
|
pkgs.mkShell {
|
|
name="dev";
|
|
buildInputs = [
|
|
pkgs.nodejs-16_x
|
|
];
|
|
shellHook = ''
|
|
echo "Installing dependencies using npm, please wait."
|
|
npm i
|
|
echo "You can now "run npm run dev" to start a dev server."
|
|
'';
|
|
} |