From 7e940cc1706397787c66aa8a52b3b8f96cfc2b5a Mon Sep 17 00:00:00 2001 From: Qyriad Date: Mon, 6 May 2024 22:59:41 -0600 Subject: flake: fix devShell on i686-linux by disabling ClangBuildAnalyzer on it ClangBuildAnalyzer doesn't build on i686-linux due to `long long int`/`size_t` conversion errors, so let's just exclude it from the devshell on that platform Change-Id: If1077a7b3860db4381999c8e304f6d4b2bc96a05 --- misc/clangbuildanalyzer.nix | 3 +++ 1 file changed, 3 insertions(+) (limited to 'misc') diff --git a/misc/clangbuildanalyzer.nix b/misc/clangbuildanalyzer.nix index cee8a0d77..d73fa8bbb 100644 --- a/misc/clangbuildanalyzer.nix +++ b/misc/clangbuildanalyzer.nix @@ -25,6 +25,9 @@ stdenv.mkDerivation (finalAttrs: { maintainers = with lib.maintainers; [ lf- ]; license = lib.licenses.unlicense; platforms = lib.platforms.unix; + # `long long int` != `size_t` + # There's no convenient lib.platforms.32bit or anything, but it's easy enough to do ourselves. + badPlatforms = lib.filter (plat: (lib.systems.elaborate plat).is32bit) lib.platforms.all; mainProgram = "ClangBuildAnalyzer"; }; }) -- cgit v1.2.3