We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f5893af commit 8aafa38Copy full SHA for 8aafa38
1 file changed
nix/package.nix
@@ -17,16 +17,20 @@ in
17
18
buildPhase = ''
19
runHook preBuild
20
- bun build --compile "./src/main.tsx" --outfile "hunk"
+ mkdir -p .bun-tmp .bun-install
21
+ BUN_TMPDIR=$PWD/.bun-tmp \
22
+ BUN_INSTALL=$PWD/.bun-install \
23
+ bun build --compile "./src/main.tsx" --outfile "hunk-bin"
24
runHook postBuild
25
'';
26
27
installPhase = ''
28
runHook preInstall
29
mkdir -p $out/bin
- cp ./hunk $out/bin/hunk
30
+ cp -p ./hunk-bin $out/bin/hunk
31
runHook postInstall
32
33
34
dontFixup = true;
35
+ dontStrip = true;
36
}
0 commit comments