vieb: fix internal node_modules structure

Vieb's source code manually constructs the path the 7z binary using
a relative path. This breaks because vieb is running under
libexec/vieb/deps/vieb (and expects 7z to be inside
libexec/vieb/deps/vieb/node_modules), whereas the actual binary is
in libexec/vieb/node_modules). We fix this with a symlink.
main
j-hui 3 years ago
parent 3e2fd65953
commit 2a6c2b4a1b
  1. 3
      pkgs/applications/networking/browsers/vieb/default.nix

@ -34,6 +34,9 @@ mkYarnPackage rec {
};
postInstall = ''
unlink $out/libexec/vieb/deps/vieb/node_modules
ln -s $out/libexec/vieb/node_modules $out/libexec/vieb/deps/vieb/node_modules
install -Dm0644 {${desktopItem},$out}/share/applications/vieb.desktop
pushd $out/libexec/vieb/node_modules/vieb/app/img/icons

Loading…
Cancel
Save