luaformatter: fix for darwin apple silicon

This commit is contained in:
Christian Kögler 2021-12-05 20:37:36 +01:00
parent d4e9aef6e1
commit 5127905e58

View file

@ -14870,7 +14870,7 @@ with pkgs;
lttv = callPackage ../development/tools/misc/lttv { }; lttv = callPackage ../development/tools/misc/lttv { };
luaformatter = callPackage ../development/tools/luaformatter luaformatter = callPackage ../development/tools/luaformatter
(lib.optionalAttrs stdenv.isDarwin { (lib.optionalAttrs (stdenv.cc.isClang && lib.versionOlder stdenv.cc.version "9") {
stdenv = overrideCC stdenv llvmPackages_9.clang; stdenv = overrideCC stdenv llvmPackages_9.clang;
}); });