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:
@@ -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
|
||||
'';
|
||||
|
||||
Reference in New Issue
Block a user