From edea767bd1a5cf2bbf00760f6070ecf1c2490ebc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?L=C3=A1szl=C3=B3=20Vask=C3=B3?= Date: Sat, 15 Aug 2020 18:52:38 +0200 Subject: [PATCH] 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 --- advice.el | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/advice.el b/advice.el index 6be377b..82f2d96 100644 --- a/advice.el +++ b/advice.el @@ -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...")