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.el4
1 files changed, 2 insertions, 2 deletions
diff --git a/emacs/.emacs.d/wpc/wpc-nix.el b/emacs/.emacs.d/wpc/wpc-nix.el
index 70df05b7141e..8260122cfdf8 100644
--- a/emacs/.emacs.d/wpc/wpc-nix.el
+++ b/emacs/.emacs.d/wpc/wpc-nix.el
@@ -28,12 +28,12 @@
 (defun wpc-nix-rebuild-emacs ()
   "Use nix-env to rebuild wpcarros-emacs."
   (interactive)
-  (let* ((emacs (if (device/corporate?) "emacs.glinux" "emacs.nixos"))
+  (let* ((emacs (if (device-corporate?) "emacs.glinux" "emacs.nixos"))
          (pname (format "nix-build <briefcase/%s>" emacs))
          (bname (format "*%s*" pname)))
     (start-process pname bname
                    "nix-env"
-                   "-I" (format "briefcase=%s" constants/briefcase)
+                   "-I" (format "briefcase=%s" constants-briefcase)
                    "-f" "<briefcase>" "-iA" emacs)
     (display-buffer bname)))