Added doctor check for nixfmt

This commit is contained in:
Patrick Elliott 2018-07-16 17:13:53 +02:00
parent 1dac12c9c0
commit 8ed5ea56d9

View file

@ -0,0 +1,6 @@
;; -*- lexical-binding: t; no-byte-compile: t; -*-
;;; lang/nix/doctor.el
(unless (executable-find "nixfmt")
(warn! "Couldn't find nixfmt. nix-format-buffer won't work"))