From f8b7b030d293c17232753103564eba7e2f417a24 Mon Sep 17 00:00:00 2001 From: Akshay Nair Date: Sun, 11 Apr 2021 14:03:58 +0530 Subject: Adds collection of shell files and new-shell command --- shell/bucklescript.nix | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 shell/bucklescript.nix (limited to 'shell/bucklescript.nix') diff --git a/shell/bucklescript.nix b/shell/bucklescript.nix new file mode 100644 index 0000000..62f2db5 --- /dev/null +++ b/shell/bucklescript.nix @@ -0,0 +1,22 @@ +{ pkgs ? import {}, ... }: + +let + bsb = pkgs.stdenv.mkDerivation { + name = "rescript-compiler"; + version = "0.0.0"; + src = pkgs.fetchFromGitHub { + user = "rescript-lang"; + repo = "rescript-compiler"; + }; + }; + + packages = with pkgs; [ + bsb + nodejs-15_x + yarn + ]; +in +pkgs.stdenv.mkDerivation { + name = "elm-project"; + buildInputs = packages; +} -- cgit v1.3.1