Skip to content

Commit 9c7ff88

Browse files
authored
bun: fix cross-compilation (#347901)
2 parents cc8291c + b51e259 commit 9c7ff88

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

pkgs/development/web/bun/default.nix

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,8 +33,8 @@ stdenvNoCC.mkDerivation rec {
3333
runHook postInstall
3434
'';
3535

36-
postPhases = [ "postPatchelf" ];
37-
postPatchelf = lib.optionalString (stdenvNoCC.buildPlatform.canExecute stdenvNoCC.hostPlatform) ''
36+
postPhases = lib.optionals (stdenvNoCC.buildPlatform.canExecute stdenvNoCC.hostPlatform) [ "postPatchelf" ];
37+
postPatchelf = ''
3838
completions_dir=$(mktemp -d)
3939
4040
SHELL="bash" $out/bin/bun completions $completions_dir

0 commit comments

Comments
 (0)