Merge pull request #162434 from tavi-vi/vega-lite_fix

This commit is contained in:
Sandro 2022-09-06 17:59:30 +02:00 committed by GitHub
commit 26a1251e03
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -517,8 +517,8 @@ final: prev: {
postInstall = ''
cd node_modules
for dep in ${final.vega-cli}/lib/node_modules/vega-cli/node_modules/*; do
if [[ ! -d $dep ]]; then
ln -s "${final.vega-cli}/lib/node_modules/vega-cli/node_modules/$dep"
if [[ ! -d ''${dep##*/} ]]; then
ln -s "${final.vega-cli}/lib/node_modules/vega-cli/node_modules/''${dep##*/}"
fi
done
'';