Fix clang devshell

Issue introduced in https://github.com/NixOS/nix/pull/9535
This commit is contained in:
José Luis Lafuente 2023-12-14 23:14:59 +01:00
parent fc0accf3dc
commit 8d39c0c196
No known key found for this signature in database
GPG key ID: 8A3455EBE455489A

View file

@ -5,6 +5,7 @@
, autoreconfHook
, aws-sdk-cpp
, boehmgc
, buildPackages
, nlohmann_json
, bison
, boost
@ -207,6 +208,9 @@ in {
# changelog
++ lib.optional (!officialRelease && buildUnreleasedNotes) changelog-d
++ lib.optional enableInternalAPIDocs doxygen
++ lib.optional stdenv.cc.isClang buildPackages.bear
++ lib.optional (stdenv.cc.isClang && stdenv.hostPlatform == stdenv.buildPlatform) buildPackages.clang-tools
;
buildInputs = lib.optionals doBuild [