From 97c8c99f1db7db9f27a4dfd80bbd28701850032c Mon Sep 17 00:00:00 2001 From: Luflosi Date: Mon, 6 Jul 2020 11:13:26 +0200 Subject: [PATCH] batinfo: limit build to Linux According to the README of batinfo, it runs only on Linux-based operating systems. --- pkgs/development/python-modules/batinfo/default.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkgs/development/python-modules/batinfo/default.nix b/pkgs/development/python-modules/batinfo/default.nix index 57dfd5062c1..e8516aecdc6 100644 --- a/pkgs/development/python-modules/batinfo/default.nix +++ b/pkgs/development/python-modules/batinfo/default.nix @@ -16,7 +16,7 @@ buildPythonPackage rec { homepage = "https://github.com/nicolargo/batinfo"; description = "A simple Python lib to retrieve battery information"; license = licenses.lgpl3; - platforms = platforms.all; + platforms = platforms.linux; maintainers = with maintainers; [ koral ]; }; }