From 12a8b6bb63ab52cd4828f16d26d94079fa576436 Mon Sep 17 00:00:00 2001 From: LLLL Colonq Date: Tue, 18 Feb 2025 00:33:43 -0500 Subject: Add throwshade --- flake.nix | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'flake.nix') 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 {}) -- cgit v1.2.3