From afe40ec835e4bff769013f88cabcdd92229d1f73 Mon Sep 17 00:00:00 2001 From: undefined Date: Tue, 22 Nov 2022 15:24:05 +0800 Subject: [PATCH] add workspace env --- shell.nix | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 shell.nix diff --git a/shell.nix b/shell.nix new file mode 100644 index 00000000..0f87cb5e --- /dev/null +++ b/shell.nix @@ -0,0 +1,22 @@ +{ + pkgs ? import {}, + hydro ? import (pkgs.fetchFromGitHub { + owner = "hydro-dev"; + repo = "nix-channel"; + rev = "e1cb1ea6ac79c5e64bd25036be00ee98e51cfd71"; + hash = "sha256-p7Em18OYAtIsA9+8VtHY1gW/NzRHfHKvoK8rsQRgs5Q="; + }) {} +}: +let +in pkgs.stdenv.mkDerivation { + name = "hydro-workspace"; + buildInputs = [ + pkgs.nodejs + pkgs.yarn + pkgs.pm2 + pkgs.git + pkgs.gcc + hydro.mongodb4 + hydro.sandbox + ]; +} \ No newline at end of file