diff options
author | Alyssa Ross <hi@alyssa.is> | 2021-07-06 15:52:13 +0000 |
---|---|---|
committer | Alyssa Ross <hi@alyssa.is> | 2021-07-06 16:07:13 +0000 |
commit | 9140d4b06ff09bce8dd8e384eeef832e7811d288 (patch) | |
tree | bc2754cbe85f568b931be350b2f9fa317583f53f /pkgs/build-support/emacs/melpa2nix.el | |
parent | 302d7c656544e35d0e53edbf40197d895428109d (diff) | |
download | nixpkgs-9140d4b06ff09bce8dd8e384eeef832e7811d288.tar nixpkgs-9140d4b06ff09bce8dd8e384eeef832e7811d288.tar.gz nixpkgs-9140d4b06ff09bce8dd8e384eeef832e7811d288.tar.bz2 nixpkgs-9140d4b06ff09bce8dd8e384eeef832e7811d288.tar.lz nixpkgs-9140d4b06ff09bce8dd8e384eeef832e7811d288.tar.xz nixpkgs-9140d4b06ff09bce8dd8e384eeef832e7811d288.tar.zst nixpkgs-9140d4b06ff09bce8dd8e384eeef832e7811d288.zip |
emacs.pkgs.melpaBuild: package-build: 2018-10-05 -> 2021-04-13
I think this is due an update. I've chosen to update to the latest version that has been merged into Melpa. Unfortunately we now need to hack around it trying to run VCS commands. My Emacs configuration with thirty-something leaf packages seems fine after the rebuild.
Diffstat (limited to 'pkgs/build-support/emacs/melpa2nix.el')
-rw-r--r-- | pkgs/build-support/emacs/melpa2nix.el | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/pkgs/build-support/emacs/melpa2nix.el b/pkgs/build-support/emacs/melpa2nix.el index 99c755e2afc..bd2aadd5aeb 100644 --- a/pkgs/build-support/emacs/melpa2nix.el +++ b/pkgs/build-support/emacs/melpa2nix.el @@ -12,5 +12,8 @@ (if (not noninteractive) (error "`melpa2nix-build-package' is to be used only with -batch")) (pcase command-line-args-left - (`(,package ,version) + (`(,package ,version ,commit) + ;; Monkey-patch package-build so it doesn't shell out to git/hg. + (defun package-build--get-commit (&rest _) + commit) (package-build--package (package-recipe-lookup package) version)))) |