mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-27 09:23:01 +00:00
nodePackages.vega-lite: Fix vega module availability issue
This commit is contained in:
parent
efb22d3bcf
commit
e64288661e
@ -524,8 +524,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
|
||||
'';
|
||||
|
Loading…
Reference in New Issue
Block a user