Home

nixfig @main - refs - log -
-
https://git.jolheiser.com/nixfig.git
Nix as a Config
tree log patch
fix: allow blank NIXFIG_FMT to disable formatting Signed-off-by: jolheiser <john.olheiser@gmail.com>
Signature
-----BEGIN PGP SIGNATURE----- iQIzBAABCgAdFiEEgqEQpE3xoo1QwJO/uFOtpdp7v3oFAmZziX0ACgkQuFOtpdp7 v3rERA/9GgGYDIQFBagT0e7SL4w+KQnKcWQeqPd+VuKEZKD4R+EsqJkEVwSt2fQy IJNsNrqddhk2dtRIQAZ6HZy5aBYCd544j+hC4vzvg2lX0MYPzc/Mb/FhVPrfX/H5 tXWUrGDL/b+o2vq2VHyA+U0TNvj8KgjYHrj2d31+6c9kv7WVWSqJz/BkIZEWMRRd /PRoFI6E/iTLneBtVdSyMwHU/jdd4yqHYwOzHiQmjgWKFAIod5WQdNoZpmXclCc0 NyTDoiW61zQI9PpLBRGY2+Btw4SyCiECapvzhMIP8DSQOdK1G3kXEefCOlB/dXSp FAgG9Va80pINrevytxykmLuGGpSbfNmam/TY3PV70Y6+LBdycCrhzz7gipKny6Y4 YdjG0NKIsXslBX0De97qWYvr8SmYtEPpv3BC8yE3FeKgh0BA9uEbV/4vBfd0fz1N A55JnTzE1dOeGKsKhVgDQg1HFvtfZCtkVoNexYgAw4kedwf3kvAq8pVpqrKuzaZL 0a8zp7A4Q99B9T7NUXmTwzlSk3DaAuwPHEPdU4hbhWFpQlvo0Nn8hdAHvm4ooRmj TALkppYTT1JIPPUVsp5CoAEhLwxiMj5WEv1L6r8znLLPrkE7zkSmuZERAOUzxZu+ B2b+35sOCQqCYOrWU0J0q4ivdUSPFBwvX/cbfJZGUQRQmnOJbZM= =Hzqi -----END PGP SIGNATURE-----
jolheiser <john.olheiser@gmail.com>
6 months ago
1 changed files, 3 additions(+), 0 deletions(-)
M nixfig.go -> nixfig.go
diff --git a/nixfig.go b/nixfig.go
index d89e98b2bd19bb7fc9ac5033d11abe738f6a97e4..e1597bcf2f5021c3365345d9329920f92503260c 100644
--- a/nixfig.go
+++ b/nixfig.go
@@ -33,6 +33,9 @@ 		}
 	}
 	if envPath, ok := os.LookupEnv("NIXFIG_FMT"); ok {
 		Fmt = strings.Split(envPath, " ")
+		if envPath == "" {
+			Fmt = nil
+		}
 	}
 }