mirror of
https://github.com/NixOS/nix.git
synced 2024-11-25 08:12:29 +00:00
devShell: increase priority of clang-tools
Before we would get the unwrapped version of clang-tools from clang itself, which doesn't quite work.
This commit is contained in:
parent
8105307f0f
commit
2b7642632e
@ -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 []
|
||||
++ [
|
||||
|
Loading…
Reference in New Issue
Block a user