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; }; }; };