treefmt: add passthru runtimeInputs

This commit is contained in:
awwpotato
2025-04-21 13:41:49 -07:00
parent b01196a133
commit aff74c7228
+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>";