mirror of
https://github.com/nix-community/nix-doom-emacs
synced 2025-08-03 12:27:27 -05:00
Skip Emacs's own package verification and let Nix do it for us
having gnupg around the build triggers emacs to use it for package signature verification. this would not work anyway because the build sandbox does not have a properly configured user home and environment. Fixes: #33
This commit is contained in:
@ -1,4 +1,12 @@
|
||||
;;; -*- lexical-binding: t; -*-
|
||||
|
||||
;;; Skip Emacs's own package verification and let Nix do it for us.
|
||||
;;;
|
||||
;;; Having gnupg around the build triggers Emacs to use it for package signature
|
||||
;;; verification. This would not work anyway because the build sandbox does not
|
||||
;;; have a properly configured user home and environment.
|
||||
(setq package-check-signature nil)
|
||||
|
||||
(advice-add 'nix-straight-get-used-packages
|
||||
:before (lambda (&rest r)
|
||||
(message "[nix-doom-emacs] Advising doom installer to gather packages to install...")
|
||||
|
Reference in New Issue
Block a user