Skip to content

Commit

Permalink
fix: ci nag
Browse files Browse the repository at this point in the history
  • Loading branch information
AntonHakansson committed Jan 25, 2024
1 parent a0e0461 commit e8c8f4c
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion org-nix-shell.el
Original file line number Diff line number Diff line change
Expand Up @@ -158,7 +158,8 @@ Use format string %s to get the direnv path."

(defun org-nix-shell--default-direnv-path (nix-shell-name)
"The default path used for the direnv environment."
(let ((hash (abs (sxhash `(nix-shell-name ,(default-value 'process-environment))))))
(let* ((obj (list nix-shell-name (default-value 'process-environment)))
(hash (abs (sxhash '(obj)))))
(format "/tmp/org-nix-shell/%s/" hash)))

(defun org-nix-shell--clear-env ()
Expand Down

0 comments on commit e8c8f4c

Please sign in to comment.