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)).
This commit is contained in:
adisbladis 2021-12-19 08:07:18 -08:00
parent 9a86a53ec5
commit 4192dce538

View File

@ -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"))