diff --git a/nix/packages/flake-module.nix b/nix/packages/flake-module.nix index 37410da..e85e73e 100755 --- a/nix/packages/flake-module.nix +++ b/nix/packages/flake-module.nix @@ -4,7 +4,7 @@ packages = { default = self'.packages.amarth-customer-portal; - amarth-customer-portal = inputs.bun2nix.lib.${system}.mkBunDerivation { + amarth-customer-portal = inputs.bun2nix.lib.${system}.mkBunDerivation rec { pname = "amarth-customer-portal"; version = "0.0.1"; index = "app.config.ts"; @@ -30,6 +30,8 @@ mkdir -p $out cp -r ./.output/* $out + + echo "bun run ./server/index.mjs" > $out/${pname} runHook postInstall '';