branch: elpa/nix-mode
commit 858d127fb50d6de544f8b157444c758f6f2d433a
Author: Matthew Bauer <[email protected]>
Commit: Matthew Bauer <[email protected]>

    Add custom for directory location
---
 nix.el | 10 ++++++++++
 1 file changed, 10 insertions(+)

diff --git a/nix.el b/nix.el
index f6861da609..e4961ba2db 100644
--- a/nix.el
+++ b/nix.el
@@ -47,6 +47,16 @@
   :group 'nix
   :type 'string)
 
+(defcustom nix-store-dir "/nix/store"
+  "Nix store directory."
+  :group 'nix
+  :type 'string)
+
+(defcustom nix-state-dir "/nix/var"
+  "Nix store directory."
+  :group 'nix
+  :type 'string)
+
 (defun nix-system ()
   "Get the current system tuple."
   (let ((stdout (generate-new-buffer "nix eval"))

Reply via email to