Merge pull request #152675 from jfly/issue-145116-kodi-wrapper-web-interface

kodi: copy web assets instead of symlinking
This commit is contained in:
Aaron Andersen 2022-01-03 13:41:01 -05:00 committed by GitHub
commit b84d158866
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -35,5 +35,11 @@ buildEnv {
(lib.concatMap
(plugin: plugin.extraRuntimeDependencies or []) addons)}"
done
# makeWrapper just created webinterface.default as a symlink. However,
# kodi's webserver carefully refuses to follow symlinks, so we need to copy
# these assets instead.
rm $out/share/kodi/addons/webinterface.default
cp -r ${kodi}/share/kodi/addons/webinterface.default/ $out/share/kodi/addons/webinterface.default
'';
}