From 24691dd61077e0fb4f9c9e5a958a6d9fce697bb5 Mon Sep 17 00:00:00 2001 From: chris Date: Thu, 9 Oct 2025 09:59:34 +0000 Subject: [PATCH] too lazy to think of a message, so enjoy this pointless text. Good luck future me... --- nix/packages/flake-module.nix | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/nix/packages/flake-module.nix b/nix/packages/flake-module.nix index e85e73e..adf4a6f 100755 --- a/nix/packages/flake-module.nix +++ b/nix/packages/flake-module.nix @@ -31,7 +31,7 @@ mkdir -p $out cp -r ./.output/* $out - echo "bun run ./server/index.mjs" > $out/${pname} + echo "bun run ../server/index.mjs" > $out/bin/${pname} runHook postInstall ''; @@ -56,6 +56,7 @@ } ]; platforms = pkgs.lib.platforms.all; + mainProgram = pname; }; }; };