too lazy to think of a message, so enjoy this pointless text. Good luck future me...
All checks were successful
Test action / Print hello world (push) Successful in 8m1s
All checks were successful
Test action / Print hello world (push) Successful in 8m1s
This commit is contained in:
parent
e7a6d9e6b8
commit
9692689418
2 changed files with 18 additions and 4 deletions
|
|
@ -11,8 +11,9 @@
|
|||
|
||||
src = ../..;
|
||||
bunNix = ../../bun.nix;
|
||||
dontFixup = true;
|
||||
|
||||
nativeBuildInputs = with pkgs; [ bun git ];
|
||||
nativeBuildInputs = with pkgs; [ bun git makeWrapper ];
|
||||
|
||||
buildPhase = ''
|
||||
runHook preBuild
|
||||
|
|
@ -22,8 +23,6 @@
|
|||
|
||||
bun run build --bun
|
||||
bun build --compile --target=bun-linux-x64 --minify --outfile result ./.output/server/index.mjs
|
||||
|
||||
echo "build completed with: $?"
|
||||
|
||||
runHook postBuild
|
||||
'';
|
||||
|
|
@ -32,8 +31,12 @@
|
|||
runHook preInstall
|
||||
|
||||
mkdir -p $out/bin
|
||||
mv result $out/bin/${pname}
|
||||
install -p result $out/bin/${pname}
|
||||
cp -r ./.output/* $out
|
||||
|
||||
# makeWrapper ${lib.getExe pkgs.bun} $out/bin/${pname} \
|
||||
# --chdir $out \
|
||||
# --append-flags "run start"
|
||||
|
||||
runHook postInstall
|
||||
'';
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue