kodi: allow using patch with kodi addons

I see no reason why we shouldn't just copy from `.` rather than `$src`.
One benefit of this is that the various patch phases update the context
of `.` rather than the immutable `$src`, which means they actually have
an effect on the build derivation now.
This commit is contained in:
Jeremy Fleischman 2022-01-02 01:25:18 -08:00
parent 668620eaa9
commit a88c3bbfe1
No known key found for this signature in database
GPG Key ID: 19319CD8416A642B

View File

@ -13,7 +13,7 @@ toKodiAddon (stdenv.mkDerivation ({
installPhase = ''
runHook preInstall
cd $src/$sourceDir
cd ./$sourceDir
d=$out${addonDir}/${namespace}
mkdir -p $d
sauce="."