diff options
Diffstat (limited to 'emacs/.emacs.d/init.org')
-rw-r--r-- | emacs/.emacs.d/init.org | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/emacs/.emacs.d/init.org b/emacs/.emacs.d/init.org index ba411058..287502b0 100644 --- a/emacs/.emacs.d/init.org +++ b/emacs/.emacs.d/init.org @@ -58,8 +58,9 @@ the buffer to be empty. #+BEGIN_SRC emacs-lisp (eval-and-compile + (require 'seq) (defvar nix-emacs (and (string-match "^/nix/store" invocation-directory) - (string-equal emacs-build-system system-name))) + (not (null (seq-some (lambda (dir) (string-match "^/nix/store" dir)) load-path))))) (setq tls-checktrust t gnutls-verify-error t |