diff options
author | github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> | 2021-07-15 00:05:17 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-07-15 00:05:17 +0000 |
commit | 873ebe97858b0483ca51ef0fcd7d34c813c1e0c2 (patch) | |
tree | 2769d29979ac9d3af31d8eb59a0ecf4b0129ee62 /pkgs/build-support/emacs/melpa2nix.el | |
parent | d288d874a896fbd4932b565cca2088e172460220 (diff) | |
parent | 23cd13167a1432550e48734079c2ffeeb441fb96 (diff) | |
download | nixpkgs-873ebe97858b0483ca51ef0fcd7d34c813c1e0c2.tar nixpkgs-873ebe97858b0483ca51ef0fcd7d34c813c1e0c2.tar.gz nixpkgs-873ebe97858b0483ca51ef0fcd7d34c813c1e0c2.tar.bz2 nixpkgs-873ebe97858b0483ca51ef0fcd7d34c813c1e0c2.tar.lz nixpkgs-873ebe97858b0483ca51ef0fcd7d34c813c1e0c2.tar.xz nixpkgs-873ebe97858b0483ca51ef0fcd7d34c813c1e0c2.tar.zst nixpkgs-873ebe97858b0483ca51ef0fcd7d34c813c1e0c2.zip |
Merge master into haskell-updates
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)))) |