about summary refs log tree commit diff
path: root/pkgs/build-support/emacs
diff options
context:
space:
mode:
authoradisbladis <adisbladis@gmail.com>2021-12-19 08:07:18 -0800
committeradisbladis <adisbladis@gmail.com>2021-12-19 08:07:18 -0800
commit4192dce5385453340ee6ba0dc664ddbfa99d55b5 (patch)
treec62061938c7a80f1c36eef4dae73c007aa8ededb /pkgs/build-support/emacs
parent9a86a53ec5104966717a4963e3f759304120e6c9 (diff)
melpa2nix: Ignore large file warnings
While we haven't encountered any problems related to this in MELPA
it's just a matter of time (this just happened for an ELPA package
(phps-mode)).
Diffstat (limited to 'pkgs/build-support/emacs')
-rw-r--r--pkgs/build-support/emacs/melpa2nix.el3
1 files changed, 3 insertions, 0 deletions
diff --git a/pkgs/build-support/emacs/melpa2nix.el b/pkgs/build-support/emacs/melpa2nix.el
index bd2aadd5aeb55..383423af08189 100644
--- a/pkgs/build-support/emacs/melpa2nix.el
+++ b/pkgs/build-support/emacs/melpa2nix.el
@@ -8,6 +8,9 @@
 (setq package-build-archive-dir (expand-file-name "packages/"))
 (setq package-build-recipes-dir (expand-file-name "recipes/"))
 
+;; Allow installing package tarfiles larger than 10MB
+(setq large-file-warning-threshold nil)
+
 (defun melpa2nix-build-package ()
   (if (not noninteractive)
       (error "`melpa2nix-build-package' is to be used only with -batch"))