summary refs log tree commit diff
path: root/pkgs/build-support/emacs/elpa2nix.el
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/build-support/emacs/elpa2nix.el')
-rw-r--r--pkgs/build-support/emacs/elpa2nix.el3
1 files changed, 3 insertions, 0 deletions
diff --git a/pkgs/build-support/emacs/elpa2nix.el b/pkgs/build-support/emacs/elpa2nix.el
index 7eef81b9e7ab..64587c0fad1a 100644
--- a/pkgs/build-support/emacs/elpa2nix.el
+++ b/pkgs/build-support/emacs/elpa2nix.el
@@ -28,3 +28,6 @@ The file can either be a tar file or an Emacs Lisp file."
         (insert-file-contents file))
       (when is-tar (tar-mode))
       (elpa2nix-install-from-buffer))))
+
+;; Allow installing package tarfiles larger than 10MB
+(setq large-file-warning-threshold nil)