aboutsummaryrefslogtreecommitdiff
path: root/flake.nix
diff options
context:
space:
mode:
Diffstat (limited to 'flake.nix')
-rw-r--r--flake.nix7
1 files changed, 4 insertions, 3 deletions
diff --git a/flake.nix b/flake.nix
index 3dc9b3ac3..79ac9caea 100644
--- a/flake.nix
+++ b/flake.nix
@@ -408,9 +408,10 @@
pkgs.buildPackages.meson
pkgs.buildPackages.ninja
pkgs.buildPackages.cmake
-
- pkgs.buildPackages.clangbuildanalyzer
- ];
+ ]
+ ++
+ lib.optionals (lib.meta.availableOn pkgs.stdenv.hostPlatform pkgs.buildPackages.clangbuildanalyzer)
+ [ pkgs.buildPackages.clangbuildanalyzer ];
src = null;