perf: use mold
Some checks are pending
/ build (push) Waiting to run

This commit is contained in:
🪞👃🪞 2025-09-08 00:31:18 +03:00
parent 18b6803912
commit a4dbf88220
3 changed files with 9 additions and 3 deletions

View file

@ -2,10 +2,10 @@
{pkgs?import<nixpkgs>{}}:let
stdenv = pkgs.clang19Stdenv;
name = "tengri";
nativeBuildInputs = with pkgs; [ pkg-config libclang ];
buildInputs = with pkgs; [ libclang ];
nativeBuildInputs = [ pkgs.pkg-config pkgs.libclang pkgs.mold ];
buildInputs = [ pkgs.libclang ];
LIBCLANG_PATH = "${pkgs.libclang.lib.outPath}/lib";
LD_LIBRARY_PATH = pkgs.lib.makeLibraryPath (with pkgs; []);
LD_LIBRARY_PATH = pkgs.lib.makeLibraryPath [];
in pkgs.mkShell.override {
inherit stdenv;
} {