From c45a68362c2f64781458f74309a235af8393255a Mon Sep 17 00:00:00 2001 From: LLLL Colonq Date: Tue, 17 Feb 2026 05:21:03 -0500 Subject: Update --- flake.nix | 17 +++++++++++++---- 1 file changed, 13 insertions(+), 4 deletions(-) (limited to 'flake.nix') diff --git a/flake.nix b/flake.nix index 803be88..8650bcb 100644 --- a/flake.nix +++ b/flake.nix @@ -38,6 +38,15 @@ dir = ./.; srcs = [ "src" ]; }; + pursNixCommand = purescript.command { + bundle = { + esbuild = { + format = "esm"; + log-level = "warning"; + outfile = "build/main.js"; + }; + }; + }; bundt = purescript.bundle {}; bundleAPI = pkgs.stdenv.mkDerivation { @@ -45,7 +54,7 @@ src = ./.; inherit NEWTON_PATH RANCH_PATH; buildInputs = [ - (purescript.command {}) + pursNixCommand pkgs.m4 ]; buildPhase = " @@ -60,7 +69,7 @@ name = "bundt-bundle-auth"; src = ./.; buildInputs = [ - (purescript.command {}) + pursNixCommand pkgs.m4 ]; buildPhase = " @@ -75,7 +84,7 @@ name = "bundt-bundle-greencircle"; src = ./.; buildInputs = [ - (purescript.command {}) + pursNixCommand pkgs.m4 ]; buildPhase = " @@ -91,7 +100,7 @@ inherit NEWTON_PATH RANCH_PATH; buildInputs = [ pkgs.nodejs - (purescript.command {}) + pursNixCommand ps-tools.for-0_15.purescript-language-server purs-nix.esbuild purs-nix.purescript -- cgit v1.2.3