Skip to content

Commit

Permalink
devShell: increase priority of clang-tools
Browse files Browse the repository at this point in the history
Before we would get the unwrapped version of clang-tools from clang
itself, which doesn't quite work.
  • Loading branch information
Mic92 committed Sep 18, 2024
1 parent 8105307 commit 2b76426
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion flake.nix
Original file line number Diff line number Diff line change
Expand Up @@ -370,7 +370,7 @@
# TODO: Remove the darwin check once
# https://github.com/NixOS/nixpkgs/pull/291814 is available
++ lib.optional (stdenv.cc.isClang && !stdenv.buildPlatform.isDarwin) pkgs.buildPackages.bear
++ lib.optional (stdenv.cc.isClang && stdenv.hostPlatform == stdenv.buildPlatform) pkgs.buildPackages.clang-tools;
++ lib.optional (stdenv.cc.isClang && stdenv.hostPlatform == stdenv.buildPlatform) (lib.hiPrio pkgs.buildPackages.clang-tools);

buildInputs = attrs.buildInputs or []
++ [
Expand Down

0 comments on commit 2b76426

Please sign in to comment.