From 2c3f0ea1a38294e7ab5983e02e4dccfa4e0a72a9 Mon Sep 17 00:00:00 2001 From: chris Date: Wed, 15 Oct 2025 12:32:12 +0000 Subject: [PATCH] too lazy to think of a message, so enjoy this pointless text. Good luck future me... --- nix/modules/customer-portal/flake-module.nix | 2 +- temp.md | 11 ----------- 2 files changed, 1 insertion(+), 12 deletions(-) delete mode 100755 temp.md diff --git a/nix/modules/customer-portal/flake-module.nix b/nix/modules/customer-portal/flake-module.nix index 02a2e15..f18e96c 100755 --- a/nix/modules/customer-portal/flake-module.nix +++ b/nix/modules/customer-portal/flake-module.nix @@ -93,7 +93,7 @@ (format.generate "config.json" cfg.settings) ]; - Environment="BETTER_AUTH_SECRET='8&!3$!^U!&56qvSydEJ^E$cr^GSBWWFmbHJCLJ@w7vRWm7!R5b$DSoCmY$GW7HEF' SESSION_SECRET='jJBqeVMvQe52HqLYWDunLEKbkkC9JqCrgP92nV5j2dC99eZWCtK9H2NrASH8AbxF'"; + Environment="BETTER_AUTH_SECRET='8&!3$!^U!&56qvSydEJ^E$cr^GSBWWFmbHJCLJ@w7vRWm7!R5b$DSoCmY$GW7HEF' SESSION_SECRET='jJBqeVMvQe52HqLYWDunLEKbkkC9JqCrgP92nV5j2dC99eZWCtK9H2NrASH8AbxF' HOST='0.0.0.0' PORT='3001'"; StateDirectory = "amarth-customer-portal"; CacheDirectory = "amarth-customer-portal"; diff --git a/temp.md b/temp.md deleted file mode 100755 index 4b1c963..0000000 --- a/temp.md +++ /dev/null @@ -1,11 +0,0 @@ -does anyone here have experience with packaging and running a js app derivation using bun? I believe I have all the individual pieces that I need to get this working, but I am struggling to tie them together, and knowing me it is just a super small thing that I'm missing. - -What I have so far -- solid start application -- build into a single file executable with `bun build --compile` (ran both locally and in the derivation's buildPhase) -- a flake with a package which is a bun2nix mkBunDerivation -- a machine that runs the package using `nix run url-to-flake` - -When I build and run the executable locally everything works as intended. -However when I use the package from the flake only bun's help text get printed. -Does anyone have any suggestions on what either the cause could be or how to debug this (I am very new to packaging in nix)