forked from mirrors/nixpkgs
melpaBuild: update package-build.el
This commit is contained in:
parent
74a1b20108
commit
688c005608
|
@ -22,8 +22,8 @@ with lib;
|
|||
let
|
||||
|
||||
packageBuild = fetchurl {
|
||||
url = https://raw.githubusercontent.com/milkypostman/melpa/12a862e5c5c62ce627dab83d7cf2cca6e8b56c47/package-build.el;
|
||||
sha256 = "1nviyyprypz7nmam9rwli4yv3kxh170glfbznryrp4czxkrjjdhk";
|
||||
url = https://raw.githubusercontent.com/milkypostman/melpa/2b3eb31c077fcaff94b74b757c1ce17650333943/package-build.el;
|
||||
sha256 = "1biwg2pqmmdz5iwqbjdszljazqymvgyyjcnc255nr6qz8mhnx67j";
|
||||
};
|
||||
|
||||
fname = "${pname}-${version}";
|
||||
|
|
|
@ -23,7 +23,7 @@
|
|||
|
||||
(defun melpa2nix-package-build-archive (name version files)
|
||||
"Build a package archive for package NAME."
|
||||
(pb/message "\n;;; %s\n" name)
|
||||
(package-build--message "\n;;; %s\n" name)
|
||||
(let* ((start-time (current-time))
|
||||
(archive-entry (package-build-package name
|
||||
version
|
||||
|
@ -31,6 +31,6 @@
|
|||
package-build-working-dir
|
||||
package-build-archive-dir)))
|
||||
|
||||
(pb/message "Built in %.3fs, finished at %s"
|
||||
(time-to-seconds (time-since start-time))
|
||||
(current-time-string))))
|
||||
(package-build--message "Built in %.3fs, finished at %s"
|
||||
(time-to-seconds (time-since start-time))
|
||||
(current-time-string))))
|
||||
|
|
Loading…
Reference in a new issue