Added doc check for nix package manager

This commit is contained in:
Patrick Elliott 2018-07-17 10:03:17 +02:00
parent 0aa351842c
commit bd5d305e06

View file

@ -1,6 +1,9 @@
;; -*- 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"))
(unless (executable-find "nix")
(warn! "Couldn't find the nix package manager. nix-mode won't work."))
(unless (executable-find "nixfmt")
(warn! "Couldn't find nixfmt. nix-format-buffer won't work."))