From 3d0f087727d27a02b63091549e5d29fa9641f66c Mon Sep 17 00:00:00 2001 From: chris Date: Wed, 15 Oct 2025 11:55:36 +0000 Subject: [PATCH] too lazy to think of a message, so enjoy this pointless text. Good luck future me... --- nix/packages/flake-module.nix | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/nix/packages/flake-module.nix b/nix/packages/flake-module.nix index 881662b..4ecf086 100755 --- a/nix/packages/flake-module.nix +++ b/nix/packages/flake-module.nix @@ -22,7 +22,7 @@ # export SESSION_SECRET='jJBqeVMvQe52HqLYWDunLEKbkkC9JqCrgP92nV5j2dC99eZWCtK9H2NrASH8AbxF' bun run build --bun - bun build --compile --target=bun-linux-x64 --minify --outfile result ./.output/server/index.mjs + bun build --compile --target=bun-linux-x64 --minify --outfile ${pname} ./.output/server/index.mjs runHook postBuild ''; @@ -30,8 +30,7 @@ installPhase = '' runHook preInstall - mkdir -p $out/bin - install -pDm755 result $out/bin/${pname} + install -pDm755 -t $out/bin ${pname} cp -r ./.output/* $out echo "