mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-11-12 03:56:17 +03:00
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,14 +23,14 @@
|
||||
|
||||
(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
|
||||
files
|
||||
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 New Issue
Block a user