summary refs log tree commit diff
path: root/pkgs
diff options
context:
space:
mode:
authorWinter <winter@winter.cafe>2022-12-05 17:35:37 -0500
committerWinter <winter@winter.cafe>2022-12-19 18:47:09 -0500
commit865387061ffe924e1536a959f1e995903d468894 (patch)
tree4822d2838d080cb7c8f8ceb92a414867a5f16751 /pkgs
parent669f0193790fe08dd1f974fbf331fd0dda31f708 (diff)
downloadnixpkgs-865387061ffe924e1536a959f1e995903d468894.tar
nixpkgs-865387061ffe924e1536a959f1e995903d468894.tar.gz
nixpkgs-865387061ffe924e1536a959f1e995903d468894.tar.bz2
nixpkgs-865387061ffe924e1536a959f1e995903d468894.tar.lz
nixpkgs-865387061ffe924e1536a959f1e995903d468894.tar.xz
nixpkgs-865387061ffe924e1536a959f1e995903d468894.tar.zst
nixpkgs-865387061ffe924e1536a959f1e995903d468894.zip
npmHooks.npmBuildHook: fix diagnostic
Single quotes must be used when using graves in a quote, else Bash will interpret it as a command to run.

Thanks to Dimitri for catching this (https://github.com/NixOS/nixpkgs/commit/8e651111b77e590a933d525563daa2a3e14bb0e2#commitcomment-92100762).
Diffstat (limited to 'pkgs')
-rw-r--r--pkgs/build-support/node/build-npm-package/hooks/npm-build-hook.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/pkgs/build-support/node/build-npm-package/hooks/npm-build-hook.sh b/pkgs/build-support/node/build-npm-package/hooks/npm-build-hook.sh
index 7f601512c7e..b712e3a0543 100644
--- a/pkgs/build-support/node/build-npm-package/hooks/npm-build-hook.sh
+++ b/pkgs/build-support/node/build-npm-package/hooks/npm-build-hook.sh
@@ -20,7 +20,7 @@ npmBuildHook() {
         echo
         echo "Here are a few things you can try, depending on the error:"
         echo "1. Make sure your build script ($npmBuildScript) exists"
-        echo "  If there is none, set `dontNpmBuild = true`."
+        echo '  If there is none, set `dontNpmBuild = true`.'
         echo '2. If the error being thrown is something similar to "error:0308010C:digital envelope routines::unsupported", add `NODE_OPTIONS = "--openssl-legacy-provider"` to your derivation'
         echo "  See https://github.com/webpack/webpack/issues/14532 for more information."
         echo