Unverified Commit 8c87a98c authored by Martin Weinelt's avatar Martin Weinelt
Browse files

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.
parent 21dc638b
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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
    '';