diff options
Diffstat (limited to 'shell/bucklescript.nix')
| -rw-r--r-- | shell/bucklescript.nix | 22 |
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; +} |
