about summary refs log tree commit diff
path: root/emacs/.emacs.d/wpc/wpc-nix.el
diff options
context:
space:
mode:
Diffstat (limited to 'emacs/.emacs.d/wpc/wpc-nix.el')
-rw-r--r--emacs/.emacs.d/wpc/wpc-nix.el5
1 files changed, 2 insertions, 3 deletions
diff --git a/emacs/.emacs.d/wpc/wpc-nix.el b/emacs/.emacs.d/wpc/wpc-nix.el
index 11cf7d9b160c..0967473dd2af 100644
--- a/emacs/.emacs.d/wpc/wpc-nix.el
+++ b/emacs/.emacs.d/wpc/wpc-nix.el
@@ -9,8 +9,7 @@
 ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
 
 (require 'device)
-
-(prelude/assert (f-exists? (getenv "BRIEFCASE")))
+(require 'constants)
 
 ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
 ;; Library
@@ -28,7 +27,7 @@
          (bname (format "*%s*" pname)))
     (start-process pname bname
                    "nix-env"
-                   "-I" (format "briefcase=%s" (getenv "BRIEFCASE"))
+                   "-I" (format "briefcase=%s" constants/briefcase)
                    "-f" "<briefcase>" "-iA" emacs)
     (display-buffer bname)))