From d92d210c84c566b2d2083584b93ce092fb214154 Mon Sep 17 00:00:00 2001 From: Frederik Rietdijk Date: Sun, 18 Aug 2019 11:46:49 +0200 Subject: appdaemon: fix build --- pkgs/servers/home-assistant/appdaemon.nix | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'pkgs/servers/home-assistant') 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; -- cgit 1.4.1