summaryrefslogtreecommitdiffstats
path: root/pkgs
diff options
context:
space:
mode:
authorRobert Scott <code@humanleg.org.uk>2022-05-22 21:11:45 +0100
committerRobert Scott <code@humanleg.org.uk>2022-05-22 21:11:45 +0100
commitd40419c24194f8a93db21d32828217ced0637ffa (patch)
treeaf5c275789113bbbfd72bac0bcedd322922bbdab /pkgs
parentdb2fa42b53d7dcdefc1abd0acf654e62553ec782 (diff)
chipsec: restrict to x86-only
package is unlikely to support other platforms in the near future - see https://github.com/chipsec/chipsec/issues/461
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";
};
}