clang-tools: format with nixfmt (Nix RFC 166)

Format default.nix with nixfmt in accordance with Nix RFC 166.

Manually Place the comments above the corresponding argument.
This commit is contained in:
Yueh-Shun Li
2024-06-23 01:34:25 +05:30
committed by John Titor
parent 9693852a20
commit ff60b6d3a5
+10 -5
View File
@@ -1,11 +1,16 @@
{ lib, stdenv, llvmPackages, enableLibcxx ? false }:
# enableLibcxx will use the c++ headers from clang instead of gcc.
# This shouldn't have any effect on platforms that use clang as the default compiler already.
{
lib,
stdenv,
llvmPackages,
# enableLibcxx will use the c++ headers from clang instead of gcc.
# This shouldn't have any effect on platforms that use clang as the default compiler already.
enableLibcxx ? false,
}:
let
unwrapped = llvmPackages.clang-unwrapped;
in stdenv.mkDerivation {
in
stdenv.mkDerivation {
inherit unwrapped;
pname = "clang-tools";