summaryrefslogtreecommitdiff
path: root/flake.nix
diff options
context:
space:
mode:
Diffstat (limited to 'flake.nix')
-rw-r--r--flake.nix7
1 files changed, 7 insertions, 0 deletions
diff --git a/flake.nix b/flake.nix
index a5c4d87..57669da 100644
--- a/flake.nix
+++ b/flake.nix
@@ -5,6 +5,10 @@
nixpkgs.url = "github:NixOS/nixpkgs/nixpkgs-unstable";
ps-tools.follows = "purs-nix/ps-tools";
purs-nix.url = "github:purs-nix/purs-nix/ps-0.15";
+ newton = {
+ # url = "github:lcolonq/newton";
+ url = "git+ssh://git@github.com/lcolonq/newton";
+ };
};
outputs = { self, nixpkgs, ... }@inputs:
@@ -14,6 +18,8 @@
ps-tools = inputs.ps-tools.legacyPackages.${system};
purs-nix = inputs.purs-nix { inherit system; };
+ NEWTON_PATH = inputs.newton.packages.${system}.wasm.throwshade;
+
purescript = purs-nix.purs {
dependencies = [
"console"
@@ -82,6 +88,7 @@
};
in {
devShells.x86_64-linux.default = pkgs.mkShell {
+ inherit NEWTON_PATH;
buildInputs = [
pkgs.nodejs
(purescript.command {})