diff options
| author | adisbladis <adisbladis@gmail.com> | 2021-12-19 08:07:18 -0800 |
|---|---|---|
| committer | github-actions[bot] <github-actions[bot]@users.noreply.github.com> | 2021-12-19 17:05:09 +0000 |
| commit | 18fd02912585f41695aa0d13bcfcf535e54d3012 (patch) | |
| tree | 5e2d8302017c00a2343f95258bdcfb305c70211a | |
| parent | emacs: Ignore large file warnings for native compilation (diff) | |
| download | nixpkgs-origin/backport-151334-to-release-21.11.tar.gz | |
melpa2nix: Ignore large file warningsorigin/backport-151334-to-release-21.11
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)).
(cherry picked from commit 4192dce5385453340ee6ba0dc664ddbfa99d55b5)
| -rw-r--r-- | pkgs/build-support/emacs/melpa2nix.el | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/pkgs/build-support/emacs/melpa2nix.el b/pkgs/build-support/emacs/melpa2nix.el index bd2aadd5aeb5..383423af0818 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")) |
