1
0
Fork 0
mirror of https://github.com/NixOS/nix synced 2025-06-24 22:11:15 +02:00

dev-shell: Drop bear dependency

Since the autotools-based build system has been removed
and meson already generates compile database there's no
need to have it in the devshell.
This commit is contained in:
Sergei Zimmerman 2025-05-15 21:13:13 +00:00
parent 0d3750e902
commit 67535263a5
No known key found for this signature in database
GPG key ID: A9B0B557CA632325

View file

@ -119,9 +119,6 @@ pkgs.nixComponents2.nix-util.overrideAttrs (
(pkgs.writeScriptBin "pre-commit-hooks-install" modular.pre-commit.settings.installationScript)
pkgs.buildPackages.nixfmt-rfc-style
]
# 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) (
lib.hiPrio pkgs.buildPackages.clang-tools
)