summaryrefslogtreecommitdiff
path: root/flake.nix
diff options
context:
space:
mode:
authorLLLL Colonq <llll@colonq>2025-02-18 00:33:43 -0500
committerLLLL Colonq <llll@colonq>2025-02-18 00:33:43 -0500
commit12a8b6bb63ab52cd4828f16d26d94079fa576436 (patch)
treee5bc3783d8e9f17c5653aacb4576bda63a337dcb /flake.nix
parentd03675f9effa443811f054578f7c24e17adbd6dc (diff)
Add throwshade
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 {})