build(nix): use clang

This commit is contained in:
Yusuf Bera Ertan 2022-09-02 15:50:30 +03:00
parent 8dba530131
commit c6bac19fe4
No known key found for this signature in database
GPG Key ID: 1D8F8FAF2294D6EA

View File

@ -22,6 +22,10 @@
}; };
}; };
overrides = { overrides = {
cCompiler = common: {
cCompiler = common.pkgs.clang;
useCCompilerBintools = true;
};
crates = common: prev: let crates = common: prev: let
pkgs = common.pkgs; pkgs = common.pkgs;
lib = pkgs.lib; lib = pkgs.lib;