aboutsummaryrefslogtreecommitdiff
path: root/shell/bucklescript.nix
diff options
context:
space:
mode:
authorAkshay Nair <phenax5@gmail.com>2021-04-11 14:03:58 +0530
committerAkshay Nair <phenax5@gmail.com>2021-04-11 14:03:58 +0530
commitf8b7b030d293c17232753103564eba7e2f417a24 (patch)
tree7abbccfea61558b90b4ebd67e9cc787c09ac0055 /shell/bucklescript.nix
parent23dc78eff4857942a1af3cdf86fddb9fb0404607 (diff)
downloadnixos-config-f8b7b030d293c17232753103564eba7e2f417a24.tar.gz
nixos-config-f8b7b030d293c17232753103564eba7e2f417a24.zip
Adds collection of shell files and new-shell command
Diffstat (limited to '')
-rw-r--r--shell/bucklescript.nix22
1 files changed, 22 insertions, 0 deletions
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 <nixpkgs> {}, ... }:
+
+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;
+}