treefmt: add passthru runtimeInputs (#400545)

This commit is contained in:
Aleksana
2025-04-22 17:20:56 +08:00
committed by GitHub
+1
View File
@@ -14,6 +14,7 @@ runCommand name
nativeBuildInputs = [ makeBinaryWrapper ];
treefmtExe = lib.getExe treefmt;
binPath = lib.makeBinPath runtimeInputs;
passthru = { inherit runtimeInputs; };
configFile = treefmt.buildConfig {
# Wrap user's modules with a default file location
_file = "<treefmt.withConfig settings arg>";