summary refs log tree commit diff
path: root/pkgs/servers/home-assistant
diff options
context:
space:
mode:
authorFrederik Rietdijk <fridh@fridh.nl>2019-08-18 11:46:49 +0200
committerFrederik Rietdijk <fridh@fridh.nl>2019-08-18 11:48:40 +0200
commitd92d210c84c566b2d2083584b93ce092fb214154 (patch)
treeea31c3143972825e4d470e3fba570f4f076cecb5 /pkgs/servers/home-assistant
parent33263a7efb1df45edab92d97d7f4ad45aedcc1cd (diff)
downloadnixpkgs-d92d210c84c566b2d2083584b93ce092fb214154.tar
nixpkgs-d92d210c84c566b2d2083584b93ce092fb214154.tar.gz
nixpkgs-d92d210c84c566b2d2083584b93ce092fb214154.tar.bz2
nixpkgs-d92d210c84c566b2d2083584b93ce092fb214154.tar.lz
nixpkgs-d92d210c84c566b2d2083584b93ce092fb214154.tar.xz
nixpkgs-d92d210c84c566b2d2083584b93ce092fb214154.tar.zst
nixpkgs-d92d210c84c566b2d2083584b93ce092fb214154.zip
appdaemon: fix build
Diffstat (limited to 'pkgs/servers/home-assistant')
-rw-r--r--pkgs/servers/home-assistant/appdaemon.nix4
1 files changed, 4 insertions, 0 deletions
diff --git a/pkgs/servers/home-assistant/appdaemon.nix b/pkgs/servers/home-assistant/appdaemon.nix
index 5f8884cbd3b..5d4d88e1cda 100644
--- a/pkgs/servers/home-assistant/appdaemon.nix
+++ b/pkgs/servers/home-assistant/appdaemon.nix
@@ -58,6 +58,10 @@ in python.pkgs.buildPythonApplication rec {
   # no tests implemented
   doCheck = false;
 
+  postPatch = ''
+    substituteInPlace setup.py --replace "pyyaml==5.1" "pyyaml"
+  '';
+
   meta = with lib; {
     description = "Sandboxed python execution environment for writing automation apps for Home Assistant";
     homepage = https://github.com/home-assistant/appdaemon;