customer-portal/temp.md
chris 9692689418
All checks were successful
Test action / Print hello world (push) Successful in 8m1s
too lazy to think of a message, so enjoy this pointless text. Good luck future me...
2025-10-15 09:32:20 +00:00

840 B
Executable file

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)