summaryrefslogtreecommitdiff
path: root/flake.nix
diff options
context:
space:
mode:
authorLLLL Colonq <llll@colonq>2026-02-17 05:21:03 -0500
committerLLLL Colonq <llll@colonq>2026-02-17 05:21:03 -0500
commitc45a68362c2f64781458f74309a235af8393255a (patch)
treef946a84f20c69e59a118121ff2eb7827d3cc6645 /flake.nix
parente16ce1e5dbc6f0b1534abbbc774f4709c9804997 (diff)
Update
Diffstat (limited to 'flake.nix')
-rw-r--r--flake.nix17
1 files changed, 13 insertions, 4 deletions
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