buildHomeAssistantComponent: fix install with patches applied

Installing from `$src` will always copy the unmodified source tree, as it
appears in the /nix/store. This prevents the application of patches.
This commit is contained in:
Martin Weinelt
2023-11-25 14:23:49 +01:00
parent 21dc638b82
commit 8c87a98ce1
@@ -23,7 +23,7 @@ home-assistant.python.pkgs.buildPythonPackage (
runHook preInstall
mkdir $out
cp -r $src/custom_components/ $out/
cp -r ./custom_components/ $out/
runHook postInstall
'';