summary refs log tree commit diff
path: root/pkgs/development/web/nodejs/nodejs.nix
diff options
context:
space:
mode:
authorMario Rodas <marsam@users.noreply.github.com>2022-04-23 04:20:00 +0000
committerMario Rodas <marsam@users.noreply.github.com>2022-04-23 04:20:00 +0000
commit943c2eb1b20e5a78819ea2d0de973f94b9585d67 (patch)
treefca309e61c817c37f8cfb892687d61fb8e7c3cfc /pkgs/development/web/nodejs/nodejs.nix
parent7b782b4da3fb12102e72e0e92ae00dd008967aa5 (diff)
nodejs-18_x: init at 18.0.0
https://github.com/nodejs/node/releases/tag/v18.0.0
Diffstat (limited to 'pkgs/development/web/nodejs/nodejs.nix')
-rw-r--r--pkgs/development/web/nodejs/nodejs.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/pkgs/development/web/nodejs/nodejs.nix b/pkgs/development/web/nodejs/nodejs.nix
index 317de55ada566..7f8178838677c 100644
--- a/pkgs/development/web/nodejs/nodejs.nix
+++ b/pkgs/development/web/nodejs/nodejs.nix
@@ -136,7 +136,7 @@ let
 
       ${optionalString (enableNpm && stdenv.hostPlatform == stdenv.buildPlatform) ''
         mkdir -p $out/share/bash-completion/completions/
-        $out/bin/npm completion > $out/share/bash-completion/completions/npm
+        $out/bin/npm completion > $out/share/bash-completion/completions/npm || :
         for dir in "$out/lib/node_modules/npm/man/"*; do
           mkdir -p $out/share/man/$(basename "$dir")
           for page in "$dir"/*; do