diff options
author | Winter <winter@winter.cafe> | 2022-12-05 17:35:37 -0500 |
---|---|---|
committer | Winter <winter@winter.cafe> | 2022-12-19 18:47:09 -0500 |
commit | 865387061ffe924e1536a959f1e995903d468894 (patch) | |
tree | 4822d2838d080cb7c8f8ceb92a414867a5f16751 /pkgs/build-support/node | |
parent | 669f0193790fe08dd1f974fbf331fd0dda31f708 (diff) |
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/build-support/node')
-rw-r--r-- | pkgs/build-support/node/build-npm-package/hooks/npm-build-hook.sh | 2 |
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 7f601512c7e7b..b712e3a0543a2 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 |