From c6bac19fe4af7dbc4747b90a7d865f4b14662875 Mon Sep 17 00:00:00 2001 From: Yusuf Bera Ertan Date: Fri, 2 Sep 2022 15:50:30 +0300 Subject: [PATCH] build(nix): use clang --- flake.nix | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/flake.nix b/flake.nix index eb62259f43..44e2202b56 100644 --- a/flake.nix +++ b/flake.nix @@ -22,6 +22,10 @@ }; }; overrides = { + cCompiler = common: { + cCompiler = common.pkgs.clang; + useCCompilerBintools = true; + }; crates = common: prev: let pkgs = common.pkgs; lib = pkgs.lib;