summaryrefslogtreecommitdiffstats
path: root/pkgs
diff options
context:
space:
mode:
authorRobert Scott <code@humanleg.org.uk>2022-05-22 21:38:35 +0100
committerGitHub <noreply@github.com>2022-05-22 21:38:35 +0100
commitdc706dddd0cb263029525585a7b3cb2ee61c154b (patch)
tree9c81000dcb5bdbfe322f7f80aaf1dd73dbaa8640 /pkgs
parent74c9fd99fd1a565115b639f861f8576ddf84c1ea (diff)
parentd40419c24194f8a93db21d32828217ced0637ffa (diff)
Merge pull request #174042 from risicle/ris-chipsec-x86
chipsec: restrict to x86-only
Diffstat (limited to 'pkgs')
-rw-r--r--pkgs/tools/security/chipsec/default.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/pkgs/tools/security/chipsec/default.nix b/pkgs/tools/security/chipsec/default.nix
index 64d8885eedd4..5b4957139d75 100644
--- a/pkgs/tools/security/chipsec/default.nix
+++ b/pkgs/tools/security/chipsec/default.nix
@@ -68,6 +68,6 @@ python3.pkgs.buildPythonApplication rec {
license = licenses.gpl2Only;
homepage = "https://github.com/chipsec/chipsec";
maintainers = with maintainers; [ johnazoidberg ];
- platforms = if withDriver then [ "x86_64-linux" ] else platforms.all;
+ platforms = [ "x86_64-linux" ] ++ lib.optional (!withDriver) "x86_64-darwin";
};
}