about summary refs log tree commit diff
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
parent33263a7efb1df45edab92d97d7f4ad45aedcc1cd (diff)
downloadnixlib-d92d210c84c566b2d2083584b93ce092fb214154.tar
nixlib-d92d210c84c566b2d2083584b93ce092fb214154.tar.gz
nixlib-d92d210c84c566b2d2083584b93ce092fb214154.tar.bz2
nixlib-d92d210c84c566b2d2083584b93ce092fb214154.tar.lz
nixlib-d92d210c84c566b2d2083584b93ce092fb214154.tar.xz
nixlib-d92d210c84c566b2d2083584b93ce092fb214154.tar.zst
nixlib-d92d210c84c566b2d2083584b93ce092fb214154.zip
appdaemon: fix build
-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 5f8884cbd3b7..5d4d88e1cda8 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;