git.iko.soy/typeable/nixpkgs
on master help sign in
home-assistant: limit tests to Linux
commit4dd83ab6012cfd3a6e2fd094a3febbd4d688500b authorJörg Thalheim <joerg@thalheim.io> dateWed 6 May 2020, 07:27 (7 years ago) parentee8cde8
1 file changed+4−1
pkgs/servers/home-assistant/default.nix+4−1
pkgs/servers/home-assistant/default.nix+4−1
@@ -1,4 +1,4 @@
1−{ lib, fetchurl, fetchFromGitHub, fetchpatch, python3, protobuf3_6
1+{ stdenv, lib, fetchurl, fetchFromGitHub, fetchpatch, python3, protobuf3_6
22
33# Look up dependencies of specified components in component-packages.nix
44, extraComponents ? [ ]
@@ -98,6 +98,9 @@ in with py.pkgs; buildPythonApplication rec {
9898 sqlalchemy aiohttp-cors hass-frontend pyotp pyqrcode ciso8601
9999 ] ++ componentBuildInputs ++ extraBuildInputs;
100100
101+ # upstream only tests on Linux, so do we.
102+ doCheck = stdenv.isLinux;
103+
101104 checkInputs = [
102105 asynctest pytest pytest-aiohttp requests-mock hass-nabucasa netdisco pydispatcher
103106 ];