branch: elpa/nix-mode
commit 3865b7bc980705e4749d1b35228fe303e84dc91f
Author: Daniel Nagy <[email protected]>
Commit: Daniel Nagy <[email protected]>
Specialize two defcustom types
This allows for better completion in the customization buffer.
---
nix.el | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/nix.el b/nix.el
index 9f9110d933..29cfe66dd2 100644
--- a/nix.el
+++ b/nix.el
@@ -52,12 +52,12 @@
(defcustom nix-store-dir "/nix/store"
"Nix store directory."
:group 'nix
- :type 'string)
+ :type 'directory)
(defcustom nix-state-dir "/nix/var"
"Nix state directory."
:group 'nix
- :type 'string)
+ :type 'directory)
(defun nix-system ()
"Get the current system tuple."