Revert "home-assistant: pin to python 3.6"

This reverts commit 2fb90e57fd.
Home Assistant now builds fine with Python 3.7.
This commit is contained in:
Robert Schütz 2018-12-12 14:01:39 +01:00
parent cee5f2b622
commit 00a9057f75
2 changed files with 4 additions and 6 deletions

View file

@ -1,4 +1,4 @@
{ lib, fetchFromGitHub, fetchpatch, python
{ lib, fetchFromGitHub, fetchpatch, python3
# Look up dependencies of specified components in component-packages.nix
, extraComponents ? []
@ -52,7 +52,7 @@ let
(mkOverride "colorlog" "3.1.4"
"418db638c9577f37f0fae4914074f395847a728158a011be2a193ac491b9779d")
# hass-frontend does not exist in python.pkgs
# hass-frontend does not exist in python3.pkgs
(self: super: {
hass-frontend = self.callPackage ./frontend.nix { };
})
@ -68,7 +68,7 @@ let
});
};
py = python.override {
py = python3.override {
# Put packageOverrides at the start so they are applied after defaultOverrides
packageOverrides = lib.foldr lib.composeExtensions (self: super: { }) ([ packageOverrides ] ++ defaultOverrides);
};

View file

@ -13498,9 +13498,7 @@ in
hiawatha = callPackage ../servers/http/hiawatha {};
home-assistant = callPackage ../servers/home-assistant {
python = python36;
};
home-assistant = callPackage ../servers/home-assistant { };
hydron = callPackage ../servers/hydron { };