We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents cc8291c + b51e259 commit 9c7ff88Copy full SHA for 9c7ff88
pkgs/development/web/bun/default.nix
@@ -33,8 +33,8 @@ stdenvNoCC.mkDerivation rec {
33
runHook postInstall
34
'';
35
36
- postPhases = [ "postPatchelf" ];
37
- postPatchelf = lib.optionalString (stdenvNoCC.buildPlatform.canExecute stdenvNoCC.hostPlatform) ''
+ postPhases = lib.optionals (stdenvNoCC.buildPlatform.canExecute stdenvNoCC.hostPlatform) [ "postPatchelf" ];
+ postPatchelf = ''
38
completions_dir=$(mktemp -d)
39
40
SHELL="bash" $out/bin/bun completions $completions_dir
0 commit comments