diff options
author | Jeremy Fleischman <jeremyfleischman@gmail.com> | 2022-01-02 01:25:18 -0800 |
---|---|---|
committer | Jeremy Fleischman <jeremyfleischman@gmail.com> | 2022-01-02 02:16:31 -0800 |
commit | a88c3bbfe1ca298965bca72ae3fdd23b63433e55 (patch) | |
tree | 8602952ab3b0669f80b103d433ba06af17a12cb9 | |
parent | 668620eaa94a7540eafe45b8b94340c0cfe739c7 (diff) | |
download | nixlib-a88c3bbfe1ca298965bca72ae3fdd23b63433e55.tar nixlib-a88c3bbfe1ca298965bca72ae3fdd23b63433e55.tar.gz nixlib-a88c3bbfe1ca298965bca72ae3fdd23b63433e55.tar.bz2 nixlib-a88c3bbfe1ca298965bca72ae3fdd23b63433e55.tar.lz nixlib-a88c3bbfe1ca298965bca72ae3fdd23b63433e55.tar.xz nixlib-a88c3bbfe1ca298965bca72ae3fdd23b63433e55.tar.zst nixlib-a88c3bbfe1ca298965bca72ae3fdd23b63433e55.zip |
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.
-rw-r--r-- | pkgs/applications/video/kodi/build-kodi-addon.nix | 2 |
1 files changed, 1 insertions, 1 deletions
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="." |