From 0abed0a2da8d2390c664098c45af1afb5be741bf Mon Sep 17 00:00:00 2001 From: Brandon Barker Date: Mon, 1 Feb 2021 14:27:53 -0500 Subject: [PATCH] made spago and purescript optional (provided); providing basic shell.nix --- package.json | 4 +++- shell.nix | 4 ++++ 2 files changed, 7 insertions(+), 1 deletion(-) create mode 100644 shell.nix diff --git a/package.json b/package.json index 515c981..6b8343d 100644 --- a/package.json +++ b/package.json @@ -15,8 +15,10 @@ }, "devDependencies": { "parcel-bundler": "^1.12.4", + "rimraf": "^3.0.0" + }, + "optionalDependencies": { "purescript": "^0.13.5", - "rimraf": "^3.0.0", "spago": "^0.12.1" } } diff --git a/shell.nix b/shell.nix new file mode 100644 index 0000000..a939661 --- /dev/null +++ b/shell.nix @@ -0,0 +1,4 @@ +{ pkgs ? import {} }: + pkgs.mkShell { + buildInputs = [ pkgs.spago pkgs.nodejs pkgs.purescript ]; +} \ No newline at end of file