From a88c3bbfe1ca298965bca72ae3fdd23b63433e55 Mon Sep 17 00:00:00 2001 From: Jeremy Fleischman Date: Sun, 2 Jan 2022 01:25:18 -0800 Subject: 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. --- pkgs/applications/video/kodi/build-kodi-addon.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'pkgs/applications/video/kodi/build-kodi-addon.nix') diff --git a/pkgs/applications/video/kodi/build-kodi-addon.nix b/pkgs/applications/video/kodi/build-kodi-addon.nix index 572d5dda8053..8f9c05d8fa12 100644 --- a/pkgs/applications/video/kodi/build-kodi-addon.nix +++ b/pkgs/applications/video/kodi/build-kodi-addon.nix @@ -13,7 +13,7 @@ toKodiAddon (stdenv.mkDerivation ({ installPhase = '' runHook preInstall - cd $src/$sourceDir + cd ./$sourceDir d=$out${addonDir}/${namespace} mkdir -p $d sauce="." -- cgit 1.4.1