Add support for nix-update

This commit is contained in:
Patrick Elliott 2018-07-16 17:09:28 +02:00
parent 39419dee17
commit d3c24e51f1
2 changed files with 5 additions and 0 deletions

View file

@ -5,3 +5,7 @@
:after nix-mode :after nix-mode
:config :config
(set-company-backend! 'nix-mode 'company-nixos-options)) (set-company-backend! 'nix-mode 'company-nixos-options))
(def-package! nix-update
:after nix-mode
:commands (nix-update-fetch))

View file

@ -2,6 +2,7 @@
;;; lang/nix/packages.el ;;; lang/nix/packages.el
(package! nix-mode) (package! nix-mode)
(package! nix-update :recipe (:fetcher github :repo "jwiegley/nix-update-el"))
(when (featurep! :completion company) (when (featurep! :completion company)
(package! company-nixos-options)) (package! company-nixos-options))